Changes in uspace/drv/bus/usb/usbhid/usbhid.h [065064e6:3f8f09f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/usbhid.h
r065064e6 r3f8f09f 119 119 120 120 /** HID Report parser. */ 121 usb_hid_report_t *report;121 usb_hid_report_t report; 122 122 123 123 uint8_t report_id; … … 141 141 }; 142 142 143 extern usb_endpoint_description_t *usb_hid_endpoints[];143 extern const usb_endpoint_description_t *usb_hid_endpoints[]; 144 144 145 145 /*----------------------------------------------------------------------------*/ … … 147 147 int usb_hid_init(usb_hid_dev_t *hid_dev, usb_device_t *dev); 148 148 149 bool usb_hid_polling_callback(usb_device_t *dev, uint8_t *buffer, 150 size_t buffer_size, void *arg); 149 void usb_hid_deinit(usb_hid_dev_t *hid_dev); 151 150 152 void usb_hid_polling_ended_callback(usb_device_t *dev, bool reason, 153 void *arg); 151 bool usb_hid_polling_callback(usb_device_t *dev, 152 uint8_t *buffer, size_t buffer_size, void *arg); 153 154 void usb_hid_polling_ended_callback(usb_device_t *dev, bool reason, void *arg); 154 155 155 156 void usb_hid_new_report(usb_hid_dev_t *hid_dev); 156 157 157 int usb_hid_report_number(usb_hid_dev_t *hid_dev); 158 159 void usb_hid_destroy(usb_hid_dev_t *hid_dev); 158 int usb_hid_report_number(const usb_hid_dev_t *hid_dev); 160 159 161 160 #endif /* USB_HID_USBHID_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.