-
-
Notifications
You must be signed in to change notification settings - Fork 553
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 Flipped Hybrid Screen Layout #1705
base: master
Are you sure you want to change the base?
Conversation
This commit added the "Flipped Hybrid" option to the screen layout options. This will help for people who are right-handed using a touch screen on Steam Decks. This feature works with all four rotations and the touch functionality is calibrated correctly.
Added Flipped Hybrid Screen Layout
you're duplicating far too much code. |
I see what you mean. I'll have to retry when I have time. Thanks. |
There were far too many duplicated lines when there was no need, now the code works the same with fewer lines of code.
Choosing any gap option before would break the flipped hybrid layout. Now the layout works with each gap option to show the screens on the left and the screen on the right.
This removes the sharing of the "Swap screens" toggle for the hybrid layouts. The "Swap screens" toggle still exists, and a new "Swap focused hybrid screen" toggle has been introduced. Now the user can swap the large main screen with "Swap focused hybrid screen" and separately swap the two smaller screens with each other using "Swap screens". This works with all rotations and gap options. It also includes a hotkey mapping in the settings.
I fixed up the duplicated code and ensured it works on Windows and Linux. On top of that, I just added a new toggle, which takes the place of how "Swap screens" worked with the hybrid layout. Now, the "Swap screens" toggle works the way it does in other layouts. The new toggle changes what the large screen displays (top/bottom). This addresses #1704 and includes hotkey support. Quick reference for both hybrid layouts:
|
I've always wanted this feature. Its good for left handed people. |
10c70eb
to
a7575ec
Compare
@Jaklyy Sorry for the mention, but since you will be taking over soon, I was wondering if this can be merged for the 1.0 update. It's kind of an important feature for me, as otherwise, it wouldn't be ergonomic to use touch controls in some games on my Steam Deck. |
don't have merge perms, but code looks fine to me? Needs to be updated to stop conflicting with master though. |
This commit added the "Flipped Hybrid" option to the screen layout options. It is similar to the "Hybrid" option but moves the large screen to the right and the two smaller screens to the left.
This feature will help for people who are right-handed (or left-handed!) using a touch screen on Steam Decks or similar devices. It works with all four rotations, swap screen option, and touch functionality.
Hybrid Layout:
Flipped Hybrid Layout:
Closes #1658