Keyboard mapping works in emulationstation but not retroarch
-
Hello, im having some difficulty... for some reason my keyboard mapping works just fine in emulationstation but not in retroarch (the arrow keys work, but nothing else). Ive exhausted my searching for how to map the keyboard buttons, but i either dont entirely understand it (sorry, am fairly new to Pi's), or cant access the retroarch menu options because my keyboard doesnt work correctly. Is there a more simple way I could do this, or could someone maybe walk me through it a bit (sorry)? Thanks!
-
I think that for a keyboard there is no mapping added, since RetroArch already has a default keyboard mapping - https://docs.libretro.com/guides/input-and-controls/#default-retroarch-keyboard-bindings. To access the menu, you can use
F1
. -
I got it. First, I went into the config file (for all emulators) and checked what the keyboard buttons were mapped to... all of this was correct, strangely.
Then, I came across something elsewhere from a few years ago where someone was asking the same question, except their config file included two extra inputs under menu for button presses (for ok and cancel)... I added these lines back in, assigned them accordingly, then uncommented and assigned the menu up and down buttons as well (I am at work now but will post the actual lines I changed later)... this allowed me to navigate the retroarch menu to settings, where I was able to reset the key bindings to the keyboard defaults (or assign them to whatever I wanted).
I’m not sure why it didn’t work when everything was correct in the config file, and I’m not sure if this was the right way to go about things, but it worked.
-
Here is the thread where I found which menu buttons to add to the config file: https://retropie.org.uk/forum/topic/8957/retroarch-rgui-menu-buttons-not-working/28
and to save anyone the time scrolling through the entire thread, its in the last few replies. Once I added those lines to the config file (and assigned them and the menu up/down buttons accordingly) I was then able to map the controls through the RGUI menu settings.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.