Main > Linux

Exiting mame by holding a key?

(1/1)

iscariot:
Just wondering this but is there a way to exit mame in windows or linux by holding down a button for several seconds?  I'd like to have certain options like tab and escape being mapped like this so that I don't have to add extra buttons to a cabinet.

Le Chuck:
You can do an AHK script that sends a key press if another key press is held in duration IIRC.  I don't have an example handy but it shouldn't be to hard a script. 

keilmillerjr:
Yes. I have this feature built into the windows app I made in my sig using autohotkey. Hold pause for 3 seconds to exit mame.

For linux, try http://code.google.com/p/autokey/

Navigation

[0] Message Index

Go to full version