aboutsummaryrefslogtreecommitdiff
path: root/keyboards/8pack/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/8pack/config.h')
-rw-r--r--keyboards/8pack/config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/keyboards/8pack/config.h b/keyboards/8pack/config.h
new file mode 100644
index 000000000..88bd1f351
--- /dev/null
+++ b/keyboards/8pack/config.h
@@ -0,0 +1,39 @@
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