]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - keyboard/hbkb/config.h
Remove MCU dependent code from common/keyboard.c
[tmk_firmware.git] / keyboard / hbkb / config.h
index 57adecfa5e76547a51d1667a29ba64250f5346b7..fef8c05ed3f5b1765fd07955470d10dc2ed2e04e 100644 (file)
@@ -18,8 +18,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #ifndef CONFIG_H
 #define CONFIG_H
 
-/* controller configuration */
-#include "controller_teensy.h"
 
 #define VENDOR_ID       0xFEED
 #define PRODUCT_ID      0xBB00
@@ -27,18 +25,20 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #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() ( \
@@ -46,10 +46,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
     keyboard_report->mods == (MOD_BIT(KC_LALT) | MOD_BIT(KC_RALT)) \
 )
 
-
-/* mouse keys */
-#ifdef MOUSEKEY_ENABLE
-#   define MOUSEKEY_DELAY_TIME 128
-#endif
-
 #endif