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: Removing key assignments in MAME - possible?  (Read 22691 times)

0 Members and 1 Guest are viewing this topic.

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Removing key assignments in MAME - possible?
« 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.

electricd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 487
  • Last login:August 05, 2011, 03:30:33 pm
  • I'm not a llama!
Re: Removing key assignments in MAME - possible?
« Reply #1 on: January 26, 2006, 02:55:56 pm »
You can't just hit ESC?

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Removing key assignments in MAME - possible?
« Reply #2 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!

JoyMonkey

  • Voodoo Wiki Master . . .
  • Wiki Master
  • Trade Count: (+5)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2899
  • Last login:March 25, 2023, 09:38:52 am
  • Candy is Dandy but Liquor is Quicker
    • JoyMonkey.com
Re: Removing key assignments in MAME - possible?
« Reply #3 on: January 26, 2006, 03:49:07 pm »
Don't you just tap the Delete key? (for just a fraction of a second)

Brax

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1426
  • Last login:January 06, 2009, 09:03:48 am
  • Bring on the power tools!
Re: Removing key assignments in MAME - possible?
« Reply #4 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.
If you build a frankenpanel, chances are I don't care for you as a person.

Brax

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1426
  • Last login:January 06, 2009, 09:03:48 am
  • Bring on the power tools!
Re: Removing key assignments in MAME - possible?
« Reply #5 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.
If you build a frankenpanel, chances are I don't care for you as a person.

PetitMorte

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 332
  • Last login:December 11, 2015, 10:03:43 am
  • . . . - - - . . .
Re: Removing key assignments in MAME - possible?
« Reply #6 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.
Bitten by the cabinet bug... obsessing ever since.

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Removing key assignments in MAME - possible?
« Reply #7 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?

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8183
  • Last login:April 12, 2023, 09:22:35 pm
  • The Bears Still Suck!
Re: Removing key assignments in MAME - possible?
« Reply #8 on: January 27, 2006, 02:26:29 pm »
ESC works for me

Are you using command line mame or mame32?

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Removing key assignments in MAME - possible?
« Reply #9 on: January 27, 2006, 02:27:51 pm »
MAME 0.36 DOS Binary.
I dont have windows installed.

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Removing key assignments in MAME - possible?
« Reply #10 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?

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8183
  • Last login:April 12, 2023, 09:22:35 pm
  • The Bears Still Suck!
Re: Removing key assignments in MAME - possible?
« Reply #11 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).

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Removing key assignments in MAME - possible?
« Reply #12 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.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Removing key assignments in MAME - possible?
« Reply #13 on: January 28, 2006, 11:28:32 am »
I'm really curious...why do you want to turn off the key assignments?

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Removing key assignments in MAME - possible?
« Reply #14 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'.

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4413
  • Last login:Today at 10:33:28 am
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: Removing key assignments in MAME - possible?
« Reply #15 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 :)
« Last Edit: January 29, 2006, 11:11:48 am by Thenasty »
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

lesserChance

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:October 08, 2010, 04:53:20 pm
  • I do my best work through the coin door
Re: Removing key assignments in MAME - possible?
« Reply #16 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.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8183
  • Last login:April 12, 2023, 09:22:35 pm
  • The Bears Still Suck!
Re: Removing key assignments in MAME - possible?
« Reply #17 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?

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: Removing key assignments in MAME - possible?
« Reply #18 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?
Robin
Knowledge is Power