X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fhhkb%2Fconfig.h;h=613e66d138292d73162b84349bd145fca7aeccb4;hb=f4c69652c17e97241e2f7b7f22ab438e9a3ceb0a;hp=ef2958981c96e00580f6027516ddd2851fb13720;hpb=48433a5e9988647a737234c11dd9db4080fd4a4e;p=max%2Ftmk_keyboard.git diff --git a/keyboard/hhkb/config.h b/keyboard/hhkb/config.h index ef295898..613e66d1 100644 --- a/keyboard/hhkb/config.h +++ b/keyboard/hhkb/config.h @@ -18,9 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" - #define VENDOR_ID 0xFEED #define PRODUCT_ID 0xCAFE @@ -30,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 1024 - - /* matrix size */ #define MATRIX_ROWS 8 #define MATRIX_COLS 8 @@ -67,22 +54,27 @@ along with this program. If not, see . #endif /* period of tapping(ms) */ -#define TAPPING_TERM 200 +#define TAPPING_TERM 300 /* tap count needed for toggling a feature */ #define TAPPING_TOGGLE 5 -/* PS/2 mouse */ -#ifdef PS2_MOUSE_ENABLE + /* -# define PS2_CLOCK_PORT PORTF -# define PS2_CLOCK_PIN PINF -# define PS2_CLOCK_DDR DDRF -# define PS2_CLOCK_BIT 0 -# define PS2_DATA_PORT PORTF -# define PS2_DATA_PIN PINF -# define PS2_DATA_DDR DDRF -# define PS2_DATA_BIT 1 -*/ -#endif + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT +//#define NO_ACTION_MACRO +//#define NO_ACTION_FUNCTION #endif