]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/alpha/config.h
[Keyboard] fixed pins for numpad_5x4 layout (#6311)
[qmk_firmware.git] / keyboards / alpha / config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 #include "config_common.h"
5
6 /* USB Device descriptor parameter */
7 #define VENDOR_ID       0xFEED
8 #define PRODUCT_ID      0x6060
9 #define DEVICE_VER      0x0001
10 #define MANUFACTURER    PyroL
11 #define PRODUCT         alpha
12 #define DESCRIPTION     28-key keyboard by PyroL
13
14 /* key matrix size */
15 #define MATRIX_ROWS 3
16 #define MATRIX_COLS 10
17
18 /* key matrix pins */
19 #define MATRIX_ROW_PINS { D4, B4, B5 }
20 #define MATRIX_COL_PINS { D7, E6, C6, B6, B2, B3, B1, F7, F6, F5 }
21 #define UNUSED_PINS
22
23 /* COL2ROW or ROW2COL */
24 #define DIODE_DIRECTION COL2ROW
25
26 /* number of backlight levels */
27
28 #ifdef BACKLIGHT_PIN
29 #define BACKLIGHT_LEVELS 3
30 #endif
31
32 /* Set 0 if debouncing isn't needed */
33 #define DEBOUNCE 5
34
35 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
36 #define LOCKING_SUPPORT_ENABLE
37
38 /* Locking resynchronize hack */
39 #define LOCKING_RESYNC_ENABLE
40
41 #define RGB_DI_PIN F4
42 #ifdef RGB_DI_PIN
43 #define RGBLIGHT_ANIMATIONS
44 #define RGBLED_NUM 5
45 #define RGBLIGHT_HUE_STEP 8
46 #define RGBLIGHT_SAT_STEP 8
47 #define RGBLIGHT_VAL_STEP 8
48 #endif
49
50 #endif