Main > Main Forum

Coin reject buttons as input in MAME!

Pages: << < (6/8) > >>

Brad Lee:

RE: the key lock as a toggle.. what about putting the keylock switch inline on the ground circuit for the coin rejects


GND----------keylock----------reject 1----------reject 2
COIN1------------------------------+                       |
COIN 2-------------------------------------------------+

I would think that with the keylock in the open position it would break the ground so neither would work, and with it closed it'd function as normal
(is this correct?)

1UP:


--- Quote from: Brad Lee on March 21, 2003, 12:15:58 am ---RE: the key lock as a toggle.. what about putting the keylock switch inline on the ground circuit for the coin rejects


GND----------keylock----------reject 1----------reject 2
COIN1------------------------------+                       |
COIN 2-------------------------------------------------+

I would think that with the keylock in the open position it would break the ground so neither would work, and with it closed it'd function as normal
(is this correct?)

--- End quote ---

Yep, I was just going to mention this.  There is no need even for a DPDT switch, when you only need to interrupt one wire--the ground!  My cutoff switch is just the old test switch that came with the coin door.  It is basically a SPST switch that cuts the ground wire for the reject button switches.  The coin mech switches are not affected by the cutoff, since the reject buttons are "downstream" in the circuit from the coin mechs.  But the coin mechs and the reject switches are wired in parallel, just like the other example.

But I would think that you would want to keep the switches and locks separate, so that you can have the switches on or off, or the coin door locked or unlocked, in any combination.  Say you have guests over.  You want them to have free play, and therefore allow them to use the reject buttons for credits.  But you don't want the kids climbing inside the cab, so you lock the coin door...

Chris:

Ground will work if they're common.  On my keyboard hack, 5 and 6 don't share common lines...

This also presumes you have an AT keyswitch for which you can actually find the key!  :)

--Chris

1UP:


--- Quote from: Chris on March 21, 2003, 01:33:29 am ---Ground will work if they're common.  On my keyboard hack, 5 and 6 don't share common lines...

This also presumes you have an AT keyswitch for which you can actually find the key!  :)

--Chris

--- End quote ---

You also don't HAVE to use 5 and 6.  Mame does allow remapping keys.  You can even do a global remamp very easily in the TAB menu, so all games use some other buttons as coin 1 and 2.  Then just find two keys that share a common wire, and use them for the coins.

SirPoonga:


--- Quote from: 1UP on March 21, 2003, 01:38:45 am ---
--- Quote from: Chris on March 21, 2003, 01:33:29 am ---Ground will work if they're common.  On my keyboard hack, 5 and 6 don't share common lines...

This also presumes you have an AT keyswitch for which you can actually find the key!  :)

--Chris

--- End quote ---

You also don't HAVE to use 5 and 6.  Mame does allow remapping keys.  You can even do a global remamp very easily in the TAB menu, so all games use some other buttons as coin 1 and 2.  Then just find two keys that share a common wire, and use them for the coins.

--- End quote ---


using ctrlr files to do mappings is better though....

Pages: << < (6/8) > >>

Go to full version