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: Using detented encoder as spinner controller?  (Read 981 times)

0 Members and 1 Guest are viewing this topic.

Spicules

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:July 29, 2017, 11:40:33 am
Using detented encoder as spinner controller?
« on: December 18, 2013, 11:11:44 pm »
I have a rotary controller for Jaguar (like these here: http://www.ebay.com/bhp/atari-jaguar-controller). Works awesome.

A few sites have directions on how to make these - looks real simple.  (http://atariage.com/forums/topic/191571-building-a-cheap-rotary-controller/)

I wanted to make something like this for my MAME machine, so I got a detented encoder from Digikey, and tried to hook it up to a Zero-delay encoder (i.e., cheap Ipac) and it doesn't work like I'd hoped.  I also tried a cheap Logitech USB controller with common grounds, like as was done in the instructions for the jaguar controller, but still, no dice. 

I figured it would act like if you turned it a direction, it would act like you clicked the joystick left or right.  It doesnt.

- turning it seems to treat the direction like it is being held down, and turning it back stops the turning.  In MAME, it binds as 2 buttons - as if both directions are being pressed at teh same time. 

Is there a way to get something like this to work, software, or something I can wire in?  I really like the detented encoder feel for tempest , vs. the originals' analog control. 

Is it just that the software for T2K was made to work with this type of control? 

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9678
  • Last login:Today at 02:38:21 am
  • Designated spam hunter
Re: Using detented encoder as spinner controller?
« Reply #1 on: December 19, 2013, 12:51:36 am »
Looking through the links you provided, the Jaguar spinner and parts linked in that thread appear to use a mechanical circuit that produces two out-of-phase square waves like a trackball/spinner.

I think an optical encoder like an Opti-Wiz, Opti-Pac, or mouse hack should be able to translate the square waves into mouse X- or Y-axis movements.


Scott
« Last Edit: December 19, 2013, 01:10:19 am by PL1 »