-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add shortcut to rotate screen #11
Comments
Reference #218 |
As a workaround:
|
Is there a way to put the monitor in landscape while the camera is showing? Am I missing something, or is the monitor simply not willing to be in landscape while the camera app is open? |
Some camera apps keep the device in landscape mode (and rotate their icons manually when the device is rotated). This avoids a glitch due to the portrait/landscape switch. The "solution" is to implement a (manual) client-side rotation in scrcpy. |
Aha, that makes sense! Thanks for the fast response! Is there a simple way of implementing this, or is this something I should just leave be? I have absolutely no experience with this though. |
It is probably not very difficult, but it is quite intrusive (we need to check everywhere the current rotation to reverse width and height). It's in my (virtual) todo list when I have time (maybe after the "device screen off" while mirroring). |
Alright! Thanks! In the meantime I'll just use another app that rotates with the screen. Thanks again! |
This would be great to be implemented in next release. Appart from this it has everything needed to work daily with it. |
This is implemented in [guiscrcpy](https://srevinsaju.github.io/guiscrcpy). In Python , it is easy to implement, and I use it frequently
|
i added shortcut key for screen rotation Ctrl+q = Change screen density to 200 try this first in adb if rotation doesnt work |
I just implemented it on branch Just press Feedbacks welcome :) |
Tested on Pixel 2 and Pixel 4 - Android 10, from macOS Catalina. |
Merged in |
When I go back to home screen the phone goes back to portrait mode and then after starting an app I have to manually lean the phone to rotate the screen, it would be easier if there was a shorcut which rotates the screen.
The text was updated successfully, but these errors were encountered: