X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fgh60%2Fconfig.h;h=bd0a19c33c85a1405755547a5601f2ed61edb067;hb=92b92dd78f5488981244d353f2d500ad9d82fc49;hp=6e7b1bd7a58b357bbaafe0f736d24ab303dc5f8e;hpb=4701b08b71b187cb3d015bec7e05d30e35c344ac;p=max%2Ftmk_keyboard.git diff --git a/keyboard/gh60/config.h b/keyboard/gh60/config.h index 6e7b1bd7..bd0a19c3 100644 --- a/keyboard/gh60/config.h +++ b/keyboard/gh60/config.h @@ -25,26 +25,36 @@ along with this program. If not, see . #define DEVICE_VER 0x0001 #define MANUFACTURER geekhack #define PRODUCT GH60 - - -/* message strings */ #define DESCRIPTION t.m.k. keyboard firmware for GH60 - -/* matrix size */ +/* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 14 /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST -/* Set 0 if need no debouncing */ +/* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 +/* Mechanical locking CapsLock support. Use KC_LCAP instead of KC_CAPS in keymap */ +#define CAPSLOCK_LOCKING_ENABLE +/* Locking CapsLock resynchronize hack, which won't work on Linux */ +#define CAPSLOCK_LOCKING_RESYNC_ENABLE /* 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 + + #endif