]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/sentraq/s60_x/default/config.h
[Keyboard] Refactor S60x (#5596)
[qmk_firmware.git] / keyboards / sentraq / s60_x / default / 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      0x6060
8 #define DEVICE_VER      0x0001
9 #define MANUFACTURER    Sentraq
10 #define PRODUCT         S60-X
11 #define DESCRIPTION     QMK keyboard firmware for S60-X
12
13 /* key matrix size */
14 #define MATRIX_ROWS 5
15 #define MATRIX_COLS 15
16
17 /* key matrix pins */
18 #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 }
19 #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1 }
20 #define UNUSED_PINS { F0 }
21
22 /* number of backlight levels */
23 #define BACKLIGHT_PIN B7
24 #ifdef BACKLIGHT_PIN
25 #define BACKLIGHT_BREATHING
26 #define BACKLIGHT_LEVELS 3
27 #endif
28
29 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
30 #define LOCKING_SUPPORT_ENABLE
31
32 /* Locking resynchronize hack */
33 #define LOCKING_RESYNC_ENABLE
34
35 /* COL2ROW or ROW2COL */
36 #define DIODE_DIRECTION COL2ROW
37
38 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
39 #define DEBOUNCING_DELAY 5
40
41 #define LOCKING_SUPPORT_ENABLE
42 #define LOCKING_RESYNC_ENABLE
43
44 #define NO_ACTION_ONESHOT
45 #define NO_ACTION_MACRO
46 #define NO_ACTION_FUNCTION
47