Main > Main Forum

Shift button. On with a key.

<< < (6/7) > >>

Grasshopper:
The lock switch is a good idea but I don't think you need a dedicated shift button as well.

Also the shift key facility is already built into MAME.

What I would do is simply connect one of the inputs to the lock switch and assign it to an unused keycode. For example let's say that turning the key is the equivalent of pressing 'J' on the keyboard.

Now you could say that pressing both start buttons simultaneously when the lock is on exits the current game. So you would edit default.ini to tell MAME that pressing '1' and '2' and 'J' simultaneously is the equivalent of pressing escape.

Now if the lock is not activated pressing the two start buttons on their own will not exit the game.

You could also have three simultaneous key presses (obviously including 'J') assigned for other admin functions like tab, pause etc.

LordDamo:
What I reckon this project needs is a three position lock and a button wired in series, that can toggle between three different settings:

1. Off
2.  On (When button depressed, turns comouter on)
3. Shift (when button pushed, activates shift function of encoder)

Something like this : http://www.jintay.com.tw/s202z.htm (Down the bottom of page, the S202ZC).

Does anyone think this would work?

Bones:
Ohhh yeah!

That's pretty sexy...  :o

Thanks!

Kremmit:
Or, for cheap ---daisies---, (read: not you, Mr. Gold Plated Joystick  :-*) old PC cases often have simple keylock switches on them.  Of course, you've gotta find a key that will turn them if the original's not hanging out of the lock when you find the case, but my experience is that a lot of them could be turned with anything that would fit in the slot.

brandon:
why not use a spring loaded safety interlock switch like the kind that are usually on the coin doors already?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version