UHID does not work the same as OTG (original) (raw)
Environment
- OS: Windows, Android (Termux)
- scrcpy version: 2.4
- installation method: Windows Release, Termux pkg
- device model: XQ-DQ44
- Android version: 14
Describe the bug
If you try to enter in UHID, you will not be able to use it as a replacement for OTG.
In UHID mode, all mouse buttons except left mouse click are treated as special keys (right click is BACK, middle click is HOME).
Also, if there is no video/audio playback, the program will be forced to exit.
~ $ scrcpy --mouse=uhid --keyboard=uhid --no-video --no-audio
scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
ERROR: No video, no audio, no OTG: nothing to do