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 --- Bug Reports --- Site News

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

  

Author Topic: Question on hacking light switches for arcade parts  (Read 186 times)

0 Members and 1 Guest are viewing this topic.

Scotty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 43
  • Last login:May 02, 2020, 01:04:18 pm
  • I'm a llama!
Question on hacking light switches for arcade parts
« on: May 02, 2020, 12:19:16 pm »
Is there any reason a standard household (on/off) switch would not work if connected to a keyboard encode for a gear shifter for a game like Pole Position in Mame?   It just has the two position high/low joystick switch in Mame, so I can not see why it would not work.

Also, what about a dimmer switch connected to an analog encode for use as a paddle for games like Pong?


Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3746
  • Last login:Today at 11:41:10 am
  • I have a gaming addiction.....
Re: Question on hacking light switches for arcade parts
« Reply #1 on: May 02, 2020, 01:18:57 pm »
Is there any reason a standard household (on/off) switch would not work if connected to a keyboard encode for a gear shifter for a game like Pole Position in Mame?   It just has the two position high/low joystick switch in Mame, so I can not see why it would not work.

Also, what about a dimmer switch connected to an analog encode for use as a paddle for games like Pong?
Theoretically you could use a 2 way light switch as a gear shifter switch but I am not sure why you would bother as lots of other types of 2 way switches out there that would do a better job.

As for the dimmer no. Its a variable resistor in essence you need something with a servo.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7733
  • Last login:Today at 12:57:34 pm
  • Designated spam hunter
Re: Question on hacking light switches for arcade parts
« Reply #2 on: May 02, 2020, 05:06:36 pm »
Is there any reason a standard household (on/off) switch would not work if connected to a keyboard encode for a gear shifter for a game like Pole Position in Mame?   It just has the two position high/low joystick switch in Mame, so I can not see why it would not work.
Yes, Pole Position used a shifter with a single microswitch so a simple light switch would work assuming you use MAME v0.151 or newer or one of the dedicated builds that disable MAME's default toggle behavior for the gear change input.

               As of MAME v.151, the shifter toggle can be disabled in the game's individual cfg file!
                More info here:http://forum.arcadecontrols.com/index.php/topic,135345.msg1397466.html#msg1397466

To work with games that had shifters with two microswitches, you could use a 3-way switch like S1 in this diagram.
- Connect your daisy-chained ground to the Common screw. (lower right)
- Connect one encoder input to the red Traveller wire screw. (upper left)
- Connect the other encoder input to the black Traveller wire screw. (upper right)



Also, what about a dimmer switch connected to an analog encode for use as a paddle for games like Pong?
Theoretically, you could add a resistor to change the dimmer switch variable resistor (Atari paddle) into a half-range potentiometer, but the dimmer is very likely to have problems with jitter so it's probably not worth the effort.



IMHO it's better to use a high-quality, long-life potentiometer for this.


Scott