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.h | |
| parent | d3b1af9572e123c939fc355474bf12402c86d292 (diff) | |
| download | qmk_firmware-7e3975e0ef00b2095e32595597ba054d408f249c.tar.gz qmk_firmware-7e3975e0ef00b2095e32595597ba054d408f249c.zip | |
add mouse wheel function.
Diffstat (limited to 'usb.h')
| -rw-r--r-- | usb.h | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -71,6 +71,9 @@ uint8_t usb_configured(void); // is the USB port configured | |||
| 71 | #define HID_SET_REPORT 9 | 71 | #define HID_SET_REPORT 9 |
| 72 | #define HID_SET_IDLE 10 | 72 | #define HID_SET_IDLE 10 |
| 73 | #define HID_SET_PROTOCOL 11 | 73 | #define HID_SET_PROTOCOL 11 |
| 74 | #define HID_REPORT_INPUT 1 | ||
| 75 | #define HID_REPORT_OUTPUT 2 | ||
| 76 | #define HID_REPORT_FEATURE 3 | ||
| 74 | // CDC (communication class device) | 77 | // CDC (communication class device) |
| 75 | #define CDC_SET_LINE_CODING 0x20 | 78 | #define CDC_SET_LINE_CODING 0x20 |
| 76 | #define CDC_GET_LINE_CODING 0x21 | 79 | #define CDC_GET_LINE_CODING 0x21 |
