Mouse not working in lr-mame2003
-
@grant2258 yes agreed, a reboot would be a definitive approach
-
@grant2258 said in Mouse not working in lr-mame2003:
ls -al /dev/input/
Hi,
I changed the user´s persmissions:
pi@retropie:~ $ ls -al /dev/input/
total 0
drwxr-xr-x 4 root root 240 Dec 11 17:24 .
drwxr-xr-x 15 root root 3420 Dec 11 17:24 ..
drwxr-xr-x 2 root root 140 Dec 11 17:24 by-id
drwxr-xr-x 2 root root 140 Dec 11 17:24 by-path
crw-rw---- 1 root input 13, 64 Dec 11 17:24 event0
crw-rw---- 1 root input 13, 65 Dec 11 17:24 event1
crw-rw---- 1 root input 13, 66 Dec 11 17:24 event2
crw-rw----+ 1 root input 13, 67 Dec 11 17:24 event3
crw-rw----+ 1 root input 13, 0 Dec 11 17:24 js0
crw-rw---- 1 root input 13, 63 Dec 11 17:24 mice
crw-rw---- 1 root input 13, 32 Dec 11 17:24 mouse0
crw-rw---- 1 root input 13, 33 Dec 11 17:24 mouse1But still the same failure :(
INFO] [udev]: Keyboard #0 (/dev/input/event0).
[INFO] [udev]: Keyboard #1 (/dev/input/event2).
[INFO] [udev]: Keyboard #2 (/dev/input/mouse1).
[ERROR] [udev] Failed to open device: /dev/input/event1 (Success).
[INFO] [udev]: Mouse #0 (/dev/input/mouse0).
[ERROR] [udev] Failed to open device: /dev/input/event2 (Success).
[INFO] [udev]: Mouse #1 (/dev/input/mouse1).
[INFO] [udev]: Plugged pad: 8Bitdo NES30 Arcade (0:0) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event3) supports 0 force feedback effects. -
@albecacif just to confirm, can you execute
groups
? this should show you all the groups the user belongs to. Did you reboot right? -
pi@retropie:~ $ groups
pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spiYes, I rebooted the system
-
can you the output of
ls -al /dev/input/by-path/
and
ls -al /dev/input/by-id/
-
@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 -> ../mouse1pi@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 -> ../mouse1Note that I have a keyboard with an integrated pad (mouse) and the USB trackball connected
-
is your Logitech working when you select mouse index 1 in RA?
-
No, I´ve just set it in RA and is not responding
-
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
-
The keyboard is working fine. Only the mouse fails.
-
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).
-
test your mouse in mame2003 with outrun believe it or not.
left click will accelerate
moving the mouse will turn the car -
this isnt working on linux either ill try asking the retroarch ladies and gents
-
@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! -
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.
-
Maybe it's this issue in the RetroArch's issue tracker ?
-
@mitu i have fixed this i have a pull req it
https://github.com/libretro/RetroArch/pull/7730 -
@grant2258 good stuff! hope it gets merged
-
well its one line change and is identical to the touchpad condition not sure what the issue is there with merging it i mean.
-
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.
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.