X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fhhkb%2Fconfig_iwrap.h;h=747c755132a21f1e8338ca277dc59e7e144307df;hb=d8dd18b4217ce56ee3248e3b09598196e0b6731c;hp=d459a5efb553f51b6efac4d6ef8687046e88b3f9;hpb=353a9b56e6caee853d3f808d2bfedf07056b4518;p=max%2Ftmk_keyboard.git diff --git a/keyboard/hhkb/config_iwrap.h b/keyboard/hhkb/config_iwrap.h index d459a5ef..747c7551 100644 --- a/keyboard/hhkb/config_iwrap.h +++ b/keyboard/hhkb/config_iwrap.h @@ -34,11 +34,6 @@ along with this program. If not, see . /* key combination for command */ #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) -/* mouse keys */ -#ifdef MOUSEKEY_ENABLE -# define MOUSEKEY_DELAY_TIME 255 -#endif - /* pins for Software UART */ #define SUART_IN_PIN PINC #define SUART_IN_BIT 5 @@ -51,4 +46,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