diff options
Diffstat (limited to 'firmware/usbstack/usb_hid.h')
-rw-r--r-- | firmware/usbstack/usb_hid.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_hid.h b/firmware/usbstack/usb_hid.h index bce6943a4d..917992cd35 100644 --- a/firmware/usbstack/usb_hid.h +++ b/firmware/usbstack/usb_hid.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #define USB_HID_H | 22 | #define USB_HID_H |
23 | 23 | ||
24 | #include "usb_ch9.h" | 24 | #include "usb_ch9.h" |
25 | #include "usb_core.h" | ||
25 | #include "usb_hid_usage_tables.h" | 26 | #include "usb_hid_usage_tables.h" |
26 | 27 | ||
27 | int usb_hid_request_endpoints(struct usb_class_driver *drv); | 28 | int usb_hid_request_endpoints(struct usb_class_driver *drv); |
@@ -33,7 +34,7 @@ void usb_hid_disconnect(void); | |||
33 | void usb_hid_transfer_complete(int ep, int dir, int status, int length); | 34 | void usb_hid_transfer_complete(int ep, int dir, int status, int length); |
34 | bool usb_hid_control_request(struct usb_ctrlrequest* req, unsigned char* dest); | 35 | bool usb_hid_control_request(struct usb_ctrlrequest* req, unsigned char* dest); |
35 | 36 | ||
36 | void usb_hid_send_consumer_usage(consumer_usage_page_t id); | 37 | void usb_hid_send(usage_page_t usage_page, int id); |
37 | 38 | ||
38 | #endif | 39 | #endif |
39 | 40 | ||