Main > Software Forum
P1B1/P1B2 keycode remapping
Tiger-Heli:
--- Quote from: screaming on July 07, 2004, 03:15:45 pm ---
--- Quote from: Howard_Casto on July 07, 2004, 03:07:44 pm ---left ctrl won't bother anything, so leave it as-is
--- End quote ---
Actually Control (P1B1)-Enter (P3B3) screwed me up a couple times when it caused MAME to go into "windowed mode".
--- End quote ---
After reading this thread, I got concerned about my own key assignments, and decided to test some things out.
First off - If you are using a modern MAME build (post- 0.62 or so), I am pretty sure the Windows Ctrl and Alt combinations are handled/disabled by the C:\mame\ctlr\windows.ini file that ships with MAME. Not sure how they do it, but it seems to work, and I trust the MAME devs to know what they are doing.
The Window Mode glitch that Screaming mentioned is a potential problem, but the default is Alt-Enter. I didn't see a ctrlr.ini file option for this, but it was easy enough to go into Tab-Inputs all games and set the last entry "Windowed Mode" or some such to None. Easier than re-mapping all my MAME games to avoid Left Alt, although that would be pretty simple as well.
I use an ATI vid card, and in the driver, I found that I had not set a hotkey for screen rotation.
Most hot-keys should only work with the associated program active, but it's a valid point that you should disable them for drivers and programs that TSR (Terminate and Stay Resident) (the systray stuff).
In summary, I found no reason to stray from the defaults.
ErikRuud:
I have seen a few others mention that they had HotKey problems as well.
I never set a hot key for the ATI stuff either. It was set by default the last time Iupgraded the driver. Most of the rotation hotkeys were set to "None", but for some reason "Toggle 180" was set.
I am running NoNameMAME 0.79 under Win2K Pro.
I will give regular MAME 0.84 a try and see what happens.
SirPoonga:
Copy and paste this into a fresh browser.
My key config.
http://free.hostdepartment.com/S/SirPoonga/keys.htm
screaming:
--- Quote from: SirPoonga on July 08, 2004, 11:05:34 am ---Copy and paste this into a fresh browser.
My key config.
http://free.hostdepartment.com/S/SirPoonga/keys.htm
--- End quote ---
Thanks for the inspiration! I saw this and figured I'd throw my configuration into a spreadsheet and see how it would help me.
Once I was done, I was able to better see which keys were being used and what they were being used for.. I ended up remapping my buttons with the IPAC config utility like this:
P1_BUTTON1 KEYCODE_COMMA
P1_BUTTON2 KEYCODE_STOP (that's a period ".")
P3_BUTTON1 KEYCODE_QUOTE
P3_BUTTON5 KEYCODE_SLASH
P3_BUTTON6 KEYCODE_EQUALS
P4_BUTTON5 KEYCODE_OPENBRACE
P4_BUTTON6 KEYCODE_CLOSEBRACE
Thanks for all the info guys...
-Steve