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 69.5k 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.
    • HurricaneFanH
      HurricaneFan @markwkidd
      last edited by

      @markwkidd I look forward to when this works out of the box on raspberry pi. :)

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

        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.

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

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

          1 Reply Last reply Reply Quote 0
          • 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
                                            • 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.