Commit graph

3 commits

Author SHA1 Message Date
Romain Vimont
3057da14b7 Extract mouse HID handling
Split the mouse implementation using AOA and the code handling HID
events, so that HID events can be reused for another protocol (UHID).
2024-03-01 00:12:10 +01:00
Romain Vimont
a1419bccf7 Extract keyboard HID handling
Split the keyboard implementation using AOA and the code handling HID
events, so that HID events can be reused for another protocol (UHID).
2024-03-01 00:12:10 +01:00
Romain Vimont
b86f327304 Extract HID events struct
An event contained several fields:
 - the accessory id
 - the HID event data
 - a field ack_to_wait specific to the AOA implementation.

Extract the HID event part to prepare the factorization of HID event
creation.
2024-03-01 00:12:10 +01:00