| Main > Main Forum |
| School me on admin buttons :afro: |
| << < (3/4) > >> |
| KIguy:
--- Quote from: DaveMMR on March 02, 2014, 09:02:43 pm --- --- Quote from: KIguy on March 02, 2014, 05:28:32 pm ---P.S. DaveMMR - is that Modular Mustangs MMR? --- End quote --- Nothing that interesting - just the rest of my initials. ;) --- End quote --- copy that, had to ask :lol :cheers: |
| eds1275:
Exit = P1 down + P1 Start Pause P2 up + P2 Start Joysticks for navigating menus, P1 start to select. |
| jelwell:
--- Quote from: severdhed on February 28, 2014, 11:11:33 pm ---on my newest cabinet, i only have a single admin button. it is setup using an ahk script so that a quick press pauses, and a long press of at least 3 seconds exits. this works very well, it keeps the panel very clean and simple, and also prevents anyone from accidentally exiting a game. --- End quote --- Found a link for this: http://forum.arcadecontrols.com/index.php/topic,106418.0.html Awesome, will work this into my cabinet. Too many times I've hit the ESC key on accident. Sometimes the kids think I did it on purpose. I already have a dedicated Pause, so I will simply make the ESC a delayed button with no immediate button press functionality. Thanks, Joseph Elwell. |
| severdhed:
that thread is pretty old, and i think the script has been tweaked a bit since then. I'll try to remember to grab a copy of my current script and post it. EDIT: here is the script that i am currently using. pressing PgDn sends the P key, pressing and holding it sends the Esc key. I did not create it, it was written by WXFORECASTER Script Below: /* AUTHOR: WXFORECASTER 10/12/10 DESCRIPTION: DESIGN OVERRIDE SUCH THAT A SINGLE KEY PRESS AND KEY HOLD GENERATE DIFFERENT FUNCTIONALITY */ /* BEGIN HOLDESCAPE CODE SET USER DEFINED VARIABLES BELOW */ timeToExit := 1.6 ;time in seconds key must be pressed before sending exit (this can be a decimal e.g. 1.5) emulateKey := "PgUp" ;the key we are pressing/emulating pauseKey :="p" ;your MAME pause key exitKey := "esc" ;your MAME exit key exitScript := 0 ;0= leave script running, 1= close script when the MAME exit key is fired, ;Make it so the following code only works if MAME is the active window ;#IfWinActive ahk_class MAME ;Establish Hotkey Mapping based on the emulate key above and trigger a chunk of code below (lblPauseExit) Hotkey, $%emulateKey%, lblPauseExit return lblPauseExit: KeyWait %emulateKey%, T%timeToExit% if ErrorLevel = 1 ;timeout was reached...exit MAME { send {Blind} {%exitKey% downtemp} ;Send MAME Exit send {Blind} {%exitKey% up} if (exitScript = 1) ExitApp } else { send {Blind} {%pauseKey% downtemp} ;Send MAME pause/unpause send {Blind} {%pauseKey% up} } return |
| InfantSorrow:
--- Quote from: eds1275 on March 03, 2014, 02:53:54 pm ---Exit = P1 down + P1 Start Pause P2 up + P2 Start Joysticks for navigating menus, P1 start to select. --- End quote --- Totally unrelated, but does Ed not look like a young Gary Oldman? lol |
| Navigation |
| Message Index |
| Next page |
| Previous page |