Is there anybody who uses GS with customized key position of ABXY buttons?

next update will be yours
:grinning:

I have pushed a new pull-request just now!
For changing your button layout to SNES, no need to modify retroarch.cfg yourself anymore.
When you press Y at configuration of Buttons Layout, you can apply the layout displayed to your RetroArch configuration.

Steps of changing your layout:

  1. First, change your GS physical buttons layout to SNES layout.
  2. Next, see the following pic and press some buttons as the pic shows.
  3. Done!

42

If you need this function, please wait next update :grin:

5 Likes

Excellent, thank you!

I changed it from the gamepad code, if anyone interested: https://github.com/Mihaylov93/Keypad/blob/abxy/clockworkpi_keypad.ino

Benefit of this is that is system-wide not only retroarch.

Edit: August 5, 2018 (Europe: Paris), August 4, 2018 (America: Los Angeles)
I merged the Debug flag from my master branch to this branch too. Its useful when the gameshell doesnt respond to keypresss you can check with the serial console if the keypad board is actually sending keypresses or not.

1 Like

I changed to this the second I found it. Thank you

I did this and changed the physical button layout to the SNES layout but the menu buttons are still flipped as if the physical layout didnā€™t change. Do I need to change the whole button configuration in retroarch or the config file?

Thanks,
Harlan

1 Like

Ahh this fun dilemma. It was something ā€œupgradedā€ in 0.4 which was a bit confusing. Update via the settings menu, and that will be fixed up. Hopefully that works.
I ran a poll in another thread, and it seems more people use the snes ABXY layout over the Xbox BAYX layout.

Yes, Iā€™ve changed the button layout in settings, but Iā€™m talking about switching the physical plastic buttons on the gameshell to have a SNES layout, and having that reflected in the GUI. When I change to the SNES layout now, the ā€œenterā€ command is mapped to the B-button and the ā€œbackā€ command is mapped to the A-button. But since Iā€™ve switched the hardware to the SNES layout, it still reads backwards. Is there a way to change the button mapping in the configuration file of retroarch?

I believe this is what you want to do, you need to reflash the keypad.

1 Like

Yup. Thatā€™s what Iā€™ve done too. I have physically changed the position of my keys. And its the update that fixes this problem. It was a problem reported by a lot of people.

Have a look at this post.

Unless are you wanting the SNES ā€œBā€ button to be accept, and ā€œAā€ as back? In which case, apply the update, and set it to Xbox mode. It wonā€™t change the foot bar; just the function of the button.

The quick solution is the update. But the better solution is to use @Petrakis Arduino update. It seems daunting, but is actually really easy to do. You will just need to check the snes/Xbox layout switch to make sure that it matches up. Ie, you will need it set to Xbox mode, despite having it both physically (tactile buttons) changes and mapped (in the arduino code) to SNES layout.

The only downside is that you will need to reconfigure all of your standalone emulators to reflect this hardware change. Itā€™s not too much of an issue, besides having to manually edit the config file of mupen64, which is a pain in the neck! Using the software/settings change doesnā€™t affect standalone emulators. Itā€™s not hard. Itā€™s just, most people release their code/config/apps assuming people havenā€™t flashed their arduino keyboards.

It affects everything globally. Particularly useful for some standalone emulators that insist on using the SNES ā€œBā€ button as accept, and ā€œAā€ as back. You can make it actually behave. The built in file manager (dingUXcommander) in utilities also uses Xbox commands, which makes navigating folders that much more annoying; having to quickly remap your brain.

Let me know if I have completely misread your meaning! Itā€™s hard, not knowing someoneā€™s exact software configuration etc.

But hang on. I just read your last bit. Are you just having problems with Retroarch? Thereā€™s a specific setting to switch the A and B inputs for okay/cancel. Ive taken a screen shot. Itā€™s in the input submenu. Hopefully this solves your Retroarch problems.

Changing the Retroarch settings will only change the buttons for the Retroarch menus, and navigation using cores that depend on Retroarch. Retroarch is configured independent of the launches GUI.