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: IPAC Shift question...  (Read 4360 times)

0 Members and 1 Guest are viewing this topic.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
IPAC Shift question...
« on: December 09, 2003, 01:46:49 pm »
I was getting ready to order an IPAC and some stuff from Andy but I had a question about the behavior of the SHIFT button that I can't seem to get from Ultimarc.com.

Lets say I have my joystick and buttons and then I have one extra button.  Normally, I want this to be the PAUSE button in Mame.  But I also want it to serve as the IPAC Shift button.  So if I press the button and let go, it pauses the game (and unpauses if I do it again).  But if lets say I want to use the shift function:

Lets say I have these keys setup:

P    -    PAUSE in Mame    -    this is the IPAC shift button also
P1   -    1 Player Start        -   Shifted,   this = TAB

When I press in the IPAC Shift button and hold it (activating the SHIFT) then I press P1  (to make the TAB menu come up), does the TAB menu come up right away or does it wait until I 'release' the P1 button? Or does it wait until both buttons are released?  

Also when I do this, will Mame pause (since my shift key is the same as pause)?  It seems logical to make my Pause button the IPAC Shift button also, but I don't want Mame pausing and unpausing back and forth as I'm doing things in the TAB menu everytime I have to press the IPAC Shift button...
« Last Edit: December 09, 2003, 01:47:52 pm by Jakobud »

_Iz-

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 703
  • Last login:August 08, 2025, 11:10:20 pm
  • Time to coin up!
Re:IPAC Shift question...
« Reply #1 on: December 09, 2003, 03:26:10 pm »

When I press in the IPAC Shift button and hold it (activating the SHIFT) then I press P1  (to make the TAB menu come up), does the TAB menu come up right away or does it wait until I 'release' the P1 button? Or does it wait until both buttons are released?

It activates immediately.

Also when I do this, will Mame pause (since my shift key is the same as pause)?  It seems logical to make my Pause button the IPAC Shift button also, but I don't want Mame pausing and unpausing back and forth as I'm doing things in the TAB menu everytime I have to press the IPAC Shift button...

It as long as another input is activated while holding the shift key then the shift key won't do it's function. IE: It won't activate pause when you use it for a shift to get TAB.

One caveat, you won't get pause until you RELEASE the shift button without hitting another input. You might find this disconcerting if you are in a hurry to get the game paused... The shift button itself is the only one that activates on button release, all others activate on button press.
« Last Edit: December 09, 2003, 03:28:42 pm by _Iz- »

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:IPAC Shift question...
« Reply #2 on: December 09, 2003, 03:30:22 pm »
Good question, and a good opportunity to highlight the differences between an I-PAC and KeyWiz shift function.

Here is how I understand how the I-PAC shift function works and then I will get to your specific example.

When you press the shift button on the I-PAC, no code is sent until you either

1) Press another button (Sends Shifted code for that button immediately)

2) Release the Shift button (sends the Shift button's normal code).


When I press in the IPAC Shift button and hold it (activating the SHIFT) then I press P1  (to make the TAB menu come up), does the TAB menu come up right away or does it wait until I 'release' the P1 button? Or does it wait until both buttons are released?  

Also when I do this, will Mame pause (since my shift key is the same as pause)?  It seems logical to make my Pause button the IPAC Shift button also, but I don't want Mame pausing and unpausing back and forth as I'm doing things in the TAB menu everytime I have to press the IPAC Shift button...
Again, as I understand it your pause button will work normally as long as you don't press any other buttons.  However, MAME will pause and unpause on the Button RELEASE (not press).

In the example above, MAME will NOT pause when the Shift button is first pressed.  When you then Press P1 Start, the TAB menu will come up immediately, but MAME will still remain unpaused unless you release both buttons and press and release the PAUSE key again.

If this is acceptable, that's fine.

I know I sound like I use every post to recommend the KeyWiz lately, but if you want MAME to pause when the Shift key is pressed, you might want to consider it.

The KeyWiz (www.groovygamegear.com), gives you four more inputs, so you could have dedicated Pause and Tab buttons.

Also see http://www.fraggersxtreme.com/arcadepanels/encoder/shiftkeys.htm .

If you wanted extra admin buttons, you could wire them up as shown in the "Stealth Mode" section of the page above.

If you wanted less buttons on your panel and wanted the Shift (Shazaaam!) button to function like the I-PAC but actually Pause MAME before activating, you could wire the KeyWiz as shown in "I-PAC Compatibility Mode" and it will do this.

Basically, this is a good example of a case where the differences in shift methodology determines which encoder you want:

Pause and then activate - KeyWiz

Activate without Pausing - I-PAC

Let me know if you didn't follow all that :-)
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
Re:IPAC Shift question...
« Reply #3 on: December 09, 2003, 04:24:23 pm »
Cool thanks that answered my questions perfectly.  It sounds like the functionality I want is in the IPAC over the Keywiz.  Thanks

Sprucemoose

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 271
  • Last login:March 23, 2009, 03:56:10 pm
  • You Spent How Much?!
Re:IPAC Shift question...
« Reply #4 on: December 10, 2003, 08:45:14 am »
Jakobud,

You are probably aware, but if not:  remember that mame does not act kindly to setup changes while the game is paused.

grafixmonkey

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 743
  • Last login:October 16, 2010, 08:16:50 pm
  • must... tear self... away from... Tron...
    • My graphics/arcade/circuits site!
Re:IPAC Shift question...
« Reply #5 on: December 11, 2003, 01:58:06 am »
That's such a weird problem...   I wonder why it never gets fixed?  (Note - not complaining.  I couldn't code MAME if I were neutered and put in a box with a computer and an infinite supply of Mountain Dew.)
-----------
-- See my grafix, circuits and cab on my
-- new arcadey page:  http://www.bkgrafix.net

