diff options
author | tmk <nobody@nowhere> | 2011-02-22 01:21:53 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2011-02-22 03:09:23 +0900 |
commit | d2b9489a5e19fabb5d6ec285192b19dc25b36d5e (patch) | |
tree | ee312006103ccf8f6e18a54e9bca920700d0100d /hhkb/config.h | |
parent | 60052acc0fe3e6429f5c1d24073b1f6af019bd19 (diff) |
fixed hhkb to comply new API.
Diffstat (limited to 'hhkb/config.h')
-rw-r--r-- | hhkb/config.h | 13 |
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 /* |