joystick diagonal configuration help
-
Pi Model or other hardware: 3
RetroPie Version Used : 4.9.35
Built From: Harp64 Raspberry Pi Image 64gb @ arcadepunks.com
USB Devices connected: HUB, LED light, speakers.
Controller used: Zero delay usb arcade joysticks with encoder(link_below)
Error messages received: noneSo I have a retropie setup with retroarch. Have two arcade joysticks and buttons, with zero delay usb encoders. They show up in retroarch as DragonRise Inc. Generic USB Joystick.
I setup the inputs on the configuration. Left right up down works fine. but when I point the arcade knob diagonal to two axis .
This is how it works now. https://imgur.com/a/zRc07
The joystick referenced was purchased here. https://tinyurl.com/ydc6kut9
So two diagonal positions do not respond when testing.
I have two sets of these joysticks and both act the same.
I tried:
Changing the drivers like udev etc.
Updating driver packages.
Trying different emulators/games.
Binding dpad and axis keys.
Only use one joystick connected.
Updating all the packages in retropie, like retroarch emulationstation, drivers, every emulator. All updated from binary.I dont know if the joystick itself is unable to accomplish diagonal in those directions or are the settings off somewhere. Cant find a solution
Any help would be appreciated.
-
@kingrun said in joystick diagonal configuration help:
Built From: Harp64 Raspberry Pi Image 64gb
Please see point 5 of https://retropie.org.uk/forum/topic/3/read-this-first. 3rd party builds are not supported. Please re-flash with the official image and try to configure your joysticks again.
-
Oh didn't catch that sorry. I backed up my current image and flashed the image from the retropie page. Set it up , added for example Streets of Rage, which has diagonal input support. But still the same after testing.
-
@kingrun in my experience, if up and say right works, the diagonal works. Which emulator? Is it a libretro one? What does your retroarch config look like?
-
@kingrun I have the same zero delay encoders and all directions worked so far with three different brands of joysticks, two of them each, making it six joysticks in total that work with two of these encoders.
However, it would be a strange coincidence if your two joysticks had the same defect. I guess you can't test one of a different brand?
What happens if you change the wiring so that the directions are different?
-
@rbaker yes its libretro. I tried megadrive and mastersystem .
-
@clyde At the time I don't have a different joystick to try, as I was planing to buy a 5port Sanwa one (since the encoder has the port) in hopes that it might work. Yes that both do the same thing in the same directions is very odd to me too. Ill have to give it a go as soon as I can, I need to disassemble my arcade machine to get near the wiring. Every connector has two wires , but they are both white , so I guess there's no difference in which order they are plugged in the joystick.
-
@kingrun said in joystick diagonal configuration help:
so I guess there's no difference in which order they are plugged in the joystick.
There is as one is likely to be ground.
-
@rbaker problem is trying to distinguish which is which when both wires are identical , ill probably have to pull out a multimeter to test it out.
-
@kingrun Your retroarch looks nothing like mine. Is it from a clean install with auto detect or is it manually edited?
-
@kingrun I have the same joystick (or very similar). Try reconnecting the physical connector (the white plug) to the joystick the other way round. You may have it connected upside down. (It connects both ways unfortunately). Where it is connected upside down, some directions still work; others do not.
-
@rbaker it should be from the clean install, but I have to configure the inputs manually as it does not detect or detects the inputs incorrectly.
The more i think about it , it actually might be the wiring.
-
@spud11 yeah I noticed that when i was connecting them the first time, but with no manual or instructions and cables being completely white, seemed that plugging the wires in any way , the functions still worked. Though I will be getting back into the machine to check the wires one more time.
-
@kingrun It's very likely the wiring. I have 4 of these joysticks and I had it happen on 2 of them before realising I'd plugged these in differently from the other joysticks.
-
@kingrun I meant switching the wires at the encoder, not at the joystick, so that the switches' assignment to the directions will change. For example, if you change the connections clockwise, the faulty actuation should also move clockwise. If it still resides in the same (changed) corners, the problem should be at the joystick's side (or their side of thee wiring). I hope I could get my idea across. :)
-
@clyde oh ok I understand will check it out once I get in there.
-
OK so I disassembled my machine, checked the connections, after a few test's with the multimeter I found out that it was the mixed up wires. The cable plugs that go in the encoder only go one way. So only the other end which connects to the joysticks was the problem. I mixed the ground cables up on a few of those switches. The weirdest thing was I mixed them up exactly the same way on both joysticks. Talk about coincidence... After plugging them the correct way both joysticks operate normally . All directions are now working everything is as it should be.
Thank you all for all the help and suggestions. Much appreciated.
-
@kingrun Glad to hear it's all good now.
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.