From 30f9baf8985f3caa626bcd0eef8519b93f23669b Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 12 Mar 2013 16:05:50 +0900 Subject: Fix debouncing and add legacy keymap support --- keyboard/macway/config.h | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'keyboard/macway/config.h') diff --git a/keyboard/macway/config.h b/keyboard/macway/config.h index 6ab0dec927..b88f898e2c 100644 --- a/keyboard/macway/config.h +++ b/keyboard/macway/config.h @@ -29,19 +29,21 @@ along with this program. If not, see . #define MANUFACTURER t.m.k. #define PRODUCT Macway mod - /* message strings */ #define DESCRIPTION t.m.k. keyboard firmware for Macway mod - /* matrix size */ #define MATRIX_ROWS 9 #define MATRIX_COLS 8 + /* define if matrix has ghost */ #define MATRIX_HAS_GHOST + /* Set 0 if need no debouncing */ #define DEBOUNCE 5 +/* legacy keymap support */ +#define USE_LEGACY_KEYMAP /* key combination for command */ #define IS_COMMAND() ( \ @@ -49,17 +51,14 @@ along with this program. If not, see . keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ ) - -/* layer switching */ -#define LAYER_SWITCH_DELAY 100 -#define LAYER_SEND_FN_TERM 300 - - -/* mouse keys */ -#ifdef MOUSEKEY_ENABLE -# define MOUSEKEY_DELAY_TIME 192 -#endif - +/* Boot Section Size in *BYTEs* + * Teensy halfKay 512 + * Teensy++ halfKay 1024 + * Atmel DFU loader 4096 + * LUFA bootloader 4096 + * USBaspLoader 2048 + */ +#define BOOTLOADER_SIZE 4096 /* PS/2 mouse */ #ifdef PS2_MOUSE_ENABLE -- cgit v1.2.3