Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: maxstang on August 10, 2005, 01:51:13 am

Title: Mouse button in Advance Mame
Post by: maxstang 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?
Title: Re: Mouse button in Advance Mame
Post by: Thenasty 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.
Title: Re: Mouse button in Advance Mame
Post by: maxstang 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?
Title: Re: Mouse button in Advance Mame
Post by: JoyMonkey 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