summaryrefslogtreecommitdiffstats
path: root/usb_keycodes.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-02-17 13:29:50 +0900
committertmk <nobody@nowhere>2011-02-17 13:29:50 +0900
commitcf95d8308fe5ad852a30d50d2a81027ff1a067e0 (patch)
treef0dc28a46eb9c61969a199c2a6bd57c573714f23 /usb_keycodes.h
parent5bc29b50ef48196dcd5459287d8d6c91b759c83b (diff)
added some short keycode names for ISO and JIS keyboard.
Diffstat (limited to 'usb_keycodes.h')
-rw-r--r--usb_keycodes.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/usb_keycodes.h b/usb_keycodes.h
index 827e74267f..dc6f2693b6 100644
--- a/usb_keycodes.h
+++ b/usb_keycodes.h
@@ -82,7 +82,16 @@
#define KB_PWR KB_POWER
#define KB_VOLU KB_VOLUP
#define KB_VOLD KB_VOLDOWN
-#define KB_APP KB_APPLICATION,
+#define KB_APP KB_APPLICATION
+#define KB_NUHS KB_NONUS_HASH
+#define KB_NUBS KB_NONUS_BSLASH
+// for Japanese
+#define KB_RO KB_INT1
+#define KB_KANA KB_INT2
+#define KB_JYEN KB_INT3
+#define KB_HENK KB_INT4
+#define KB_MHEN KB_INT5
+#define KB_ZEHA KB_GRAVE
// Keypad
#define KB_P1 KB_KP_1
#define KB_P2 KB_KP_2