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