melonDS icon indicating copy to clipboard operation
melonDS copied to clipboard

Add Flipped Hybrid Screen Layout

Open HetchBug opened this issue 2 years ago • 5 comments

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: Screenshot 2023-06-20 233722

Flipped Hybrid Layout: Screenshot 2023-06-20 233735

Closes #1658

HetchBug avatar Jun 21 '23 22:06 HetchBug

you're duplicating far too much code.

RSDuck avatar Jun 21 '23 23:06 RSDuck

you're duplicating far too much code.

I see what you mean. I'll have to retry when I have time. Thanks.

HetchBug avatar Jun 22 '23 03:06 HetchBug

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:

  • Swap screens: swap the two small screens with each other.
  • Swap focused hybrid screen: change large screen to show the top screen/bottom screen.

HetchBug avatar Jun 27 '23 19:06 HetchBug

I've always wanted this feature. Its good for left handed people.

user18081972 avatar Jul 02 '23 20:07 user18081972