aboutsummaryrefslogtreecommitdiff
path: root/keyboard/hhkb/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/hhkb/config.h')
-rw-r--r--keyboard/hhkb/config.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/keyboard/hhkb/config.h b/keyboard/hhkb/config.h
index ebee0c036..83a911bea 100644
--- a/keyboard/hhkb/config.h
+++ b/keyboard/hhkb/config.h
@@ -31,27 +31,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
31#define MATRIX_ROWS 8 31#define MATRIX_ROWS 8
32#define MATRIX_COLS 8 32#define MATRIX_COLS 8
33 33
34/*
35 * Boot magic keys
36 * call some function by pressing key when pluging cable or powering on.
37 */
38/* key position on matrix(ROW:COL) */
39#define KEY_FN 0x54
40#define KEY_D 0x14
41#define KEY_IS_ON(key) matrix_is_on((key)>>4, (key)&0xF)
42/* kick up bootloader */
43#define IS_BOOTMAGIC_BOOTLOADER() KEY_IS_ON(KEY_FN)
44/* debug on */
45#define IS_BOOTMAGIC_DEBUG() KEY_IS_ON(KEY_D)
46
47 34
48/* key combination for command */ 35/* key combination for command */
49#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) 36#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
50 37
51/* mouse keys */
52#ifdef MOUSEKEY_ENABLE
53# define MOUSEKEY_DELAY_TIME 100
54#endif
55 38
56/* period of tapping(ms) */ 39/* period of tapping(ms) */
57#define TAPPING_TERM 300 40#define TAPPING_TERM 300
@@ -62,11 +45,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
62/* Boot Magic salt key: Space */ 45/* Boot Magic salt key: Space */
63#define BOOTMAGIC_KEY_SALT KC_FN6 46#define BOOTMAGIC_KEY_SALT KC_FN6
64 47
48
65/* 49/*
66 * Feature disable options 50 * Feature disable options
67 * These options are also useful to firmware size reduction. 51 * These options are also useful to firmware size reduction.
68 */ 52 */
69
70/* disable debug print */ 53/* disable debug print */
71//#define NO_DEBUG 54//#define NO_DEBUG
72 55