Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: markronz on November 06, 2008, 11:51:24 pm
-
Hello everyone,
Is there a chart somewhere that tells me what each button is? I'm working on configuring my MAME cfg file and I'm not entirely sure what each key is supposed to be. For instance it took me a while to figure out that the ] key was KEYCODE_CLOSEBRACE. I could figure all of them out given the time, but I just thought it would be helpful to have a chart...
Is there one somewhere I missed? I did search but didnt see it.
Thanks
-
You can look it up in the source, but it's not in a nice chart. MameDev and MAWS has individual source files online.
src/emu/inpttype.h (http://mamedev.org/source/src/emu/inpttype.h.html): Includes, emm, call it a "list" of mame's input types and what the default maps are, not including OS specific remapped defaults.
src/emu/input.h (http://mamedev.org/source/src/emu/input.h.html): Includes a "lists" of input names. Probably the best one for you starts around 340, and keyboard ends at line 453.
src/osd/windows/input.c (http://mamedev.org/source/src/osd/windows/input.c.html): Includes a different "list" of input names, around 284 to 413. Might be easier to read, but includes key specific to windows.