Changes in uspace/drv/bus/usb/usbhid/usbhid.h [065064e6:5f6e25e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/usbhid.h
r065064e6 r5f6e25e 102 102 /** Structure holding generic USB device information. */ 103 103 usb_device_t *usb_dev; 104 104 105 105 /** Index of the polling pipe in usb_hid_endpoints array. */ 106 106 int poll_pipe_index; 107 107 108 108 /** Subdrivers. */ 109 109 usb_hid_subdriver_t *subdrivers; 110 110 111 111 /** Number of subdrivers. */ 112 112 int subdriver_count; 113 113 114 114 /** Report descriptor. */ 115 115 uint8_t *report_desc; … … 117 117 /** Report descriptor size. */ 118 118 size_t report_desc_size; 119 119 120 120 /** HID Report parser. */ 121 121 usb_hid_report_t *report; 122 122 123 123 uint8_t report_id; 124 124 125 125 uint8_t *input_report; 126 126 127 127 size_t input_report_size; 128 128 size_t max_input_report_size; 129 129 130 130 int report_nr; 131 volatile bool running;132 131 }; 133 132 … … 141 140 }; 142 141 143 extern usb_endpoint_description_t *usb_hid_endpoints[];142 usb_endpoint_description_t *usb_hid_endpoints[USB_HID_POLL_EP_COUNT + 1]; 144 143 145 144 /*----------------------------------------------------------------------------*/ 145 146 usb_hid_dev_t *usb_hid_new(void); 146 147 147 148 int usb_hid_init(usb_hid_dev_t *hid_dev, usb_device_t *dev);
Note:
See TracChangeset
for help on using the changeset viewer.