You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that a similar feature request does not already exist.
Is your feature request related to a problem? Please describe.
Yes, my feature request is related to a problem with the mouse being locked inside the scrcpy window. I’m always frustrated when I use scrcpy to control my Android device with the --mouse=uhid option on Windows, and the mouse gets trapped inside the window after I start interacting with it. I have to do ALT+TAB or find another way to free the mouse, which is inconvenient because I need to switch between controlling my device and using other programs on my PC without extra hassle.
Describe the solution you'd like
I’d like scrcpy to have an option, like --no-mouse-capture, that lets me use my PC mouse to control my Android device when it’s inside the scrcpy window but doesn’t lock it there. When I move the mouse outside the window, it should just work on my PC normally without being trapped. For example, I could run scrcpy --mouse=uhid --no-mouse-capture, and the mouse would only control the device when it’s over the window, then move freely outside.
Describe alternatives you've considered
Not using the --mouse=uhid option and use touches.
Additional context
I’m using scrcpy 3.0.2 on Windows 10 to control my Samsung S22.
My current working command is:
scrcpy --serial=R5xxxxxxx6V --window-title=S22 --mouse=uhid --stay-awake --audio-buffer=100 --max-size=2336 --legacy-paste --max-fps=60 --turn-screen-off
The text was updated successfully, but these errors were encountered:
I have to do ALT+TAB or find another way to free the mouse
Just press Alt.
that lets me use my PC mouse to control my Android device when it’s inside the scrcpy window but doesn’t lock it there. When I move the mouse outside the window, it should just work on my PC normally without being trapped
The behavior would be very strange, because as you would control your device, the mouse would automatically (randomly) switch to the desktop just because it happens that the distance you moved the mouse would make the desktop pointer leave the window.
I have to do ALT+TAB or find another way to free the mouse
Just press Alt.
that lets me use my PC mouse to control my Android device when it’s inside the scrcpy window but doesn’t lock it there. When I move the mouse outside the window, it should just work on my PC normally without being trapped
The behavior would be very strange, because as you would control your device, the mouse would automatically (randomly) switch to the desktop just because it happens that the distance you moved the mouse would make the desktop pointer leave the window.
Thanks for the fast answer, Alt just works, it's just that I'm using it full screen on a separate monitor and it would be very handy to have it.
Is your feature request related to a problem? Please describe.
Yes, my feature request is related to a problem with the mouse being locked inside the scrcpy window. I’m always frustrated when I use scrcpy to control my Android device with the --mouse=uhid option on Windows, and the mouse gets trapped inside the window after I start interacting with it. I have to do ALT+TAB or find another way to free the mouse, which is inconvenient because I need to switch between controlling my device and using other programs on my PC without extra hassle.
Describe the solution you'd like
I’d like scrcpy to have an option, like --no-mouse-capture, that lets me use my PC mouse to control my Android device when it’s inside the scrcpy window but doesn’t lock it there. When I move the mouse outside the window, it should just work on my PC normally without being trapped. For example, I could run scrcpy --mouse=uhid --no-mouse-capture, and the mouse would only control the device when it’s over the window, then move freely outside.
Describe alternatives you've considered
Not using the --mouse=uhid option and use touches.
Additional context
I’m using scrcpy 3.0.2 on Windows 10 to control my Samsung S22.
My current working command is:
scrcpy --serial=R5xxxxxxx6V --window-title=S22 --mouse=uhid --stay-awake --audio-buffer=100 --max-size=2336 --legacy-paste --max-fps=60 --turn-screen-off
The text was updated successfully, but these errors were encountered: