RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Keyboard mapping works in emulationstation but not retroarch

    Scheduled Pinned Locked Moved Help and Support
    retroarch
    4 Posts 2 Posters 692 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      CatDadJynx
      last edited by CatDadJynx

      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!

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        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.

        C 1 Reply Last reply Reply Quote 0
        • C
          CatDadJynx @mitu
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • C
            CatDadJynx
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            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.