Parent: c9dddb642663b8bafe8998fef6132a2bb36d609d
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-03-11 21:54:17
Tree: baea588ebbe8ec20b4f416c970bec70457215853
shared/uhid: Add dedicated functions for each UHID opcode This adds bt_uhid_create which uses UHID_CREATE2 and tracks progress of when the device is ready to receive events and in the meantime queues them while waiting for UHID_START and other dedicated functions for each UHID opcode so users don't need to build each command manually.
Diffstat
| M | src/shared/uhid.c | | | 212 | ++++++++++++++++++++++++++++++++++++++++- - - - |
| M | src/shared/uhid.h | | | 13 | +++++++++++++ |
2 files changed, 221 insertions(+), 4 deletions(-)