Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: School me on admin buttons :afro:  (Read 4561 times)

0 Members and 1 Guest are viewing this topic.

KIguy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:July 15, 2014, 12:15:34 pm
  • Where I'm going I don't need... a monitor
School me on admin buttons :afro:
« on: February 28, 2014, 06:32:06 pm »
Alrighty, so my build thread has sunk into oblivion... no biggie, no big updates as of late. Little background... building a 2P pedestal and the theme is KISS. And that is the KISS acronym, not the band  :P

We're going 32x14", maybe a 1" rounding on each corner. The 3" (or 3.75" if you include the trim ring) trackball is centered dead nuts. 1P and 2P for both roughly centered between their respective edge of the CP and the border of the TB. Above each controller will be Player Start & 25c buttons (not yet pictured) and I'd like to center a couple of admin buttons. Problem is I'm not sure of a few things... so let me throw this out there and open myself up for your input/guidance.

Buttons will be centered above trackball, I have their centerlines starting at 2.5" down from the top of the CP.

Here's what I want to do with the buttons:
- Exit (Start will be button 1 on each controller, rgb lit to green)
- Pause / Unpause
- Save State 0 / Load State 0 (I would prefer to use shift for Load - probably buttons 4 + 8 for P1)
- Record video / Stop record (Mame only)

Still not sure if it's possible to record in Mame via button press, and doubly not sure if I could use the same button to stop said recording (suppose I could pause and then shift to stop, but that's worst case). I am booting the Mame box now and will get started on testing that, but regarding the layout - what say ye, my friends? This will primarily be used by adults (aka: adult-sized children ;D), and the Save function will primarily be for console use - however it would be nice to save my single-quarter gaming sessions if I need to take an extended break for whatever reason.

Okay, I'm  :blah: :blah: :blah: 'ing here. Thoughts? Recommendations? Attached is a small .jpg of my CP - the "art" is just a placeholder to show where the button holes are at, I'll be paying somebody to do it right.

michelevit

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 412
  • Last login:December 25, 2024, 06:57:41 pm

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9678
  • Last login:Today at 04:23:36 am
  • Designated spam hunter
Re: School me on admin buttons :afro:
« Reply #2 on: February 28, 2014, 09:14:51 pm »
- Exit (Start will be button 1 on each controller, rgb lit to green)
- Pause / Unpause
This sounds good.

- Save State 0 / Load State 0 (I would prefer to use shift for Load - probably buttons 4 + 8 for P1)
If you are going to have load and save functions, it might be better to have separate buttons.

- Record video / Stop record (Mame only)
Seriously?  How often do you really expect to do this?   :dizzy:

If you're doing a gaming tips blog or something similar, you'll need a keyboard to tansfer the captured video files anyway, so it might be better to skip the dedicated admin button.


Scott

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re: School me on admin buttons :afro:
« Reply #3 on: February 28, 2014, 10:24:15 pm »
Your game exit button and pause button need to be nowhere near each other, in fact, best if the exit button isn't even visible. I generally put my game exit button on the underside of the panel on the player 1 side.

If you really need to have save state and load state on the panel then you are going to want them to be separate buttons. You don't want to shift them. Might consider making the load state a hidden button on the underside of the panel toward the middle. (Accidental state loading can ruin any game you have going).

I would never put a record video button on the panel. Somebody could hit that button without you noticing it and the next thing you know you filled your hard drive with a 17 hour video of the Puzzle Bobble attract mode.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2975
  • Last login:December 14, 2024, 05:01:52 pm
  • RIP Dinosaur Hippo
Re: School me on admin buttons :afro:
« Reply #4 on: February 28, 2014, 11:11:33 pm »
i personally don't like admin buttons...if you have admin buttons, they will get pressed by accident.   i have two cabinets, the first one has two admin buttons on opposite sides of the panel that are both pause buttons, you press them at the same time it exits.  this works fairly well, but can be problematic sometimes.

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. 

everything else is easily handled with with shifted commands or a wireless keyboard.
Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

DaveMMR

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3244
  • Last login:April 28, 2025, 11:33:13 am
Re: School me on admin buttons :afro:
« Reply #5 on: February 28, 2014, 11:55:08 pm »
everything else is easily handled with with shifted commands or a wireless keyboard.

Agree with this. Resist the urge to put admin buttons on panels, especially if you have guests/kids playing it. They WILL push the buttons and they WILL screw up your settings. Best case scenario: they'll get really confused and ask you many, many questions.

I personally used to be anti-admin buttons but relented and slapped a cheap Radio Shack button on the panel for exiting as I was tired of telling people how to change games (not that it helped all that much.) Yes, I still kept pause off - that just encourages people to hog the machine by pausing, walking away to go to the bathroom and forgetting to return.

Keep the buttons to a minimum and use shifted key combos instead.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9678
  • Last login:Today at 04:23:36 am
  • Designated spam hunter
Re: School me on admin buttons :afro:
« Reply #6 on: March 01, 2014, 01:51:51 am »
Shifted combos still leave the possibility of accidentally activating an admin function as mentioned here.

