dborth / snes9xgx

Snes9x GX - Port of Snes9x for Wii
http://wiibrew.org/wiki/Snes9x_GX
Other
435 stars 64 forks source link

Add a B/1 button press to cancel the button remapping prompt #1037

Closed InfiniteBlueGX closed 1 year ago

InfiniteBlueGX commented 1 year ago

Previously, if the user accessed the button remapping prompt for a controller type other than the one they were currently using, they would have to connect the controller of said type in order to input a remapping to close the prompt. If they did not have the required controller, they would have to press the home button on a Wiimote to close the prompt, but it would clear the selected mapping, and the user would have to remap it afterwards. Either way, the user was forced to modify the mappings if they wanted to close the prompt in-app. The only workaround without changing any mappings was rebooting the Wii.

These changes make it so the user can press the B or 1 buttons to cancel the button remapping prompt when accessed for a controller type other than the one they're currently using. No changes are made to the mappings when triggered, and it can be done with any controller type.

Additionally, pressing the Z or C Nunchuck buttons on the Classic Controller remapping would map them to Up/Left for some reason - this (probably unintended) behavior is now prevented.