config.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #pragma once
  2. #include "config_common.h"
  3. #define DIODE_DIRECTION COL2ROW
  4. #define MATRIX_ROWS 5
  5. #define MATRIX_COLS 16
  6. #define MATRIX_ROW_PINS {B0, B3, B2, B1, F5}
  7. #define MATRIX_COL_PINS {E6, F4, B7, D5, D3, D2, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4}
  8. #define RGBLED_NUM 20 // Number of LEDs
  9. #define QMK_ESC_OUTPUT E6 // usually COL
  10. #define QMK_ESC_INPUT B0 // usually ROW
  11. #define QMK_LED F1
  12. // #define QMK_SPEAKER C6
  13. #define BACKLIGHT_LEVELS 8
  14. #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255}
  15. #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile
  16. #define RGBLED_NUM 20 // Number of LEDs
  17. #define RGBLIGHT_EFFECT_BREATHING
  18. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  19. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  20. #define RGBLIGHT_EFFECT_SNAKE
  21. #define RGBLIGHT_EFFECT_KNIGHT
  22. #define RGBLIGHT_EFFECT_CHRISTMAS
  23. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  24. #define RGBLIGHT_EFFECT_RGB_TEST
  25. #define RGBLIGHT_EFFECT_ALTERNATING
  26. #define RGBLIGHT_EFFECT_TWINKLE
  27. #define RGBLIGHT_HUE_STEP 10
  28. #define RGBLIGHT_SAT_STEP 17
  29. #define RGBLIGHT_VAL_STEP 17
  30. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  31. #define DEBOUNCE 5
  32. /* define if matrix has ghost (lacks anti-ghosting diodes) */
  33. //#define MATRIX_HAS_GHOST
  34. /* number of backlight levels */
  35. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  36. #define LOCKING_SUPPORT_ENABLE
  37. /* Locking resynchronize hack */
  38. #define LOCKING_RESYNC_ENABLE
  39. /*
  40. * Force NKRO
  41. *
  42. * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
  43. * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
  44. * makefile for this to work.)
  45. *
  46. * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
  47. * until the next keyboard reset.
  48. *
  49. * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
  50. * fully operational during normal computer usage.
  51. *
  52. * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
  53. * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
  54. * bootmagic, NKRO mode will always be enabled until it is toggled again during a
  55. * power-up.
  56. *
  57. */
  58. //#define FORCE_NKRO
  59. /*
  60. * Feature disable options
  61. * These options are also useful to firmware size reduction.
  62. */
  63. /* disable debug print */
  64. //#define NO_DEBUG
  65. /* disable print */
  66. //#define NO_PRINT
  67. /* disable action features */
  68. //#define NO_ACTION_LAYER
  69. //#define NO_ACTION_TAPPING
  70. //#define NO_ACTION_ONESHOT