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

    N64 and Xbox 360 Cotroller

    Scheduled Pinned Locked Moved Help and Support
    x-box 360controllern64mapping
    10 Posts 6 Posters 7.1k 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.
    • J
      Justintoxicated
      last edited by Justintoxicated

      New to retropie here, so sorry if this is something I should know already.
      After configuring my X-box 360 controller I noticed that the buttons are way off for all N64 games. Z is the left trigger and R is the right shoulder and actually none of the mappings really make sense (I think in other places too but I am very confused as to how the buttons are mapped). The most obvious mistake tough is that if R-shoulder is right barrel roll in starfox, then I would expect L-shoulder for left barrel roll, not left trigger. But I noticed it's the trigger one side and shoulder on the other for for all games
      I have tried so I think something is incorrect somewhere and it which makes them nearly unplayable.

      How do I fix it?

      Pi Model or other hardware: Pi3 B
      Power Supply used: (CanaKit 2.5A USB Power Supply)
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.2
      Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used): retropie-4.2-rpi2_rpi3.img.gz
      USB Devices connected: MCE Remote, keyboard, xbox 360 stick and lenovo RF keyboard / mouse thing.

      1 Reply Last reply Reply Quote 1
      • TriBT
        TriB
        last edited by TriB

        It seems that the N64 Emulator is the only one, which messes up the global key map.

        I´ve experienced the same with a N64 Controller, as confirmed and workaround here.
        Yesterday connected my Xbox360 controller and it works great everywhere. Except with Mupen64plus. As you described, the shoulder keys are strange and A,B,X & Y are crazy mixed up.

        I´ll maybe create an issue on GitHub if nobody replies and see what happens :)

        (But I´m confused, that only a few people report that...)

        mituM 1 Reply Last reply Reply Quote 1
        • T
          Trailjacker
          last edited by Trailjacker

          Just open the retroarch emulator menu while in a game and change the button/ key bindings. Usually it's 'Hotkey + x' unless you changed your buttons then it's Hotkey and one of the four buttons. I think you go to Quick Menu and controls but I could be wrong. Don't forget to save config before you exit if you want it to stick.

          I'm pretty sure you can change these on a "Per ROM" or "Per System" basis so it doesn't affect other games/emulators.

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

            @trib The Mupen64Plus emulator is not a libretro emulator and has it's own idea and settings for the input. You can find more details on the emulator page https://retropie.org.uk/docs/Nintendo-64/, where the configuration for the input is detailed for each emulator choice.

            You could try to switch to lr-mupen64plus, as it keeps the global (libretro cores) input mappings, or tweak the input configuration file for Mupen64plus to your liking.
            Either way, the forum is the proper way to report and discuss this, not the github issue tracker.

            T 1 Reply Last reply Reply Quote 1
            • T
              Trailjacker @mitu
              last edited by

              @mitu is Mupen64Plus the default emulator?

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

                @trailjacker I'm not sure, since I don't play any N64 games; I think it's recommended though over the lr- version for performance reasons.

                1 Reply Last reply Reply Quote 0
                • TriBT
                  TriB
                  last edited by

                  @Trailjacker & @mitu thanks for your clarification!
                  I´m using the stock, preinstalled Emu, which seems to be Mupen64Plus.
                  If its recommended, I´ll stay with it and try to reconfigure its mapping via Hotkey + X.

                  dankcushionsD 1 Reply Last reply Reply Quote 0
                  • dankcushionsD
                    dankcushions Global Moderator @TriB
                    last edited by

                    @trib said in N64 and Xbox 360 Cotroller:

                    @Trailjacker & @mitu thanks for your clarification!
                    I´m using the stock, preinstalled Emu, which seems to be Mupen64Plus.
                    If its recommended, I´ll stay with it and try to reconfigure its mapping via Hotkey + X.

                    mupen64plus has no hotkey+X menu. it's not a libretro emulator. as @mitu said, you need to check out the documentation and edit the relevent file to reconfigure the controls.

                    1 Reply Last reply Reply Quote 1
                    • DarkSide1305D
                      DarkSide1305
                      last edited by DarkSide1305

                      Im currently using lr-mupen64plus, and i have no Performance Issues (only tested Super Mario 64)

                      1 Reply Last reply Reply Quote 0
                      • TriBT
                        TriB
                        last edited by

                        After a lot of investigation, I didn´t found a working key configuration, online.
                        Also I could not access /dev/input/ to use jstest... Whatever, testing, testing, testing made the deal:
                        Working xBox360 wired USB Controller:

                        [Microsoft X-Box 360 pad]
                        plugged = True 
                        plugin = 2 
                        mouse = False 
                        AnalogDeadzone = 4096,4096 
                        AnalogPeak = 32768,32768 
                        Mempak switch = 
                        Rumblepak switch = 
                        Start = button(9) 
                        DPad U = hat(0 Up) 
                        DPad D = hat(0 Down) 
                        DPad L = hat(0 Left) 
                        DPad R = hat(0 Right) 
                        Z Trig = button(6) 
                        C Button U = axis(3-) 
                        C Button D = axis(3+) 
                        C Button L = axis(2-) 
                        C Button R = axis(2+) 
                        R Trig = button(7) 
                        L Trig = button(8) 
                        A Button = button(0) 
                        B Button = button(1) 
                        X Axis = axis(0-,0+) 
                        Y Axis = axis(1-,1+) 
                        

                        And to complete it, the iNext USB N64 Controller:

                        [Generic   USB  Joystick  ]
                        plugged = True
                        plugin = 2
                        mouse = False
                        AnalogDeadzone = 4096,4096
                        AnalogPeak = 32768,32768
                        Mempak switch = 
                        Rumblepak switch =  
                        C Button D = button(2)  
                        C Button L = button(3) 
                        L Trig = button(4) 
                        Start = button(9) 
                        Y Axis = axis(1-,1+)
                        DPad U = hat(0 Up) 
                        A Button = button(6) 
                        DPad D = hat(0 Down) 
                        X Axis = axis(0-,0+)
                        R Trig = button(5) 
                        DPad R = hat(0 Right) 
                        B Button = button(8) 
                        DPad L = hat(0 Left) 
                        Z Trig = button(7) 
                        C Button U = button(0) 
                        C Button R = button(1) 
                        

                        Seems all fine now, except connecting 2 N64, 1 xBox360 USB and 1 xBox Wireless-Adapter. ES displays, that no Controller is connected. They probably suck to much energy or it is related to the NesPi-Case I´m using :(

                        But that is another Topic :)

                        1 Reply Last reply Reply Quote 1
                        • 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.