config.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #pragma once
  2. #include "config_common.h"
  3. /* key matrix size */
  4. #define MATRIX_ROWS 5
  5. #define MATRIX_COLS 15
  6. /*
  7. * Keyboard Matrix Assignments
  8. *
  9. * Change this to how you wired your keyboard
  10. * COLS: AVR pins used for columns, left to right
  11. * ROWS: AVR pins used for rows, top to bottom
  12. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  13. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  14. *
  15. */
  16. #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
  17. #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4 }
  18. /* COL2ROW, ROW2COL*/
  19. #define DIODE_DIRECTION COL2ROW
  20. #define LED_CAPS_LOCK_PIN B2
  21. #define LED_PIN_ON_STATE 0
  22. #define BACKLIGHT_PIN B6
  23. #define BACKLIGHT_LEVELS 5
  24. #define RGB_DI_PIN E2
  25. #ifdef RGB_DI_PIN
  26. # define RGBLIGHT_EFFECT_BREATHING
  27. # define RGBLIGHT_EFFECT_RAINBOW_MOOD
  28. # define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  29. # define RGBLIGHT_EFFECT_SNAKE
  30. # define RGBLIGHT_EFFECT_KNIGHT
  31. # define RGBLIGHT_EFFECT_CHRISTMAS
  32. # define RGBLIGHT_EFFECT_STATIC_GRADIENT
  33. # define RGBLIGHT_EFFECT_RGB_TEST
  34. # define RGBLIGHT_EFFECT_ALTERNATING
  35. # define RGBLIGHT_EFFECT_TWINKLE
  36. # define RGBLED_NUM 16
  37. # define RGBLIGHT_HUE_STEP 8
  38. # define RGBLIGHT_SAT_STEP 8
  39. # define RGBLIGHT_VAL_STEP 8
  40. # define RGBLIGHT_SLEEP
  41. #endif
  42. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  43. #define DEBOUNCE 5
  44. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  45. #define LOCKING_SUPPORT_ENABLE
  46. /* Locking resynchronize hack */
  47. #define LOCKING_RESYNC_ENABLE
  48. /* VIA related config */
  49. #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2