Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: zallax on October 28, 2009, 11:29:24 pm

Title: Need help with LS-30 rotaries, U-HID, and MAME
Post by: zallax on October 28, 2009, 11:29:24 pm
I got a brand new set of NOS LS-30 rotary joysticks and could not wait to hook them up to a U-HID and try them out.  I heavily studied the wiring diagram located here http://www.u-hid.com/appnotes/AN1001.pdf (http://www.u-hid.com/appnotes/AN1001.pdf) and built me up the circuit.  I hooked everything up and configured the quadrature connections with the U-Config software.  However, under the Properties of the Joystick configuration in Windows, the two buttons seemed to fire quite erratically. 

Nevertheless, I tried it out in MAME and I got the same result.  Then I heard about one-click -- one turn where you set the analog controls to 0 and sensitivity 100%.  The result was almost perfect except for one thing.  Every 12th turn/click it fires the opposing direction.  So first 11 clicks clockwise are great, but the 12th goes counter-clockwise.  The same occurs for the opposite direction and it is on the exact same contact.  :banghead:

I have taken a multimeter to the wiring harness from the 13 pin cable verified that no pins were out of place.  I also double checked my circuit and verified that quadrature signaling seemed fine (00, 01, 11, 10).  I don't know if this has anything to do with the diagram provided was for a Happ mechanical rotary vs an LS-30, but I believe that would not matter.

Any help would be greatly appreciated as I love me some Heavy Barrel.
Title: Re: Need help with LS-30 rotaries, U-HID, and MAME
Post by: bkenobi on October 29, 2009, 12:30:20 pm
Try rotating the stick while watching the windows gamepad config utility thingy.  Each turn of the stick should send a single button press to windows.  If you watch the 12th click, it must be outputting the other button for some reason.  If so, it's not MAME and must reside in the hardware somehow (either the switch or the U-HID setup).