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 @BGallagherLA
      last edited by

      @bgallagherla What air mouse thing did you buy?

      B 1 Reply Last reply Reply Quote 0
      • B
        BGallagherLA @HurricaneFan
        last edited by

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

        HurricaneFanH hooperreH 2 Replies Last reply Reply Quote 0
        • HurricaneFanH
          HurricaneFan @BGallagherLA
          last edited by

          @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
          • hooperreH
            hooperre @BGallagherLA
            last edited by hooperre

            @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 Reply Quote 0
            • B
              BGallagherLA @hooperre
              last edited by

              @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

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

                mediamogulM 1 Reply Last reply Reply Quote 0
                • mediamogulM
                  mediamogul Global Moderator @BGallagherLA
                  last edited by

                  @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

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

                    @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
                    • markwkiddM
                      markwkidd
                      last edited by

                      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!

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

                        @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

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

                          @hooperre I was playing Area 51 via MAME 2003.

                          hooperreH HurricaneFanH 2 Replies Last reply Reply Quote 0
                          • hooperreH
                            hooperre @markwkidd
                            last edited by

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

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

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

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

                                HurricaneFanH hooperreH 2 Replies Last reply Reply Quote 0
                                • 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
                                            • 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.