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: non-standard key mapping w/ I-PAC / J-PAC  (Read 2265 times)

0 Members and 1 Guest are viewing this topic.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
non-standard key mapping w/ I-PAC / J-PAC
« on: March 22, 2004, 12:00:07 pm »
I had two MAME key assignment related problems this weekend...

1) I was playing Mortal Kombat and something I did caused windows accessibility features to kick in.  I think it was either "StickyKeys" or "FilterKeys".  Fixed by disabling in control panel.

2) I was trying to play a 2 player game of Street Fighter 2 and button 5 & 6 on player 2 didn't work.  Fixed by mapping keys in MAME.

These two events got me thinking about how the keys are currently assigned in MAME and whether I should be thinking about coming up with my own key

I know that the I-PAC and J-PAC use an encoder that prevents key ghosting but a potential problem I see is that the default mame assignments use "special" keys like shift, ctrl, and alt.  I think these keys should probably be avoided.

In my cabinet, I'm currently using a J-PAC for players 1 & 2.  I also have an I-PAC2 that I plan to cascade off the J-PAC for players 3 & 4.

Since I have to reprogram the I-PAC, I was thinking that maybe I should take the opportunity to reprogram the J-PAC as well to avoid some of the "special" keys mentioned above.

I am planning for my final control panel to look something like this...

P1: joystick + 7 or 8 buttons + trackball + spinner
P2: joystick + 7 or 8 buttons + trackball + spinner
P3: joystick + 4 buttons
P4: joystick + 4 buttons

Am I going to have enough keys left over after I reserve start 1-4, coin 1-4, and all the MAME fuction keys?

I'm sure other people have been down this road already.  I'm hoping to benefit from their experience in this area.

If someone out there has already done this, I'd be curious to hear about your mapping and reasons why did it the way you did.

...
Krick
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

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:non-standard key mapping w/ I-PAC / J-PAC
« Reply #1 on: March 22, 2004, 12:56:28 pm »
>I know that the I-PAC and J-PAC use an encoder that prevents key >ghosting but a potential problem I see is that the default mame >assignments use "special" keys like shift, ctrl, and alt.  I think these >keys should probably be avoided.

Interesting question.  I think MAME currently has Alt combinations (Like Alt-Enter, Alt-Space) disabled, but not sure when this was added.

>Since I have to reprogram the I-PAC, I was thinking that maybe I >should take the opportunity to reprogram the J-PAC as well to avoid >some of the "special" keys mentioned above.

You'll need to re-program at some point, because the I-PAC default for P2 buttons 5-8 are the MAME defauts for P3 joystick.

>Am I going to have enough keys left over after I reserve start 1-4, >coin 1-4, and all the MAME fuction keys?

Depends what you mean by "ALL" the MAME function keys.  MAME uses F2-F12 for some functions, P (Pause), Esc, Tab, Tilde, T (Tilt), 9, 0, -, =, PgUp, PgDown, and some more obscure ones.  If you include all of these, you probably won't have enough inputs.
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.

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:non-standard key mapping w/ I-PAC / J-PAC
« Reply #2 on: March 22, 2004, 01:50:08 pm »
Interesting question.  I think MAME currently has Alt combinations (Like Alt-Enter, Alt-Space) disabled, but not sure when this was added.
Found it, this is disabled in the win.ini file of the mame ctrl.ini files options.
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.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re:non-standard key mapping w/ I-PAC / J-PAC
« Reply #3 on: March 24, 2004, 02:24:22 pm »
So, I take it from the deafening response that nobody is using custom key mappings.
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

microwrx

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 208
  • Last login:July 06, 2008, 09:22:02 am
Re:non-standard key mapping w/ I-PAC / J-PAC
« Reply #4 on: March 24, 2004, 05:08:21 pm »
Doesn't look like it.

I'm in the process of rewiring my 4 player JAMMA cab for use with MAME.  Same as you I have a J-Pac taking care of player 1 & 2 but have a Mini-Pac instead of I-Pac for players 3 & 4.  I will have to program the Mini-Pac but have no intension of touching the J-Pac as it works just fine with the deafult settings.  The I-Pac I used for my last cab also worked fine without having to play with it either.

At the end of the day it's your cab but I haven't had any issues with the default setup (touch wood) so won't be changing it.

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re:non-standard key mapping w/ I-PAC / J-PAC
« Reply #5 on: March 24, 2004, 09:13:08 pm »
I remapped all my controls on the IPAC4 and then set up a ctrlr folder called mine (C:\mame\ctrlr\mine).  I copied the std.ini file (within the ctrlr folder) into the mine folder and renamed it to default.ini (C:\mame\ctrlr\mine\default.ini).  I then remapped all the controls and tried to avoid ctrl, alt, shift as best possible.  For specific games where I want the layout different to mame default (ie SF, MK) I created mk.ini or sf.ini or neogeo.ini and set the control layout for that.