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

    [SOLVED] N64 Mupen64Plus Controller Issue on GPi 2 Case

    Scheduled Pinned Locked Moved Help and Support
    n64 controlsmupen64plusinputautocfg
    3 Posts 2 Posters 860 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.
    • TPRT
      TPR
      last edited by TPR

      I'm porting over my Pi 4 build to the GPi Case 2 and I have several of my N64 games running under Mupen64Plus-GlideN64. I need to remap the analog stick to the D-pad. I've followed the instructions in the RetroPie docs which say:

      There are two main configuration files that can be modified:
      
      /opt/retropie/configs/n64/mupen64plus.cfg
      /opt/retropie/configs/n64/InputAutoCfg.ini
      Note: Some arcade Joysticks or non-analogue controllers may need the following tweak to the generated mapping:
      
      X Axis = "hat(0 Left, 0 Right)"
      Y Axis = "hat(0 Up, 0 Down)"
      
      To
      
      X Axis = "hat(0 Left Right)"
      Y Axis = "hat(0 Up Down)"
      

      However, when I change the controls to:
      X Axis = "hat(0 Left Right)"
      Y Axis = "hat(0 Up Down)"

      The only movement I get is Left and Up. I have tried both configs suggested above, the first one doesn't work at all, the second one only gives me Left and Up.

      Any ideas on what that config file needs to say in order for me to get all four directions?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • TPRT
        TPR
        last edited by

        SOLVED!

        The correct syntax needs to be this in the InputAutoCfg.ini:

        X Axis = hat(0 Left Right)
        Y Axis = hat(0 Up Down)

        Remove the quotes.

        I'm not sure if the instructions in the RetroPie doc are wrong or something has changed recently, but that fix worked for me.

        J 1 Reply Last reply Reply Quote 1
        • J
          julenvito @TPR
          last edited by

          @TPR said in [SOLVED] N64 Mupen64Plus Controller Issue on GPi 2 Case:

          SOLVED!

          The correct syntax needs to be this in the InputAutoCfg.ini:

          X Axis = hat(0 Left Right)
          Y Axis = hat(0 Up Down)

          Remove the quotes.

          I'm not sure if the instructions in the RetroPie doc are wrong or something has changed recently, but that fix worked for me.

          Hi! Thank you very much for the contribution, it works perfectly! I have another question… Does the audio work well for you with mupen64plus? Many thanks!

          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.