summaryrefslogtreecommitdiff
path: root/ps2_vusb/config.h
diff options
context:
space:
mode:
authortmk2011-02-13 00:15:51 +0900
committertmk2011-02-22 03:09:05 +0900
commit9a938eecbd2b70c970992583b5c16da717d8e254 (patch)
tree22ac37491f88aa60d917a18696c93f61a429d43c /ps2_vusb/config.h
parent2b8cd88ab142068eed0a3f230a3de79deb567536 (diff)
host interface for pjrc
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 @@
/* 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