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: Mame multiple buttom mapping question  (Read 2539 times)

0 Members and 1 Guest are viewing this topic.

equlizer

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 363
  • Last login:November 17, 2019, 02:56:48 am
  • All your base are belong to us
Mame multiple buttom mapping question
« on: September 15, 2014, 08:32:10 pm »
Is it possible to map 3 keyboard keys to one arcade button?  I want 1 button to be "save game" and the other one to "load game"  I dont care from which slot it loads or saves from.  Im using Maximus if that makes any difference.  Thx :)

equlizer

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 363
  • Last login:November 17, 2019, 02:56:48 am
  • All your base are belong to us
Re: Mame multiple buttom mapping question
« Reply #1 on: September 15, 2014, 10:23:19 pm »
Something else ive noticed in mame.  One of my buttons is mapped to "none" which is button 11.  When pressed it simulates the "ESC" key.   I don't know how to fix this? in Maximus the button is not used for anything

ballboff

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 194
  • Last login:July 22, 2024, 02:25:17 am
Re: Mame multiple buttom mapping question
« Reply #2 on: September 16, 2014, 03:01:25 am »
Something else ive noticed in mame.  One of my buttons is mapped to "none" which is button 11.  When pressed it simulates the "ESC" key.   I don't know how to fix this? in Maximus the button is not used for anything

You need to check your controls for the UI.  I had a setup where whenever I did a flying kick in street fighter 2 my machine was putting coins in.  You can assign several buttons to have the same function.  I think this is useful for if you have two lightup coin inserts, as you only need one coin slot for 2 player games. 

You will need to go through each of your controls in input (general) and see which has an esc key assigned to it.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 9669
  • Last login:Today at 03:21:11 am
  • Designated spam hunter
Re: Mame multiple buttom mapping question
« Reply #3 on: September 16, 2014, 06:02:20 am »
You can assign several buttons to have the same function.  I think this is useful for if you have two lightup coin inserts, as you only need one coin slot for 2 player games. 

You will need to go through each of your controls in input (general) and see which has an esc key assigned to it.
If you assign more than one coin slot to a single button in the "input (general)" menu, you will want to un-do that on a per-game basis for the 2-player games like TMNT (tmnt2po) and Gauntlet (gauntlet2p) that assign credits based on the coin slot you use.


Scott
« Last Edit: September 16, 2014, 06:05:43 am by PL1 »

equlizer

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 363
  • Last login:November 17, 2019, 02:56:48 am
  • All your base are belong to us
Re: Mame multiple buttom mapping question
« Reply #4 on: September 16, 2014, 07:38:06 pm »
i tried mapping a button then "1" on the keyboard but when i press that button it still asks for "which slot would you like to save in".  Is there a progam i could use to do this?

The only options mame gives me is "save state" and "load state" then i have to press "1" or whatever slot i want to save it into.  I want to be able to do this with just 1 button on the arcade and not have to use the keyboard.
« Last Edit: September 16, 2014, 07:53:40 pm by equlizer »

ballboff

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 194
  • Last login:July 22, 2024, 02:25:17 am
Re: Mame multiple buttom mapping question
« Reply #5 on: September 17, 2014, 08:40:55 am »
You can assign several buttons to have the same function.  I think this is useful for if you have two lightup coin inserts, as you only need one coin slot for 2 player games. 

You will need to go through each of your controls in input (general) and see which has an esc key assigned to it.
If you assign more than one coin slot to a single button in the "input (general)" menu, you will want to un-do that on a per-game basis for the 2-player games like TMNT (tmnt2po) and Gauntlet (gauntlet2p) that assign credits based on the coin slot you use.


Scott

Ah you see I didn't know that.  All the 2 player games I've played automatically switch to 2 player when you put 2 coins in.


ballboff

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 194
  • Last login:July 22, 2024, 02:25:17 am
Re: Mame multiple buttom mapping question
« Reply #6 on: September 17, 2014, 08:48:16 am »
i tried mapping a button then "1" on the keyboard but when i press that button it still asks for "which slot would you like to save in".  Is there a progam i could use to do this?

The only options mame gives me is "save state" and "load state" then i have to press "1" or whatever slot i want to save it into.  I want to be able to do this with just 1 button on the arcade and not have to use the keyboard.

You could set it to auto load on open, when a game is selected it would then load the last saved save state.  You could then just have one button that saves. 

Failing that, and I'm sure someone will correct me here.  You could use autohotkey to assign a hotkey so that you hover over the game you want to load, if you press f6 for instance it will open and load save game, pressing select will just open the game from boot up screen.  F6 could be assigned to a control on your control panel, maybe even a shift key combination as ultimarc only assign 1 or 2 buttons the shift facility, tab and escape I believe.

equlizer

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 363
  • Last login:November 17, 2019, 02:56:48 am
  • All your base are belong to us
Re: Mame multiple buttom mapping question
« Reply #7 on: September 17, 2014, 07:16:51 pm »
I might just have to use one of my KADE units and install a keyboard bios on it.  Kind of silly though to use that just to map one button for "1"

Yeh i do have it set when the rom starts the game will load from a previous save.  But what im after is different.  Am i asking for something too difficult?

ballboff

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 194
  • Last login:July 22, 2024, 02:25:17 am
Re: Mame multiple buttom mapping question
« Reply #8 on: September 18, 2014, 05:31:31 am »
Yeh i do have it set when the rom starts the game will load from a previous save.  But what im after is different.  Am i asking for something too difficult?

I wouldn't have thought this was too difficult.  I have the belief that if I've thought of it, somebody else will have thought of it and come up with a workaround.