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: Need Help Wiring the Escape, Enter, Pause Buttons  (Read 5339 times)

0 Members and 1 Guest are viewing this topic.

jmike

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1018
  • Last login:June 24, 2025, 04:54:36 pm
Need Help Wiring the Escape, Enter, Pause Buttons
« on: October 28, 2008, 12:28:21 pm »
 ???Hey all,
      I'm working on my first custom arcade control panel and well I've ran into a little bit of confusion, I noticed some arcades have an ESCAPE, ENTER, PAUSE buttons. (which I would love to do) but I don't really understand how to wire my i-Pac4 and which inputs to use. I've read the description @ ultimarc but it mentions that two inputs are assigned as shift keys to access two code sets. How do I wire these 3 buttons? Any help would be appreciated.

I was smart enough not to drill the holes for these 3 button on my CP until I understand how to wire them.  Thank you. :dizzy:
« Last Edit: October 28, 2008, 12:48:35 pm by jmike »

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #1 on: October 28, 2008, 01:01:51 pm »
You could take a couple of different approaches. Wire them up as separate buttons, or use the shift keys to reuse other buttons. I have dedicated escape and pause buttons (wired to their own inputs), but I just reuse my P1 Button1 for enter. I use shifted buttons only for things that are administrative in nature. For instance, I have tab (mame menu) on a shifted button.

Actually now that I reread your post, I guess you have decided on dedicated buttons. In that case, just wire them into your ipac just like any other button - they would get their own input. Shifting is just for re-using existing buttons to send a different keystroke. To illustrate, I have my pause button set as a shift key, and I get into my mame menu (tab) by holding pause and pressing escape.

Does that make sense?
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

jmike

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1018
  • Last login:June 24, 2025, 04:54:36 pm
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #2 on: October 28, 2008, 01:38:21 pm »
Yes that makes perfect sense. Since it's my first wiring CP I wasn't sure how it worked. I know that on the regular keyboard the "P" key is pause, which input would that be on the i-PAC or would it be programmed later on?


This is the link for my Portabel Control Panel project in case you want to see where I am...

http://forum.arcadecontrols.com/index.php?topic=83337.0

any suggestions would be greatly appreciated.
 :cheers:

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7962
  • Last login:Yesterday at 08:11:29 pm
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #3 on: October 28, 2008, 01:48:43 pm »
Just wire it separately.  Then when you hit Tab to go to the settings in MAME, change "Pause" to whichever input you wired.  You can still keep it assigned to "P" on the keyboard as well because MAME allows for multiple buttons to be assigned to one action.

jmike

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1018
  • Last login:June 24, 2025, 04:54:36 pm
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #4 on: October 28, 2008, 02:04:49 pm »
 :applaud: Thanks. That clears things up. I'll go ahead and drill the holes for the extra buttons.

ESCAPE and ENTER can be reprogrammed to these additional button as well, yes?

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7962
  • Last login:Yesterday at 08:11:29 pm
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #5 on: October 28, 2008, 02:46:03 pm »
:applaud: Thanks. That clears things up. I'll go ahead and drill the holes for the extra buttons.

ESCAPE and ENTER can be reprogrammed to these additional button as well, yes?

I'm reasonable sure you can program the buttons to do whatever you want (definitely sure about ESC because I did it).  I'm not sure why you would need an 'Enter' button on your CP...

Martijn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:January 25, 2024, 10:34:36 am
  • Akira!
    • ModMyBox
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #6 on: October 28, 2008, 03:58:26 pm »
is it possible to press 3 admin buttons at once for a exit/quit game command?


u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #7 on: October 28, 2008, 07:03:26 pm »
is it possible to press 3 admin buttons at once for a exit/quit game command?

Yes.  Over simplified: tab, inputs, go to input you want to change, enter, press all buttons at same time, wait and see if mame likes it.


OP, remember both the ipac can be reprogrammed, and mame can be remapped.

I'm going to go abstract that might help (or might just confuse). ;)

Physical button outputs open/closed signal.  Ipac sees open/closed signal, and when closed sends a (reprogrammable) key to the computer.  Computer sends key code to mame.  Now, each of mame's game inputs and UI inputs are mapped to a (remappable) "seq"; the "seq" is what needs to be pressed for mame to think that input is closed.

So physical buttons can be wired to different things.  The ipac/gpwiz/etc can be reprogrammed to output different things.  Mame can be remapped so different inputs can mean different things.

So that "tab" & "enter" in the oversimplified above don't have to be enter or tab; those are the default seqs for UI Configure and UI Select, respectively.

Example: player1 button 1 is wired to ipac, ipac reprogrammed to output "y" key instead of "left ctrl" because windows hot key issues with ctrl key, mame remapped so player 1 button 1's seq is "y", UI Select is also "y".  This is great for the users of cabs because you don't need and extra 'enter' button, and the p1b1 is used to select in both mame's UI and in (most) game's software set up pages.  (Both the hotrod and x-arcade ctrlr files are set so p1b1 is also mapped to UI Select.)
Robin
Knowledge is Power

jmike

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1018
  • Last login:June 24, 2025, 04:54:36 pm
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #8 on: October 29, 2008, 08:28:11 am »
:applaud: Thanks. That clears things up. I'll go ahead and drill the holes for the extra buttons.

ESCAPE and ENTER can be reprogrammed to these additional button as well, yes?

I'm reasonable sure you can program the buttons to do whatever you want (definitely sure about ESC because I did it).  I'm not sure why you would need an 'Enter' button on your CP...


 :dunno Never done this before, how did you program the ESC button?(I would prefer not to use the keyboard) I went into Mame and figured out how to reprogram the PAUSE but didn't see ESCAPE.
And you're right, I don't need the ENTER button.

Thanks.

Martijn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:January 25, 2024, 10:34:36 am
  • Akira!
    • ModMyBox
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #9 on: October 29, 2008, 09:16:30 am »
i have 3 dedicated admin buttons, i dont want 1 button to quit the game, because my son will press it likely during a game.

1 shift button
1 tab button and shifted something
1 back button and shifted quit

that possible?

using maximus arcade

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #10 on: October 29, 2008, 01:39:34 pm »
:dunno Never done this before, how did you program the ESC button?(I would prefer not to use the keyboard) I went into Mame and figured out how to reprogram the PAUSE but didn't see ESCAPE.
And you're right, I don't need the ENTER button.

If you're remapping mame, I find it easier to look at it backwards:  What does mame call "exit mame"?  It's called "UI Cancel".  Remap "UI Cancel" to whatever you want (the default is the 'esc' key).

If you're reprogramming the encoder (ipac or keywiz), I find it easier to think: "I want the button wired to port abc to send the xyz key" and use the utility to reprogram the abc port to output the xyz key.  (In this case the xyz key is the 'esc' key.)
Robin
Knowledge is Power

jmike

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1018
  • Last login:June 24, 2025, 04:54:36 pm
Re: Need Help Wiring the Escape, Enter, Pause Buttons
« Reply #11 on: November 02, 2008, 08:00:12 pm »
Thanks for the help guys.  I'll use 2 buttons for ESCAPE and PAUSE.
 :notworthy: