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