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.
    • B
      beamquaker
      last edited by beamquaker

      Pi Model or other hardware: Pi3
      Power Supply used: Official Raspberry
      RetroPie Version Used : 4.3
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected: zero delay usb encoder
      Controller used: dragon rise Arcade Stick
      Error messages received: n/a
      Log found in /dev/shm/runcommand.log (if relevant): n/a
      Hi everybody. I got dragon's lair 1 and 2 set up on Daphne. I have run into a problem that appears in a few posts. I can't configure the joystick. I could configure the buttons easily . The game is playable but left is down and right is up and vice versa . If I could rotate the joysticks slightly to the right it would work normally but I can't. I tried turning the joystick 5 pin cable the other way but the joystick would not work. I read that the usb encoder mode switch can change from dpad to analogue and this can solve it . But has anybody done this and have a guide how as I could buy more buttons . Its driving me mad as I actually am enjoying dragon's lair 2 which is hard enough without the controls being back to front .Thanks

      1 Reply Last reply Reply Quote 0
      • G
        grant2258 Banned
        last edited by grant2258

        have you tried re-configuring the controller press start on the main retropie menu to get the input configuration menu

        B 1 Reply Last reply Reply Quote 0
        • B
          beamquaker @grant2258
          last edited by

          @grant2258 do u mean configure the default retroarch controls back to front for the purpose of playing just dragon's lair. So when I configure the joystick I put left as down and down as left . Right as up etc. That is worth a try I suppose .

          B 1 Reply Last reply Reply Quote 0
          • B
            beamquaker @beamquaker
            last edited by

            @beamquaker no that never worked at all.

            jonnykeshJ 1 Reply Last reply Reply Quote 0
            • jonnykeshJ
              jonnykesh @beamquaker
              last edited by

              @beamquaker Daphne is not a RetroArch / libretro emulator so it would have no effect.
              Have you tried editing /opt/retropie/configs/daphne/dapinput.ini ? See this page from the wiki https://github.com/retropie/retropie-setup/wiki/Daphne

              B 1 Reply Last reply Reply Quote 0
              • B
                beamquaker @jonnykesh
                last edited by beamquaker

                @jonnykesh yes the buttons are easy enough . On the joystick direction bit I tried changing the numbers but nothing worked I tried jtest in the command line trying to find a clue bit I got something like 3327 - 3327 + on up and down and left and right. I read Daphne basically uses the joystick as it sees it and u can't change it. If I set up a button on mode on my usb encoder I could supposedly set up my stick to dpad press the mode button and it would switch between analogue and dpad . I read that this might solve the problem but I'm curious if anyone has tried this and been successful.

                1 Reply Last reply Reply Quote 0
                • G
                  grant2258 Banned
                  last edited by

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

                  to dp

                  Well that will fix your problem if its looking for a dpad because the joystick is on analog by default. I have tested the mode button and it does work properly changed from ana to dpad

                  1 Reply Last reply Reply Quote 0
                  • B
                    beamquaker
                    last edited by

                    I will have to buy some new buttons and try this out . I have 4 holes in the back of my arcade that could be used for mode and something else . Thank you

                    1 Reply Last reply Reply Quote 0
                    • G
                      grant2258 Banned
                      last edited by

                      well you can test it just plug a spare cable in and touch the wires together then let go like pressing a button it will switch the mode

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        beamquaker @grant2258
                        last edited by

                        @grant2258 that's a great idea. I'll try it tomorrow as the kids are back from school . I have 4 spare cables so all I need now is time. If it doesn't work then it would be pointless buying anymore buttons.

                        1 Reply Last reply Reply Quote 0
                        • C
                          ChuckyP
                          last edited by

                          Not sure if you know, but this caused some problems for me when getting started. But Daphne reserves "0" for unused commands, so when you start mapping buttons start at 1. Button 0 would be 1, and so on... maybe this threw things off a bit?

                          1 Reply Last reply Reply Quote 1
                          • G
                            grant2258 Banned
                            last edited by

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

                            Not sure if you know, but this caused some problems for me when getting starte

                            retro pie has an option to swap the a and b buttons might just be them swapped you can turn that option off if you want

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              ChuckyP @grant2258
                              last edited by

                              @grant2258 That would be for EmulationStation, not applicable to Daphne configs, as far as I know.

                              B 1 Reply Last reply Reply Quote 0
                              • G
                                grant2258 Banned
                                last edited by

                                thats true i have retropie on mind lol

                                1 Reply Last reply Reply Quote 0
                                • B
                                  beamquaker @ChuckyP
                                  last edited by

                                  @chuckyp thanks I knew about the buttons. Is there a way to map my joystick in the Daphne ini . I tried the mode switch and it worked but never fixed the directional issue .

                                  C 1 Reply Last reply Reply Quote 0
                                  • G
                                    grant2258 Banned
                                    last edited by grant2258

                                    the buttons for up and down are for the analog axis hopefully thatll work if not just add one to each button like mr beamquaker said for the directions buttons. accedently edit this post instead of replying

                                    KEY_UP = 273 114 2
                                    KEY_DOWN = 274 102 2
                                    KEY_LEFT = 276 100 1
                                    KEY_RIGHT = 275 103 1
                                    KEY_BUTTON1 = 306 97 2
                                    KEY_BUTTON2 = 308 115 3
                                    KEY_BUTTON3 = 32 113 1
                                    KEY_START1 = 49 0 10
                                    KEY_START2 = 50 0 0
                                    KEY_COIN1 = 53 0 4
                                    KEY_COIN2 = 54 0 0
                                    KEY_SKILL1 = 304 119 0
                                    KEY_SKILL2 = 122 105 0
                                    KEY_SKILL3 = 120 107 0
                                    KEY_SERVICE = 57 0 0
                                    KEY_TEST = 283 0 0
                                    KEY_RESET = 284 0 0
                                    KEY_SCREENSHOT = 293 0 0
                                    KEY_QUIT = 27 113 9

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      ChuckyP @beamquaker
                                      last edited by

                                      @beamquaker Yes, I would make a backup of your Daphni.ini and play around. JSTest should have given you the button numbers. Up/Down would be one of (-3327 and +3327) again, you may need to add +1 to those values to make up for the programming of Daphne not using "Zero" as an entry. But there should be a different number for your left and right, although I don't know about your specific situation.

                                      If pressing left goes up and and pressing up goes right, just swap the values to get the direction you need.

                                      1 Reply Last reply Reply Quote 0
                                      • pjftP
                                        pjft
                                        last edited by

                                        I had that with the exact same controller and ended up noticing that I had plugged in the up/down/left/right to the wrong joystick switches.

                                        I'd try switching the connectors around to the expected orientation. That worked for me.

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          beamquaker @pjft
                                          last edited by

                                          @pjft I can't change it I think. It's in a 5 pin ribbon type connection . I tried to change that back to front but never worked.

                                          pjftP 1 Reply Last reply Reply Quote 0
                                          • pjftP
                                            pjft @beamquaker
                                            last edited by

                                            @beamquaker oh. Mine are separate. Are yours 5pin on both ends?

                                            B 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.