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

    Mapping hotkeys in standalone mupen64plus

    Scheduled Pinned Locked Moved Help and Support
    mupen64plusemulatorquithotkeys
    3 Posts 1 Posters 2.3k 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.
    • Capt_MorganCreekC
      Capt_MorganCreek
      last edited by Capt_MorganCreek

      Hey!

      I configured the keyboard as a controller so I can trigger hotkeys in retroarch emulators. E.g. rshift+arrow-left and rshift+arrow-right to cycle through save slots and rshift+return to quit emulators.

      I'd like to configure mupen64plus in a similiar way, because it does not work with these hotkeys - I can't even exit the emulator using Select+Start (rshift+return), I Need to use the ESC key.

      I found the config file with core events, but there are SDL key commands I can't understand.

      Does somebody know how to remap saving/loading and quitting?
      I'm on Retropie 4.1, updated setup script and the recent binary version of mupen64plus.

      Pi model or other hardware: 3B
      Power supply used: 3a
      RetroPie version used: 4.1
      Built from: Pre made SD Image on RetroPie website 5th November 2016
      USB devices connected: Keyboard, HuiJia GamePad (N64 usb adapter)
      Controller used: N64
      Guide used: Official Installation Guide

      Thanks!

      RetroPie64 - My Nintendo 64 conversion: https://retropie.org.uk/forum/post/55927

      1 Reply Last reply Reply Quote 0
      • Capt_MorganCreekC
        Capt_MorganCreek
        last edited by

        Hi again!
        Can anybody point me in the right direction how to save/load via keyboard shortcuts? That's the most important part to me.

        RetroPie64 - My Nintendo 64 conversion: https://retropie.org.uk/forum/post/55927

        1 Reply Last reply Reply Quote 0
        • Capt_MorganCreekC
          Capt_MorganCreek
          last edited by

          I wasn't able to map the hotkeys on the keyboard which is configured as a controller, but since I will use pyAutoGUI and scripting for GPIO inputs, I that's not a big deal.

          The keycodes found in mupen64plus.cfg relate to ascii characters, and so I remapped the functions I plan to access later via GPIO to keys I won't need.

          Here is simple overview I used to figure out key-values: Ascii Table
          You have to look for the decimal values.

          RetroPie64 - My Nintendo 64 conversion: https://retropie.org.uk/forum/post/55927

          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.