Not a huge chance, but it does exist and IIRC has happened to someone (don't recall who at this time) who posted about a party guest who accidently got into the menu system and changed some settings.

The poster mentioned that despite hours of work fixing what he thought were all the messed up settings, he didn't find some until the next party.

No way into the menu system without a keyboard sounds like a good plan for a properly-configured, dedicated MAME system.   :dunno


Scott
« Last Edit: March 01, 2014, 01:55:18 am by PL1 »

DaveMMR

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3244
  • Last login:April 28, 2025, 11:33:13 am
Re: School me on admin buttons :afro:
« Reply #7 on: March 01, 2014, 09:41:32 am »
Shifted combos still leave the possibility of accidentally activating an admin function as mentioned here.

Not a huge chance, but it does exist and IIRC has happened to someone (don't recall who at this time) who posted about a party guest who accidently got into the menu system and changed some settings.

The poster mentioned that despite hours of work fixing what he thought were all the messed up settings, he didn't find some until the next party.

No way into the menu system without a keyboard sounds like a good plan for a properly-configured, dedicated MAME system.   :dunno

Yeah, that's a good point. It has happened to me as well.

KIguy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:July 15, 2014, 12:15:34 pm
  • Where I'm going I don't need... a monitor
Re: School me on admin buttons :afro:
« Reply #8 on: March 02, 2014, 05:28:32 pm »
Wow, thank you all for responding! I was able to read the responses from my phone last night but wasn't quite ready to respond as it was a lot to think about. It's hard not to feel lambasted at first (hey, we all want to think our ideas are gold), but you guys all have much more experience with this than I do and I know you all are trying to keep me from making mistakes. Much appreciated.

michelevit, there will be no keyboard in the cab at all once it's done. Thank you for the link though, I might actually pick that up for my tablet.

PL1, video recordings were something I was interested in and felt it prudent to research. It appears that this is not feasible, so it's off the table. As are the save/load buttons, no time to replay through RPGs I already beat 20+ years ago. 2 buttons down, simple enough :o

Messed up configuration files are of no concern to me. I mess them up regularly on my own already (gotta learn!)... which is why I backup every time I make changes. 10 seconds, boom, fixed. I do see the point about a shifted exit though, one person mashing away and the other goes to pause - game over. Suck.

Bottom line is I'm now torn between just having separate exit & pause buttons and going the severdhed route of using a script to go with a single button (thanks for that!). They are both simple in their own right, I just need to decide whether I want to wait 3 seconds to back out of a menu  ;)

Sorry for the long post, thank you all again for your input!  :cheers:

P.S. DaveMMR - is that Modular Mustangs MMR?

DaveMMR

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3244
  • Last login:April 28, 2025, 11:33:13 am
Re: School me on admin buttons :afro:
« Reply #9 on: March 02, 2014, 09:02:43 pm »
P.S. DaveMMR - is that Modular Mustangs MMR?

Nothing that interesting - just the rest of my initials.  ;)

KIguy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:July 15, 2014, 12:15:34 pm
  • Where I'm going I don't need... a monitor
Re: School me on admin buttons :afro:
« Reply #10 on: March 02, 2014, 11:07:04 pm »
P.S. DaveMMR - is that Modular Mustangs MMR?

Nothing that interesting - just the rest of my initials.  ;)

copy that, had to ask :lol :cheers:

eds1275

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2165
  • Last login:August 12, 2025, 06:42:30 pm
  • Rock and Roll!
Re: School me on admin buttons :afro:
« Reply #11 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.

jelwell

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 460
  • Last login:December 24, 2014, 03:47:21 pm
  • I'm a llama!
Re: School me on admin buttons :afro:
« Reply #12 on: March 03, 2014, 06:01:28 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.
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

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2975
  • Last login:December 14, 2024, 05:01:52 pm
  • RIP Dinosaur Hippo
Re: School me on admin buttons :afro:
« Reply #13 on: March 05, 2014, 11:37:26 am »
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
« Last Edit: March 05, 2014, 02:43:33 pm by severdhed »
Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

InfantSorrow

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 71
  • Last login:August 13, 2017, 02:53:22 pm
  • Scrumtrulescent!
Re: School me on admin buttons :afro:
« Reply #14 on: March 05, 2014, 12:56:15 pm »
Exit = P1 down + P1 Start
Pause P2 up + P2 Start

Joysticks for navigating menus, P1 start to select.

Totally unrelated, but does Ed not look like a young Gary Oldman? lol
Let me begin phase 2 of my plan... or is it phase 3? I don't know phases.

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19960
  • Last login:August 08, 2025, 09:49:26 pm
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: School me on admin buttons :afro:
« Reply #15 on: March 05, 2014, 12:58:09 pm »
Totally unrelated, but does Ed not look like a young Gary Oldman? lol

I'm not seeing that.  >:D
***Build what you dig, bro. Build what you dig.***

InfantSorrow

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 71
  • Last login:August 13, 2017, 02:53:22 pm
  • Scrumtrulescent!
Re: School me on admin buttons :afro:
« Reply #16 on: March 05, 2014, 01:08:42 pm »
Totally unrelated, but does Ed not look like a young Gary Oldman? lol

I'm not seeing that.  >:D

I beg to differ sir, take a look at this

Let me begin phase 2 of my plan... or is it phase 3? I don't know phases.