Main > Linux

SDLMame still sees both mice as "Mouse 1"...how to fix?

<< < (2/2)

nitrogen_widget:
AdvanceMAME is supposed to have multiple mouse support in both linux & windows.
It's older but it is really easy to compile on linux.
I'm testing it on my P3 system now.
However i'm using the trackball as my mouse so I havn't tested dual mice in it yet & not sure i'll really need to.

Pitou:
Thanks for the suggestion!

Just did a quick test playing around with the xinput command under linux.

With this:

xinput list
xinput create-master Secondary
xinput create-master Third
xinput reattach 10 "Secondary pointer"
xinput reattach 13 "Third pointer"

I managed to have 3 independent pointers/arrows on my XFCE desktop!
Too bad sdlmame still doesn't support it.

I'm thinking of going back to windows. I'm looking into the stripped down installation like TinyXP/MicroXP or Tiny7

What would you recommend?

Thx!

Pitou!

Arbee:
If you take a look at src/osd/sdl/sdl.mak, I think your day will brighten considerably.

# uncomment next line to disable XInput support for e.g. multiple lightguns and mice on X11 systems
# using Wiimote driver (see http://spritesmods.com/?art=wiimote-mamegun for more info)
# enabling NO_X11 also implies no XInput support, of course.
# (currently defaults disabled due to causing issues with mouse capture, esp. in MESS)

NO_USE_XINPUT = 1

In other words, change that to #NO_USE_XINPUT = 1 and rebuild MAME to enable using XInput for multiple mice.  (This causes problems with windowed mode which is why it's not the default).  People have successfully used that option to have multiple unique lightguns on Linux using Wii remotes, as the comment suggests, but it should also work for mice and trackballs.

Navigation

[0] Message Index

[*] Previous page

Go to full version