• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • H
    hooperre @markwkidd
    last edited by hooperre 18 Sept 2017, 00:03

    @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
    • M
      markwkidd
      last edited by markwkidd 18 Sept 2017, 02:11

      @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
      • M
        markwkidd
        last edited by markwkidd 10 Jun 2017, 18:03 6 Oct 2017, 14:38

        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 8 Oct 2017, 10:42

          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.

          M 1 Reply Last reply 9 Oct 2017, 15:37 Reply Quote 0
          • M
            markwkidd @space invader
            last edited by 9 Oct 2017, 15:37

            @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 9 Oct 2017, 19:59 Reply Quote 0
            • S
              space invader @markwkidd
              last edited by 9 Oct 2017, 19:59

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

              M 1 Reply Last reply 9 Oct 2017, 23:03 Reply Quote 0
              • M
                markwkidd @space invader
                last edited by 9 Oct 2017, 23:03

                @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 9 Oct 2017, 23:35 Reply Quote 0
                • S
                  space invader @markwkidd
                  last edited by 9 Oct 2017, 23:35

                  @markwkidd
                  lr-mame2003

                  M 1 Reply Last reply 10 Oct 2017, 00:30 Reply Quote 0
                  • M
                    markwkidd @space invader
                    last edited by markwkidd 10 Oct 2017, 02:23 10 Oct 2017, 00:30

                    @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 10 Oct 2017, 05:27 Reply Quote 0
                    • S
                      space invader @markwkidd
                      last edited by space invader 10 Oct 2017, 06:28 10 Oct 2017, 05:27

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

                      D 1 Reply Last reply 10 Oct 2017, 10:18 Reply Quote 0
                      • D
                        dankcushions Global Moderator @space invader
                        last edited by 10 Oct 2017, 10:18

                        @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 M 2 Replies Last reply 10 Oct 2017, 12:04 Reply Quote 0
                        • S
                          space invader @dankcushions
                          last edited by 10 Oct 2017, 12:04

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

                          1 Reply Last reply Reply Quote 0
                          • M
                            markwkidd @dankcushions
                            last edited by 10 Oct 2017, 13:33

                            @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 10 Oct 2017, 18:19 10 Oct 2017, 17:18

                              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.

                              M 1 Reply Last reply 10 Oct 2017, 18:35 Reply Quote 0
                              • M
                                markwkidd @AnalogHero
                                last edited by markwkidd 10 Oct 2017, 19:40 10 Oct 2017, 18:35

                                @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 10 Oct 2017, 18:40

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

                                  M 1 Reply Last reply 10 Oct 2017, 18:44 Reply Quote 0
                                  • M
                                    markwkidd @AnalogHero
                                    last edited by 10 Oct 2017, 18:44

                                    @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 10 Oct 2017, 23:54

                                      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 11 Oct 2017, 02:25 Reply Quote 1
                                      • HurricaneFanH
                                        HurricaneFan @space invader
                                        last edited by 11 Oct 2017, 02:25

                                        @space-invader You could try pastbin to display your log file to those interested here.

                                        https://pastebin.com

                                        1 Reply Last reply Reply Quote 0
                                        • AnalogHeroA
                                          AnalogHero
                                          last edited by AnalogHero 10 Nov 2017, 14:20 11 Oct 2017, 05:23

                                          @markwkidd It kinda works now. But only one axis is recognised by the game.

                                          Edit: Same in other games. Only horizontal movement of the crosshair. Why is that?

                                          M 1 Reply Last reply 11 Oct 2017, 14:46 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received