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

    Moonlight + Steam BP not detecting controller

    Scheduled Pinned Locked Moved Help and Support
    moonlightsteamxbox controllerxbox 360 wirele
    7 Posts 4 Posters 6.5k 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.
    • M
      mnmagri
      last edited by mnmagri

      Hello everyone,

      After searching the forum but not finding exactly the issue I'm facing, here I come ask for your help.

      I installed RetroPie 4.3 on my recently bought Raspberry Pi 3 B. After that, I installed moonlight-embedded and plugged by Xbox 360 Wireless Adapter to the rasp. Everything works fine inside Emulationstation - but when I try to play with Steam, then the issue begins: no controller is detected. No matter what I do. If I connect the controller to the PC (a i7 4770 w/ a GTX 770 2GB), it works as intended.

      I already tried using xboxdrv, but to no help. I'm starting with this, so is there anything that I should be looking for detecting why Steam does not recognize my Xbox 360 controller?

      Thanks in advance for any help.

      1 Reply Last reply Reply Quote 0
      • D
        derekkddj
        last edited by

        Hi,

        I have the same problem. Did you resolve this issue?

        Regards

        1 Reply Last reply Reply Quote 0
        • L
          LeSabotageur
          last edited by

          I think your problem resides in the gamecontrollerdb.txt file (in the /usr/share/moonlight folder, if google serves me correctly). I had a similar issue a while back, and now moonlight works flawlessly with 4 Xbox Wireless controllers.
          I can't get my actual configuration right now, but in the meantime you can always try with the file available at https://github.com/gabomdq/SDL_GameControllerDB/blob/master/gamecontrollerdb.txt

          1 Reply Last reply Reply Quote 0
          • D
            derekkddj
            last edited by

            Well, my problem is that Steam Big Picture does not recognizes my Xbox One controller, I cant navigate. But if I start a game (with the mouse in my PC) the gamepad works fine.

            So, to sum up:
            -Emulatos (Retropie) -> OK
            -Steam Big Picture (moonlight) -> KO, steam does not recognizes gamepad
            -Any game launched inside steam (moonligh) -> OK

            Regards

            1 Reply Last reply Reply Quote 0
            • L
              LeSabotageur
              last edited by

              Oh OK, that's not the same problem as the original one I think.
              I've never encountered this issue, but maybe it has something to do with the Steam Controller configuration, I know it can mess some stuff up. My guess would be to disable the Steam Controller in Steam if it isn't already.
              If you use Big Picture out of moonlight, on your computer, does it work properly with your controller ?

              1 Reply Last reply Reply Quote 0
              • D
                derekkddj
                last edited by

                Yes, in Big Picture mi gamepad works..
                But, i found the solution, i had to de-activate "Xbox controller support" in Steam Big Picture.
                Steam BP -> Settings -> Gamepad Settings -> Xbox controller support

                Uncheck this option, and the gamepad works in retropie, Steam BP, and games.

                Regards

                1 Reply Last reply Reply Quote 0
                • B
                  backstander
                  last edited by backstander

                  @mnmagri

                  I'm not sure how far you got when setting up Moonlight but you need to find your controller's ID number and the correct corresponding button numbers by using jstest /dev/input/js0

                  Then you add this information into /usr/share/moonlight/gamecontrollerdb.txt

                  This is because Moonlight decided to use an SDL gamecontrollerdb.txt format to be able to make common game controllers work out-of-the-box. Here's the official template file:
                  https://github.com/irtimmer/moonlight-embedded/blob/master/gamecontrollerdb.txt

                  Here is the information for my wireless Xbox 360 controller. Warning: my d-pad settings are not correct and I've been meaning to fix this but I'm too lazy to do it right now!. They differ a little depending if you're using the Xpad driver or the Xboxdrv driver.

                  Xpad version:

                  030000005e040000a102000007010000,X360 Wireless Controller,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,lefttrigger:b6,righttrigger:b7,back:b8,start:b9,guide:b10,leftstick:b11,rightstick:b12,dpleft:b13,dpright:b14,dpup:b15,dpdown:b16,leftx:a0,lefty:a1,rightx:a2,righty:a3,platform:Linux,
                  

                  Xboxdrv version:

                  030000005e040000a102000007010000,X360 Wireless Controller,a:b0,b:b1,back:b6,dpdown:b14,dpleft:b11,dpright:b12,dpup:b13,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Linux,
                  

                  More information here (Xbox 360 Wireless Receiver mapping chart):
                  https://github.com/irtimmer/moonlight-embedded/issues/514#issuecomment-310163270

                  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.