This commit extends USB hid API callbacks by adding 'const struct device *dev' parameter. If the application configured more than one HID device then it must specify separate hid_ops for each device as its unable to determine for which device the callback was called. This patch makes it possible to have only one hid_ops within the application and the application is aware for which device the callback was called because of explicit device pointer. Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| audio | ||
| hid | ||
| netusb | ||
| bluetooth.c | ||
| bt_h4.c | ||
| cdc_acm.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.template.composite_device_number | ||
| loopback.c | ||
| mass_storage.c | ||
| usb_dfu.c | ||