aboutsummaryrefslogtreecommitdiffstats
path: root/usb_keycodes.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-10-01 22:17:55 +0900
committertmk <nobody@nowhere>2010-10-01 22:17:55 +0900
commit7e3975e0ef00b2095e32595597ba054d408f249c (patch)
tree572c5df747df8b29dfffd2dbe26adc4606a29c54 /usb_keycodes.h
parentd3b1af9572e123c939fc355474bf12402c86d292 (diff)
downloadfirmware-7e3975e0ef00b2095e32595597ba054d408f249c.tar.gz
firmware-7e3975e0ef00b2095e32595597ba054d408f249c.tar.bz2
firmware-7e3975e0ef00b2095e32595597ba054d408f249c.zip
add mouse wheel function.
Diffstat (limited to 'usb_keycodes.h')
-rw-r--r--usb_keycodes.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/usb_keycodes.h b/usb_keycodes.h
index 95160398d..10d4d19d2 100644
--- a/usb_keycodes.h
+++ b/usb_keycodes.h
@@ -262,10 +262,23 @@ enum keycodes {
KB_RGUI, /* 0x80 */
/* extensions for internal use */
- FN_0 = 0xF0,
+ FN_0 = 0xE8,
FN_1,
FN_2,
FN_3,
+ MS_UP = 0xF0,
+ MS_DOWN,
+ MS_LEFT,
+ MS_RIGHT,
+ MS_BTN1 = 0xF4,
+ MS_BTN2,
+ MS_BTN3,
+ MS_BTN4,
+ MS_BTN5,
+ MS_WH_UP,
+ MS_WH_DOWN,
+ MS_WH_LEFT,
+ MS_WH_RIGHT,
};
#endif /* USB_KEYCODES_H */