summaryrefslogtreecommitdiff
path: root/hhkb/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'hhkb/config.h')
-rw-r--r--hhkb/config.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/hhkb/config.h b/hhkb/config.h
index b8392aa8eb..886eef928a 100644
--- a/hhkb/config.h
+++ b/hhkb/config.h
@@ -10,26 +10,27 @@
#define PRODUCT HHKB mod
#define DESCRIPTION t.m.k. keyboard firmware for HHKB mod
+
/* matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 8
-
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
-/* key combination for command */
-#define IS_COMMAND() (keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT))
+/* key combination for command */
+#define IS_COMMAND() ( \
+ keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) || \
+ keyboard_report->mods == (BIT_LCTRL | BIT_RSHIFT) \
+)
-/* USB NKey Rollover */
-#ifdef USB_NKRO_ENABLE
-#endif
/* mouse keys */
#ifdef MOUSEKEY_ENABLE
# define MOUSEKEY_DELAY_TIME 192
#endif
+
/* PS/2 mouse */
#ifdef PS2_MOUSE_ENABLE
/*