Changes in uspace/drv/usbhid/hiddev.h [f6d0c7c:24d943f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/hiddev.h
rf6d0c7c r24d943f 48 48 49 49 /** 50 * USB/HID device type. 51 * 52 * Holds a reference to DDF device structure, and HID-specific data, such 53 * as information about used pipes (one Control pipe and one Interrupt In pipe), 54 * polling interval, assigned interface number, Report descriptor and a 55 * reference to the Report parser used to parse incoming reports and composing 56 * outgoing reports. 50 * @brief USB/HID device type. 57 51 */ 58 52 typedef struct { 59 /** DDF device representing the controlled HID device. */60 53 ddf_dev_t *device; 61 54 62 /** Physical connection to the device. */63 55 usb_device_connection_t wire; 64 /** USB pipe corresponding to the default Control endpoint. */65 56 usb_endpoint_pipe_t ctrl_pipe; 66 /** USB pipe corresponding to the Interrupt In (polling) pipe. */67 57 usb_endpoint_pipe_t poll_pipe; 68 58 69 /** Polling interval retreived from the Interface descriptor. */70 59 short poll_interval; 71 60 72 /** Interface number assigned to this device. */73 61 uint16_t iface; 74 62 75 /** Report descriptor. */76 63 uint8_t *report_desc; 77 /** HID Report parser. */78 64 usb_hid_report_parser_t *parser; 79 65 80 /** State of the structure (for checking before use). */81 66 int initialized; 82 67 } usbhid_dev_t;
Note:
See TracChangeset
for help on using the changeset viewer.