]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/luddite/config.h
Keyboard: Adding initial luddite keyboard framework (#4029)
[qmk_firmware.git] / keyboards / luddite / 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      0x0A0C
8 #define DEVICE_VER      0x1001
9 #define MANUFACTURER    di0ib
10 #define PRODUCT         Luddite
11 #define DESCRIPTION     Luddite Keyboard
12
13 /* key matrix size */
14 #define MATRIX_ROWS 8
15 #define MATRIX_COLS 8
16
17 /* key matrix pins */
18 #define MATRIX_ROW_PINS { D3, D2, D1, D0, D4, C6, D7, E6 }
19 #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
20 #define UNUSED_PINS
21
22 /* number of backlight levels */
23 #define BACKLIGHT_PIN B5
24 #ifdef BACKLIGHT_PIN
25 #define BACKLIGHT_LEVELS 4
26 #endif
27
28 /* Set 0 if debouncing isn't needed */
29 #define DEBOUNCING_DELAY 5
30
31 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
32 #define LOCKING_SUPPORT_ENABLE
33
34 /* Locking resynchronize hack */
35 #define LOCKING_RESYNC_ENABLE
36
37 /* key combination for command */
38 #define IS_COMMAND() ( \
39     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
40 )
41
42 /* ws2812 RGB LED */
43 #define RGB_DI_PIN B4
44 #define RGBLIGHT_ANIMATIONS
45 #define RGBLED_NUM 8    // Number of LEDs
46 // #define RGBLIGHT_HUE_STEP 10
47 // #define RGBLIGHT_SAT_STEP 17
48 // #define RGBLIGHT_VAL_STEP 17