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

    Daphne controls no longer working

    Scheduled Pinned Locked Moved Help and Support
    daphnedapinput.inidaphne configdaphne joystick
    12 Posts 2 Posters 3.2k 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.
    • batesmanB
      batesman @mediamogul
      last edited by

      @mediamogul

      Hmmm...I can't say for certain how jstest viewed the dpad input prior to the firmware change, but prior to the firmware update I had d pad buttons configured in dapinput as 1, which would indicate "button" 0 on the control. The controller registers as js0.

      The first axis in jstest on js0 is the left analog stick. However, I have never used those with daphne and the previous configuration used the dpad successfully.

      I'm going to downgrade the controller firmware and retest.

      Can you explain your additional mapping solution a bit more? What, where, how?

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @batesman
        last edited by mediamogul

        @batesman

        I wrote a tutorial on how to accomplish key-mapping using xboxdrv located here, but Linux Joystick Mapper is also an option. If it's something you're interested in pursuing, I can post may own xboxdrv Daphne map for reference.

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        1 Reply Last reply Reply Quote 0
        • batesmanB
          batesman
          last edited by batesman

          I downgraded the controller firmware and restored by old (previously working) dapinput.ini. Dpad controls are non responsive and the only controller input that is properly recognized was "select" to end the game. The start button is actually pausing the emulator - a function that is not configured in my ini file at all.

          Didn't something (a script perhaps) get added to retropie that is supposed to "port" the retroarch controller config to daphne? Are my dapinput.ini settings being overridden somehow?

          mediamogulM 1 Reply Last reply Reply Quote 0
          • mediamogulM
            mediamogul Global Moderator @batesman
            last edited by

            @batesman said in Daphne controls no longer working:

            Didn't something (a script perhaps) get added to retropie that is supposed to "port" the retroarch controller config to daphne?

            It did indeed, but that was some time ago. I don't know why it would potentially be affecting you now. Have you tried just manually re-configuring the daphne.ini as you did originally?

            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

            batesmanB 1 Reply Last reply Reply Quote 0
            • batesmanB
              batesman @mediamogul
              last edited by

              @mediamogul

              Hey, thanks for your help with this.

              To answer your question, yes I have. The button config worked, but the dpad did not.

              I looked over your xboxdrv mapping process am terrified of attempting it! :)

              I'm convinced that Daphne is receiving control configuration from some other source. Using a stock dapinput.ini file, KEY = QUIT is mapped to button 17. On my controller, the select button is quitting Daphne and it is button 10. Additionally, the start button is pausing the game and KEY_PAUSE isn't declared in my dapinput.ini, nor is button 11 (my start button).

              Thoughts?

              mediamogulM 1 Reply Last reply Reply Quote 0
              • mediamogulM
                mediamogul Global Moderator @batesman
                last edited by mediamogul

                @batesman said in Daphne controls no longer working:

                I'm convinced that Daphne is receiving control configuration from some other source.

                You might double check to make sure that the daphne.ini file located at /opt/retropie/emulators/daphne/daphne.ini is symlinked to /opt/retropie/configs/daphne/daphne.ini. Other than that being an issue, there's really no other place Daphne could be reading a control configuration.

                I looked over your xboxdrv mapping process am terrified of attempting it! :)

                Admittedly, it's something best attempted after you're pretty familiar with RetroPie, but it's not a difficult as it looks. The length of the guide is due to me over-explaining every step. It may be something to keep in mind for a later time, as it can give you full customized control over almost any game/system out there.

                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                batesmanB 1 Reply Last reply Reply Quote 0
                • batesmanB
                  batesman @mediamogul
                  last edited by

                  @mediamogul

                  Yep. The files are linked. I deleted the forcejoy.ini to be sure there was no conflict. This is driving me nuts!

                  mediamogulM 1 Reply Last reply Reply Quote 0
                  • mediamogulM
                    mediamogul Global Moderator @batesman
                    last edited by mediamogul

                    @batesman

                    This you said earlier just caught my attention...

                    The first axis in jstest on js0 is the left analog stick. However, I have never used those with daphne and the previous configuration used the dpad successfully.

                    Daphne will only ever grab one joystick, so as long as it's grabbing the left analog stick, there's nothing that can be done about it. I'm at somewhat of a loss for an explaination, but it could be that the change in behavior came at the system level rather than the firmware. Still, all this could be solved with better fundamental joystick support in Daphne. It was a situation very similar to yours in Daphne that had me seek out an external mapping option to begin with.

                    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                    batesmanB 1 Reply Last reply Reply Quote 1
                    • batesmanB
                      batesman @mediamogul
                      last edited by

                      @mediamogul

                      So I just went back into daphne and tried controlling everything with the left analog stick. Sure enough, it's working as expected. For the life of me, I cannot figure out how it was working with the d-pad before.

                      The only plausible explanation I can muster is that Retropie 4.4.1 is somehow reading the gamepad differently than it was prior to the update. Or maybe I was running an older version of Daphne that didn't grab the first joystick. Who knows? Through I really wish I knew the cause and effect, at least now I know I can play again.

                      Thanks!

                      mediamogulM 1 Reply Last reply Reply Quote 0
                      • mediamogulM
                        mediamogul Global Moderator @batesman
                        last edited by

                        @batesman

                        Not a problem. I'm glad it worked out in some capacity.

                        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                        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.