config.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // Copyright 2022 peepeetee (@peepeetee)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. /*
  5. * Keyboard Matrix Assignments
  6. *
  7. * Change this to how you wired your keyboard
  8. * COLS: AVR pins used for columns, left to right
  9. * ROWS: AVR pins used for rows, top to bottom
  10. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  11. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  12. *
  13. */
  14. #define MATRIX_ROW_PINS { B3, B2, B1, B0, F6, B7 }
  15. #define MATRIX_COL_PINS { D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F5, F1, F4 }
  16. /* COL2ROW, ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. #define RGB_DI_PIN D0
  19. #ifdef RGB_DI_PIN
  20. # define RGBLED_NUM 107
  21. # define RGBLIGHT_HUE_STEP 8
  22. # define RGBLIGHT_SAT_STEP 8
  23. # define RGBLIGHT_VAL_STEP 8
  24. # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
  25. # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  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. #endif
  37. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  38. #define LOCKING_SUPPORT_ENABLE
  39. /* Locking resynchronize hack */
  40. #define LOCKING_RESYNC_ENABLE
  41. /*
  42. * Feature disable options
  43. * These options are also useful to firmware size reduction.
  44. */
  45. /* disable debug print */
  46. //#define NO_DEBUG
  47. /* disable print */
  48. //#define NO_PRINT
  49. /* disable action features */
  50. //#define NO_ACTION_LAYER
  51. //#define NO_ACTION_TAPPING
  52. //#define NO_ACTION_ONESHOT