Gideon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:August 24, 2024, 10:56:41 pm
Re:IPAC Shift question...
« Reply #6 on: December 11, 2003, 04:34:55 am »
Jakobud,

You are probably aware, but if not:  remember that mame does not act kindly to setup changes while the game is paused.
"Does not act kindly"?  LOL.  That sounds a little strange... What do you mean?

By the way, this was a very good question; thanks for asking (and answering) it!
« Last Edit: December 11, 2003, 05:33:00 am by Gideon »

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:IPAC Shift question...
« Reply #7 on: December 11, 2003, 06:37:55 am »
"Does not act kindly"?  LOL.  That sounds a little strange... What do you mean?
By the way, this was a very good question; thanks for asking (and answering) it!
Hate to put out bad data, but I don't remember specifics . . .

Seems like MAME can't tell between L Shift and R Shift and L Ctrl and R Ctrl, (maybe can't tell the NumPad from the Number keys at the top of the keyboard), etc. when Paused.

A board search will answer it, as it's been asked often in the past.

Any if MAME is not paused, it doesn't happen, and in this situation, the I-PAC will not Pause MAME, so Jakobud should be fine.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

microwrx

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 208
  • Last login:July 06, 2008, 09:22:02 am
Re:IPAC Shift question...
« Reply #8 on: December 11, 2003, 04:40:45 pm »
Why would you bother with a seperate pause button when hitting the shift button and down on the joystick is already pre-configured for pause with the I-PAC?

I've never had any issues making setup changes whilst paused in MAME.  Then again I don't make many changes either.

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:IPAC Shift question...
« Reply #9 on: December 11, 2003, 04:56:00 pm »
Why would you bother with a seperate pause button when hitting the shift button and down on the joystick is already pre-configured for pause with the I-PAC?
Two reasons - 1) if you're playing the game and the phone rings or you need to bother a guest, you might not want to have to remember what combination of 1P Start and some other key to press to pause the game, and . . .
2) If you use the standard I-PAC default of having the 1P Start be the Shift key, there is a high probability of pressing 1P Start and 2P start together and ending your game, or doing some other unintentional thing.  If the Pause key is your shift key, you are very unlikely to press 2P start or one of the action buttons accidentally at the same time you are trying to Pause the game.  I think it's a very good idea.
Quote
I've never had any issues making setup changes whilst paused in MAME.  Then again I don't make many changes either.
Quote
I have.  .  .  Not very often, but when it happens and you can't figure out why MAME suddenly won't do what you think it should, it's frustrating, and you'll remember and take the advice of the veterans of the board.  Trust SpruceMoose and Urebel and me on this one.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

microwrx

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 208
  • Last login:July 06, 2008, 09:22:02 am
Re:IPAC Shift question...
« Reply #10 on: December 11, 2003, 10:42:50 pm »
Fair enough!  Each to their own I suppose. :)

wpcmame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 278
  • Last login:February 18, 2024, 01:27:00 pm
Re:IPAC Shift question...
« Reply #11 on: December 14, 2003, 01:52:31 pm »
Before you decide on the IPAC please note that there are some "undocumented" behavior of the shift button.

1. If you hold down another key the shift button will
send the "P" right away (not waiting until you release it).
This means that it is impossible to send shifted and unshifted codes at the same time. (Know it is a minor thing but I have one of these weird motherboards that will only start if you press ctrl+f12. With an IPAC it is impossible to send ctrl+f12 without having both ctrl and f12 in the unshifted map)

2. Shifted keys will only be pulsed for ~200ms even if you keep holding them down. I want to use shift+joystick to pan the display but is doesn't work very well. It also makes it difficult to send two shifted keys at the same time since you need to press them within 200ms.

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re:IPAC Shift question...
« Reply #12 on: December 15, 2003, 05:21:36 am »
Something is not right here because the I-PAC shifted keys should send at full speed if the shift button is held down, effectively giving a fully usable second code set. There should be no "pulsing".
I have a new version of the I-PAC which has "cumulative key macros" so you can program, for example, ctrl-F12 to one single button. If you drop me an email we can try to find out why it's not performing as it should and maybe arrange an upgrade to the macro-capable version.