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 not working in lr-mame2003

    Scheduled Pinned Locked Moved Help and Support
    mousemame2003
    54 Posts 8 Posters 9.4k 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.
    • G
      grant2258 Banned
      last edited by grant2258

      can you the output of

       ls -al /dev/input/by-path/
      

      and

      ls -al /dev/input/by-id/
      
      1 Reply Last reply Reply Quote 0
      • A
        albecacif
        last edited by

        @grant2258 said in Mouse not working in lr-mame2003:

        ls -al /dev/input/by-path/
        pi@retropie:~ $ ls -al /dev/input/by-path/
        total 0
        drwxr-xr-x 2 root root 140 Dec 11 17:54 .
        drwxr-xr-x 4 root root 200 Dec 11 17:54 ..
        lrwxrwxrwx 1 root root 9 Dec 11 17:54 platform-3f980000.usb-usb-0:1.2:1.0-event-kbd -> ../event0
        lrwxrwxrwx 1 root root 9 Dec 11 17:54 platform-3f980000.usb-usb-0:1.2:1.1-event-mouse -> ../event1
        lrwxrwxrwx 1 root root 9 Dec 11 17:54 platform-3f980000.usb-usb-0:1.2:1.1-mouse -> ../mouse0
        lrwxrwxrwx 1 root root 9 Dec 11 17:54 platform-3f980000.usb-usb-0:1.4:1.2-event-mouse -> ../event2
        lrwxrwxrwx 1 root root 9 Dec 11 17:54 platform-3f980000.usb-usb-0:1.4:1.2-mouse -> ../mouse1

        pi@retropie:~ $ ls -al /dev/input/by-id/
        total 0
        drwxr-xr-x 2 root root 140 Dec 11 17:54 .
        drwxr-xr-x 4 root root 200 Dec 11 17:54 ..
        lrwxrwxrwx 1 root root 9 Dec 11 17:54 usb-13ba_Barcode_Reader-event-kbd -> ../event0
        lrwxrwxrwx 1 root root 9 Dec 11 17:54 usb-13ba_Barcode_Reader-if01-event-mouse -> ../event1
        lrwxrwxrwx 1 root root 9 Dec 11 17:54 usb-13ba_Barcode_Reader-if01-mouse -> ../mouse0
        lrwxrwxrwx 1 root root 9 Dec 11 17:54 usb-Logitech_USB_Receiver-if02-event-mouse -> ../event2
        lrwxrwxrwx 1 root root 9 Dec 11 17:54 usb-Logitech_USB_Receiver-if02-mouse -> ../mouse1

        Note that I have a keyboard with an integrated pad (mouse) and the USB trackball connected

        1 Reply Last reply Reply Quote 0
        • G
          grant2258 Banned
          last edited by

          is your Logitech working when you select mouse index 1 in RA?

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

            No, I´ve just set it in RA and is not responding

            1 Reply Last reply Reply Quote 0
            • G
              grant2258 Banned
              last edited by

              i can tell you mouse is working fine in ra in my windows machine will need to plug a mouse and keyboard in my pi and see if it works there

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

                The keyboard is working fine. Only the mouse fails.

                1 Reply Last reply Reply Quote 0
                • G
                  grant2258 Banned
                  last edited by grant2258

                  i was asking because of this in your log

                  [INFO] [udev]: Keyboard #0 (/dev/input/event0).
                  [INFO] [udev]: Keyboard #1 (/dev/input/event2).
                  [INFO] [udev]: Keyboard #2 (/dev/input/mouse1).
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • G
                    grant2258 Banned
                    last edited by

                    test your mouse in mame2003 with outrun believe it or not.

                    left click will accelerate
                    moving the mouse will turn the car

                    1 Reply Last reply Reply Quote 0
                    • G
                      grant2258 Banned
                      last edited by

                      this isnt working on linux either ill try asking the retroarch ladies and gents

                      H 1 Reply Last reply Reply Quote 1
                      • H
                        hhromic @grant2258
                        last edited by

                        @grant2258 after the feedback it looks like indeed it is an RA issue then.

                        Great that you will scalate it to the RA guys. As a hint, my best guess of where the problem might be is in this post: https://retropie.org.uk/forum/topic/20004/mouse-as-a-zapper-lr-fceumm-rpi-3-b/29
                        I don't have time nowadays to debug it myself unfortunately :( Thanks!

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

                          Hi,

                          The outrun version that I have only runs on FBalpha.

                          Thanks a lot for your help :) I think this is a RA issue since it works fine in a 1.6.x version.

                          1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator
                            last edited by

                            Maybe it's this issue in the RetroArch's issue tracker ?

                            1 Reply Last reply Reply Quote 0
                            • G
                              grant2258 Banned
                              last edited by

                              @mitu i have fixed this i have a pull req it
                              https://github.com/libretro/RetroArch/pull/7730

                              H 1 Reply Last reply Reply Quote 1
                              • H
                                hhromic @grant2258
                                last edited by

                                @grant2258 good stuff! hope it gets merged

                                1 Reply Last reply Reply Quote 0
                                • G
                                  grant2258 Banned
                                  last edited by grant2258

                                  well its one line change and is identical to the touchpad condition not sure what the issue is there with merging it i mean.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    grant2258 Banned
                                    last edited by

                                    ok ive tidied the code up ill take a look later where the script is to compile retroarch to see if my mini keyboard is working on retropie now.

                                    1 Reply Last reply Reply Quote 2
                                    • G
                                      grant2258 Banned
                                      last edited by

                                      tested and working on the pie both my rii mini keyboard and Logitech.

                                      H 1 Reply Last reply Reply Quote 1
                                      • H
                                        hhromic @grant2258
                                        last edited by

                                        @grant2258 sounds good! it can be a while before RA releases a new stable version, so when your PR gets approved and merged, maybe we can quickly backport your patch to RetroPie's RA. What do you think @BuZz ?

                                        BuZzB 1 Reply Last reply Reply Quote 0
                                        • BuZzB
                                          BuZz administrators @hhromic
                                          last edited by

                                          @hhromic I'd prefer to wait for now.

                                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                          H 1 Reply Last reply Reply Quote 1
                                          • G
                                            grant2258 Banned
                                            last edited by

                                            ra updates on a daily bases just a matter of when of if they pull the request :). I glad i came across this thread or i would have been oblivious to it not working

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