config.h 944 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x6FD7
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER GON
  8. #define PRODUCT NerD 60
  9. #define DESCRIPTION QMK port for the GON NerD 60 PCB
  10. /* key matrix size */
  11. #define MATRIX_ROWS 10
  12. #define MATRIX_COLS 8
  13. /* backlight */
  14. #define BACKLIGHT_PIN B7
  15. #define BACKLIGHT_LEVELS 3
  16. /* matrix pins */
  17. #define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 }
  18. #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5 }
  19. #define UNUSED_PINS
  20. /* COL2ROW or ROW2COL */
  21. #define DIODE_DIRECTION COL2ROW
  22. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  23. #define DEBOUNCE 5
  24. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  25. #define LOCKING_SUPPORT_ENABLE
  26. /* Locking resynchronize hack */
  27. #define LOCKING_RESYNC_ENABLE