X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fhhkb%2Fconfig_iwrap.h;h=80a608882d230d58b99bfbd67e02b7093faf0da9;hb=e93188021c0b1578ffbb6e0fadcd94e1e5132dcf;hp=d50b704d72bac39c9ee1d986d90b758a088dd26b;hpb=75a92ff653735635289a204176e60aa80c33bc7f;p=max%2Ftmk_keyboard.git diff --git a/keyboard/hhkb/config_iwrap.h b/keyboard/hhkb/config_iwrap.h index d50b704d..80a60888 100644 --- a/keyboard/hhkb/config_iwrap.h +++ b/keyboard/hhkb/config_iwrap.h @@ -31,9 +31,6 @@ along with this program. If not, see . #define MATRIX_ROWS 8 #define MATRIX_COLS 8 -/* To use new keymap framework */ -#define USE_KEYMAP_V2 - /* key combination for command */ #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) @@ -54,4 +51,9 @@ along with this program. If not, see . #define DEBUG_LED_OFF (PORTD |= (1<<4)) #define DEBUG_LED_ON (PORTD &= ~(1<<4)) +/* period of tapping(ms) */ +#define TAPPING_TERM 300 +/* tap count needed for toggling a feature */ +#define TAPPING_TOGGLE 5 + #endif