summaryrefslogtreecommitdiff
path: root/keyboard/hid_liber/config.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-12 16:05:50 +0900
committertmk <nobody@nowhere>2013-03-12 16:05:50 +0900
commit30f9baf8985f3caa626bcd0eef8519b93f23669b (patch)
treeea5b5e0aba4c1229c57d184205d4fc11abfa0a86 /keyboard/hid_liber/config.h
parentc4ab832be0f110a127b20e8df2b5223bceb8dcd1 (diff)
Fix debouncing and add legacy keymap support
Diffstat (limited to 'keyboard/hid_liber/config.h')
-rw-r--r--keyboard/hid_liber/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboard/hid_liber/config.h b/keyboard/hid_liber/config.h
index a9b77c7dca..61a75dd0cf 100644
--- a/keyboard/hid_liber/config.h
+++ b/keyboard/hid_liber/config.h
@@ -41,12 +41,23 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Set 0 if need no debouncing */
#define DEBOUNCE 8
+/* 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