Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: the3eyedblindman on December 31, 2004, 01:00:19 am

Title: Can you use any key on keyboard in mame?
Post by: the3eyedblindman on December 31, 2004, 01:00:19 am
 My control panel is a 4 player with 6 buttons each and was going to need alot of programmed keys into ipac4. Can you program every key on the keyboard as a control in mame, such as all the F # keys, Insert, home, delete, end, page up, page down, number lock, windows start, and the puntuational keys such as "?" "." {" ? Just making sure if I can use these, thanks.
Title: Re: Can you use any key on keyboard in mame?
Post by: thrash242 on December 31, 2004, 04:05:44 am
I'm not sure if you're aware of this, but as far as I know, (and I've heard this from lots of people) the most buttons any four player MAME games uses is 4.  This is why many people have 6-7 buttons for players one and two, and only 4 for players 3-4.

As far as I know, though, you can map any key on the keyboard in MAME, but many already have other functions.  I'm not sure about printscreen and obscure buttons like that, however.
Title: Re: Can you use any key on keyboard in mame?
Post by: DrewKaree on December 31, 2004, 06:09:33 am
Homer Simpson taught me that there is no "any" key.   ;D
Title: Re: Can you use any key on keyboard in mame?
Post by: the3eyedblindman on December 31, 2004, 11:57:06 am
those are the keys i was reffering to, keys like print screen. Can those be mapped in mame?
Title: Re: Can you use any key on keyboard in mame?
Post by: Tiger-Heli on January 03, 2005, 10:36:48 am
http://www.mameworld.net/easyemu/mameguide/mamecontrolini.htm

Second black table with white text lists all the available keys -

However, from my keyboard hack page, you have to be careful with the winmenu key:

The windows GUI keys deserve special consideration.  These were not useable in older versions of MAME and are on the "Avoid" list above.  I did not use them in my example, because when I wrote this up, MAME could not use them.  I did not add them in when I revised the page because the 16x8 matrix without them was representative of most keyboards.  However, MAME from version 0.60 up will recognize them and I would gain two additional inputs by using them with the DR-104 keyboard.  OTOH, you can't just use the Windows Key in MAME because if you just set the FIRE button to L WIN (for example), MAME will fire a shot and freeze as the Start menu pops up, fire a shot and continue as the Start menu disappears, fire a shot and freeze . . . etc.  You can avoid this by installing either WinKey Killer 1.7 (homepage/download) or LogoLess.  Here is a comparison of the two programs (either one of which I can recommend):

WinKey Killer 1.7 - Very simple (double-click to run, double-click again to exit).  Transparent.  Can be loaded at startup by placing in a shortcut and adding to the Windows Start folder.  Kills Windows key instantly in all apps.  Has several advanced set-up options like Disable Ctrl+Esc, Disable WinKey+E to launch Internet Explorer, Disable Ctrl-Alt-Del, Hide from Ctrl-Alt-Del, Display message on shutdown, etc.

LogoLess - Runs with an Icon in the Systray.  This is the better program if you ever use the Windows key because it only eliminates it in windows beginning with "MAME" (user-specified), or in full-screen applications.