diff options
author | tmk <nobody@nowhere> | 2010-10-01 22:17:55 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-10-01 22:17:55 +0900 |
commit | 7e3975e0ef00b2095e32595597ba054d408f249c (patch) | |
tree | 572c5df747df8b29dfffd2dbe26adc4606a29c54 /usb_keycodes.h | |
parent | d3b1af9572e123c939fc355474bf12402c86d292 (diff) | |
download | qmk_firmware-7e3975e0ef00b2095e32595597ba054d408f249c.tar.gz |
add mouse wheel function.
Diffstat (limited to 'usb_keycodes.h')
-rw-r--r-- | usb_keycodes.h | 15 |
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 */ |