summaryrefslogtreecommitdiff
path: root/keyboard/hhkb/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/hhkb/config.h')
-rw-r--r--keyboard/hhkb/config.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/keyboard/hhkb/config.h b/keyboard/hhkb/config.h
index c0acc0a7ed..ee66e44571 100644
--- a/keyboard/hhkb/config.h
+++ b/keyboard/hhkb/config.h
@@ -1,5 +1,5 @@
/*
-Copyright 2011 Jun Wako <wakojun@gmail.com>
+Copyright 2012 Jun Wako <wakojun@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -18,43 +18,43 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef CONFIG_H
#define CONFIG_H
+#include "config_common.h"
+/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0xCAFE
#define DEVICE_VER 0x0104
-#define MANUFACTURER t.m.k.
+#define MANUFACTURER q.m.k
#define PRODUCT HHKB mod
-#define DESCRIPTION t.m.k. keyboard firmware for HHKB mod
+#define DESCRIPTION q.m.k keyboard firmware for HHKB
-
-/* matrix size */
-#ifdef HHKB_JP
-# define MATRIX_ROWS 16
-#else
-# define MATRIX_ROWS 8
-#endif
+/* key matrix size */
+#define MATRIX_ROWS 8
#define MATRIX_COLS 8
+#define TAPPING_TERM 200
-/* key combination for command */
-#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
-
+/* number of backlight levels */
+#define BACKLIGHT_LEVELS 3
-/* period of tapping(ms) */
-#define TAPPING_TERM 300
-/* tap count needed for toggling a feature */
-#define TAPPING_TOGGLE 5
-/* Oneshot timeout(ms) */
-#define ONESHOT_TIMEOUT 300
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
-/* Boot Magic salt key: Space */
-#define BOOTMAGIC_KEY_SALT KC_SPACE
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+//#define LOCKING_SUPPORT_ENABLE
+/* Locking resynchronize hack */
+//#define LOCKING_RESYNC_ENABLE
+/* key combination for command */
+#define IS_COMMAND() ( \
+ keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
+)
/*
* Feature disable options
* These options are also useful to firmware size reduction.
- */
+*/
+
/* disable debug print */
//#define NO_DEBUG