Open keldian opened 9 months ago
Over USB: scrcpy --otg
Thanks but as I pointed out, my use case is over TCP/IP.
There is currently no solution for controlling the device without mirroring (maybe #4473 will help later).
One reason it is not easy to control without mirroring is that you need to see the screen to know where to click (absolute mode) in default injection mode. Only in HID mode you can have relative mouse events.
Another one is that SDL requires a window on the client side to capture the keyboard and the mouse.
Fair enough if there's no solution—I'll look into other software. To address those reasons, as I pointed out, key events would be enough; I don't need pointing input as the use case is to act as a basic TV remote. Also I don't mind a window being open as long as there's no video recording.
Looked around a bit but couldn't find a clear answer. Standard use of scrcpy works great, but running
scrcpy -N
over TCP/IP I get:A bit perplexed as I thought forwarding input (at least key events) qualifies as a "thing to do". Any other way to accomplish this?