aboutsummaryrefslogtreecommitdiff
path: root/keyboards/40percentclub/luddite/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/40percentclub/luddite/config.h')
-rw-r--r--keyboards/40percentclub/luddite/config.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/keyboards/40percentclub/luddite/config.h b/keyboards/40percentclub/luddite/config.h
new file mode 100644
index 000000000..3f15523c8
--- /dev/null
+++ b/keyboards/40percentclub/luddite/config.h
@@ -0,0 +1,44 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0x4025 // "40%", changed since 0x3430 is already officially registered
7#define PRODUCT_ID 0x4C55 // "LU"
8#define DEVICE_VER 0x1001
9#define MANUFACTURER di0ib
10#define PRODUCT Luddite
11
12/* key matrix size */
13#define MATRIX_ROWS 8
14#define MATRIX_COLS 8
15
16/* key matrix pins */
17#define MATRIX_ROW_PINS { D3, D2, D1, D0, D4, C6, D7, E6 }
18#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
19#define UNUSED_PINS
20
21#define DIODE_DIRECTION COL2ROW
22
23/* number of backlight levels */
24#define BACKLIGHT_PIN B5
25#ifdef BACKLIGHT_PIN
26#define BACKLIGHT_LEVELS 4
27#endif
28
29/* Set 0 if debouncing isn't 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
35/* Locking resynchronize hack */
36#define LOCKING_RESYNC_ENABLE
37
38/* ws2812 RGB LED */
39#define RGB_DI_PIN B4
40#define RGBLIGHT_ANIMATIONS
41#define RGBLED_NUM 8 // Number of LEDs
42// #define RGBLIGHT_HUE_STEP 10
43// #define RGBLIGHT_SAT_STEP 17
44// #define RGBLIGHT_VAL_STEP 17