[riot-notifications] [RIOT-OS/RIOT] usbus/hid_io: add missing header file, add RX callback function (#16689)
notifications at github.com
Wed Aug 4 12:01:07 CEST 2021
@Ollrogge commented on this pull request.
void usb_hid_io_init(usbus_t *usbus, uint8_t *report_desc,
usbus_hid_init(usbus, &hid, _hid_rx_pipe, report_desc, report_desc_size);
+void usb_hid_io_set_rx_cb(usb_hid_io_t *usb_hid_io)
I kinda oriented myself towards how [xtimer](https://github.com/RIOT-OS/RIOT/blob/91fe57a4d12e5b95a996584d97e043d028cd9e0e/sys/include/xtimer.h#L81) does this. Also I think it is a good preparation for future PR's where `hid_io.c` might have have to manage multiple HID devices at once.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications