4 #include "config_common.h"
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
16 #define MATRIX_COLS 14
18 /* number of backlight levels */
19 #define BACKLIGHT_PIN B7
21 #define BACKLIGHT_LEVELS 6
22 //#define BACKLIGHT_ON_STATE 1
25 /* COL2ROW or ROW2COL */
26 #define DIODE_DIRECTION ROW2COL
28 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
29 #define DEBOUNCING_DELAY 5
31 /* Set power consumption to work with mobile devices */
32 #define USB_MAX_POWER_CONSUMPTION 100
34 /* key combination for command */
35 #define IS_COMMAND() ( \
36 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
40 #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
41 #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B2, B5, B4, D7, D6, B3 }
44 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
45 #define LOCKING_SUPPORT_ENABLE
47 /* Locking resynchronize hack */
48 #define LOCKING_RESYNC_ENABLE
50 /* prevent stuck modifiers */
51 #define PREVENT_STUCK_MODIFIERS
55 #define RGBLIGHT_ANIMATIONS
57 #define RGBLIGHT_HUE_STEP 12
58 #define RGBLIGHT_SAT_STEP 12
59 #define RGBLIGHT_VAL_STEP 12
63 #define QMK_ESC_OUTPUT F0 // usually COL
64 #define QMK_ESC_INPUT D0 // usually ROW