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

    emulationstation creates 2 joystick entries for 1 joystick - configured controller becomes unresponsive in games

    Scheduled Pinned Locked Moved Help and Support
    ps4 controller
    2 Posts 2 Posters 969 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.
    • G
      greenbag
      last edited by greenbag

      I'm trying to get my ps4 controller working in emulationstation with limited success. I've installed the ds4drv driver according to the github page the source came from, and can both configure and navigate throughout retropie/emulationstation. But as soon as I load a game.. the screen says the controller's detected, but not configured. Even the keyboard becomes unresponsive.. I can only quit the game using the escape key. Remove the bluetooth dongle and connect the usb cable.. the same thing.. I can navigate, but can't play any games. Do a full reboot to make sure, and it's still the same. If I install fresh, and only configure the wired connector.. it works. Just not the wireless.

      When doing a setup though.. without the driver, it sees 1 controller. With the driver.. it sees 2. It's the same whether using bluetooth or usb cable.. it always sees 2 gamepads. Open the es_log.txt, and it looks as if it's loading 2 controllers.. I'm thinking this is the issue, and it's getting confused(?).

      [code]1st attempt with wireless setup:

      lvl2: EmulationStation - v2.0.1a, built Sep 6 2016 - 00:00:37
      lvl2: Creating surface...
      lvl2: Created window successfully.
      lvl2: Added unconfigured joystick Wireless Controller (GUID: 050000004c050000c405000000010000, instance ID: 0, device index: 0).
      lvl2: Added unconfigured joystick Sony Computer Entertainment Wireless Controller (GUID: 030000004c050000c405000011010000, instance ID: 1, device index: 1).
      lvl2: Checking available OpenGL extensions...
      lvl2: ARB_texture_non_power_of_two: MISSING
      lvl2: Loading system config file /etc/emulationstation/es_systems.cfg...

      [ deleted files checking in emulators with no games installed yet ]

      lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/psx/gamelist.xml"...

      lvl2: Configuring device 1 (Sony Computer Entertainment Wireless Controller).
      lvl2: Mapping [Hat 0 up] -> Up
      lvl2: Mapping [Hat 0 down] -> Down
      lvl2: Mapping [Hat 0 left] -> Left
      lvl2: Mapping [Hat 0 right] -> Right
      lvl2: Mapping [Button 9] -> Start
      lvl2: Mapping [Button 8] -> Select
      lvl2: Mapping [Button 2] -> A
      lvl2: Mapping [Button 1] -> B
      lvl2: Mapping [Button 3] -> X
      lvl2: Mapping [Button 0] -> Y
      lvl2: Mapping [Button 4] -> LeftShoulder
      lvl2: Mapping [Button 5] -> RightShoulder
      lvl2: Mapping [Axis 3-] -> LeftTrigger
      lvl2: Mapping [Axis 3+] -> RightTrigger
      lvl2: Configuring device 1 (Sony Computer Entertainment Wireless Controller).
      lvl2: Mapping [Hat 0 up] -> Up
      lvl2: Mapping [Hat 0 down] -> Down
      lvl2: Mapping [Hat 0 left] -> Left
      lvl2: Mapping [Hat 0 right] -> Right
      lvl2: Mapping [Button 9] -> Start
      lvl2: Mapping [Button 8] -> Select
      lvl2: Mapping [Button 2] -> A
      lvl2: Mapping [Button 1] -> B
      lvl2: Mapping [Button 3] -> X
      lvl2: Mapping [Button 0] -> Y
      lvl2: Mapping [Button 4] -> LeftShoulder
      lvl2: Mapping [Button 5] -> RightShoulder
      lvl2: Mapping [Button 6] -> LeftTrigger
      lvl2: Mapping [Button 7] -> RightTrigger
      lvl2: Mapping [Button 10] -> LeftThumb
      lvl2: Mapping [Button 11] -> RightThumb
      lvl2: Mapping [Axis 1-] -> LeftAnalogUp
      lvl2: Mapping [Axis 1+] -> LeftAnalogDown
      lvl2: Mapping [Axis 0-] -> LeftAnalogLeft
      lvl2: Mapping [Axis 0+] -> LeftAnalogRight
      lvl2: Mapping [Axis 5-] -> RightAnalogUp
      lvl2: Mapping [Axis 5+] -> RightAnalogDown
      lvl2: Mapping [Axis 2-] -> RightAnalogLeft
      lvl2: Mapping [Axis 2+] -> RightAnalogRight
      lvl2: req sound [basic.launch]
      lvl2: (missing)
      lvl2: Attempting to launch game...
      lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS psx /home/osmc/RetroPie/roms/psx/Spyro/Spyro\ the\ Dragon.cue
      lvl2: Creating surface...
      lvl2: Created window successfully.
      lvl2: Added unconfigured joystick Wireless Controller (GUID: 050000004c050000c405000000010000, instance ID: 0, device index: 0).
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 1, device index: 1)
      lvl2: Added unconfigured joystick Wireless Controller (GUID: 050000004c050000c405000000010000, instance ID: 0, device index: 0).
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 1, device index: 1)
      lvl2: Configuring device -1 (Keyboard).
      lvl2: Mapping [Key Up] -> Up
      lvl2: Mapping [Key Down] -> Down
      lvl2: Mapping [Key Left] -> Left
      lvl2: Mapping [Key Right] -> Right
      lvl2: Mapping [Key Q] -> Start
      lvl2: Mapping [Key S] -> Select
      lvl2: Mapping [Key Return] -> A
      lvl2: Mapping [Key X] -> B
      lvl2: Configuring device -1 (Keyboard).
      lvl2: Mapping [Key Up] -> Up
      lvl2: Mapping [Key Down] -> Down
      lvl2: Mapping [Key Left] -> Left
      lvl2: Mapping [Key Right] -> Right
      lvl2: Mapping [Key Q] -> Start
      lvl2: Mapping [Key S] -> Select
      lvl2: Mapping [Key Return] -> A
      lvl2: Mapping [Key B] -> B
      lvl2: Mapping [Key X] -> X
      lvl2: Mapping [Key Y] -> Y
      lvl2: EmulationStation cleanly shutting down.

      2nd attempt, this time using wired connection:

      lvl2: EmulationStation - v2.0.1a, built Sep 6 2016 - 00:00:37
      lvl2: Creating surface...
      lvl2: Created window successfully.
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 0, device index: 0)
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 1, device index: 1)
      lvl2: Checking available OpenGL extensions...
      lvl2: ARB_texture_non_power_of_two: MISSING
      lvl2: Loading system config file /etc/emulationstation/es_systems.cfg...

      [ deleted files checking in emulators with no games installed yet ]

      lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/psx/gamelist.xml"...

      lvl2: req sound [basic.launch]
      lvl2: (missing)
      lvl2: Attempting to launch game...
      lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS psx /home/osmc/RetroPie/roms/psx/Spyro/Spyro\ the\ Dragon.cue
      lvl2: Creating surface...
      lvl2: Created window successfully.
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 0, device index: 0)
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 1, device index: 1)
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 0, device index: 0)
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 1, device index: 1)
      lvl2: Configuring device 1 (Sony Computer Entertainment Wireless Controller).
      lvl2: Mapping [Hat 0 up] -> Up
      lvl2: Mapping [Hat 0 down] -> Down
      lvl2: Mapping [Hat 0 left] -> Left
      lvl2: Mapping [Hat 0 right] -> Right
      lvl2: Mapping [Button 9] -> Start
      lvl2: Mapping [Button 8] -> Select
      lvl2: Mapping [Button 2] -> A
      lvl2: Mapping [Button 1] -> B
      lvl2: Mapping [Button 3] -> X
      lvl2: Mapping [Button 0] -> Y
      lvl2: Mapping [Button 4] -> LeftShoulder
      lvl2: Mapping [Button 5] -> RightShoulder
      lvl2: Mapping [Button 6] -> LeftTrigger
      lvl2: Mapping [Button 7] -> RightTrigger
      lvl2: Mapping [Button 10] -> LeftThumb
      lvl2: Mapping [Button 11] -> RightThumb
      lvl2: Mapping [Axis 1-] -> LeftAnalogUp
      lvl2: Mapping [Axis 1+] -> LeftAnalogDown
      lvl2: Mapping [Axis 0-] -> LeftAnalogLeft
      lvl2: Mapping [Axis 0+] -> LeftAnalogRight
      lvl2: Mapping [Axis 5-] -> RightAnalogUp
      lvl2: Mapping [Axis 5+] -> RightAnalogDown
      lvl2: Mapping [Axis 2-] -> RightAnalogLeft
      lvl2: Mapping [Axis 2+] -> RightAnalogRight
      lvl2: req sound [basic.launch]
      lvl2: (missing)
      lvl2: Attempting to launch game...
      lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS psx /home/osmc/RetroPie/roms/psx/Spyro/Spyro\ the\ Dragon.cue
      lvl2: Creating surface...
      lvl2: Created window successfully.
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 0, device index: 0)
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 1, device index: 1)
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 0, device index: 0)
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 1, device index: 1)[/code]

      Any ideas?

      1 Reply Last reply Reply Quote 0
      • G
        gomisensei
        last edited by gomisensei

        having same problem with libretro/retroarch, if i could just get keyboard control, i'd be ok. Noticed if you turn off the ps4 controller (hold ps button for 10 seconds) keyboard control works again...

        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.