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.

34 lines
887 B

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  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. /* key matrix size */
  10. #define MATRIX_ROWS 10
  11. #define MATRIX_COLS 8
  12. /* backlight */
  13. #define BACKLIGHT_PIN B7
  14. #define BACKLIGHT_LEVELS 3
  15. /* matrix pins */
  16. #define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 }
  17. #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5 }
  18. #define UNUSED_PINS
  19. /* COL2ROW or ROW2COL */
  20. #define DIODE_DIRECTION COL2ROW
  21. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  22. #define DEBOUNCE 5
  23. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  24. #define LOCKING_SUPPORT_ENABLE
  25. /* Locking resynchronize hack */
  26. #define LOCKING_RESYNC_ENABLE