Build Your Own Arcade Controls Forum

Main => Software Forum => Linux => Topic started by: iscariot on January 31, 2014, 11:29:38 am

Title: Exiting mame by holding a key?
Post by: iscariot on January 31, 2014, 11:29:38 am
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.
Title: Re: Exiting mame by holding a key?
Post by: Le Chuck on January 31, 2014, 11:34:02 am
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. 
Title: Re: Exiting mame by holding a key?
Post by: keilmillerjr on February 09, 2014, 06:22:05 pm
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/ (http://code.google.com/p/autokey/)