diff options
Diffstat (limited to 'ps2_vusb/config.h')
-rw-r--r-- | ps2_vusb/config.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ps2_vusb/config.h b/ps2_vusb/config.h index b037bbe9cf..858fe883fb 100644 --- a/ps2_vusb/config.h +++ b/ps2_vusb/config.h @@ -11,8 +11,13 @@ /* matrix size */ #define MATRIX_ROWS 32 // keycode bit: 3-0 #define MATRIX_COLS 8 // keycode bit: 6-4 -/* define if matrix has ghost */ -//#define MATRIX_HAS_GHOST + +/* 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 @@ -23,11 +28,6 @@ # define MOUSEKEY_DELAY_TIME 255 #endif -#define IS_COMMAND() ( \ - keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) || \ - keyboard_report->mods == (BIT_LCTRL | BIT_RSHIFT) \ -) - /* PS/2 lines */ #define PS2_CLOCK_PORT PORTD |