The NEW Build Your Own Arcade Controls
Main => Main Forum => Topic started by: ArtMAME on October 02, 2006, 06:43:59 pm
-
I just got the rotary encoder today from Ultimarc and hooked it up to some Ikari Warrior joysticks (LS-30s) using a normal IDE ribbon cable from a PC. It only seems to register a keypress after I click the joystick 4 or 5 times (or randomly), then it registers no more keypresses. I unplug the USB, then replug and it repeats the behaviour. :banghead: :banghead: :banghead:
I have used notepad and Keyhook utilities to test it.
I got the same behaviour with a Druin's Encoder that I tried out before.
Is there a special way that you hook up that thing to get it to register keypresses consistently?
I ohmed out the joystick contacts and it looks like those joystick just use continuity between the middle pin and the outer pins to determine where it is. Each time you click it, the continuity moves to the next pin, with the middle pin apparently acting as the common.
Any advice would be apreciated.
-
The wiring on the LS-30 cables are not straight. I have the pinout on my site (http://www.rototron.info?Page=RI.aspx) (look towards to bottom of the page). VGA cables work well because they have 14 color coded wires. The solderless 13 pin .100" connectors can be purchased online.
-
That explains it.
I tested the encoder this morning by shorting the pins with the common in succession and it behaved as it should.
Thanks rdagger. ;D
Maybe a good thing to post on the Wiki if it is not on there yet.