From 7e3975e0ef00b2095e32595597ba054d408f249c Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 1 Oct 2010 22:17:55 +0900 Subject: add mouse wheel function. --- usb_keycodes.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'usb_keycodes.h') 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 */ -- cgit v1.2.3-24-g4f1b