Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: Xam on January 03, 2007, 09:54:10 pm
-
Does anyone know where I can get a default keymap for MAME? I have seach the forums and the WIKI to no avail.
Thanks,
Xam
-
In mame. Hit tab and go to input - General.
I had the same problem finding it online. Its almost as if its not documented anywhere.
-
Thanks! I was trying to find a version I could print...guess I'll have to make my own...LOL! Glad I was not the only one that could not find it on the net.
Mameworld does have one...but it is incomplete.
Xam
-
You can also get the basic commands from Mame's windows.txt file:
Default Keys
------------
All the keys below are fully configurable in the user interface. This list
shows the standard keyboard configuration.
Tab Toggles the configuration menu
~ Toggles the On Screen Display. Use the up and down arrow keys to
select which parameter to modify (global volume, mixing level,
gamma correction etc.) Use the left and right to arrow keys to
change modify the value. Some parameters adjust with finer or
coarser control if you hold down the CTRL or SHIFT keys while
pressing the left/right arrows. Use the ENTER key to reset a value
to its default.
P Pauses the game
SHIFT+P While paused, advances to next frame
F1 Toggle crosshairs for games that use them
F2 Service Mode
F3 Resets the game
F4 Shows the game palette, decoded GFX, and any tilemaps. Use the
ENTER key to switch between the three modes (palette, graphics,
and tilemaps). Press F4 again to turn off the display. The key
controls in each mode vary slightly:
* Palette/colortable mode:
[ ] - switch between palette and colortable modes
up/down - scroll up/down one line at a time
pgup/pgdn - scroll up/down one page at a time
home/end - move to top/bottom of list
-/+ - increase/decrease the number of colors per row
ENTER - switch to graphics viewer
* Graphics mode:
[ ] - switch between different graphics sets
up/down - scroll up/down one line at a time
pgup/pgdn - scroll up/down one page at a time
home/end - move to top/bottom of list
left/right - change color displayed
R - rotate tiles 90 degrees clockwise
-/+ - increase/decrease the number of tiles per row
ENTER - switch to tilemap viewer
* Tilemap mode:
[ ] - switch between different tilemaps
up/down/left/right - scroll 8 pixels at a time
SHIFT+up/down/left/right - scroll 1 pixel at a time
CTRL+up/down/left/right - scroll 64 pixels at a time
R - rotate tilemap view 90 degrees clockwise
-/+ - increase/decrease the zoom factor
ENTER - switch to palette/colortable mode
Note: Not all games have decoded graphics and/or tilemaps.
F6 Toggle cheat mode (if started with "-cheat")
F7 Load a save state. You will be requested to press a key to
determine which save state you wish to load. Note that the save
state feature is not supported for a large number of drivers. If
support is not enabled for a given driver, you will receive a
warning when attempting to save or load.
SHIFT+F7 Create a save state. Requires an additional keypress to identify
the state, similar to the load option above.
F8 Decrease frame skip on the fly
F9 Increase frame skip on the fly
F10 Toggle speed throttling
F11 Toggles speed display
SHIFT+F11 Toggles profiler display (debug builds only)
F12 Saves a screen snapshot.
INSERT Fast forward. While held, runs the game with throttling disabled
and with the maximum frameskip.
ESC Exits emulator
-
wow :o :dizzy: , thanks
-
You can find the full list in the source too. Look in src/inptport.c, lines 426-928 (as of mame 0.111u1), for the universal defaults, but you need to look at src/windows/input.c in the osd_customize_inputport_list() function, lines 2280-2348, for the windows specific changes on top of the universal defaults.
The defaults have had minor changes a couple times the past few versions, and might have a couple more in the not too distant future. Official windows mame uses almost 450 different inputs, if you include players 5-8, mahjong, UI, mess related, and other "not common" inputs.
Attatched is a tab delimited list as of mame0.111u1.
-
You can find the full list in the source too. Look in src/inptport.c, lines 426-928 (as of mame 0.111u1), for the universal defaults, but you need to look at src/windows/input.c in the osd_customize_inputport_list() function, lines 2280-2348, for the windows specific changes on top of the universal defaults.
The defaults have had minor changes a couple times the past few versions, and might have a couple more in the not too distant future. Official windows mame uses almost 450 different inputs, if you include players 5-8, mahjong, UI, mess related, and other "not common" inputs.
Attatched is a tab delimited list as of mame0.111u1.
Your list looks like what I am looking for...but I thought Player 1 used the direction arrows for movement??? Or did I just read the list wrong? That is a distinct possiblity.
Xam
-
Official windows mame uses almost 450 different inputs, if you include players 5-8, mahjong, UI, mess related, and other "not common" inputs.
Now that would be a frankenpanel !!!
:laugh2:
-
Attatched is a tab delimited list as of mame0.111u1.
Your list looks like what I am looking for...but I thought Player 1 used the direction arrows for movement??? Or did I just read the list wrong? That is a distinct possiblity.
You might be looking at the dual stick inputs? Example:
P1 Up (KEY_UP or JOY_1_UP)
This says "player 1 up" uses the key board up arrow, or joy 1 up
Dual stick (smash TV, robotron) games, however, have different inputs than the standard directions. There's the stick on the right's up direction, and the stick on the left's up direction:
P1 Right/Up (KEY_I or JOY_1_BUTTON2)
P1 Left/Up (KEY_E or JOY_1_UP)
Player 1's right stick's up uses the keyboard I key, or joy 1 button 2, while his left stick's up uses the E key or joy 1 up.
Thing to note that I didn't note before:
If you use any ctrlr file (such as those for xarcade or hotrodse), the ctrlr file change your "defaults" from the above to whatever's in the ctrlr file. (For example, the dual sticks' defaults are part of what's changed in the aforementioned xarcade & hotrodse ctrlr files.)
-
Attatched is a tab delimited list as of mame0.111u1.
Your list looks like what I am looking for...but I thought Player 1 used the direction arrows for movement??? Or did I just read the list wrong? That is a distinct possiblity.
You might be looking at the dual stick inputs? Example:
P1 Up (KEY_UP or JOY_1_UP)
This says "player 1 up" uses the key board up arrow, or joy 1 up
Dual stick (smash TV, robotron) games, however, have different inputs than the standard directions. There's the stick on the right's up direction, and the stick on the left's up direction:
P1 Right/Up (KEY_I or JOY_1_BUTTON2)
P1 Left/Up (KEY_E or JOY_1_UP)
Player 1's right stick's up uses the keyboard I key, or joy 1 button 2, while his left stick's up uses the E key or joy 1 up.
Thing to note that I didn't note before:
If you use any ctrlr file (such as those for xarcade or hotrodse), the ctrlr file change your "defaults" from the above to whatever's in the ctrlr file. (For example, the dual sticks' defaults are part of what's changed in the aforementioned xarcade & hotrodse ctrlr files.)
You are partially right reb! I was reading wrong...guess my eyes need an alignment...LOL!
Thanks again,
Xam
-
Does anyone know if the ESC default to exit MAME can be re-mapped? ie. The letter Q or something similar can be pressed which would function exactly like hitting the default escape key.
I check in the Tab menu and didn't see anything to reassign it.
Thanks in advance!
D
-
Does anyone know if the ESC default to exit MAME can be re-mapped? ie. The letter Q or something similar can be pressed which would function exactly like hitting the default escape key.
I check in the Tab menu and didn't see anything to reassign it.
Tab --> Input (General) --> User Interface --> UI Cancel
-
Yep, that worked. Thanks!