summaryrefslogtreecommitdiffstats
path: root/usb.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-10-01 15:17:55 +0200
committertmk <nobody@nowhere>2010-10-01 15:17:55 +0200
commit7e3975e0ef00b2095e32595597ba054d408f249c (patch)
tree572c5df747df8b29dfffd2dbe26adc4606a29c54 /usb.h
parentd3b1af9572e123c939fc355474bf12402c86d292 (diff)
downloadqmk_firmware-7e3975e0ef00b2095e32595597ba054d408f249c.tar.gz
qmk_firmware-7e3975e0ef00b2095e32595597ba054d408f249c.tar.xz
add mouse wheel function.
Diffstat (limited to 'usb.h')
-rw-r--r--usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usb.h b/usb.h
index c1347f10d..cb2f6a223 100644
--- a/usb.h
+++ b/usb.h
@@ -71,6 +71,9 @@ uint8_t usb_configured(void); // is the USB port configured
#define HID_SET_REPORT 9
#define HID_SET_IDLE 10
#define HID_SET_PROTOCOL 11
+#define HID_REPORT_INPUT 1
+#define HID_REPORT_OUTPUT 2
+#define HID_REPORT_FEATURE 3
// CDC (communication class device)
#define CDC_SET_LINE_CODING 0x20
#define CDC_GET_LINE_CODING 0x21