You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.0 KiB

  1. // Copyright 2021 Evelien Dekkers (@evyd13)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. /* key matrix size */
  5. #define MATRIX_ROWS 5
  6. #define MATRIX_COLS 14
  7. /*
  8. * Keyboard Matrix Assignments
  9. *
  10. * Change this to how you wired your keyboard
  11. * COLS: AVR pins used for columns, left to right
  12. * ROWS: AVR pins used for rows, top to bottom
  13. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  14. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  15. *
  16. */
  17. #define MATRIX_ROW_PINS { F6, F7, F5, F1, F4 }
  18. #define MATRIX_COL_PINS { B2, B3, D0, D1, D2, D3, C7, C6, B6, B5, B4, D7, D6, D4 }
  19. /* COL2ROW, ROW2COL */
  20. #define DIODE_DIRECTION COL2ROW
  21. //#define LED_NUM_LOCK_PIN B0
  22. //#define LED_CAPS_LOCK_PIN B1
  23. //#define LED_SCROLL_LOCK_PIN B2
  24. //#define LED_COMPOSE_PIN B3
  25. //#define LED_KANA_PIN B4
  26. #define RGB_DI_PIN D5
  27. #ifdef RGB_DI_PIN
  28. #define RGBLED_NUM 9
  29. //# define RGBLIGHT_HUE_STEP 8
  30. //# define RGBLIGHT_SAT_STEP 8
  31. //# define RGBLIGHT_VAL_STEP 8
  32. //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
  33. //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  34. /*== or choose animations ==*/
  35. #define RGBLIGHT_EFFECT_BREATHING
  36. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  37. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  38. #define RGBLIGHT_EFFECT_SNAKE
  39. #define RGBLIGHT_EFFECT_KNIGHT
  40. #define RGBLIGHT_EFFECT_CHRISTMAS
  41. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  42. #define RGBLIGHT_EFFECT_RGB_TEST
  43. #define RGBLIGHT_EFFECT_ALTERNATING
  44. #define RGBLIGHT_EFFECT_TWINKLE
  45. #endif
  46. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  47. #define LOCKING_SUPPORT_ENABLE
  48. /* Locking resynchronize hack */
  49. #define LOCKING_RESYNC_ENABLE
  50. /*
  51. * Feature disable options
  52. * These options are also useful to firmware size reduction.
  53. */
  54. /* disable debug print */
  55. //#define NO_DEBUG
  56. /* disable print */
  57. //#define NO_PRINT
  58. /* disable action features */
  59. //#define NO_ACTION_LAYER
  60. //#define NO_ACTION_TAPPING
  61. //#define NO_ACTION_ONESHOT