Alynx Zhou 207082977a Add support for USB HID keyboard over AOAv2
This provides a better input experience, by simulating a physical
keyboard. It converts SDL keyboard events to proper HID events, and send
them over AOAv2.

This is a rewriting and bugfix of the origin code from @amosbird:
<https://github.com/Genymobile/scrcpy/issues/279#issuecomment-453819354>

The feature is enabled the command line option -K or --hid-keyboard,
and is only available on Linux, over USB.

Refs <https://source.android.com/devices/accessories/aoa2#hid-support>
Refs <https://www.usb.org/sites/default/files/hid1_11.pdf>

PR #2632 <https://github.com/Genymobile/scrcpy/pull/2632>

Signed-off-by: Romain Vimont <rom@rom1v.com>
2021-10-26 21:30:04 +02:00
..
2021-04-18 14:36:31 +02:00
2021-06-20 21:16:42 +02:00
2021-10-26 21:30:04 +02:00
2021-06-20 21:16:42 +02:00
2021-01-17 14:08:48 +01:00
2021-01-17 14:08:48 +01:00
2021-07-14 14:54:22 +02:00
2021-07-14 14:27:33 +02:00
2021-04-25 14:38:42 +02:00
2021-02-17 09:53:25 +01:00
2021-06-13 19:20:57 +02:00
2021-06-20 16:04:18 +02:00
2021-10-21 18:36:34 +02:00
2021-01-08 19:22:10 +01:00
2021-09-20 18:27:37 +02:00
2021-04-25 14:59:10 +02:00
2021-02-17 09:54:03 +01:00
2021-02-17 09:54:03 +01:00
2021-02-14 14:44:05 +01:00
2021-07-14 14:22:32 +02:00
2021-10-25 18:08:37 +02:00
2021-10-25 18:08:37 +02:00
2021-10-26 21:30:04 +02:00
2021-10-26 21:30:04 +02:00
2021-06-20 16:04:18 +02:00
2021-10-26 21:30:04 +02:00
2021-10-26 21:30:04 +02:00
2020-04-15 17:39:51 +02:00
2021-09-20 18:27:37 +02:00
2021-07-14 00:35:10 +02:00
2021-10-25 18:08:37 +02:00
2021-07-14 14:54:22 +02:00
2021-10-25 18:08:31 +02:00
2021-06-14 09:07:49 +02:00
2021-10-21 16:26:48 +02:00
2021-07-14 14:54:22 +02:00
2021-07-14 14:54:22 +02:00
2021-07-14 14:54:22 +02:00