Main > Main Forum
Mame controller button key
(1/1)
markronz:
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
u_rebelscum:
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: 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: 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: Includes a different "list" of input names, around 284 to 413. Might be easier to read, but includes key specific to windows.
Navigation
[0] Message Index
Go to full version