The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: chris2922 on January 26, 2006, 02:16:53 pm

Title: Removing key assignments in MAME - possible?
Post by: chris2922 on January 26, 2006, 02:16:53 pm
Im having trouble re-assigning some keys in MAME (0.36).

Im pressing TAB and going into the INPUT FOR THIS GAME screen.

I want to remove some button assignments all together - leaving them saying N/A as i dont want to use them.
Thing is, when i select one it asks me to press the new key - and no matter what i try, that key gets mapped!

Is there any way to say 'no key' when this happens?  I dont want to map them to something else if possible - its not tidy.
Title: Re: Removing key assignments in MAME - possible?
Post by: electricd on January 26, 2006, 02:55:56 pm
You can't just hit ESC?
Title: Re: Removing key assignments in MAME - possible?
Post by: chris2922 on January 26, 2006, 03:17:52 pm
Nope, that just binds 'ESC' as the key.  Ive tried some other too (Break, Scroll Lock, Print Screen etc) and they just get bound to the button.
Very frustrating.

Someone must know!
Title: Re: Removing key assignments in MAME - possible?
Post by: JoyMonkey on January 26, 2006, 03:49:07 pm
Don't you just tap the Delete key? (for just a fraction of a second)
Title: Re: Removing key assignments in MAME - possible?
Post by: Brax on January 26, 2006, 03:56:01 pm
I'm pretty sure I used the pause/break key to map it as N/A. Give it a try.
Title: Re: Removing key assignments in MAME - possible?
Post by: Brax on January 26, 2006, 03:57:12 pm
Nope, that just binds 'ESC' as the key.  Ive tried some other too (Break, Scroll Lock, Print Screen etc) and they just get bound to the button.
Very frustrating.

Someone must know!

That's wierd because I used pause/break and it worked perfectly.
Title: Re: Removing key assignments in MAME - possible?
Post by: PetitMorte on January 26, 2006, 06:13:02 pm
To remove a key assignment, start up the game, bring up the menu and go to INPUT FOR THIS GAME.

so far so good.

Don't hit enter to select the key...  just move the pointer to the input that you want to remove, and then hit DELETE to assign the input to NONE.

If you hit enter, you're telling MAME that you want to assign a key.  Just hit DELETE without hitting ENTER, and you should be good.
Title: Re: Removing key assignments in MAME - possible?
Post by: chris2922 on January 27, 2006, 02:15:16 pm
Hitting DELETE does not remove the key assignment - it does nothing.

In fact, pressing any other key than Enter/Return does nothing.

I am, as already stated using MAME 0.36, so maybe this has changed in the versions you are all quoting.

Pressing Pause/Break maps the key as PAUSE.
Tapping DELETE even only for a fraction of a second still maps it to DEL.

Does anyone know how to map a key to nothing?
Title: Re: Removing key assignments in MAME - possible?
Post by: SirPoonga on January 27, 2006, 02:26:29 pm
ESC works for me

Are you using command line mame or mame32?
Title: Re: Removing key assignments in MAME - possible?
Post by: chris2922 on January 27, 2006, 02:27:51 pm
MAME 0.36 DOS Binary.
I dont have windows installed.
Title: Re: Removing key assignments in MAME - possible?
Post by: chris2922 on January 27, 2006, 02:32:43 pm
Actually, pressing ESC when asked what key id like to map resets the assignment to its default for that game.

So in Street Fighter 2, if i map button 2 and press ESC it goes to ALT or n/a.
Thing is, i want it to got to n/a.  Just n/a!!!!

Maybe its not possible in 0.36?
Title: Re: Removing key assignments in MAME - possible?
Post by: SirPoonga on January 27, 2006, 02:37:36 pm
Maybe it didn't work that way for 36

For .101 when you hit esc it blanks it.  If you hit esc again it puts it to default.

http://www.mame.net/mamefaq.html#h03

According to the FAQ
Using the double-press "not" method on the only button or key pressed (or pressing the UI Cancel button), in the (general) menu sets the control to "None". Doing this in the (this game) menu sets the control back to what is defined in (general).
Title: Re: Removing key assignments in MAME - possible?
Post by: chris2922 on January 27, 2006, 02:42:08 pm
Right, so that might be my problem.  I have a neo geo 4 button layout and wanted to get Street Fighter playing on it.  I only want to remap button for street fighter - so im in the game specific button mapping screen.  I think i will just have to map all the buttons i dont want to a key that isnt used.  Not tidy, but i dont see a way round it.
Title: Re: Removing key assignments in MAME - possible?
Post by: SirPeale on January 28, 2006, 11:28:32 am
I'm really curious...why do you want to turn off the key assignments?
Title: Re: Removing key assignments in MAME - possible?
Post by: chris2922 on January 29, 2006, 09:26:14 am
I have buit a 4 button per player neo-geo stlyle control panel.
Im using mame0.36 under DOS.
It supports street fighter 2 and its variants (champion edition, hyper fighting, rainbow etc).  It seems a shame to overlook such classics so i want them to be playable using the 4 button layout.  The medium punch/kick buttons seem the obvious functions to sacrifice, so i want them mapped to 'n/a' instead of their default button mappings.  Ive got it set so LightPunch and HardPunch are buttons 1 and 2 - instead of 1 and 3.

Because i cant map the buttons i dont want to use to 'n/a' ive mapped them to 'x' instead.  It works fine - it just pisses me off that i cant map them to 'n/a'.
Title: Re: Removing key assignments in MAME - possible?
Post by: Thenasty on January 29, 2006, 10:36:54 am
if I remember, I think you after selecting the button (ENTER) you need to hit the ESC twice quickly to get NONE or N/A.. Try that.....

*EDIT*
I think this works in GENERAL not in the INPUT THIS GAME etc...
I remember doing something in INPUT THIS GAME like this...

Select the Button you want re-assigned then push NONE quickly on the keyboard and it will display NONE :)
Title: Re: Removing key assignments in MAME - possible?
Post by: lesserChance on January 31, 2006, 02:11:18 pm
I thought when you hit enter to change the inout you hold the esc key until it says none? I know I've done this before...  Ill have to check when i get home.
Title: Re: Removing key assignments in MAME - possible?
Post by: SirPoonga on January 31, 2006, 03:45:25 pm
I have buit a 4 button per player neo-geo stlyle control panel.
Im using mame0.36 under DOS.
It supports street fighter 2 and its variants (champion edition, hyper fighting, rainbow etc).  It seems a shame to overlook such classics so i want them to be playable using the 4 button layout.  The medium punch/kick buttons seem the obvious functions to sacrifice, so i want them mapped to 'n/a' instead of their default button mappings.  Ive got it set so LightPunch and HardPunch are buttons 1 and 2 - instead of 1 and 3.

Because i cant map the buttons i dont want to use to 'n/a' ive mapped them to 'x' instead.  It works fine - it just pisses me off that i cant map them to 'n/a'.

What does n/a gain you?  If the physical buttons don't exists why do you need to map them to n/a?
Title: Re: Removing key assignments in MAME - possible?
Post by: u_rebelscum on January 31, 2006, 08:01:00 pm
IIRC, up until 0.85, the only way to get n/a was through input general and esc in input this game.  Well, that's ignoring the ctrlr files; that was the other way.

But 0.36 did not have ctrlr files, so, you'd have to unmap in both "inputs general" and "inputs this game".  But then you have remap in all the other games.

IMO, having n/a is mostly so later on you (or someone else) would know immediately that that button was not used, yes?