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 + XBox 360 Controller not mapped correctly



  • Hi guys,
    I've just installed Moonlight-Embedded by TechWizTime. All is good but I found a little bug with my XBox 360 Wireless controller, so R2 Trigger is Start and the right analog doesn't work correctly.
    Can you please help me to solve this? I'm a bit noob so I need the command I need to write in terminal via SSH and, if you can, a correct map of the Controller.

    Thank you so much.



  • Hey Poltro,

    I just created the script to make things easier to install and setup Moonlight-Embedded. I have just updated this script today BTW to include a new menu based structure for an even easier solution. In regards to the controller mapping, this is now all stored in a txt file within the Moonlight program. It's called gamecontrollerdb.txt and contains the mapping for over 100 different gamepads. Here's what I could see in that file:

    xwc,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,

    AND

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

    If Right Trigger is Start, try changing righttrigger:a5 to righttrigger:b7 and start:b7 to start:a5

    Let me know if that fixes it here and also, let everyone know what model your controller is and the model of the receiver as that may offer some clues as to why your mapping is different :)

    Latest Video is here btw :


    <div class='embed-wrapper'><div class='embed-container'><iframe src='https://www.youtube.com/embed/xK5Nqsl6R1Q' frameborder='0' allowfullscreen></iframe></div></div>



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.