]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/8pack/config.h
Add missing links to features page and sidebar section (#5949)
[qmk_firmware.git] / keyboards / 8pack / 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      0x2171
8 #define MANUFACTURER    Charles Garcia
9 #define PRODUCT         8-Pack
10
11 /* COL2ROW or ROW2COL */
12 #define DIODE_DIRECTION COL2ROW
13
14 /* Set 0 if debouncing isn't needed */
15 #define DEBOUNCE 5
16
17 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
18 #define LOCKING_SUPPORT_ENABLE
19
20 /* Locking resynchronize hack */
21 #define LOCKING_RESYNC_ENABLE
22
23 /* key matrix size */
24 #define MATRIX_ROWS 2
25 #define MATRIX_COLS 4
26
27 /* key matrix pins */
28
29 #define DIRECT_PINS { { F4, F5, F6, F7 }, { B1, B3, B2, B6 } }
30
31 #define BACKLIGHT_LED_COUNT 8
32 #undef BACKLIGHT_PIN
33 #define BACKLIGHT_PINS { D1, D0, D4, C6, D7, E6, B4, B5 }
34 #define BACKLIGHT_LEVELS 8
35
36 // ws2812 options
37 #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
38 #define RGBLED_NUM 8 // number of LEDs
39 #define RGBLIGHT_ANIMATIONS