Zero Delay USB encoder Joystick issue
-
Hi all, I am in the middle of building an Arcade Machine, and I have run into a problem, I don't know if it is an issue with the Joysticks or I'm not doing something right. I would like some sort of confirmation either way before I make a complaint to the seller (eBay).
I have wired everything into the USB controllers with the plain white side of the ribbon cable pointing up towards the ball end of the joystick.
When I load into RetroPie and it asks me to configure my controls, I can only get 3 Axis (1- 1+ and 0+) but these are coming from the Diagonal positions not the up down left-right positions. (Both Joysticks),
Am I doing something wrong? Have I missed something, in the description from the seller they are meant to be 4/8 way joysticks, my next thought is maybe there is someway of setting it to either 4 way or 8 way and this might solve the problem but unfortunately the package came without instructions.
I am using Retropie v4.7.1 on a Raspberry pi 4 4gb.
Hope someone can help I am hoping to complete the cabinet build next weekend and would like to get the controls working in time it's a Fathers day present to myself :)
-
@fatpigeon39uk It looks like there is nothing wrong with the usb encoders, but your joysticks are mounted in 4way mode, mounted at a 45deg angle. It’s why your only getting the inputs at the cornered. There are 2 type of 8 way/ 4 way joysticks. Either you have the type where you can lift and turn the joystick to switch between modes or you have you get inside and adjust a part that restricts the joy sticks ability to hit 2 switches at once. Typically it’s a plastic part that touches the switches to activate them and its fat for 8 way and skinny for 4 way. Maybe some pics so we can see.
-
@lostless the control panel is on an angle I hope the pictures are good enough it's difficult with a 1 year old running rings around me
-
@fatpigeon39uk not entirely sure the pictures worked I'm on my phone so not sure how to link the photos
-
The joystick looks similar to yours. I don’t know what that yellow thing is. Your picture isn’t very clear. But hopefully this helps -
The "yellow thing" looks to be part of the restrictor plate. A lot of joysticks have physical switches that are pressed and the restrictor plate...restricts some joystick movements. Some restrictor plates have a yellow interior "ring". The 5-pin connector looks like it's not plugged in all the way.
Did you put this together or did they? I think the joystick is mounted sideways. I think. I am not sure. If this was bought pre-made then they might have some coding that customizes things.
-
@iandaemon thanks for the replies, I connected everything the 5 pin connector was in when I was testing it but came loose when I was under there rewiring the LEDs.... I didn't see any indication to which way it should be mounted, but figured it wouldn't matter too much as I could map the directions within retropie.... So does the angle of the control panel matter in anyway as to why it wouldn't be working?
I will try moving the yellow restrictor plate once I've finished my online lesson this morning (working from home) and see if that makes any difference.... I'll let you know how I get on.....
-
I don't know if this helps in anyway, but this is the kit I bought, not knowing at the time of purchase it was coming from China.....
-
@fatpigeon39uk OK, that's something important.
-
Depending on what country you live in it may be opposite with the hot/neutral wires. I'm in the U.S. and our wiring is opposite of China in terms of colors. (Here traditionally black is the hot wire; in China red is traditionally the hot wire.) This is for the buttons though.
-
The 5-pin connector should have grooves/ridges and only go in one way. The receptacle should have slots for the ridges. You probably could force it in wrong, but I have no idea what the result would be.
-
When dealing with restrictor plates the "shape opening" changes depending on how you turn the plate. In 4-way mode the opening should be a diamond shape. In 8-way mode it should be a square or octagon shape.
-
-
@iandaemon in relation to the 5 pin connector, it will only go in one way in the PCB but on the stick it's open so connector could go in either way, I read somewhere that the plain white side of the ribbon cable should be facing up towards the actual stick. I may have some time to fiddle about with the restrictor once I've finished work.
-
@iandaemon said in Zero Delay USB encoder Joystick issue:
Depending on what country you live in it may be opposite with the hot/neutral wires. I'm in the U.S. and our wiring is opposite of China in terms of colors. (Here traditionally black is the hot wire; in China red is traditionally the hot wire.) This is for the buttons though.
FYI
The terms of hot and neutral only apply to AC. And yes different countries use different color codes. The encoders don’t use AC, but DC (the joystick switches can pass either or ).When it comes to DC, the standard everywhere, as far as I know, is red for positive and black for negative/dc ground. Just look at a car battery
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.