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.

66 lines
1.8 KiB

  1. // Copyright 2022 peepeetee (@peepeetee)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. /* key matrix size */
  5. #define MATRIX_ROWS 6
  6. #define MATRIX_COLS 15
  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 { B3, B2, B1, B0, F6, B7 }
  18. #define MATRIX_COL_PINS { D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F5, F1, F4 }
  19. /* COL2ROW, ROW2COL */
  20. #define DIODE_DIRECTION COL2ROW
  21. #define RGB_DI_PIN D0
  22. #ifdef RGB_DI_PIN
  23. # define RGBLED_NUM 107
  24. # define RGBLIGHT_HUE_STEP 8
  25. # define RGBLIGHT_SAT_STEP 8
  26. # define RGBLIGHT_VAL_STEP 8
  27. # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
  28. # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  29. #define RGBLIGHT_EFFECT_BREATHING
  30. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  31. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  32. #define RGBLIGHT_EFFECT_SNAKE
  33. #define RGBLIGHT_EFFECT_KNIGHT
  34. #define RGBLIGHT_EFFECT_CHRISTMAS
  35. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  36. #define RGBLIGHT_EFFECT_RGB_TEST
  37. #define RGBLIGHT_EFFECT_ALTERNATING
  38. #define RGBLIGHT_EFFECT_TWINKLE
  39. #endif
  40. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  41. #define LOCKING_SUPPORT_ENABLE
  42. /* Locking resynchronize hack */
  43. #define LOCKING_RESYNC_ENABLE
  44. /*
  45. * Feature disable options
  46. * These options are also useful to firmware size reduction.
  47. */
  48. /* disable debug print */
  49. //#define NO_DEBUG
  50. /* disable print */
  51. //#define NO_PRINT
  52. /* disable action features */
  53. //#define NO_ACTION_LAYER
  54. //#define NO_ACTION_TAPPING
  55. //#define NO_ACTION_ONESHOT