Main > Software Forum

mouse in advmame and linux? [RESOLVED!!]

Pages: << < (2/3) > >>

whammoed:

I am running advmame from the command line.  I assume this is "console mode".  Sorry not real familiar with the terminology yet.  The mice work when I run KDE...don't know if that tells me anything.  I will take a look at those links.

SirPoonga:

the mice I have hooked up to my linux box have all worked in xmame.  I know the one for my tball works in advmame when I had linux on my cabinet.  It just worked :)  I didn't compile it though, just ran with the binary.  

In the rc file you might have to enable mouse like you do in the windows versions of mame.

whammoed:

yes, i have tried both
device_mouse event
and
device_mouse raw (also set up device_raw* settings in advmame.rc)
with no luck so far
I have more than one trackball/spinner so other options for mouse will not do

whammoed:

I have also tried
device_mouse auto obviously (or not) ;D
if i run in a window in kde the mouse sort of works with
device_mouse auto or device_mouse sdl
It will move when the cursor is actually over the game.  This does not work at all when not in kde

jerryjanis:

I had multiple USB mice working in AdvanceMame (without X) at one point a while back...  Let me check my notes.  Here's what I wrote down:

- ps2, logitech, ms didn't work, but imps2 did:
  device_raw_mousedev[0..3]  auto
  device_raw_mousetype[0..3]  imps2

Also try the following if you want to specify which mouse controls which player:
  device_raw_mousedev[0..3]  /dev/input/mouse0

Don't forget to try the advm program to test your mice.  If I run the following command:

$advm -device_mouse raw

I am able to watch mouse data scroll accross the screen.

Good luck getting it to work!

(EDIT)  Oh, yeah, I should also mention that Iwas running advmame in console mode, so I wasn't running KDE or X or anything like that.  I was using SVGALIB.  It was a stock Mandrake kernel that I was running.  I'm currently working on the Framebufer w/Matrox card.

Pages: << < (2/3) > >>

Go to full version