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

    Controls mixed up again and again

    Scheduled Pinned Locked Moved Help and Support
    arcade controlsxinmomapping
    30 Posts 6 Posters 4.8k 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.
    • T
      Tim's up @dankcushions
      last edited by

      @dankcushions

      Ok, I have the Verbose log. Now how the hell do I export the info you need from the command line interface

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Tim's up
        last edited by

        Copy the file to the ROMs folder and then you'll be able to copy it via file shares from there:

        cp /dev/shm/runcommand.log $HOME/RetroPie/roms
        
        1 Reply Last reply Reply Quote 0
        • T
          Tim's up
          last edited by Tim's up

          Maybe a glimpse in the normal log first. I started this session with mapping controls to gamepads 1-4. I launched roms, shut them down and remapped those controllers that stopped working. Wou will see that gamepad numbers keep on being reallocated

          	Feb 17 19:00:51 lvl2: 	EmulationStation - v2.9.6rp, built Jan 22 2021 - 00:52:45
          Feb 17 19:00:51 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamenames.xml"...
          Feb 17 19:00:51 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamebioses.xml"...
          Feb 17 19:00:51 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamedevices.xml"...
          Feb 17 19:00:51 lvl2: 	Creating window...
          Feb 17 19:00:52 lvl2: 	Created window successfully.
          Feb 17 19:00:52 lvl2: 	GL vendor:   Broadcom
          Feb 17 19:00:52 lvl2: 	GL renderer: V3D 4.2
          Feb 17 19:00:52 lvl2: 	GL version:  2.1 Mesa 19.3.2
          Feb 17 19:00:52 lvl2: 	Checking available OpenGL extensions...
          Feb 17 19:00:52 lvl2: 	 ARB_texture_non_power_of_two: ok
          Feb 17 19:00:53 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 0, device index: 0)
          Feb 17 19:00:53 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 1, device index: 1)
          Feb 17 19:00:53 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 2, device index: 2)
          Feb 17 19:00:53 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 3, device index: 3)
          Feb 17 19:00:53 lvl2: 	Loading system config file /etc/emulationstation/es_systems.cfg...
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/amstradcpc/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/amstradcpc/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "amstradcpc" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/arcade/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/arcade/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/atari2600/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/atari2600/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "atari2600" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/atari5200/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/atari5200/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "atari5200" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/atari7800/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/atari7800/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "atari7800" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/atari800/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/atari800/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "atari800" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/atarilynx/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/atarilynx/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "atarilynx" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	Error - folder with path "/home/pi/RetroPie/roms/coleco" is not a directory!
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/colecovision/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/colecovision/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "coleco" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/fba/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/fba/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/fds/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/fds/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "fds" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/gamegear/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/gamegear/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "gamegear" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/gb/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/gb/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "gb" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/gba/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/gba/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "gba" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/gbc/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/gbc/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "gbc" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/mame/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/mame/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "mame-libretro" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/mastersystem/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/mastersystem/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "mastersystem" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/megadrive/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/megadrive/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "megadrive" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	Error - folder with path "/home/pi/RetroPie/roms/msx" is not a directory!
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/msx/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/msx/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "msx" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/n64/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/n64/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "n64" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/neogeo/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/neogeo/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "neogeo" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/nes/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/nes/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "nes" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/ngp/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/ngp/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "ngp" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/ngpc/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/ngpc/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "ngpc" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/pcengine/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/pcengine/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "pcengine" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/psx/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/psx/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "psx" has no games! Ignoring it.
          Feb 17 19:00:53 lvl2: 	Parsing XML file "/home/pi/.emulationstation/gamelists/retropie/gamelist.xml"...
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/retropie/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/retropie/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/sega32x/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/sega32x/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "sega32x" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/segacd/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/segacd/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "segacd" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/sg-1000/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/sg-1000/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "sg-1000" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/snes/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/snes/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "snes" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/vectrex/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/vectrex/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "vectrex" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/zxspectrum/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/zxspectrum/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	System "zxspectrum" has no games! Ignoring it.
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/auto-allgames/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/auto-allgames/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/auto-favorites/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/auto-favorites/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/auto-lastplayed/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/auto-lastplayed/../carbon.xml")
              could not find file "" 
          Feb 17 19:00:53 lvl1: 	  Warning from theme "/etc/emulationstation/themes/carbon/custom-collections/theme.xml"
            (from included file "/etc/emulationstation/themes/carbon/custom-collections/../carbon.xml")
              could not find file "" 
          Feb 17 19:02:08 lvl2: 	Configuring device 2 (xin-mo.com Xinmotek Controller).
          Feb 17 19:02:10 lvl2: 	  Mapping [Hat 0 up] -> Up
          Feb 17 19:02:10 lvl2: 	  Mapping [Hat 0 down] -> Down
          Feb 17 19:02:11 lvl2: 	  Mapping [Hat 0 left] -> Left
          Feb 17 19:02:11 lvl2: 	  Mapping [Hat 0 right] -> Right
          Feb 17 19:02:12 lvl2: 	  Mapping [Button 9] -> Start
          Feb 17 19:02:13 lvl2: 	  Mapping [Button 8] -> Select
          Feb 17 19:02:14 lvl2: 	  Mapping [Button 2] -> A
          Feb 17 19:02:14 lvl2: 	  Mapping [Button 1] -> B
          Feb 17 19:02:15 lvl2: 	  Mapping [Button 3] -> X
          Feb 17 19:02:16 lvl2: 	  Mapping [Button 0] -> Y
          Feb 17 19:02:25 lvl2: 		/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh
          Feb 17 19:02:33 lvl2: 	Configuring device 3 (xin-mo.com Xinmotek Controller).
          Feb 17 19:02:35 lvl2: 	  Mapping [Hat 0 up] -> Up
          Feb 17 19:02:35 lvl2: 	  Mapping [Hat 0 down] -> Down
          Feb 17 19:02:36 lvl2: 	  Mapping [Hat 0 left] -> Left
          Feb 17 19:02:36 lvl2: 	  Mapping [Hat 0 right] -> Right
          Feb 17 19:02:37 lvl2: 	  Mapping [Button 9] -> Start
          Feb 17 19:02:37 lvl2: 	  Mapping [Button 8] -> Select
          Feb 17 19:02:40 lvl2: 	  Mapping [Button 2] -> A
          Feb 17 19:02:40 lvl2: 	  Mapping [Button 1] -> B
          Feb 17 19:02:41 lvl2: 	  Mapping [Button 3] -> X
          Feb 17 19:02:41 lvl2: 	  Mapping [Button 0] -> Y
          Feb 17 19:02:49 lvl2: 		/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh
          Feb 17 19:03:00 lvl2: 	 req sound [basic.launch]
          Feb 17 19:03:00 lvl2: 	   (missing)
          Feb 17 19:03:01 lvl2: 	Attempting to launch game...
          Feb 17 19:03:02 lvl2: 		/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ arcade /home/pi/RetroPie/roms/arcade/xmen6p.zip
          Feb 17 19:03:18 lvl2: 	Creating window...
          Feb 17 19:03:19 lvl2: 	Created window successfully.
          Feb 17 19:03:19 lvl2: 	GL vendor:   Broadcom
          Feb 17 19:03:19 lvl2: 	GL renderer: V3D 4.2
          Feb 17 19:03:19 lvl2: 	GL version:  2.1 Mesa 19.3.2
          Feb 17 19:03:19 lvl2: 	Checking available OpenGL extensions...
          Feb 17 19:03:19 lvl2: 	 ARB_texture_non_power_of_two: ok
          Feb 17 19:03:20 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 4, device index: 0)
          Feb 17 19:03:20 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 5, device index: 1)
          Feb 17 19:03:20 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 6, device index: 2)
          Feb 17 19:03:20 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 7, device index: 3)
          Feb 17 19:03:20 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 4, device index: 0)
          Feb 17 19:03:20 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 5, device index: 1)
          Feb 17 19:03:20 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 6, device index: 2)
          Feb 17 19:03:20 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 7, device index: 3)
          Feb 17 19:03:27 lvl2: 	 req sound [basic.launch]
          Feb 17 19:03:27 lvl2: 	   (missing)
          Feb 17 19:03:28 lvl2: 	Attempting to launch game...
          Feb 17 19:03:29 lvl2: 		/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ arcade /home/pi/RetroPie/roms/arcade/xmen6p.zip
          Feb 17 19:05:34 lvl2: 	Creating window...
          Feb 17 19:05:34 lvl2: 	Created window successfully.
          Feb 17 19:05:34 lvl2: 	GL vendor:   Broadcom
          Feb 17 19:05:34 lvl2: 	GL renderer: V3D 4.2
          Feb 17 19:05:34 lvl2: 	GL version:  2.1 Mesa 19.3.2
          Feb 17 19:05:34 lvl2: 	Checking available OpenGL extensions...
          Feb 17 19:05:34 lvl2: 	 ARB_texture_non_power_of_two: ok
          Feb 17 19:05:35 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 8, device index: 0)
          Feb 17 19:05:35 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 9, device index: 1)
          Feb 17 19:05:35 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 10, device index: 2)
          Feb 17 19:05:35 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 11, device index: 3)
          Feb 17 19:05:35 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 8, device index: 0)
          Feb 17 19:05:35 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 9, device index: 1)
          Feb 17 19:05:35 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 10, device index: 2)
          Feb 17 19:05:35 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 11, device index: 3)
          Feb 17 19:06:06 lvl2: 	Configuring device 8 (xin-mo.com Xinmotek Controller).
          Feb 17 19:06:07 lvl2: 	  Mapping [Axis 1-] -> Up
          Feb 17 19:06:07 lvl2: 	  Mapping [Axis 1+] -> Down
          Feb 17 19:06:08 lvl2: 	  Mapping [Axis 0-] -> Left
          Feb 17 19:06:08 lvl2: 	  Mapping [Axis 0+] -> Right
          Feb 17 19:06:09 lvl2: 	  Mapping [Button 9] -> Start
          Feb 17 19:06:10 lvl2: 	  Mapping [Button 8] -> Select
          Feb 17 19:06:10 lvl2: 	  Mapping [Button 2] -> A
          Feb 17 19:06:11 lvl2: 	  Mapping [Button 1] -> B
          Feb 17 19:06:11 lvl2: 	  Mapping [Button 3] -> X
          Feb 17 19:06:12 lvl2: 	  Mapping [Button 0] -> Y
          Feb 17 19:06:13 lvl2: 	  Mapping [Button 5] -> LeftShoulder
          Feb 17 19:06:13 lvl2: 	  Mapping [Button 4] -> RightShoulder
          Feb 17 19:06:20 lvl2: 		/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh
          Feb 17 19:06:26 lvl2: 	Configuring device 9 (xin-mo.com Xinmotek Controller).
          Feb 17 19:06:27 lvl2: 	  Mapping [Axis 1-] -> Up
          Feb 17 19:06:27 lvl2: 	  Mapping [Axis 1+] -> Down
          Feb 17 19:06:28 lvl2: 	  Mapping [Axis 0-] -> Left
          Feb 17 19:06:28 lvl2: 	  Mapping [Axis 0+] -> Right
          Feb 17 19:06:29 lvl2: 	  Mapping [Button 9] -> Start
          Feb 17 19:06:29 lvl2: 	  Mapping [Button 8] -> Select
          Feb 17 19:06:30 lvl2: 	  Mapping [Button 4] -> A
          Feb 17 19:06:30 lvl2: 	  Mapping [Button 2] -> B
          Feb 17 19:06:31 lvl2: 	  Mapping [Button 3] -> X
          Feb 17 19:06:32 lvl2: 	  Mapping [Button 0] -> Y
          Feb 17 19:06:32 lvl2: 	  Mapping [Button 5] -> LeftShoulder
          Feb 17 19:06:47 lvl2: 	  Mapping [Button 5] -> LeftShoulder
          Feb 17 19:07:21 lvl2: 	  Mapping [Button 1] -> B
          Feb 17 19:07:25 lvl2: 	  Mapping [Button 3] -> X
          Feb 17 19:07:26 lvl2: 	  Mapping [Button 0] -> Y
          Feb 17 19:07:28 lvl2: 	  Mapping [Button 5] -> LeftShoulder
          Feb 17 19:07:39 lvl2: 	  Mapping [Button 2] -> A
          Feb 17 19:07:43 lvl2: 	  Mapping [Button 1] -> B
          Feb 17 19:07:44 lvl2: 	  Mapping [Button 3] -> X
          Feb 17 19:07:45 lvl2: 	  Mapping [Button 0] -> Y
          Feb 17 19:07:46 lvl2: 	  Mapping [Button 5] -> LeftShoulder
          Feb 17 19:07:47 lvl2: 	  Mapping [Button 4] -> RightShoulder
          Feb 17 19:07:52 lvl2: 		/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh
          Feb 17 19:08:10 lvl2: 	 req sound [basic.launch]
          Feb 17 19:08:10 lvl2: 	   (missing)
          Feb 17 19:08:10 lvl2: 	Attempting to launch game...
          Feb 17 19:08:11 lvl2: 		/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ fba /home/pi/RetroPie/roms/fba/xmen.zip
          Feb 17 19:08:21 lvl2: 	Creating window...
          Feb 17 19:08:21 lvl2: 	Created window successfully.
          Feb 17 19:08:21 lvl2: 	GL vendor:   Broadcom
          Feb 17 19:08:21 lvl2: 	GL renderer: V3D 4.2
          Feb 17 19:08:21 lvl2: 	GL version:  2.1 Mesa 19.3.2
          Feb 17 19:08:21 lvl2: 	Checking available OpenGL extensions...
          Feb 17 19:08:21 lvl2: 	 ARB_texture_non_power_of_two: ok
          Feb 17 19:08:22 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 12, device index: 0)
          Feb 17 19:08:22 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 13, device index: 1)
          Feb 17 19:08:22 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 14, device index: 2)
          Feb 17 19:08:22 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 15, device index: 3)
          Feb 17 19:08:22 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 12, device index: 0)
          Feb 17 19:08:22 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 13, device index: 1)
          Feb 17 19:08:22 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 14, device index: 2)
          Feb 17 19:08:22 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 15, device index: 3)
          Feb 17 19:08:31 lvl2: 	 req sound [basic.launch]
          Feb 17 19:08:31 lvl2: 	   (missing)
          Feb 17 19:08:32 lvl2: 	Attempting to launch game...
          Feb 17 19:08:33 lvl2: 		/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ fba /home/pi/RetroPie/roms/fba/vendetta.zip
          Feb 17 19:11:42 lvl2: 	Creating window...
          Feb 17 19:11:43 lvl2: 	Created window successfully.
          Feb 17 19:11:43 lvl2: 	GL vendor:   Broadcom
          Feb 17 19:11:43 lvl2: 	GL renderer: V3D 4.2
          Feb 17 19:11:43 lvl2: 	GL version:  2.1 Mesa 19.3.2
          Feb 17 19:11:43 lvl2: 	Checking available OpenGL extensions...
          Feb 17 19:11:43 lvl2: 	 ARB_texture_non_power_of_two: ok
          Feb 17 19:11:43 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 16, device index: 0)
          Feb 17 19:11:43 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 17, device index: 1)
          Feb 17 19:11:43 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 18, device index: 2)
          Feb 17 19:11:43 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 19, device index: 3)
          Feb 17 19:11:44 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 16, device index: 0)
          Feb 17 19:11:44 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 17, device index: 1)
          Feb 17 19:11:44 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 18, device index: 2)
          Feb 17 19:11:44 lvl2: 	Added known joystick xin-mo.com Xinmotek Controller (instance ID: 19, device index: 3)
          Feb 17 19:12:09 lvl2: 	Added/Updated 1 entities in '/etc/emulationstation/gamelists/arcade/gamelist.xml'
          Feb 17 19:12:09 lvl2: 	Saved gamelist.xml for system "arcade" in 0 ms
          Feb 17 19:12:09 lvl2: 	Added/Updated 2 entities in '/etc/emulationstation/gamelists/fba/gamelist.xml'
          Feb 17 19:12:09 lvl2: 	Saved gamelist.xml for system "fba" in 0 ms
          Feb 17 19:12:09 lvl2: 	EmulationStation cleanly shutting down.
          
          
          
          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Tim's up
            last edited by

            @tim-s-up Please use pastebin.com for large log files.

            T 1 Reply Last reply Reply Quote 0
            • T
              Tim's up @mitu
              last edited by

              @mitu

              Ok, sorry.
              So here comes the verbose log for the same session :

              https://pastebin.com/KehNVuQP

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @Tim's up
                last edited by

                Since all controllers share the same name/model, only 1 configuration is generated for all of them. You basically have to configure just one player in EmulationStation and it will configure all. This means you can't have different configurations for each player - they will all share the same configuration. This also means you need to wire all of the players identically to the encoder, otherwise the configuration will not work (i.e. P1 Button A should produce the same input as P2/P3/P4 Button A).

                The runcommand.log doesn't show any error regarding the gamepads, the ES shows that you've configured (differently) 2 controllers - this means the last controller configured will push its configuration to all other connected gamepads.

                The question is - are all controllers wired identically and correctly ? Do you have the same inputs on all controllers (joystick/d-pad/buttons) ?

                T 2 Replies Last reply Reply Quote 0
                • T
                  Tim's up @mitu
                  last edited by

                  @mitu

                  Hey thanks for this.
                  Yes, I was careful to wire all the controllers in the same way. Although there a small differences : players 1 and 2 have 6 buttons, players 3 and 4 have only 4 buttons and player 1 has a hotkey button.

                  When I map only one player, the other controllers don't seem to work. When I map them all separately they do work...until I open a rom or reboot.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tim's up @mitu
                    last edited by Tim's up

                    @mitu
                    Also, I was wondering how can one explain the rising number of "IDs" allocated to my controllers? The ES log shows this quite well.

                    YFZdudeY mituM 2 Replies Last reply Reply Quote 0
                    • YFZdudeY
                      YFZdude @Tim's up
                      last edited by

                      @tim-s-up
                      I just did an experiment to see if this happens to me.

                      RPi3B+ with only 1 logitech F310 controller plugged in.
                      I started ES, launched an Atari 2600 game, quit, launched a 2nd game, quit, launched a 3rd game, then quit.

                      My ES log shows that when ES starts, my controller has instance ID 0, then at each game launch, the instance ID increases by 1. Everything works fine in each game, so apparently the increasing IDs are not the problem and is somewhat normal.

                      T 1 Reply Last reply Reply Quote 1
                      • mituM
                        mitu Global Moderator @Tim's up
                        last edited by

                        @tim-s-up It's an internal SDL allocated number, as I explained in your previous topic. Each time libSDL initializes the joystick, it allocates another number - this happens when the controller is detected or after ES starts a game/script and goes into background.

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tim's up @YFZdude
                          last edited by

                          @yfzdude
                          @mitu

                          Thank you both. OK so controller IDs are not the problem. I will recheck my wiring, seems to be the only sensible thing to do.

                          J 2 Replies Last reply Reply Quote 1
                          • J
                            JakeS @Tim's up
                            last edited by

                            @tim-s-up Any success with this? I'm facing the same sort of issue with my 2 player xin-mo setup.

                            1 Reply Last reply Reply Quote 0
                            • J
                              JakeS @Tim's up
                              last edited by

                              @tim-s-up I broke down and re-wired all the controls. It turns out the kit I got (from Microcenter) had some bad advice about not worrying about the order they are wired, it said remapping in emulationstation would be fine.

                              But it DID matter that A button for joystick1 was wired the same as the A button for joystick2, etc. I had several things wired differently on each side. That meant when I mapped them independently in ES they would work, but ES would apply that mapping to the other side too.

                              T 1 Reply Last reply Reply Quote 1
                              • T
                                Tim's up @JakeS
                                last edited by

                                @jakes Hey, sorry I was away for some days and didn't see your post.

                                Unfortunately, I couldn't do all the testing yet. I tried my 2 Xinmos separately (connecting only one) and it did work, so the issue is the two working together.

                                When you say they all have to be wired the same way, how do you handle the extra buttons (hotkey, in my case also buttons 5 and 6 on 2 main controllers) ?

                                lostlessL 1 Reply Last reply Reply Quote 0
                                • lostlessL
                                  lostless @Tim's up
                                  last edited by lostless

                                  @tim-s-up meaning every button is wired to the same physical spot on each encoder. A goes to whatever you make A. But it has to be the same spot . Every encoder has to be wired IDENTICALLY. If you don’t have 5-6 on 2 of them, just ignore them on those 2. You can wire the hot key to whatever for player one. When you config the controllers in emulation station, ONLY CONFIG PLAYER ONE. The rest will just use that config. No need to config each encoder if they share the same brand and model. Also Only player one can use hot key.

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    Tim's up @lostless
                                    last edited by

                                    @lostless @mitu I tried to map only player 1 in Emulationstation. Indeed it worked after a reboot, the other 3 players were mapped the same. BUT, for players 3 and 4 only the buttons work, the joysticks don't. When I manually map the two non working joysticks, P1 and P2 stop working. I checked, all 4 joysticks are wired the same way :-(

                                    mituM 1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @Tim's up
                                      last edited by

                                      @tim-s-up Use jstest with each joystick and see what's the output for 3 and 4 for the non-working analog joysticks. Are they registered on the same device as the buttons or on another device ?

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        Tim's up @mitu
                                        last edited by

                                        @mitu Ok, I will give it a go with jstest but joysticks 3 and 4 are working. E.g. they are working when I map them manually (but P1 and P2 stop working in that case).

                                        @tim-s-up Are they registered on the same device as the buttons or on another device ?

                                        You mean wired to the same interface ? Yes, P1 and P2 on Xinmo I, P3 and P4 on Xinmo II.

                                        lostlessL 1 Reply Last reply Reply Quote 0
                                        • lostlessL
                                          lostless @Tim's up
                                          last edited by

                                          @tim-s-up said in Controls mixed up again and again:

                                          Yes, P1 and P2 on Xinmo I, P3 and P4 on Xinmo II.

                                          This look like it may be your problem right there. The xinmo 1 and 2 may be using the same encoder chip, so retropie sees them both as the same controller, but the pins might not match up between each. This is where some trouble shooting comes in. You have to match the virtual buttons to their proper locations. So if you configure player one and the dpad is using the hat input, ie hat up, down, etc, you have to find out what pins match up for the encoder for players 3 and 4 that use the hat output.

                                          T 1 Reply Last reply Reply Quote 0
                                          • T
                                            Tim's up @lostless
                                            last edited by

                                            @lostless said in Controls mixed up again and again:

                                            So if you configure player one and the dpad is using the hat input, ie hat up, down, etc, you have to find out what pins match up for the encoder for players 3 and 4 that use the hat output.

                                            Thanks, but, noob question, how do I do that?

                                            lostlessL 2 Replies Last reply Reply Quote 0
                                            • 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.