add mouse wheel function.

This commit is contained in:
tmk 2010-10-01 22:17:55 +09:00
parent d3b1af9572
commit 7e3975e0ef
8 changed files with 256 additions and 59 deletions

View file

@ -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 */