Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
112.29k stars 10.74k forks source link

otg mode screen orientation #4660

Open Dappersworth opened 9 months ago

Dappersworth commented 9 months ago

Environment

Describe the bug I can use scrcpy perfectly fine with ( --otg ) when my phone is in portrait mode. I can scroll, click, etc. all as intended on all parts of the screen. When I switch my phone to landscape mode, I lose all mouse input on the right hand side of the phone screen as if scrcpy hasn't recognized my phone has switched to landscape mode.

Is there any way to change the screen orientation that scrcpy views the phone as when using (--otg)?

rom1v commented 9 months ago

What happend with a real mouse (a bluetooth mouse directly connected to the device for example)?

Dappersworth commented 9 months ago

What happend with a real mouse (a bluetooth mouse directly connected to the device for example)?

I'd like to be able to use a keyboard as well. My laptop is not as powerful as my phone, funnily enough.