RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Multiple mice support in RetroArch cores (lightguns, spinners, trackballs)

    Scheduled Pinned Locked Moved Ideas and Development
    micelightgunspinnersteering wheelmame
    179 Posts 14 Posters 71.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hooperreH
      hooperre @markwkidd
      last edited by

      @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.

      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

      markwkiddM 1 Reply Last reply Reply Quote 0
      • markwkiddM
        markwkidd @hooperre
        last edited by

        @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 named area51. If you're on rPi hardware it should at least run, even if very slowly.

        hooperreH 1 Reply Last reply Reply Quote 0
        • hooperreH
          hooperre @markwkidd
          last edited by hooperre

          @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 named area51. If you're on rPi hardware it should at least run, even if very slowly.

          Thank you!

          4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

          1 Reply Last reply Reply Quote 0
          • markwkiddM
            markwkidd
            last edited by markwkidd

            @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.

            1 Reply Last reply Reply Quote 0
            • markwkiddM
              markwkidd
              last edited by markwkidd

              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

              1 Reply Last reply Reply Quote 2
              • S
                space invader
                last edited by

                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.

                markwkiddM 1 Reply Last reply Reply Quote 0
                • markwkiddM
                  markwkidd @space invader
                  last edited by

                  @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?

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    space invader @markwkidd
                    last edited by

                    @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?

                    markwkiddM 1 Reply Last reply Reply Quote 0
                    • markwkiddM
                      markwkidd @space invader
                      last edited by

                      @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?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        space invader @markwkidd
                        last edited by

                        @markwkidd
                        lr-mame2003

                        markwkiddM 1 Reply Last reply Reply Quote 0
                        • markwkiddM
                          markwkidd @space invader
                          last edited by markwkidd

                          @space-invader said in Multiple mice support in RetroArch cores (lightguns, spinners, steering wheels):

                          @markwkidd
                          lr-mame2003

                          I 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.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            space invader @markwkidd
                            last edited by space invader

                            @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.

                            dankcushionsD 1 Reply Last reply Reply Quote 0
                            • dankcushionsD
                              dankcushions Global Moderator @space invader
                              last edited by

                              @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

                              S markwkiddM 2 Replies Last reply Reply Quote 0
                              • S
                                space invader @dankcushions
                                last edited by

                                @dankcushions
                                Ok, I will try it too. Thanks!

                                1 Reply Last reply Reply Quote 0
                                • markwkiddM
                                  markwkidd @dankcushions
                                  last edited by

                                  @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!

                                  1 Reply Last reply Reply Quote 0
                                  • AnalogHeroA
                                    AnalogHero
                                    last edited by AnalogHero

                                    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.

                                    markwkiddM 1 Reply Last reply Reply Quote 0
                                    • markwkiddM
                                      markwkidd @AnalogHero
                                      last edited by markwkidd

                                      @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?

                                      1 Reply Last reply Reply Quote 0
                                      • AnalogHeroA
                                        AnalogHero
                                        last edited by

                                        @markwkidd TBH no. Updating from source now. Thought it was fixed.

                                        markwkiddM 1 Reply Last reply Reply Quote 0
                                        • markwkiddM
                                          markwkidd @AnalogHero
                                          last edited by

                                          @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.

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            space invader
                                            last edited by

                                            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... ;)

                                            HurricaneFanH 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            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.