pass event data to usb_acknowledge

add second argument to usb_acknowledge.
it can be used for more appropriate connection tracking that does not
rely on timeout in the future.

Change-Id: I8a44366b7c7a1f944524c4ba8ecd6d9673746a65
This commit is contained in:
mojyack 2026-01-15 16:46:03 +09:00 committed by Solomon Peachy
parent d5506dfa22
commit 1951c17e0b
33 changed files with 54 additions and 46 deletions

View file

@ -948,7 +948,7 @@ struct plugin_api {
/* usb */
bool (*usb_inserted)(void);
void (*usb_acknowledge)(long id);
void (*usb_acknowledge)(long id, intptr_t seqnum);
#ifdef USB_ENABLE_HID
void (*usb_hid_send)(usage_page_t usage_page, int id);
#endif