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 joystick control confusion..

    Scheduled Pinned Locked Moved Help and Support
    22 Posts 8 Posters 13.8k 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.
    • mediamogulM
      mediamogul Global Moderator @dummel
      last edited by mediamogul

      @dummel

      To put a finer point on something I was saying earlier, you can get the necessary joystick input numbers for your controller from your RetroArch Controller config, assuming you have one after mapping in Emulation Station. This file can be found at /opt/retropie/configs/all/retroarch-joypads/. You should see a file in there with the name of your controller. You can use this as a makeshift replacement for using jstest as all the relevant joystick numbers can be found here.

      After you have them, follow the instructions from the wiki in adding the numbers to the dapinput.ini file, remembering to add +1 to all the numbers. This should work even without a js0 listing as long as no other controller conflicts with its event number. It might be a good idea to have no other controllers attached while troubleshooting this.

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

      1 Reply Last reply Reply Quote 0
      • D
        dummel
        last edited by

        ya, i guess i am lost here.
        i have deleted all the dat files in hopes that the controller would be found during the rebuild process, nope!. emulation station does recognize the controls but i am a bit lost on how that is passed to daphne, it doesn't see it. i have added +1 to the numbers (several ways mathematically and other ways as i an unsure how exactly to add +1 (like, to each number? or only per line total? or to what number of the 3?)) anyway, kinda over it. i may try to get a different controller and see how that fairs. dont get me wrong, i do appreciate your help here. I just dont see it happening for me with this confguration.

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

          @dummel said in Daphne joystick control confusion..:

          anyway, kinda over it

          Understandable. If you you change your mind, we'll pick it back up.

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

          1 Reply Last reply Reply Quote 0
          • R
            retropiepghguy
            last edited by

            So I have a similar issue. My USB gamepad is -3 for up, +3 for down, +0 for right , and -0 for left. All trekker buttons have been changed successfully in daphne ini file. Button the stick elides me.

            R 1 Reply Last reply Reply Quote 0
            • R
              retropiepghguy @retropiepghguy
              last edited by

              @retropiepghguy I meant all the other buttons have been changed with no issues. I add the +1 to the ini. But have no clue what the setting should be for the stick.

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

                @retropiepghguy said in Daphne joystick control confusion..:

                But have no clue what the setting should be for the stick.

                Daphne maps the analog stick automatically based on whichever controller it finds first and is unable to be set manually. It's pretty inflexible in that regard and for some of my controllers, I have to map keyboard keys to the stick in order for them to work at all. If you have multiple controllers plugged in, try changing the order, or unplug the others when you launch Daphne.

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

                1 Reply Last reply Reply Quote 0
                • M
                  mc9625
                  last edited by

                  Sorry, this is a rather old thread, but I'm still trying to make my dragonrise usb joystick to work with DAPHNE.

                  I have the same situation as retropiepghguy, unfortunately this specific controller (by default) map the stick with positive or negative number on x and y axis, instead of simple button code. I know there's a "mode" option that could be used, but that implies to connect a button on the board, and in my case, the bartop is "well locked" now and I really would avoid to open it again.

                  I've been told that the latest version of Attract Mode or kernel (I'm using retropie+am) should fix this behaviour, but still doesn't work for me.

                  The joystick is in the up left port. The buttons work, but the joystick doesn't work.

                  Is there anything else I could try to fix it?

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mc9625 @mc9625
                    last edited by

                    @mc9625 Sorry, Actually I should have say that UP and DOWN do work. The issue is only with LEFT and RIGHT.

                    1 Reply Last reply Reply Quote 0
                    • chubstaC
                      chubsta
                      last edited by

                      Has anyone figured out a way to get a joystick working if an axis only shows up as + or - figures? daphne works great from the keyboard but who really wants to play with a keyboard?!

                      Raspberry Pi 400 - overclocked to 2.3GHz
                      Theme - Comic book
                      Emulators: All of them...
                      Roms: Pretty much all of them...
                      Favourite games: Circus Charlie, Gorf, Gauntlet Legends
                      Controllers: Mayflash F101

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

                        @chubsta

                        daphne works great from the keyboard

                        As mentioned before, you can always map your joystick to read as keyboard input.

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

                        chubstaC 1 Reply Last reply Reply Quote 0
                        • chubstaC
                          chubsta @mediamogul
                          last edited by

                          @mediamogul said in Daphne joystick control confusion..:

                          @chubsta

                          daphne works great from the keyboard

                          As mentioned before, you can always map your joystick to read as keyboard input.

                          I did try that but must be missing something as when it starts to test the joypad i just get a continuous stream of data, as if the d-pad is being constantly triggered. The joypad itself works fine in mame etc.

                          Raspberry Pi 400 - overclocked to 2.3GHz
                          Theme - Comic book
                          Emulators: All of them...
                          Roms: Pretty much all of them...
                          Favourite games: Circus Charlie, Gorf, Gauntlet Legends
                          Controllers: Mayflash F101

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

                            @chubsta

                            I've run into that before and it can indeed make things a bit tricky. Right now, your joysticks are so overly sensitive to input that they're reporting minimal activity even when at rest. You''ll ultimately need to calibrate the joystick deadzones. The catch-22 is that xboxdrv is the only way I know of to calibrate deadzones. If I remember correctly, when you get to the evtestpart of the guide where you press each button, you'll need to scroll upwards to find the button press listed that is then of course followed by the unwanted axis information. It's a bit of extra hustle, but it should work.

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

                            1 Reply Last reply Reply Quote 1
                            • M
                              mtarallo
                              last edited by

                              Hello - has anyone found a good solution for this, I have the same exact issue - I am using the Dragonrise generic usb controller everything works fine in other emulators except daphne - - with Dragons Lair - I can use up and down and there is a button that pauses, exits and adds coins and starts - still cannot find the sword button. I followed the examples and attempted to map, but nothing seems to change. I have 4 usb ports in use - 1 with a USB hub and my keyboard, 1 SDCARD, 2 USB Dragonrise controllers.

                              1 Reply Last reply Reply Quote 0
                              • R
                                R6EA6PE6R
                                last edited by R6EA6PE6R

                                Wire up the mode button . I am using the CY-822B USB led-joystick controller board . The mode button switches the joystick to point of view hat ( on my pc ) . For some reason this works ? acts like a d-pad mabey ? . So far switching the mode button back and forth even in game works . I was about to give up on Daphne too.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  phantomthrill
                                  last edited by phantomthrill

                                  I have a picade and struggled for a while, I finally figured out that the first column of numbers is in fact reserved for keyboard inputs "used in the dapinput.ini file, but first I had to figure out what the buttons being pushed were by the picade controls itself. I ran into this website. For me this is the defaults because I knew it wasn't smart to change anything: https://github.com/pimoroni/Picade-Sketch/blob/master/Picade/Picade.ino After that though I knew I still needed to know what the numbers were I had to put in the first column, so I found this site. http://forum.arcadecontrols.com/index.php?topic=114365.0 Using both of those sites allowed me to finally be able to use my picade controller. I had to change numbers in the first column to match what I wanted to assign and which key I wanted to press. Be patient as I know it is frustrating, but this method does work. I can't speak for picade controllers that attatch as USB, but if they are detected as Keyboards in emulationstation, then I am sure this will help.

                                  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.