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
      last edited by

      Hi,
      I'm coming back to a still unresolved issue with my Arcade controls. I just tried to forget about it during a few months but each time I look at my beautifully crafted Arcade cab I feel sad for not using it anymore.

      For reference, an older post from my part.
      Re: Arcade controller issues

      My Arcade has 4 players connected to a Pi 4 with two Xinmos.

      What's the issue ? I clean all past controller configs, reboot, map all 4 players' controls and all will just work fine. All the buttons and joysticks are registered and working in Emulationstation at that point. BUT, as soon as I launch a game or even the Retropie config menu it becomes a mess. At least two joysticks are not responding anymore in game/menu. One of the players is landing on my keyboard and any attempt to remap ingame won't work as the non working joysticks will not register. When I drop back to Emulationstation the issue remains and I have to remap to make all the controls work gain, until I open a rom... When remapping, the numbers of the allocated gamepads are rising : first it will be gamepads 1-4, then 5-8,...

      My latest guess was a power issue as I had the yellow lightning popping up from time to time. So I bought the official Rasp power supply just to be sure. No more yellow bolt but it didn't solve anything, dampening hope, sigh.

      I don't even know if it's a hardware or software issue. I mean, all controls are working in jstest and can be mapped in emulationstation. Just to make sure I downloaded the latest pi4 image from the forum for a clean install on a new SD. No bullshit, just the basic install and two roms to test. Still the same issue.

      Any help much appreciated to turn a cumbersome piece of furniture into an enjoyable arcade.

      Thanks

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

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

        I clean all past controller configs

        what do you exactly do here?

        map all 4 players' controls

        what do you exactly do here?

        please fill out https://retropie.org.uk/forum/topic/3/read-this-first, including verbose log.

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

          @dankcushions

          Hi, thanks for looking into this.

          Resetting controls : the classic way through manage core packages in Retropie Setup
          Mapping controls : Through configure input in emulationstation menu

          As for the requested details, here they are :

          Pi Model or other hardware: Pi4 4GB
          Power Supply used: official power supply for Pi4
          RetroPie Version Used : v4.7.8
          Built From: Pre made SD Image on RetroPie website
          USB Devices connected: 2 Xinmos, 1 Keyboard
          Controller used: 4 player Arcade setup
          Error messages received: none
          Verbose log -

          Noob question, how do you access the logs ? The command Nano /devs/shm/runcommand.log tells me that file doesn't exit.

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

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

            Noob question, how do you access the logs ? The command Nano /devs/shm/runcommand.log tells me that file doesn't exit.

            its dev, not devs :) but also, it only gets generated after a game is run, and is wiped when you reboot, so just run a game where you think the mapping is broken, and get the log from that.

            T 1 Reply Last reply Reply Quote 0
            • 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
                                            • 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.