]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/fractal/config.h
fce0931c2162ed3ca7203d746f8f949a950d0a2f
[qmk_firmware.git] / keyboards / fractal / 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    KeyPCB
11 #define PRODUCT         Fractal
12 #define DESCRIPTION     Keyboard
13
14 /* key matrix size */
15 #define MATRIX_ROWS 5
16 #define MATRIX_COLS 12
17
18 /* key matrix pins */
19 #define MATRIX_ROW_PINS { B1, F7, F6, F5, F4 }
20 #define MATRIX_COL_PINS { B3, B2, B6, B5, B4, E6, D7, C6, D4, D0, D1, D3 }
21
22 #define UNUSED_PINS
23
24 /* COL2ROW or ROW2COL */
25 #define DIODE_DIRECTION COL2ROW
26
27 /* number of backlight levels */
28
29 #ifdef BACKLIGHT_PIN
30 #define BACKLIGHT_LEVELS 0
31 #endif
32
33 /* Set 0 if debouncing isn't needed */
34 #define DEBOUNCING_DELAY 5
35
36 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
37 #define LOCKING_SUPPORT_ENABLE
38
39 /* Locking resynchronize hack */
40 #define LOCKING_RESYNC_ENABLE
41
42 #ifdef RGB_DI_PIN
43 #define RGBLIGHT_ANIMATIONS
44 #define RGBLED_NUM 0
45 #define RGBLIGHT_HUE_STEP 8
46 #define RGBLIGHT_SAT_STEP 8
47 #define RGBLIGHT_VAL_STEP 8
48 #endif
49
50 #endif