• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 . Arcade joystick orientation wrong.

Scheduled Pinned Locked Moved Help and Support
daphnedaphne controll
164 Posts 28 Posters 42.6k 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.
  • J
    jchannell @pjft
    last edited by jchannell 14 Mar 2022, 23:50

    @pjft Tried the instructions here to increase the swap file, but no luck. https://wpitchoune.net/tricks/raspberry_pi3_increase_swap_size.html

    EDIT: Turns out I edited the wrong part of the file. Just got past the install hump, so I'll troubleshoot further as I go. Thanks for all the help!

    1 Reply Last reply Reply Quote 0
    • J
      jchannell @pjft
      last edited by jchannell 15 Mar 2022, 00:36

      @pjft Now that it is finally installed, I'm still getting the same joystick issues on Dragon's Lair, even with changing the .ini file.

      Just to check, does your repo have the changes that Grant made? The main reason I was recompiling was because his GitHub no longer appears to be active.

      P 1 Reply Last reply 15 Mar 2022, 07:46 Reply Quote 0
      • P
        pjft @jchannell
        last edited by 15 Mar 2022, 07:46

        @jchannell My repo does, but without knowing exactly what issues you're facing, it's hard to understand what you're going for :)

        Use this branch:

        https://github.com/pjft/daphne-emu/tree/grant2258-controls

        J 2 Replies Last reply 15 Mar 2022, 13:02 Reply Quote 0
        • J
          jchannell @pjft
          last edited by jchannell 15 Mar 2022, 13:02

          @pjft Understandable. Probably just got lost in all of the troubleshooting. :D

          I'm using a Dragonrise USB encoder and a Sanwa joystick (5 pin single cable) and getting the same wacky joystick routing. Going to try installing from that repo. Thanks!

          EDIT: Actually, I'm not entirely sure what I'm supposed to do with Grant's code here. If I follow the steps I outlined, should that script have been installed or is there something else I need to do?

          1 Reply Last reply Reply Quote 0
          • J
            jchannell @pjft
            last edited by jchannell 15 Mar 2022, 15:03

            @pjft I was able to install from that branch using this string:

            cd /home/pi/RetroPie-Setup/
            sudo ./retropie_packages.sh daphne clean
            sudo git clone --branch grant2258-controls "https://github.com/pjft/daphne-emu.git" tmp/build/daphne
            cd tmp/build/daphne
            sudo git checkout retropie
            cd /home/pi/RetroPie-Setup
            sudo ./retropie_packages.sh daphne build
            sudo ./retropie_packages.sh daphne install
            sudo ./retropie_packages.sh daphne configure
            

            But the controls are still not working correctly. Up and down seem to be reversed, and it's hard to tell if that's the same with right and left. I'm about to rip my hair out here.

            P D 2 Replies Last reply 15 Mar 2022, 15:46 Reply Quote 0
            • P
              pjft @jchannell
              last edited by 15 Mar 2022, 15:46

              @jchannell I genuinely don't quite know what to make of this - knowing that there isn't any logging in place to be better able to troubleshoot it, and not knowing if the issue is with the joystick setup, with daphne, or something else, it's very much a shot in the dark, apologies.

              In your instructions, all seems reasonable, though I'm wondering why are you checking out the "retropie" branch? That seems off - you want the grant2258-controls one.

              I could recommend jstest and such to determine what values are being received by the system, and then adjusting the controls file, but if none of this helps, I'd probably recommend looking into Hypseus, which is under more active development and has better controls support from my understanding: https://retropie.org.uk/forum/topic/18505/new-hypseus-and-lr-daphne-to-add-on-retropie-setup/472

              J 1 Reply Last reply 15 Mar 2022, 15:52 Reply Quote 0
              • J
                jchannell @pjft
                last edited by 15 Mar 2022, 15:52

                @pjft said in Daphne . Arcade joystick orientation wrong.:

                In your instructions, all seems reasonable, though I'm wondering why are you checking out the "retropie" branch? That seems off - you want the grant2258-controls one.

                Oh... that is likely why! This is my first time working with this kind of compiling, so I wasn't sure what that code meant. Will give that a shot next.

                Also, just wanted to say thank you so much on helping out here and putting up with people like me struggling.

                P 1 Reply Last reply 15 Mar 2022, 19:50 Reply Quote 1
                • P
                  pjft @jchannell
                  last edited by 15 Mar 2022, 19:50

                  @jchannell By all means. Do let us know how it goes.

                  1 Reply Last reply Reply Quote 0
                  • D
                    DirtBagXon @jchannell
                    last edited by DirtBagXon 18 Mar 2022, 13:11

                    @jchannell said in Daphne . Arcade joystick orientation wrong.:

                    But the controls are still not working correctly. Up and down seem to be reversed, and it's hard to tell if that's the same with right and left. I'm about to rip my hair out here.

                    Hi @jchannell , if you try hypseus (in RetroPie-Setup 'exp ' packages)

                    You will have the ability to swap the joystick axis directions. This was not possible in the original Daphne without physically inverting the joystick.

                    Take a look at the example config file here:

                    https://github.com/DirtBagXon/hypseus-singe/blob/master/doc/hypinput.ini

                    You probably want to play with the 4th field  in the top four AXIS options. Altering the '+' and '-' to suit.

                    KEY_UP = SDLK_UP 0 0 -002
                    KEY_DOWN = SDLK_DOWN 0 0 +002
                    KEY_LEFT = SDLK_LEFT 0 0 -001
                    KEY_RIGHT = SDLK_RIGHT 0 0 +001
                    

                    Edit:  Looking back at this thread it seems that the work-a-round was to use the D-Pad rather than analog axis. Using the above hypseus config, you should be able to adjust/assign either: 3rd field for D-Pad, 4th field for analog axis.

                     

                    Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                    Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                    Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                    S 1 Reply Last reply 6 Jun 2023, 11:43 Reply Quote 0
                    • S
                      superdan @DirtBagXon
                      last edited by 6 Jun 2023, 11:43

                      Hi guys, my daphne controller still dont work (almost left right)
                      up and down seems ok.
                      Any suggestion?
                      Thanks

                      M 1 Reply Last reply 6 Jun 2023, 13:36 Reply Quote 0
                      • M
                        mitu Global Moderator @superdan
                        last edited by 6 Jun 2023, 13:36

                        @superdan Please don't bump old topics. Open a new topic and explain your issue, providing the info asked in https://retropie.org.uk/forum/topic/3/read-this-first.
                        This topic will be locked.

                        1 Reply Last reply Reply Quote 0
                        • M mitu locked this topic on 6 Jun 2023, 13:36
                        • 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.

                          This community forum collects and processes your personal information.
                          consent.not_received