X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fhhkb%2Fconfig_iwrap.h;h=80a608882d230d58b99bfbd67e02b7093faf0da9;hb=e93188021c0b1578ffbb6e0fadcd94e1e5132dcf;hp=2c18cd817a51ab9f42c4941f97cec43df63706c2;hpb=51050875b7f1dd5216ba46298f95cf3030a36211;p=max%2Ftmk_keyboard.git diff --git a/keyboard/hhkb/config_iwrap.h b/keyboard/hhkb/config_iwrap.h index 2c18cd81..80a60888 100644 --- a/keyboard/hhkb/config_iwrap.h +++ b/keyboard/hhkb/config_iwrap.h @@ -27,23 +27,10 @@ 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 -/* 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))) @@ -64,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