Main > Software Forum
P1B1/P1B2 keycode remapping
screaming:
Hey all,
Has anyone out there with a 4 player control panel spent the time to figure out which keys P1B1 and P1B2 should be remapped to in order to avoid any Windows oddities with the Control or Alt key? If so, what did you come up with?
-Steve
ErikRuud:
It really doesn't matter which keys you use, as long as you do not duplicate key mappings.
I am using V,C and X for Buttons 1,2 & 3.
screaming:
--- Quote from: ErikRuud on July 06, 2004, 02:07:13 pm ---It really doesn't matter which keys you use, as long as you do not duplicate key mappings.
--- End quote ---
I guess my confusion with this statement comes from after looking at this page about the IPAC/4 (which is what I have) key mappings. P2B8 is mapped to 'L', but so is P3R! I still haven't tested it, but wouldn't that mean if I pressed P2B8, it would cause the same effect as moving P3 joystick to the right? Or since the IPAC/4 is really 2 IPAC/2's, does MAME treat the two modules on the IPAC/4 as two separate keyboards and know the difference?
Anybody know?
-Steve
Tiger-Heli:
--- Quote from: screaming on July 06, 2004, 03:35:55 pm ---I guess my confusion with this statement comes from after looking at this page about the IPAC/4 (which is what I have) key mappings. P2B8 is mapped to 'L', but so is P3R! I still haven't tested it, but wouldn't that mean if I pressed P2B8, it would cause the same effect as moving P3 joystick to the right?
--- End quote ---
Yes it will . . .
--- Quote ---Or since the IPAC/4 is really 2 IPAC/2's, does MAME treat the two modules on the IPAC/4 as two separate keyboards and know the difference?
--- End quote ---
No, MAME wouldn't know the difference even if you used two USB keyboards.
I thought you were concerned about issues with L-ctrl and L-alt, which I don't think cause problems with MAME.
NOTE: The conflict you mention would not affect gameplay, as there are no 3 or 4 player games with more than 4 butttons, so having buttons 5 thru 8 conflict is only a problem in that someone mashing those buttons could mess up player 3.
ErikRuud:
l-control and l-alt do not cause problems with MAME. They can cause other problems.
Not to long ago, I was playing Armored Warriors with my 11 year old adopted brother. All of a sudden the screen went black and came back upside down! I exited all the way to windows and it was upside down as well.
It turned out that my ATI video card driver has hot keys for scren rotation. Ctl-Alt-R was defined as "Toggle 180". In a default MAME stup this is P1b1, P1B2, P2UP.
I decided that it was easier to remap the keys in MAME so that the Shift, Ctl and Alt keys are not used, rather than trying find and disable all the hot key definitions that may exist on my MAME PC.