scrcpy/app
Romain Vimont bf2b679e70 Simplify UHID outputs routing
There was a registration mechanism to listen to HID outputs with a
specific HID id.

However, the UHID gamepad processor handles several ids, so it cannot
work. We could complexify the registration mechanism, but instead,
directly dispatch to the expected processor based on the UHID id.

Concretely, instead of passing a sc_uhid_devices instance to construct a
sc_keyboard_uhid, so that it can register itself, construct the
sc_uhid_devices with all the UHID instances (currently only
sc_keyboard_uhid) so that it can dispatch HID outputs directly.

PR #5270 <https://github.com/Genymobile/scrcpy/pull/5270>
2024-09-15 11:21:56 +02:00
..
data Make -K -M and -G use AOA in OTG mode 2024-09-15 11:21:56 +02:00
deps Upgrade SDL (2.30.5) for Windows 2024-08-01 18:15:37 +02:00
src Simplify UHID outputs routing 2024-09-15 11:21:56 +02:00
tests Mention physical gamepad names for UHID devices 2024-09-15 11:21:56 +02:00
meson.build Add UHID gamepad support 2024-09-15 11:21:56 +02:00
scrcpy-windows.manifest
scrcpy-windows.rc Bump version to 2.6.1 2024-08-02 22:32:04 +02:00
scrcpy.1 Make -K -M and -G use AOA in OTG mode 2024-09-15 11:21:56 +02:00