Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Need help with LS-30 rotaries, U-HID, and MAME  (Read 1366 times)

0 Members and 1 Guest are viewing this topic.

zallax

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 93
  • Last login:July 26, 2017, 10:02:28 am
  • It's the challenge of the build
Need help with LS-30 rotaries, U-HID, and MAME
« 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 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.

bkenobi

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:August 16, 2021, 10:41:52 pm
Re: Need help with LS-30 rotaries, U-HID, and MAME
« Reply #1 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).