X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=keyboard%2Fhhkb%2Fconfig_iwrap.h;h=747c755132a21f1e8338ca277dc59e7e144307df;hb=57c6b597ead6a98ddaade97d66de55928a4fb2a2;hp=80ab64398bf54f9c0ec3f6b05f8a3ee2fe5b7cb6;hpb=afb08462085132acf7a1962522952f7dbf064519;p=max%2Ftmk_keyboard.git
diff --git a/keyboard/hhkb/config_iwrap.h b/keyboard/hhkb/config_iwrap.h
index 80ab6439..747c7551 100644
--- a/keyboard/hhkb/config_iwrap.h
+++ b/keyboard/hhkb/config_iwrap.h
@@ -31,14 +31,8 @@ along with this program. If not, see .
#define MATRIX_ROWS 8
#define MATRIX_COLS 8
-
/* key combination for command */
-#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KB_LSHIFT) | MOD_BIT(KB_RSHIFT)))
-
-/* mouse keys */
-#ifdef MOUSEKEY_ENABLE
-# define MOUSEKEY_DELAY_TIME 255
-#endif
+#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
/* pins for Software UART */
#define SUART_IN_PIN PINC
@@ -52,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