• 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.
  • B
    BGallagherLA @HurricaneFan
    last edited by 10 Aug 2017, 22:48

    @hurricanefan I got this one -https://www.amazon.com/gp/product/B01C2N3KOK/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

    Comes with an IR dongle thing.

    H H 2 Replies Last reply 10 Aug 2017, 23:44 Reply Quote 0
    • H
      HurricaneFan @BGallagherLA
      last edited by 10 Aug 2017, 23:44

      @bgallagherla Love the badly photoshopped images of the product in use. One Makes it look like its a foot long.

      1 Reply Last reply Reply Quote 0
      • H
        hooperre @BGallagherLA
        last edited by hooperre 11 Aug 2017, 00:39

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

        @hurricanefan I got this one -https://www.amazon.com/gp/product/B01C2N3KOK/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

        Comes with an IR dongle thing.

        I didn't have luck with this AirMouse and, ultimately, returned it. Again, I didn't change any settings and only used them out of the box. Picodrive doesn't work. Nestopia does and g-p-gx recognizes my trigger inputs but doesn't change coordinates. I'm afraid I wouldn't be of any help. :\

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

        B 1 Reply Last reply 11 Aug 2017, 01:47 Reply Quote 0
        • B
          BGallagherLA @hooperre
          last edited by 11 Aug 2017, 01:47

          @hooperre So I bought the one air mouse that doesn't work... perfect....

          1 Reply Last reply Reply Quote 0
          • B
            BGallagherLA @mediamogul
            last edited by 11 Aug 2017, 01:52

            @mediamogul So @hooperre is saying this air mouse that I just bought doesn't work in PicoDrive or Genesis-Plus-GX. You said you've tested those cores with air mice and they've worked, and I can't imagine that the one I got is drastically different than yours. So, are there certain settings I need to change, and if so, how do I do so? I'm not entirely adept at tweaking certain settings through SSH/Putty, but if you show me where to change these things, I can figure it out. Thanks!

            M 1 Reply Last reply 11 Aug 2017, 02:16 Reply Quote 0
            • M
              mediamogul Global Moderator @BGallagherLA
              last edited by 11 Aug 2017, 02:16

              @bgallagherla

              Mine is an iPazzPort model that doesn't seem to be listed on Amazon anymore. It really doesn't surprise me, as it has a couple of design flaws that I've never been happy with. However, the airmouse functionality worked in all the emulators I tested with without any modifications to the software. The only thing I might suggest is something that I've had to do with xboxdrv in the past for the keyboard that it virtualizes. RetroArch won't recognize it as being valid keyboard input unless you create a udev rule like the following:

              SUBSYSTEM=="input", ATTRS{name}=="Microsoft X-Box 360 pad - Keyboard Emulation", GROUP="users", MODE="0666", ENV{ID_INPUT_KEYBOARD}="1"
              

              It could be that a similar rule could be created to allow RetroArch to recognize the mouse as a valid input device. This would require a certain amount of trial and error, but it may be worth a shot. It could also be that the Genesis/MegaDrive cores are in need of a little love upstream to fix the issue.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              H 1 Reply Last reply 25 Aug 2017, 20:16 Reply Quote 0
              • H
                hooperre @mediamogul
                last edited by 25 Aug 2017, 20:16

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

                Mine is an iPazzPort model that doesn't seem to be listed on Amazon anymore. It really doesn't surprise me, as it has a couple of design flaws that I've never been happy with. However, the airmouse functionality worked in all the emulators I tested with without any modifications to the software. The only thing I might suggest is something that I've had to do with xboxdrv in the past for the keyboard that it virtualizes. RetroArch won't recognize it as being valid keyboard input unless you create a udev rule like the following:

                SUBSYSTEM=="input", ATTRS{name}=="Microsoft X-Box 360 pad - Keyboard Emulation", GROUP="users", MODE="0666", ENV{ID_INPUT_KEYBOARD}="1"
                

                It could be that a similar rule could be created to allow RetroArch to recognize the mouse as a valid input device. This would require a certain amount of trial and error, but it may be worth a shot. It could also be that the Genesis/MegaDrive cores are in need of a little love upstream to fix the issue.

                Thanks for posting this, but a lot of it is going over my head as a Linux noob. Any references I can look at to get more comfortable with udev? Again, apologies, but my brain is failing to put together the xboxdrv reference you made. If you're virtualizing a keyboard with an X-Box Controller using xboxdrv, what would the equivalent utility be for a random air mouse. I'm probably in too far over my head here, but I wish I could learn. At the same time, I understand explaining it to me would be a big ask.

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

                1 Reply Last reply Reply Quote 0
                • M
                  markwkidd
                  last edited by 13 Sept 2017, 13:42

                  One update: casdevel has just added Wiimote/Dolphinbar support to RetroArch's Windows raw input driver. I just had a fun session with Area 51, using the Wiimote as a lightgun.

                  casdevel seems to be ready to move onto adding this absolute coordinates support to the Linux udev input driver, so I'm trying to set up a Linux environment that will be appropriate for that testing process. Things are gradually improving!

                  H 1 Reply Last reply 13 Sept 2017, 14:11 Reply Quote 1
                  • H
                    hooperre @markwkidd
                    last edited by 13 Sept 2017, 14:11

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

                    One update: casdevel has just added Wiimote/Dolphinbar support to RetroArch's Windows raw input driver. I just had a fun session with Area 51, using the Wiimote as a lightgun.

                    casdevel seems to be ready to move onto adding this absolute coordinates support to the Linux udev input driver, so I'm trying to set up a Linux environment that will be appropriate for that testing process. Things are gradually improving!

                    Area 51 with which emulator? PS?

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

                    M 1 Reply Last reply 13 Sept 2017, 15:03 Reply Quote 0
                    • M
                      markwkidd @hooperre
                      last edited by 13 Sept 2017, 15:03

                      @hooperre I was playing Area 51 via MAME 2003.

                      H H 2 Replies Last reply 13 Sept 2017, 15:40 Reply Quote 0
                      • H
                        hooperre @markwkidd
                        last edited by 13 Sept 2017, 15:40

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

                        @hooperre I was playing Area 51 via MAME 2003.

                        Noooooooo kidding. Thanks.

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

                        1 Reply Last reply Reply Quote 0
                        • H
                          HurricaneFan @markwkidd
                          last edited by 13 Sept 2017, 18:42

                          @markwkidd I always thought the light gun games only worked in advanced mame. What other light gun games do you have working in Mame 2003?

                          M 1 Reply Last reply 14 Sept 2017, 03:46 Reply Quote 0
                          • M
                            markwkidd @HurricaneFan
                            last edited by markwkidd 14 Sept 2017, 03:46

                            @hurricanefan You're right that until now only AdvanceMAME has had this support but times are changing. This is new RetroArch functionality that, for at least a little while, is Windows-MAME 2003 only (so no RetroPie until casdevel gets time to add that support).

                            I have only been using Area 51 and Terminator 2 but this should work for all lightgun games in MAME 2003 --- if not, it would be appropriate to report as a bug. Theoretically 'absolute coordinate' support for lightgun emulation will not just for RetroArch's MAME emulator cores either.

                            H H 2 Replies Last reply 14 Sept 2017, 12:57 Reply Quote 0
                            • H
                              HurricaneFan @markwkidd
                              last edited by 14 Sept 2017, 12:57

                              @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 14 Sept 2017, 16:57

                                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.

                                M 1 Reply Last reply 14 Sept 2017, 20:17 Reply Quote 0
                                • M
                                  markwkidd @dankcushions
                                  last edited by markwkidd 14 Sept 2017, 20:17

                                  @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
                                  • H
                                    hooperre @markwkidd
                                    last edited by 17 Sept 2017, 21:45

                                    @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

                                    M 1 Reply Last reply 17 Sept 2017, 21:55 Reply Quote 0
                                    • M
                                      markwkidd @hooperre
                                      last edited by 17 Sept 2017, 21:55

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

                                      H 1 Reply Last reply 18 Sept 2017, 00:03 Reply Quote 0
                                      • 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
                                          • 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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]