Changeset 0a7627b in mainline for uspace/drv/usbhid/usbhid.h
- Timestamp:
- 2011-06-01T14:27:24Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 083adbc
- Parents:
- df29f24
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/usbhid.h
rdf29f24 r0a7627b 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 *,52 typedef bool (*usb_hid_driver_poll_t)(struct usb_hid_dev *, void *data, uint8_t *, 53 53 size_t); 54 typedef int (*usb_hid_driver_poll_ended )(struct usb_hid_dev *, void *data,54 typedef int (*usb_hid_driver_poll_ended_t)(struct usb_hid_dev *, void *data, 55 55 bool reason); 56 56 … … 61 61 usb_hid_driver_deinit_t deinit; 62 62 /** Function to be called when data arrives from the device. */ 63 usb_hid_driver_poll poll;63 usb_hid_driver_poll_t poll; 64 64 /** Function to be called when polling ends. */ 65 usb_hid_driver_poll_ended poll_end;65 usb_hid_driver_poll_ended_t poll_end; 66 66 /** Arbitrary data needed by the subdriver. */ 67 67 void *data;
Note:
See TracChangeset
for help on using the changeset viewer.