Changes in uspace/drv/usbhid/usbhid.h [19e0560e:65c3794] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/usbhid.h
r19e0560e r65c3794 50 50 typedef int (*usb_hid_driver_init_t)(struct usb_hid_dev *, void **data); 51 51 typedef void (*usb_hid_driver_deinit_t)(struct usb_hid_dev *, void *data); 52 typedef bool (*usb_hid_driver_poll)(struct usb_hid_dev *, void *data, uint8_t *, 53 size_t); 54 typedef int (*usb_hid_driver_poll_ended)(struct usb_hid_dev *, void *data, 52 typedef bool (*usb_hid_driver_poll_t)(struct usb_hid_dev *, void *data); 53 typedef int (*usb_hid_driver_poll_ended_t)(struct usb_hid_dev *, void *data, 55 54 bool reason); 56 55 … … 61 60 usb_hid_driver_deinit_t deinit; 62 61 /** Function to be called when data arrives from the device. */ 63 usb_hid_driver_poll poll;62 usb_hid_driver_poll_t poll; 64 63 /** Function to be called when polling ends. */ 65 usb_hid_driver_poll_ended poll_end;64 usb_hid_driver_poll_ended_t poll_end; 66 65 /** Arbitrary data needed by the subdriver. */ 67 66 void *data; … … 93 92 /** HID Report parser. */ 94 93 usb_hid_report_t *report; 94 95 uint8_t report_id; 95 96 96 97 uint8_t *input_report;
Note:
See TracChangeset
for help on using the changeset viewer.