pana_m8: Add debouncing
[tmk_keyboard.git] / converter / pana_m8 / config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4
5 #define VENDOR_ID 0xFEED
6 #define PRODUCT_ID 0xFFFF
7 #define DEVICE_VER 0x0100
8 #define MANUFACTURER TMK.
9 #define PRODUCT Panasonic Cherry M8
10 #define DESCRIPTION TMK. keyboard firmware
11
12
13 /* matrix size */
14 #define MATRIX_ROWS 8
15 #define MATRIX_COLS 8
16
17 /* matrix debounce time in ms */
18 #define DEBOUNCE 10
19
20
21 /* key combination for command */
22 #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
23
24
25 /* period of tapping(ms) */
26 #define TAPPING_TERM 300
27 /* tap count needed for toggling a feature */
28 #define TAPPING_TOGGLE 5
29 /* Oneshot timeout(ms) */
30 #define ONESHOT_TIMEOUT 300
31
32 /* Boot Magic salt key: Space */
33 #define BOOTMAGIC_KEY_SALT KC_SPACE
34
35 #endif
Imprint / Impressum