[riot-notifications] [RIOT-OS/RIOT] usbus/hid_io: add missing header file, add RX callback function (#16689)

Nils Ollrogge 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,
                      size_t report_desc_size)
     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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210804/368e4de4/attachment.htm>

More information about the notifications mailing list