]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/space_oddity/config.h
88cc5ad00e95b862e264ec65b8eb413d63e7ba61
[qmk_firmware.git] / keyboards / handwired / space_oddity / 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    James Taylor
11 #define PRODUCT         Space Odyssey
12 #define DESCRIPTION     Keyboard
13
14 #define CATERINA_BOOTLOADER
15
16 #define MOUSEKEY_INTERVAL 16
17 #define MOUSEKEY_DELAY 0
18 #define MOUSEKEY_TIME_TO_MAX 60
19 #define MOUSEKEY_MAX_SPEED 7
20 #define MOUSEKEY_WHEEL_DELAY 0
21
22 /* key matrix size */
23 #define MATRIX_ROWS 6
24 #define MATRIX_COLS 12
25
26 /* key matrix pins */
27 #define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3 }
28 #define MATRIX_COL_PINS { B2, B6, B5, B4, E6, D7, C6, D4, D0, D1, D2, D3 }
29 #define UNUSED_PINS
30
31 /* COL2ROW or ROW2COL */
32 #define DIODE_DIRECTION COL2ROW
33
34 /* number of backlight levels */
35
36 #ifdef BACKLIGHT_PIN
37 #define BACKLIGHT_LEVELS 0
38 #endif
39
40 /* Set 0 if debouncing isn't needed */
41 #define DEBOUNCING_DELAY 5
42
43 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
44 #define LOCKING_SUPPORT_ENABLE
45
46 /* Locking resynchronize hack */
47 #define LOCKING_RESYNC_ENABLE
48
49 /* key combination for command */
50 #define IS_COMMAND() ( \
51     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
52 )
53
54 /* prevent stuck modifiers */
55 #define PREVENT_STUCK_MODIFIERS
56
57
58 #ifdef RGB_DI_PIN
59 #define RGBLIGHT_ANIMATIONS
60 #define RGBLED_NUM 0
61 #define RGBLIGHT_HUE_STEP 8
62 #define RGBLIGHT_SAT_STEP 8
63 #define RGBLIGHT_VAL_STEP 8
64 #endif
65
66 #endif