aboutsummaryrefslogtreecommitdiff
path: root/ps2_vusb/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'ps2_vusb/config.h')
-rw-r--r--ps2_vusb/config.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ps2_vusb/config.h b/ps2_vusb/config.h
index b037bbe9c..858fe883f 100644
--- a/ps2_vusb/config.h
+++ b/ps2_vusb/config.h
@@ -11,8 +11,13 @@
11/* matrix size */ 11/* matrix size */
12#define MATRIX_ROWS 32 // keycode bit: 3-0 12#define MATRIX_ROWS 32 // keycode bit: 3-0
13#define MATRIX_COLS 8 // keycode bit: 6-4 13#define MATRIX_COLS 8 // keycode bit: 6-4
14/* define if matrix has ghost */ 14
15//#define MATRIX_HAS_GHOST 15/* key combination for command */
16#define IS_COMMAND() ( \
17 keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) || \
18 keyboard_report->mods == (BIT_LCTRL | BIT_RSHIFT) \
19)
20
16 21
17/* USB NKey Rollover */ 22/* USB NKey Rollover */
18#ifdef USB_NKRO_ENABLE 23#ifdef USB_NKRO_ENABLE
@@ -23,11 +28,6 @@
23# define MOUSEKEY_DELAY_TIME 255 28# define MOUSEKEY_DELAY_TIME 255
24#endif 29#endif
25 30
26#define IS_COMMAND() ( \
27 keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) || \
28 keyboard_report->mods == (BIT_LCTRL | BIT_RSHIFT) \
29)
30
31 31
32/* PS/2 lines */ 32/* PS/2 lines */
33#define PS2_CLOCK_PORT PORTD 33#define PS2_CLOCK_PORT PORTD