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: MAME default keymap  (Read 22334 times)

0 Members and 1 Guest are viewing this topic.

Xam

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:July 18, 2011, 11:16:45 pm
  • " Oh my heavens; good gracious. Cro-Magnons."
MAME default keymap
« 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
Can't talk to a psycho like a normal human being.

meltman

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 237
  • Last login:April 02, 2025, 11:06:11 am
  • Brilliant!
    • forum.arcadecontrols.com/index.php/topic,158544.0.html
    • My arcade gallery
Re: MAME default keymap
« Reply #1 on: January 04, 2007, 10:05:32 am »
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.

Xam

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:July 18, 2011, 11:16:45 pm
  • " Oh my heavens; good gracious. Cro-Magnons."
Re: MAME default keymap
« Reply #2 on: January 04, 2007, 12:09:35 pm »
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
Can't talk to a psycho like a normal human being.

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:July 11, 2025, 01:29:48 am
  • Insufficient facts always invite danger.
Re: MAME default keymap
« Reply #3 on: January 04, 2007, 02:18:02 pm »
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

squirrellydw

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1584
  • Last login:April 12, 2021, 11:30:22 am
Re: MAME default keymap
« Reply #4 on: January 04, 2007, 02:36:44 pm »
wow :o  :dizzy: , thanks
I b**ch. People listen!!

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: MAME default keymap
« Reply #5 on: January 04, 2007, 02:45:42 pm »
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.
Robin
Knowledge is Power

Xam

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:July 18, 2011, 11:16:45 pm
  • " Oh my heavens; good gracious. Cro-Magnons."
Re: MAME default keymap
« Reply #6 on: January 04, 2007, 02:53:50 pm »
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

Can't talk to a psycho like a normal human being.

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:July 11, 2025, 01:29:48 am
  • Insufficient facts always invite danger.
Re: MAME default keymap
« Reply #7 on: January 04, 2007, 03:26:40 pm »
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:


u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: MAME default keymap
« Reply #8 on: January 05, 2007, 12:35:39 pm »
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.)
Robin
Knowledge is Power

Xam

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:July 18, 2011, 11:16:45 pm
  • " Oh my heavens; good gracious. Cro-Magnons."
Re: MAME default keymap
« Reply #9 on: January 05, 2007, 01:38:13 pm »
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
Can't talk to a psycho like a normal human being.

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: MAME default keymap
« Reply #10 on: September 29, 2009, 01:07:01 pm »
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
Stop by my Youtube channel and leave a comment:

mr_doles

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 236
  • Last login:November 13, 2014, 06:53:45 pm
  • nuff said
Re: MAME default keymap
« Reply #11 on: September 29, 2009, 03:08:08 pm »
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

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: MAME default keymap
« Reply #12 on: September 29, 2009, 04:49:23 pm »
Yep, that worked.  Thanks!
Stop by my Youtube channel and leave a comment: