RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    mouse as a Zapper lr-fceumm RPi 3 b+

    Scheduled Pinned Locked Moved Help and Support
    zapperlr-fceummmouseraspberrypi 3b+
    52 Posts 9 Posters 10.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.
    • sexbeerS
      sexbeer
      last edited by sexbeer

      I have RPi3b+ with retropie 4.4.3 on board and I can't get the mouse (tried wireless and wired) to work as a zapper in Duck Hunt and others nes games with light gun support. it works perfect out of box on PC with debian linux x86, but not RPi3b+. I set fceumm_zapper_mode = "mouse", fceumm_show_crosshair = "enabled". And i tried to change user 1, 2 device type to auto, zapper and gamepad in different combinations, but still not working. Please help

      edmaul69E 1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @sexbeer
        last edited by

        @sexbeer there are 2 controller configuration sections in the retroarch gui. On of them has an option for player 1 mouse device. Make sure it is enabled if giving an option. Change from mouse 0 to mouse 1 then 2.... one of them should work. Problem is that keyboard and controllers can be seen as mice on top of what they really are and work as. Putting your mouse in usb0 (top-left) on the pi would help make it possibly seen as mouse0.

        sexbeerS 1 Reply Last reply Reply Quote 0
        • sexbeerS
          sexbeer @edmaul69
          last edited by

          @edmaul69 did you try to connect the mouse as a lightgun on RPi3B+ ? or are you suggesting theoretically? Can you explain in more detail what settings I should make? thanks

          edmaul69E 1 Reply Last reply Reply Quote 0
          • edmaul69E
            edmaul69 @sexbeer
            last edited by

            @sexbeer now that i think about it it might be player 2 as mouse 0. And set player 2 as lightgun. The lightgun was on player 2 on a real nes

            sexbeerS 1 Reply Last reply Reply Quote 0
            • sexbeerS
              sexbeer @edmaul69
              last edited by

              @edmaul69 i have one gamepad connected as player 1, it set "auto" or "gamepad" in settings, and the mouse which is defined as mouse0, and connect as player 2, it set "zapper" in settings. But it still don't want work

              edmaul69E 1 Reply Last reply Reply Quote 0
              • edmaul69E
                edmaul69 @sexbeer
                last edited by

                @sexbeer remember to reset the game after changing settings. Try changing to mouse1,2,3... for me it is mouse6 because of all the other items that detect as a mouse.

                sexbeerS 1 Reply Last reply Reply Quote 0
                • sexbeerS
                  sexbeer @edmaul69
                  last edited by

                  @edmaul69 I tried to change "User 2 Mouse Index" from 0 to 22 and reset the game after each changing, but it did not help. could you please run this game, go to retroarch->main menu->configurations->save new configurations. and attach it here from /opt/retropie/configs/all/retroarch/config/fceumm_libretro.cfg. i just can't understand, what settings should i change.
                  2_1542455633856_3.jpg

                  1_1542455633856_2.jpg

                  0_1542455633855_1.jpg

                  I repeat, with these settings everything works fine on PC with debian linux x86

                  D edmaul69E 2 Replies Last reply Reply Quote 0
                  • D
                    dudleydes @sexbeer
                    last edited by

                    @sexbeer Have you tried lr-nestopia? It automatically makes use of a mouse. I didn't need any further configuration.

                    sexbeerS 1 Reply Last reply Reply Quote 0
                    • sexbeerS
                      sexbeer @dudleydes
                      last edited by

                      @dudleydes yes i did, but it did not help. have you tried it RPI3B+ ? also the problem is that I cannot control the menu with the mouse, although menu_mouse_enable = "true". I tried several mouse, wired and wireless.

                      1 Reply Last reply Reply Quote 0
                      • edmaul69E
                        edmaul69 @sexbeer
                        last edited by

                        @sexbeer in quick menu, options, there is zapper type. Mine is set to pointer. Try both pointer and mouse.

                        In input, user 2 binds, player 2 device type is set to auto. Mouse index is 0. So is player 1.

                        In controls player 2 user device type is set to auto. So is player 1.

                        And i did verify player 2 does control the lightgun.

                        sexbeerS 1 Reply Last reply Reply Quote 0
                        • sexbeerS
                          sexbeer @edmaul69
                          last edited by sexbeer

                          @edmaul69 you will not believe, but... it does not help:) I tried everything. can you control retroarch's menu with mouse? what is yours version RPi? by the way, in the latest version lr-fceumm 'pointer' is 'lightgun'

                          edmaul69E 3 Replies Last reply Reply Quote 0
                          • edmaul69E
                            edmaul69 @sexbeer
                            last edited by

                            @sexbeer you cannot control the menu with a mouse as far as i can tell. Even though retroarch has options for it.

                            I am going to update lr-fceumm and see if it has any issues. I will get back to you in a minute.

                            1 Reply Last reply Reply Quote 0
                            • edmaul69E
                              edmaul69 @sexbeer
                              last edited by

                              @sexbeer bad news. It is the new lr-fceumm that is the problem. @buzz might have some insight into why it doesnt work on the latest version

                              1 Reply Last reply Reply Quote 0
                              • edmaul69E
                                edmaul69 @sexbeer
                                last edited by

                                @sexbeer here is the working one if you would like to use it instead.

                                https://drive.google.com/open?id=14LmBy3NII6L8v1162SYaSegWPgPm63Z0

                                sexbeerS 1 Reply Last reply Reply Quote 0
                                • sexbeerS
                                  sexbeer @edmaul69
                                  last edited by

                                  @edmaul69 nope... it also not working for me. I ran the game with the verbose logging on. and that's what I got from /dev/shm/runcommand.log:
                                  ...
                                  [ERROR] [udev] Failed to open device: /dev/input/event0 (Success).
                                  [INFO] [udev]: Mouse #0 (/dev/input/mouse0).
                                  [INFO] [udev]: Plugged pad: Microsoft X-Box 360 pad (1118:654) on port #0.
                                  [INFO] [udev]: Pad #0 (/dev/input/event1) supports force feedback.
                                  [INFO] [udev]: Pad #0 (/dev/input/event1) supports 16 force feedback effects.
                                  [INFO] [Autoconf]: 1 profiles found.
                                  [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/Microsoft X-Box 360 pad.cfg
                                  [INFO] [Joypad]: Found joypad driver: "udev".
                                  [WARN] [udev]: Full-screen pointer won't be available.
                                  ...

                                  is that normal? could you do it on your system to compare?

                                  edmaul69E 3 Replies Last reply Reply Quote 0
                                  • edmaul69E
                                    edmaul69 @sexbeer
                                    last edited by

                                    @sexbeer have you tried using nestopia instead? I will post my log in a minute

                                    1 Reply Last reply Reply Quote 0
                                    • edmaul69E
                                      edmaul69 @sexbeer
                                      last edited by

                                      @sexbeer here is my log from the working version i posted here

                                      https://pastebin.com/ESXhCxrF

                                      1 Reply Last reply Reply Quote 0
                                      • edmaul69E
                                        edmaul69 @sexbeer
                                        last edited by

                                        @sexbeer here is the log from the newer non working one

                                        https://pastebin.com/gJk8bjyW

                                        sexbeerS 1 Reply Last reply Reply Quote 0
                                        • sexbeerS
                                          sexbeer @edmaul69
                                          last edited by sexbeer

                                          @edmaul69 I think the problem is somewhere nearby this:

                                          [ERROR] [udev] Failed to open device: /dev/input/event0 (Success).
                                          [INFO] [udev]: Mouse #0 (/dev/input/mouse0).

                                          I compared your file with my file in TC

                                          0_1542495667085_1.jpg
                                          fff... i have some ERROR don't know how to fix it! :)

                                          but mouse is available in system:

                                          pi@retropie:~ $ lsusb
                                          Bus 001 Device 004: ID 045e:028e Microsoft Corp. Xbox360 Controller
                                          Bus 001 Device 005: ID 1bcf:0007 Sunplus Innovation Technology Inc. Optical Mouse
                                          Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
                                          Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
                                          Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
                                          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

                                          and that's what i have here
                                          0_1542496847356_2.jpg

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            albecacif
                                            last edited by

                                            Hi,

                                            I have the same error with my trackball. Is there any incompatibility with Retropie 4.4 and Retroarch 1.7.X?

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