Romain Vimont
97e83fa3d6
Remove atomics from keyboard_uhid
...
The UHID output callback is now called from the same (main) thread as
the process_key() function.
2024-09-07 22:45:05 +02:00
Romain Vimont
523299743c
Do not send uninitialized HID event
...
If the function returns false, then there is nothing to send.
2024-09-07 18:35:16 +02:00
Romain Vimont
6a103c809f
Add UHID mouse support
...
Use the following command:
scrcpy --mouse=uhid
PR #4473 <https://github.com/Genymobile/scrcpy/pull/4473 >
2024-03-01 00:52:13 +01:00
Romain Vimont
151a6225d4
Add shortcut to open keyboard settings
...
The keyboard settings can be opened by:
adb shell am start -a android.settings.HARD_KEYBOARD_SETTINGS
Add a shortcut (MOD+k) for convenience if the current keyboard is HID.
PR #4473 <https://github.com/Genymobile/scrcpy/pull/4473 >
2024-03-01 00:52:10 +01:00
Simon Chan
87da68ee0d
Handle UHID output
...
Use UHID output reports to synchronize CapsLock and VerrNum states.
PR #4473 <https://github.com/Genymobile/scrcpy/pull/4473 >
Co-authored-by: Romain Vimont <rom@rom1v.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
2024-03-01 00:52:00 +01:00
Simon Chan
840680f546
Add UHID keyboard support
...
Use the following command:
scrcpy --keyboard=uhid
PR #4473 <https://github.com/Genymobile/scrcpy/pull/4473 >
Co-authored-by: Romain Vimont <rom@rom1v.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
2024-03-01 00:51:54 +01:00