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: Wiring 1 happ button to 2 keystrokes.  (Read 2371 times)

0 Members and 1 Guest are viewing this topic.

whitiex

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:October 13, 2017, 12:03:21 am
  • I want to build my own arcade controls!
Wiring 1 happ button to 2 keystrokes.
« on: March 05, 2014, 05:45:32 pm »
i'm going to use 1 button for upper flipper/magnasave.  can i just have 2 NC wires going to the 2 different ipac inputs with only 1 ground?

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 01:08:07 pm
  • Designated spam hunter
Re: Wiring 1 happ button to 2 keystrokes.
« Reply #1 on: March 05, 2014, 06:33:32 pm »
Yes, but only if you have separate inputs for the overlapping MAME/VP keystrokes. i.e. P1B1 (L-Ctrl) on a separate input from Left MagnaSave (L-Ctrl).

Normally, I recommend wiring it like the diagram below to use fewer inputs.



If you're using 2-terminal buttons for MAME (Goldleaf, Seimitsu, Sanwa, leaf switches, etc.) you can ue diodes like this to isolate the MAME switches from each other while allowing Upper Flipper/MagnaSave to apply ground to both inputs.




Scott

EDIT: Updated picture to show two switches for Upper Flipper/MagnaSave wiring.
« Last Edit: March 05, 2014, 09:20:25 pm by PL1 »

whitiex

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:October 13, 2017, 12:03:21 am
  • I want to build my own arcade controls!
Re: Wiring 1 happ button to 2 keystrokes.
« Reply #2 on: March 05, 2014, 07:35:12 pm »
so wire the mame buttons backwards using the gnd as positive NO as gnd?  is the pinball NC connected to anything?

how about wiring 2 buttons in 1 input for the flippers?

thanks for your help

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 01:08:07 pm
  • Designated spam hunter
Re: Wiring 1 happ button to 2 keystrokes.
« Reply #3 on: March 05, 2014, 08:33:03 pm »
so wire the mame buttons backwards using the gnd as positive NO as gnd?  is the pinball NC connected to anything?
For some reason, people have it in their heads that the Common (COM) tab is always and only ground. (I still need to edit a few pages of the wiki that contain this myth.)

From an electrical standpoint, that is the same as saying that a piece of wire has a positive and negative end -- total BS.   :soapbox:

Most arcade wiring does use the COM tab to connect the ground wire, which ensures that the NC terminal will only have ground on it in case a loose wire happens to come in contact with it, but it's not the only way to connect things.

how about wiring 2 buttons in 1 input for the flippers?

The NC from both MAME buttons goes to the pinball button input using a Y-connector like this.



With the "backward" wiring, when you to press one MAME button, the COM  lever is moved from NC (connected to flipper) to NO (ground) which keeps you from grounding both MAME buttons at the same time -- same trick that's used for KADE Extended Mode.

When you press "Up", only the up input is connected to ground.

When you press "Down", only the down input is connected to ground.

When you press "P1 U+D", both the up and down inputs are connected to ground.

Wire the MAME buttons like "Up" and "Down", and the Upper Flipper/Magnasave like "P1 U+D"




Scott
« Last Edit: March 05, 2014, 08:40:29 pm by PL1 »

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 01:08:07 pm
  • Designated spam hunter
Re: Wiring 1 happ button to 2 keystrokes.
« Reply #4 on: March 05, 2014, 08:59:31 pm »
Updated pic for greater clarity.

I shoulda' knowed something was missing -- thanks for asking.   :cheers:


Scott
« Last Edit: March 05, 2014, 09:01:09 pm by PL1 »

whitiex

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:October 13, 2017, 12:03:21 am
  • I want to build my own arcade controls!
Re: Wiring 1 happ button to 2 keystrokes.
« Reply #5 on: March 07, 2014, 04:11:58 am »
Thanks a lot PL1. Having the 2nd half of the picture makes sense now. Lol. Thanks for your help. I do know a lot about this stuff.  Just want to make sure before I close it up.   Is 22g wire ok to rewire a CRT TV to a separate switch?  Monetary ok?

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 01:08:07 pm
  • Designated spam hunter
Re: Wiring 1 happ button to 2 keystrokes.
« Reply #6 on: March 07, 2014, 12:27:17 pm »
22 AWG is fine and, like mgb posted here in your other thread, a momentary switch is what you want since your TV doesn't have a physical latching switch.


Scott