Multiple mice support in RetroArch cores (lightguns, spinners, trackballs)
-
@markwkidd I look forward to when this works out of the box on raspberry pi. :)
-
lightgun games are controllable by a single mouse in mame2003 already, just not multiple mice (as is my understanding).
i'm sure i tested a single mouse on mame2003. it definitely works for all the trackball games etc.
-
@dankcushions multiple mice work in RetroArch with the udev driver, I'm pretty sure. I think I have verified this myself, but there has been a lot of mouse input testing in my life lately so I guess there is a chance I could be misremembering.
Frustratingly, the "flatpak" install method for Ubuntu gives me every input driver except udev, and I'm having an issue compiling RA from source right now too. Once I get properly setup for Linux testing again I will keep moving forward.
-
@markwkidd Hmm... My Area 51 doesn't work with lr-MAME 2003. Is that area51.zip you're using? Hope my last message didn't come off as ungrateful. I was just surprised because I don't recall getting mine to work. Must have a mismatched ROM.
-
@hooperre said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
@markwkidd Hmm... My Area 51 doesn't work with lr-MAME 2003. Is that area51.zip you're using? Hope my last message didn't come off as ungrateful. I was just surprised because I don't recall getting mine to work. Must have a mismatched ROM.
Yes, I'm running
area51.zip
with the matching CHD in a subfolder folder that is namedarea51
. If you're on rPi hardware it should at least run, even if very slowly. -
@markwkidd said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
@hooperre said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
@markwkidd Hmm... My Area 51 doesn't work with lr-MAME 2003. Is that area51.zip you're using? Hope my last message didn't come off as ungrateful. I was just surprised because I don't recall getting mine to work. Must have a mismatched ROM.
Yes, I'm running
area51.zip
with the matching CHD in a subfolder folder that is namedarea51
. If you're on rPi hardware it should at least run, even if very slowly.Thank you!
-
@dankcushions said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
lightgun games are controllable by a single mouse in mame2003 already, just not multiple mice (as is my understanding).
Hi @dankcushions I'm having no trouble with multiple simultaneous mice via the udev input driver in Ubuntu 17.04.
If you're tracking the 'absolute coordinates' github Issue you probably know that udev support for Wiimote/Dolphinbar is also getting closer and closer. :D
Edit: casdevel's new input debugging libretro core is pretty handy in case anyone else wants to see exactly how their mouse/lightgun/etc report input to RetroArch: https://github.com/casdevel/input-debugger-libretro
Right now there are barely any instructions, but if you ever try it out the most important thing to know is that you have to use the RetroArch F1/Quick Menu to get into the Core options once you first start it up.
-
Hi folks -- these features are now polished up a part of RetroArch's
udev
input driver. Support for absolute devices like Dolphinbar/Wiimote should just work. Woohoo!There is a new section of the spinners and trackballs doc devoted to 'multi-mouse' and how to configure it: https://github.com/RetroPie/RetroPie-Setup/wiki/Spinners,-Trackballs,-Lightguns,-and-other-Mouse-Devices#configuring-retroarch-emulators-for-multi-mouse-use
-
Hi, I'm trying to apply this in order to hace two trackballs for marble madness or three wheels for súper sprint, but I'm too dumb and can't for my life get it working.
Could somebody put here some detailed instructions please? I will thank.
-
@space-invader said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
Hi, I'm trying to apply this in order to hace two trackballs for marble madness or three wheels for súper sprint, but I'm too dumb and can't for my life get it working.
Could somebody put here some detailed instructions please? I will thank.
Have you tried these instructions? https://github.com/RetroPie/RetroPie-Setup/wiki/Spinners,-Trackballs,-Lightguns,-and-other-Mouse-Devices#configuring-retroarch-emulators-for-multi-mouse-use
If you have, where in the process did you run into problems?
-
@markwkidd
I know the mouse indexes with the cat order, I verified that the input driver in retroarch is udev and I set one of he mouse indexes for each player, but no results.What am I doing wrong or what am I missing?
-
@space-invader said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
@markwkidd
I know the mouse indexes with the cat order, I verified that the input driver in retroarch is udev and I set one of he mouse indexes for each player, but no results.What am I doing wrong or what am I missing?
I should have asked earlier: which emulator core?
-
@markwkidd
lr-mame2003 -
@space-invader said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
@markwkidd
lr-mame2003I will be honest I have not experienced this combination of symptoms so far.
Can you attach a keyboard and confirm that it is functional in lr-mame2003?
Also, is it possible for you to copy your logs to a service like pastebin and post the link?
edit: A few more ideas.
Does mame2003 work in other respects -- ie with a gamepad?
Do you have any other input driver options than udev? If so, they probably don't support multi-mouse but it could be a clue to know whether other input drivers recognize your mouse devices at all.
-
@markwkidd
As far as I can tell now:Keyboard works fine.
Three Mouses are seen by the pi, using the cat order symbols appear when moving them.Now I have no access to the pi, but this night I will try with the joypad and with other drivers different from udev.
Finally I have no idea on how to put the --verbose option.
Many thanks for taking your time helping me.
-
@space-invader said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
Finally I have no idea on how to put the --verbose option.
you select it via the runcommand - https://retropie.org.uk/docs/Runcommand/
'launch with verbose logging' or something like that. then after exit, the log is in
/dev/shm/runcommand.log
-
@dankcushions
Ok, I will try it too. Thanks! -
@dankcushions said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
you select it via the runcommand - https://retropie.org.uk/docs/Runcommand/
I have added this information to the docs, thanks!
-
Can anyone help me with this? Im trying to play term2 on lr-mame2003 with usb mouse. Retroarch and mame are updated. Raspi sees mouse with cat /dev/input/mice. Verbose logging says event0 for mouse. Set in retroarch accordingly.
Now the trouble:
Im unable to calibrate the lightgun. I cant set mousebutton as button 1 in retroarch input or in mame configuration screen (tab). I cant do anything with the mouse.Ps. Mouse works fine in uae and quake3. Read the docs several times, and tried everything that i can think of.
-
@analoghero said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
Can anyone help me with this? Im trying to play term2 on lr-mame2003 with usb mouse. Retroarch and mame are updated. Raspi sees mouse with cat /dev/input/mice. Verbose logging says event0 for mouse. Set in retroarch accordingly.
Now the trouble:
Im unable to calibrate the lightgun. I cant set mousebutton as button 1 in retroarch input or in mame configuration screen (tab). I cant do anything with the mouse.Ps. Mouse works fine in uae and quake3. Read the docs several times, and tried everything that i can think of.
To confirm, have you built retroarch & lr-mame2003 from source? That is similar to a bug that was solved a week or more ago.
Assuming that is true, could you use
runcommand
to post a log?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.