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

    Emulation station erases the second joystick settings with xin-mo.com Xinmotek Controller

    Scheduled Pinned Locked Moved Help and Support
    joystick issue
    2 Posts 2 Posters 294 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.
    • V
      velteyn
      last edited by

      USB Devices connected: keyboard, mouse, xin-mo.com Xinmotek Controller
      Controller used: xin-mo.com Xinmotek Controller
      Error messages received: none
      Guide used: https://community.microcenter.com/discussion/4158/configuring-the-xinmotek-controller-with-retropie
      But also the one in the Retropie Website
      File:
      es_input.cfg created for first controller

      <?xml version="1.0"?>
      <inputList>
        <inputAction type="onfinish">
          <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
        </inputAction>
        <inputConfig type="joystick" deviceName="xin-mo.com Xinmotek Controller" deviceGUID="03000000c0160000e105000010010000">
          <input name="pageup" type="button" id="5" value="1"/>
          <input name="up" type="axis" id="1" value="-1"/>
          <input name="left" type="axis" id="0" value="-1"/>
          <input name="select" type="button" id="1" value="1"/>
          <input name="right" type="axis" id="0" value="1"/>
          <input name="y" type="button" id="6" value="1"/>
          <input name="x" type="button" id="2" value="1"/>
          <input name="down" type="axis" id="1" value="1"/>
          <input name="start" type="button" id="4" value="1"/>
          <input name="b" type="button" id="3" value="1"/>
          <input name="a" type="button" id="7" value="1"/>
          <input name="pagedown" type="button" id="2" value="1"/>
        </inputConfig>
      </inputList>
      

      es_input.cfg created for second controller

      <?xml version="1.0"?>
      <inputList>
        <inputAction type="onfinish">
          <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
        </inputAction>
        <inputConfig type="joystick" deviceName="xin-mo.com Xinmotek Controller" deviceGUID="03000000c0160000e105000010010000">
          <input name="pageup" type="button" id="7" value="1"/>
          <input name="up" type="axis" id="1" value="-1"/>
          <input name="left" type="axis" id="0" value="-1"/>
          <input name="select" type="button" id="1" value="1"/>
          <input name="right" type="axis" id="0" value="1"/>
          <input name="y" type="button" id="5" value="1"/>
          <input name="x" type="button" id="3" value="1"/>
          <input name="down" type="axis" id="1" value="1"/>
          <input name="start" type="button" id="0" value="1"/>
          <input name="b" type="button" id="6" value="1"/>
          <input name="a" type="button" id="4" value="1"/>
          <input name="pagedown" type="button" id="2" value="1"/>
        </inputConfig>
      </inputList>
      

      Emulator: none
      How to replicate the problem:
      So .. The 2 joystick are connected perfectly and I can test them with JSTEST
      The buttons are NOT the same and are a little messed up between the two joys but I think that this is not a big problem.

      so to reproduce I simply start the configuration procedure and a file is created (as you can see above)
      if I start to configure the second joystick the first file is overwritten by the second one.. The second joystick is correctly configured now but the FIRST one results messed up..
      The question is , why emulationstation is considering the 2 joystick as one and is not creating two different configurations ??
      Thank you

      (Can someone help me via discord also ? Thank you)

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

        @velteyn said in Emulation station erases the second joystick settings with xin-mo.com Xinmotek Controller:

        The buttons are NOT the same and are a little messed up between the two joys but I think that this is not a big problem.

        This is actually the problem - if they're wired differently, then they'll produce different configurations. EmulationStation, just like the majority of emulators, use the name reported by the joypad to identify the configuration. If you have 2 gamepads with the same name, but different inputs, they'll not work correctly since they'll not be able to share the same configuration.

        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.