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: mapping buttons help  (Read 2746 times)

0 Members and 1 Guest are viewing this topic.

broomy

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • Last login:August 23, 2002, 11:40:08 am
  • I'm a llama!
mapping buttons help
« on: August 23, 2002, 11:37:53 am »
im trying to map out the buttons for my mame cabinet

ive set the player buttons and joystick fine but am having problems with other buttons

such as a button to exit the game and to go back to mame and for giving credits

is this possible without having to use an ipaq or converting a keyboard? is there an option through mame or a front end to just assign one button as a keyboard press?

id also be glad of any advice on using a button as a shift key so it can be held down and allow the acces of other fucitons through button pressing

thanks for any help and sorry for my lack of knowlege

james b


Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:August 01, 2025, 12:46:10 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re:mapping buttons help
« Reply #1 on: August 23, 2002, 12:22:32 pm »
you can use your existing buttons to EXIT, CREDIT etc...
Just go to the Defualt Configuration and change it.
Example. You want to insert coin.
1. GOto the Defualt config
2. Select Coin 1
Hit Endter to change it
and hit the 2 buttons you want it to be. Hitting the 2 buttons must be done quickly. Hit 1 then 2.

Then you should see it change to those buttons. Now try it out. Just hit 1 button of the buttons, and no credit is given, then push the 2 button at the same time, and wala credits accepted. Do the same thing for the others.
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

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:mapping buttons help
« Reply #2 on: August 24, 2002, 06:55:23 am »

you can use your existing buttons to EXIT, CREDIT etc...
Just go to the Defualt Configuration and change it.
Example. You want to insert coin.
1. GOto the Defualt config
2. Select Coin 1
Hit Endter to change it
and hit the 2 buttons you want it to be. Hitting the 2 buttons must be done quickly. Hit 1 then 2.

Then you should see it change to those buttons. Now try it out. Just hit 1 button of the buttons, and no credit is given, then push the 2 button at the same time, and wala credits accepted. Do the same thing for the others.


The Nasty is right, and this is what I would suggest, however, he picked about the worst example for this (which gives me something to highlight).  Coin input with 1P Start as a shift function is usually trouble.  Other functions, such as Pause, Escape, Exit, work fine.

Here's the problem:  Say you do the mapping above.  Now you want to start a 2P game.  You press 1P and 2P and add one credit.  Now you press 1P and 2P again to add credit 2.  Because MAME reads the keys on input, it will now start a 1P game and you never get to add the second coin to start your game.

NOTE:  The I-PAC gets around this b/c it sends the shift functions on the button RELEASE.  I.E.  Shift key pressed and released, send unshifted function.  Shift key pressed and another key pressed, send shifted function.

More detailed info is available at http://www.mameworld.net/emuadvice/keyhack2.html  (See Paragraph KEYBOARD HACK DISADVANTAGES (REAL AND PERCEIVED), Items 13 and 14.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.