up & down (y-axis) not working in 3.8
-
Solved this issue by using an hardware way! It is a bit "analogic" but nice and functional.
I'm basically building an arcade cabinet so just adding a button I fix it.That's how:
I'm using a zero delay USB encoder that uses his partner in crime "Dragonrise" (driver hid-dr.ko).
On this encoder there is a "MODE" input that switches X,Y,Z,Rx,Ry, to Hat0x and Hat0y.
I quicly connected a button to this "MODE" input.
When I play daphne i just need to press it and that will pass to daphne new types of axis (Hat0x, Hat0y).
At this point due to my personal experiences what happens is that daphne recognize the joystick in both cases but it hasn't able to understand the X axis due to the driver hid-dr.ko (This needs a fix anyway), instead it is able to auto map the stick with this new axis that maybe are far from conflict with something else.I'm very very happy even if is a bit a DIY solution and it will cost a special button only for daphne and specially for my arcade cab.
For now I'm fine with this solutio but as i said it would be great to add a "not analogic" fix ;)
if you have a backup of the hid-dr.ko should solve your problem. I'm sorry for your buttons, I hope hasn't been my fault. For this thanks again for your research about this issue.
Tonight I save Daphne !!!
-
@Fabpie My god!!! Nice work!!!!!!
-
And let me get this straight. Amazing work BTW!!!! I mean really!!! Wow. The "mode" button is right next to the pin-out for the "left" button. You wire a button to that. Just before firing up Dragon's Lair, you hit that button? That's it? And did you still have to make that goofy change to the hid-dr.ko driver? Being able to use that butotn without the HEX fix to the drivers would be even more amazing!!! Please advise!!!!!
-
It's brilliant. I just tested it. No driver change needed. Wow. And the button can be pressed at anytime. Wow. Amazing work!!!!!
-
Very
happy it works for you as well !
Is a nice fix... I think verybody who loves Daphne / lasergames should consider this way.
When digital meets analog ;) -
Hi all, thanks for all suggestions here, my issue only happens so far with mame4all, I also have the Dragonrise USB controller, I did setup properly, it was working on retropie 3.4 on the UI and all emulators. Since I updated the code I started having the issue, where up & down won't work but to me only happens on mame4all, the other nes, snes and n64 all work ok to me (I didn't try on other emulators). It also works ok on the UI. I also installed a clean retropie 4.1 and still having the same issue.
I tried all your suggestions, the mode button does change the joystick mode yes but doesn't help me, and changing the binary files made my controller unusable :'(
I'm lost really not sure what else to do, apart from try and install the old retropie 3.4, will do and post here if that fix temporary my issue.
-
Ok I can confirm that all works fine on retropie 3.4, I can enjoy my Dragonrise controller (I reused an old iCade cabinet), with mame4all, nes, snes and n64! I will stay on this version until this gets sorted, hope this can help anyone else.
-
Does anyone updated 4.1? Does it need to hex edit again after the update?
-
it still doesn't work on 4.1 :(
-
@seekay08 :(
-
@jretropie going to have to wait till raspberry pi moves to kernel 4.9+ (which won't be for some time I guess) unless someone can persuade raspberrypi to include a backported patch to the current 4.4.x series.
I can ask them I guess - I'll see if the patch applies cleanly to 4.4.x
-
Is there anyone here who can test/confirm that the patches in https://retropie.org.uk/forum/post/28586 fix the issue before I submit them to the raspberry pi kernel github ?
-
@BuZz As soon as 4.1 came out, I did the Daphne Dragon's Lair mode button test. Same issue. You still need the mode button wired for the game to work.
-
@retropiepghguy you compiled own kernel with those 2 patches?
-
@BuZz nope
-
@retropiepghguy ok then it won't work since the fix isn't in the Raspbian kernel (yet). However, it has been merged into the rpi 4.4 kernel so will reach Raspbian soonish. see https://retropie.org.uk/forum/topic/5962/dragonrise-usb-driver-issue
-
rpi-update can also be used if you need this fix and want the very latest kernel (As it is now available - https://github.com/raspberrypi/firmware/commit/6d45dcf869688163fa1c745cb059b14baf61b8fd) - https://github.com/Hexxeh/rpi-update
-
@BuZz Thanks so much. I just did an "update all packages" and the fix was not in the download. So you are saying if I do an rpi-udate, that is a different update?
-
@retropiepghguy yes. read the instructions in the second link.
-
@BuZz So I did an install of rpi-update and ran the kernel update. Works great. However, it did change the axis and button configs. So I had to rerun the Retropie controller config, jstest, and re-edit dapinput.ini. But it works great now. Thanks a bunch!!!!!
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.