X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fhhkb%2Fconfig_iwrap.h;h=747c755132a21f1e8338ca277dc59e7e144307df;hb=3dbb762dcc5b1d340cb145fc4ca60748ccf7c890;hp=7a4ec3711858e2cba758b513a0c42bca86ed5c55;hpb=48433a5e9988647a737234c11dd9db4080fd4a4e;p=max%2Ftmk_keyboard.git diff --git a/keyboard/hhkb/config_iwrap.h b/keyboard/hhkb/config_iwrap.h index 7a4ec371..747c7551 100644 --- a/keyboard/hhkb/config_iwrap.h +++ b/keyboard/hhkb/config_iwrap.h @@ -27,16 +27,6 @@ along with this program. If not, see . #define DESCRIPTION t.m.k. keyboard firmware for HHKB mod -/* Boot Section Size in *BYTEs* - * Teensy halfKay 512 - * Teensy++ halfKay 1024 - * Atmel DFU loader 4096 - * LUFA bootloader 4096 - * USBaspLoader 2048 - */ -#define BOOTLOADER_SIZE 2048 - - /* matrix size */ #define MATRIX_ROWS 8 #define MATRIX_COLS 8 @@ -44,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 @@ -61,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