mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Handle UHID output
Use UHID output reports to synchronize CapsLock and VerrNum states. Co-authored-by: Romain Vimont <rom@rom1v.com> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
8669391997
commit
610a6b577d
18 changed files with 408 additions and 39 deletions
|
|
@ -43,9 +43,11 @@ sc_controller_init(struct sc_controller *controller, sc_socket control_socket) {
|
|||
}
|
||||
|
||||
void
|
||||
sc_controller_set_acksync(struct sc_controller *controller,
|
||||
struct sc_acksync *acksync) {
|
||||
sc_controller_configure(struct sc_controller *controller,
|
||||
struct sc_acksync *acksync,
|
||||
struct sc_uhid_devices *uhid_devices) {
|
||||
controller->receiver.acksync = acksync;
|
||||
controller->receiver.uhid_devices = uhid_devices;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue