Multiple mice support in RetroArch cores (lightguns, spinners, trackballs)
-
@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? -
@markwkidd TBH no. Updating from source now. Thought it was fixed.
-
@analoghero said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):
@markwkidd TBH no. Updating from source now. Thought it was fixed.
I hope that will do the trick for you, because it does sound like the problem I had with my Wiimote/Dolphinbar before the latest
udev
driver updates. -
Finally I got it working.
I did a fresh SD , watched the mouse indexes with cat order, I have three mouses (mouse1, mouse2 and mouse3) attached, but I didn't realised that my keyboard has a touchpad that acts like another mouse (mouse0).
Started Super Sprint and the touchpad controlled Player1 , Player2 and Player3 at the same time!
With the Retroarch rgui tried to set one different mouse for every player (P1=M1, P2=M2, P3=M3). The touchpad (M0) without action.
But only P2 worked.
I made trial-error proccess and discovered that the mouse indexes that work with retroarch were 0 (the touchpad), 2, 4 and 6 (the three mouses).
Set these last three and it works fine now, although I do not understand very well how :o
I also have the log file, but I do not know how to put it here, if it could be of interest, please tell me how...
Finally thank you all very much for your help and sorry for my bad English... ;)
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.