Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    China Arcade Controllers forget their configuration entering and exiting a game

    GamePad/GPIO/USB encoder
    china arcade forget entering exiting
    1
    3
    366
    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.
    • Kaltduscher
      Kaltduscher last edited by

      I built my own bar-top Arcade.
      For the inputs I bought one of these nice sets on Amazon: two joysticks and a couple of buttons. It came with a generic USB controller board.

      First problem: this dual-usb controller board is not recognized as two individual joysticks.

      If you have the same issue, here is what you can do (buy me a beer):

      using putty to ssh into the pi
      user root
      password recalboxroot
      
      with the command lsusb get the usb controlers listed
      
      unplug the controler, use the command lsusb again
      now plug it back in, use lsusb again
      
      the one that shows up in the list additionally is your usb controler 
      
      note down the hardware address of the single usb controler (something like 0810:e001)
      
      open the cmdline.txt (easiest just by inserting the sd card into a pc)
      
      add the following at the end
      usbhid.quirks=0x0810:0xe001:0x040
      
      replace "0810" and "xe001" with the two respective parts (separated by ":") from the hardware adress of the usb controler that you found out using the lsusb command
      
      Now both controlers will be found.
      

      So far, so good. Now to my actual problems:

      • In a game, player 1 and 2 are always swapped. I want Player 1 to be on the left side of my controll panel.

      • But whatever I do, recalbox seem to only accept inputs from the physical player 2.

      • When I enter a game, the configuration of the controller seems to be lost.

      • When I exit the game, the configuration of one player stays correct, the other is messed up and I have to configure again.

      This is immensely frustrating.

      Of course I thought to myself "well, this could be because of this strange dual usb controller board". So I SWAPPED IT OUT FOR TWO SEPARATE ONES.

      They show up as "Dragonrise Inc. Generic USB Joystick" and "Dragonrise Inc. Generic USB Joystick #2"

      20 Euros later, still the same issues.

      Who can help?

      Kaltduscher 2 Replies Last reply Reply Quote 0
      • Kaltduscher
        Kaltduscher @Kaltduscher last edited by

        Oh - I am using a Raspberry Pi 4B and Recalbox 9.1 Pulstar (64 Bit)

        1 Reply Last reply Reply Quote 0
        • Kaltduscher
          Kaltduscher @Kaltduscher last edited by

          I found this in the backup.conf:

          emulationstation.pad0=03000000790000000600000010010000:DragonRise Inc. Generic USB Joystick

          emulationstation.pad1=03000000790000000600000010010000:DragonRise Inc. Generic USB Joystick

          Looks like recalbox gives both the same id. Maybe thats the problem. But how to change that?

          1 Reply Last reply Reply Quote 0
          • Locked by  admin admin 
          • First post
            Last post

          Want to support us ?

          79
          Online

          98.7k
          Users

          28.1k
          Topics

          187.0k
          Posts

          Copyright © 2021 recalbox.com