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: Mouse button in Advance Mame  (Read 2076 times)

0 Members and 1 Guest are viewing this topic.

maxstang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 58
  • Last login:June 06, 2012, 11:02:11 am
  • New to this!
Mouse button in Advance Mame
« on: August 10, 2005, 01:51:13 am »
Well I'm slowly figuring out Advance Mame and I have the thing configured except I can't get the mouse button to work in games that don't normally use a mouse.   I  have a small control panel and sometimes when using games like Asteroids I need to use the mouse button as an action button.  I've reassigned the mouse button but it still doesn't work.   I'm not sure what to change in the config file to make it work in games that don't usually use the mouse.  Any ideas?

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:Yesterday at 09:12:16 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: Mouse button in Advance Mame
« Reply #1 on: August 10, 2005, 09:51:48 am »
You can't use mouse to control a none mouse/analog game like asteroids.
However you can use the buttons to fire/bomb/hyperspace but not to control the the ship. You can only use/re-assign the mouse buttons to work. So in Asteroid just assign the Left/Right to any of your mouse buttons.

If this is what you need, then like I mention to you before, just run the game, hit tab goto the Input this game and change the controls from there. So if you want hyperspace for the button, select that button, hit enter, push button on mouse BINGO.




Maybe there is a program that you can search like key2mouse or something but I never seen one. I know there is joy2key but thats not what you want.

Another option is to re-design MAME/Advmame source and re-compile but i dunno where to start on that one.
« Last Edit: August 10, 2005, 10:14:25 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

maxstang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 58
  • Last login:June 06, 2012, 11:02:11 am
  • New to this!
Re: Mouse button in Advance Mame
« Reply #2 on: August 10, 2005, 11:05:23 am »
Thanks for your reply!  I did all that.  The configuration won't let me enter the mouse button.  I press enter to select the function then the mouse button and nothing happens.  Any other key will work.  I tried putting the the mouse button in the Config. file manually, but it still doesn't work.  I know that in MAME you used have to say "mouse yes" in the config file before you could add it to the controls, but Advance Mame seems different.   I haven't tried the "mouse raw" command yet.   Any other ideas?

JoyMonkey

  • Voodoo Wiki Master . . .
  • Wiki Master
  • Trade Count: (+5)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2899
  • Last login:June 16, 2025, 09:16:27 pm
  • Candy is Dandy but Liquor is Quicker
    • JoyMonkey.com
Re: Mouse button in Advance Mame
« Reply #3 on: August 10, 2005, 11:20:55 am »
Does your mouse work in games that do support a mouse, like Missile Command?

I know that mouse and joystick is usually disabled in AdvMame, so you can choose whichever mouse driver is compatible with your OS.
If you're using DOS, the line in your advmame.rc should read:
device_mouse allegro
If you're using Linux, Windows or OS X, this should work:
device_mouse sdl