Please do not post a support request without first reading and following the advice in

Moonlight + Steam BP not detecting controller

  • 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.

  • Hi,

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


  • 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

  • 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


  • 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 ?

  • 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.


  • @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:

    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):

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.