]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/tokyo60/config.h
fddb37d28291b2fcb5c801477525ebf412fbe4e0
[qmk_firmware.git] / keyboards / tokyo60 / 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    Tokyo Keyboard
11 #define PRODUCT         tokyo60
12 #define DESCRIPTION     q.m.k. keyboard firmware for tokyo60
13
14 /* key matrix size */
15 #define MATRIX_ROWS 5
16 #define MATRIX_COLS 14
17
18 /* number of backlight levels */
19 #define BACKLIGHT_PIN B7
20 #ifdef BACKLIGHT_PIN
21 #define BACKLIGHT_LEVELS 6
22 //#define BACKLIGHT_ON_STATE 1
23 #endif
24
25 /* COL2ROW or ROW2COL */
26 #define DIODE_DIRECTION ROW2COL
27
28 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
29 #define DEBOUNCING_DELAY 5
30
31 /* Set power consumption to work with mobile devices */
32 #define USB_MAX_POWER_CONSUMPTION 100
33
34 /* key matrix pins */
35 #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
36 #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B2, B5, B4, D7, D6, B3 }
37 #define UNUSED_PINS
38
39 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
40 #define LOCKING_SUPPORT_ENABLE
41
42 /* Locking resynchronize hack */
43 #define LOCKING_RESYNC_ENABLE
44
45 #define RGB_DI_PIN F7
46 #ifdef RGB_DI_PIN
47 #define RGBLIGHT_ANIMATIONS
48 #define RGBLED_NUM 10
49 #define RGBLIGHT_HUE_STEP 12
50 #define RGBLIGHT_SAT_STEP 12
51 #define RGBLIGHT_VAL_STEP 12
52 #endif
53
54 /* For Production */
55 #define QMK_ESC_OUTPUT F0 // usually COL
56 #define QMK_ESC_INPUT D0 // usually ROW
57
58 #endif