I’m trying to change the X and Y buttons in MGBA to the L and R buttons in Gameboy Advance. Because at the moment the X and Y keys do the same as A and B but repeatedly. I tried to change the RetroArch configuration file but it ignores me.
RetroArch has support for this via remaps but we can’t seem to create them with this version of retroarch. You can create the blank file via controls>Save Core Remap File which creates a folder in CPI>.CONFIG>RETROARCH>REMAPS> based on the name of your core (mGBA in this case)
The file is called mGBA.rmp but it will be an empty file and I don’t know what the format is. This should be the ideal way to do this if we can figure it out.
Just in case anyone else is confused, all you have to do is load up a game and press Shift+Menu to bring up the retroarch menu. You can remap controls there. This may not be necessary but I also selected “save core remap” and my remapped controls carry over between games.
Note that if you’re using the SNES-style button layout you need to reverse your bindings for the X and Y buttons.
Hey, just thought I’d clarify, in case people get confused.
This is a SUPER old thread from two years ago; with the last post made in August 2018, when the retroarch build and Clockwork OS didn’t have everything configured to allow keys to be detected. Back in those days, you couldn’t easily reconfigure keys, as trying to do so just resulted in a time out, and no new input detected. You had to manually edit the retroarch.config file.
These days, it is all working since upgrading to Clockwork OS 0.5 and Retroarch 1.8.x. See this post I made a while back.
Re: snes bindings, they’re going by the physical locations of the key, ie, X = North, Y = West, A = East, B = South. You can physically attach the keys to whatever you want. Dependent on the display, you may or may not need to change the configuration. In fact, ergonomically, it should be set to be the correct binding, unless you have flashed the firmware of the arduino keyboard to have SNES bindings; in which case you will have to change it. Most people would simply change it via the settings menu.