Repository navigation
0.2.2
- New Face buttons option at the bottom of the Overlay tab. "As set" is the default. "Swapped" exchanges A with B and X with Y. It's for frontends whose controller layout puts A and B on the opposite buttons from what a game expects, like PortMaster's Nintendo layout on ROCKNIX.
- The choice is saved as
face_buttonsin the port's own settings file and applies right away. Nothing outside the port changes. - The overlay menu always reads the raw buttons, so menu navigation stays the same with either choice.
- Ports that load the preload shim get the option with no code change: it covers
SDL_PollEvent,SDL_WaitEvent,SDL_WaitEventTimeoutandSDL_GameControllerGetButton. - Statically linked ports pass button numbers through
spo_face_button(n)before reading them, or callspo_map_sdl_event/spo_map_sdl3_eventon controller events the overlay didn't consume. Starlet ports get this from Starlet de7e436. - Raw joystick reads (
SDL_JoystickGetButton, joystick button events) andSDL_PeepEventsaren't covered. The details are indocs/api.md.
Tested on macOS and in an aarch64 Linux container with a virtual controller. Not yet checked on a handheld.