USBUS HID interface module.
More...
USBUS HID interface module.
|
file | hid.h |
| Interface and definitions for USB HID type interfaces in USBUS.
|
|
◆ usbus_hid_cb_t
HID data callback.
Callback for received data from the USB host
- Parameters
-
[in] | hid | HID handler context |
[in] | data | ptr to the data |
[in] | len | Length of the received data |
Definition at line 61 of file hid.h.
◆ usbus_hid_init()
Initialize an USBUS HID interface.
- Parameters
-
[in] | usbus | USBUS context to register with |
[in] | hid | USBUS HID handler |
[in] | cb | Callback for data from the USB interface |
[in] | report_desc | USB_HID report descriptor |
[in] | report_desc_size | Size of USB_HID report descriptor |