Skip to content

Swap a single screen to the second screen's view with L2 - #24

Merged
DankMiimer merged 2 commits into
linuxfrom
feature/l2-screen-swap
Nov 17, 2026
Merged

DankMiimer merged 2 commits into
linuxfrom
feature/l2-screen-swap

Conversation

@DankMiimer

Copy link
Copy Markdown
Owner

Summary

A tester with single-screen h700 handhelds asked for L2 to swap screens, as R2 toggles panning. On one screen, L2 now shows what the RGDS's lower screen shows for the current view:

View L2 shows
Home the selected game's preview
A save or Bank box the Pokémon inspector
A summary the box overview
Lists the selected entry's details
The park the journal

L2 again, or opening another screen, swaps back.

  • The other buttons keep working while swapped, so moving through a box updates the inspector.
  • Dialogs stay on top. Touch is ignored while swapped.
  • With two screens L2 does nothing.
  • In the park the scene keeps stepping at the Pokéwalker's hidden interval, and the park's pills move off the journal, as on the RGDS.
  • L2 is read from the left trigger (axis or button), and R on the desktop keyboard. It never reaches a screen. Scripted runs (--input-script) and headless captures (--headless-input) can press it.
  • LINUX.md documents it.

Verification

  • RG34XXSP (KNULLI), automatic rounds with screenshots: Home, a box (swapped, then moving right from Pikachu to Mewtwo, then back) and the park (swapped to the journal, then back). The first round showed the park's "right now" pill over the journal, which is fixed in 5c56c28 and confirmed by a second round. Swapped views ran at about 59 FPS. The isolated QA installs left the real userdata unchanged (1,234 entries, none changed).
  • Headless captures at 720×480 of the swapped Home, box, summary, list and dialog views.
  • 3 new tests in ScreenSwapTests. Full Linux solution: 77 Park, 202 Linux UI, 1,746 Engine and 1,437 Domain tests pass. The UI suite passed 10 runs in a row.
  • Not checked: the RGDS (L2 does nothing there; the device was in use), and h700 devices such as the RG35XX family, where the L2 binding comes from the firmware mapping.

🤖 Generated with Claude Code

DankMiimer and others added 2 commits November 17, 2026 01:00
A tester with single-screen h700 handhelds asked for L2 to swap
screens, as R2 toggles panning. On one screen, L2 now shows what the
RGDS's lower screen shows for the current view: the selected game on
Home, the Pokemon inspector in a box, the box overview behind a
summary, and the journal in the park. L2 again, or opening another
screen, swaps back.

The other buttons keep working while swapped, so moving through a box
updates the inspector. Touch is ignored while swapped. In the park the
scene keeps stepping at the Pokewalker's hidden interval under the
journal. With two screens L2 does nothing.

L2 is read from the left trigger axis or button, and R on the desktop
keyboard. It never reaches a screen. Scripted runs and headless
captures can press it too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On the RG34XXSP the "right now" pill drew over the bottom of the
journal that L2 swaps in. While swapped, the pills go where the RGDS
puts them, over the park, which is hidden then.

The drawing test now configures its own settings: alone or after
some tests, the interface-scale setting it reads had none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DankMiimer
DankMiimer merged commit a664d7e into linux Nov 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant