X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fhbkb%2Fconfig.h;h=fef8c05ed3f5b1765fd07955470d10dc2ed2e04e;hb=221af6bffbb8c5af57ae64068d34e5ea165b3a82;hp=deaabb249508e769825dd2c6b780c2d63f063cb4;hpb=2c5d3ac76f0ef3c72aa0416aef8b775864b50eb1;p=max%2Ftmk_keyboard.git
diff --git a/keyboard/hbkb/config.h b/keyboard/hbkb/config.h
index deaabb24..fef8c05e 100644
--- a/keyboard/hbkb/config.h
+++ b/keyboard/hbkb/config.h
@@ -18,8 +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 0xBB00
@@ -27,29 +25,25 @@ along with this program. If not, see .
#define DEVICE_VER 0x0100
#define PRODUCT Happy Buckling Keyboard
-
#define DESCRIPTION mod version of IBM Model M keyboard
-
/* matrix size */
#define MATRIX_ROWS 12
#define MATRIX_COLS 8
+
/* define if matrix has ghost */
#define MATRIX_HAS_GHOST
+
/* Set 0 if need no debouncing */
-#define DEBOUNCE 10
+#define DEBOUNCE 5
+/* legacy keymap support */
+#define USE_LEGACY_KEYMAP
/* key combination for command */
#define IS_COMMAND() ( \
- keyboard_report->mods == (MOD_BIT(KB_LSHIFT) | MOD_BIT(KB_LCTRL) | MOD_BIT(KB_LALT) | MOD_BIT(KB_LGUI)) || \
- keyboard_report->mods == (MOD_BIT(KB_LALT) | MOD_BIT(KB_RALT)) \
+ keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LCTRL) | MOD_BIT(KC_LALT) | MOD_BIT(KC_LGUI)) || \
+ keyboard_report->mods == (MOD_BIT(KC_LALT) | MOD_BIT(KC_RALT)) \
)
-
-/* mouse keys */
-#ifdef MOUSEKEY_ENABLE
-# define MOUSEKEY_DELAY_TIME 128
-#endif
-
#endif