Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
112.19k stars 10.73k forks source link

Use computer's mouse to control Android device without mirroring and without losing control of your PC (like second display) #5491

Open TheLastFlame opened 1 day ago

TheLastFlame commented 1 day ago

I found a few issues related to using scrcpy as a second display (i.e. inverting scrcpy), but that's not quite what I need.

My tablet sits next to my monitor. And sometimes I need to use it. I want to move the mouse cursor to it as if it were a second monitor. But not translate the windows screen to it, but just let me control the tablet itself.

Similarly with the keyboard.

Scrcpy actually has everything for this, but you need to tell the system that a second monitor has been connected.

rom1v commented 1 day ago

Scrcpy actually has everything for this

No, it has not:

TheLastFlame commented 1 day ago
  • SDL needs a focused window to capture input events

You can't activate focus when you move the mouse to the second display?

TheLastFlame commented 1 day ago

to tell the system that we have a second screen, we most likely need a separate video driver (judging by other programs for the second display). Theoretically, it can be used to detect cursor transfer to the second screen.