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/phantom/config.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'keyboard/phantom/config.h') diff --git a/keyboard/phantom/config.h b/keyboard/phantom/config.h index 9e8a823d7c..a5d472979a 100644 --- a/keyboard/phantom/config.h +++ b/keyboard/phantom/config.h @@ -26,11 +26,9 @@ along with this program. If not, see . #define MANUFACTURER t.m.k. #define PRODUCT Phantom - /* message strings */ #define DESCRIPTION t.m.k. keyboard firmware for Phantom - /* matrix size */ #define MATRIX_ROWS 6 #define MATRIX_COLS 17 @@ -41,12 +39,23 @@ along with this program. If not, see . /* Set 0 if need no debouncing */ #define DEBOUNCE 7 +/* legacy keymap support */ +#define USE_LEGACY_KEYMAP /* key combination for command */ #define IS_COMMAND() ( \ keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ ) +/* Boot Section Size in *BYTEs* + * Teensy halfKay 512 + * Teensy++ halfKay 1024 + * Atmel DFU loader 4096 + * LUFA bootloader 4096 + * USBaspLoader 2048 + */ +#define BOOTLOADER_SIZE 4096 + // TODO: configurable #define DEBUG_LED 0 #define DEBUG_LED_CONFIG -- cgit v1.2.3