RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Test help wanted: Customized help buttons based on controller

    Scheduled Pinned Locked Moved Ideas and Development
    help joysticktestingpull request
    1 Posts 1 Posters 257 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.
    • S
      sylt
      last edited by

      Hi!

      I'm a developer that have been trying to solve #442, meaning that EmulationStation should switch the button labels in the UI based on what kind of controller is used (Xbox or PlayStation). I have a pending pull request here which could use some more testing, to make sure it works as intended.

      Explained briefly, what the change is doing is that it's keeping track of which controller was last used. Based on the name of the last used controller, it will look up some "override icons" to be used instead. So for example in the case of a PlayStation controller, you would not see the "ABXY" buttons at the bottom of the screen of EmulationStation, but X, O, square and triangle.

      I have tested this change myself using a keyboard, an Xbox One controller, and some really old PSX->USB converter I had laying around. In other words, I haven't tested with a real Sony Dualshock controller, so I don't know if the identification will actually work for the real case. Ideally, it would have been good to test with this before the pull request is closed.

      Any help is much appreciated! If anyone has the ability to test, I would very much like if you could run EmulationStation with "--debug". This makes it possible for me to see the name of the joystick that was identified. Specifically, the log in question I'm interested in is in InputManager::addJoystickByDeviceIndex().

      Thanks!

      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.