Daphne . Arcade joystick orientation wrong.
-
@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.
-
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?
-
@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
-
@grant2258 That would be for EmulationStation, not applicable to Daphne configs, as far as I know.
-
thats true i have retropie on mind lol
-
@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 .
-
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 -
@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.
-
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.
-
@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.
-
@beamquaker oh. Mine are separate. Are yours 5pin on both ends?
-
he means rotate the joystick physically
-
do you have the Dragonrise controller if you do ill set it up on mine and send you a working config
-
@pjft yes they are on both ends .
-
@grant2258 yes . Strangely the keyboard arrow buttons are also back to front. Like down is left etc.
-
ok lemme up a rom to pie ill check it out
-
[KEYBOARD]
KEY_UP = 273 114 2
KEY_DOWN = 274 102 2
KEY_LEFT = 276 100 1
KEY_RIGHT = 275 103 1
KEY_BUTTON1 = 306 97 1
KEY_BUTTON2 = 308 115 2
KEY_BUTTON3 = 32 113 3
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
ENDThe button setup youll need to match to what you want the directions work fine with this config you need to go to digital mode though
-
if your still having problems check your joysticks orientation. When looking at it it should be towards your facing to the right here is a pic of mine.
https://drive.google.com/open?id=1HKdOxEquDKAKlEFdBh8mKbGXJQDTQxCF
-
@grant2258 it's not it's at the back facing away from me . It's that way because of the mounting bracket . I'm going to take them of and unscrew the stick from the mounting and hopefully rotate it to the left and screw it back on . It should mimic the picture you showed me and all my Daphne problems will be solved. Maybe
-
i just debugged it try this befor doing anything
it works for me this is for the dragon rise other joysticks will differ im just pasting the up down left right keys. The rest you know how to do
for analog setup.
KEY_UP = 273 114 1
KEY_DOWN = 274 102 1
KEY_LEFT = 276 100 0
KEY_RIGHT = 275 103 0for digital setup
KEY_UP = 273 114 1
KEY_DOWN = 274 102 4
KEY_LEFT = 276 100 2
KEY_RIGHT = 275 103 8ps only tested on dlair2
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.