@fmo said in 2 MICE TO USE WITH ARKANOID (MAME):

Hello,

How to map 2 mice on Recalbox (Player1=Mouse0, Player2=Mouse1). I built arcade c**ktail table so players can not share same mouse . I've looked previous post about update retroarch.cfg file without sucess.

Thanks,

FM

I add few logs/parameters files about my settings. To get MOUSE_IDX , i looked to /dev/input/by-path folder.
So I guess IDX for mice are 2 and 5.

ls -ltr

total 0
lrwxrwxrwx 1 root root 9 Jan 1 1980 usb-_USB_Keyboard-event-kbd -> ../event1
lrwxrwxrwx 1 root root 9 Jan 1 1980 usb-_USB_Keyboard-event-if01 -> ../event3
lrwxrwxrwx 1 root root 9 Jan 1 1980 usb-PixArt_USB_Optical_Mouse-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 Jan 1 1980 usb-PixArt_USB_Optical_Mouse-event-mouse -> ../event5
lrwxrwxrwx 1 root root 6 Jan 1 1980 usb-Microntek_USB_Joystick-joystick -> ../js1
lrwxrwxrwx 1 root root 9 Jan 1 1980 usb-Microntek_USB_Joystick-event-joystick -> ../event4

pwd

/dev/input/by-id

cd .. cd by-path ls -ltr

total 0
lrwxrwxrwx 1 root root 6 Jan 1 1980 platform-3f980000.usb-usb-0:1.1.2:1.0-joystick -> ../js0
lrwxrwxrwx 1 root root 9 Jan 1 1980 platform-3f980000.usb-usb-0:1.3:1.1-event -> ../event3
lrwxrwxrwx 1 root root 9 Jan 1 1980 platform-3f980000.usb-usb-0:1.3:1.0-event-kbd -> ../event1
lrwxrwxrwx 1 root root 9 Jan 1 1980 platform-3f980000.usb-usb-0:1.2.3:1.0-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 Jan 1 1980 platform-3f980000.usb-usb-0:1.2.3:1.0-event-mouse -> ../event5
lrwxrwxrwx 1 root root 9 Jan 1 1980 platform-3f980000.usb-usb-0:1.2.1:1.0-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 Jan 1 1980 platform-3f980000.usb-usb-0:1.2.1:1.0-event-mouse -> ../event2
lrwxrwxrwx 1 root root 6 Jan 1 1980 platform-3f980000.usb-usb-0:1.1.3:1.0-joystick -> ../js1
lrwxrwxrwx 1 root root 9 Jan 1 1980 platform-3f980000.usb-usb-0:1.1.3:1.0-event-joystick -> ../event4
lrwxrwxrwx 1 root root 9 Jan 1 1980 platform-3f980000.usb-usb-0:1.1.2:1.0-event-joystick -> ../event0

Parameters about mouse in retroarch-core-options.cfg :

/recalbox/share/system/configs/retroarch/cores# grep mouse retroarch-core-options.cfg

input_grab_mouse_toggle = "f11"
input_grab_mouse_toggle_axis = "nul"
input_grab_mouse_toggle_btn = "nul"
input_grab_mouse_toggle_mbtn = "nul"
input_player10_mouse_index = "0"
input_player11_mouse_index = "0"
input_player12_mouse_index = "0"
input_player13_mouse_index = "0"
input_player14_mouse_index = "0"
input_player15_mouse_index = "0"
input_player16_mouse_index = "0"
input_player1_mouse_index = "2"
input_player2_mouse_index = "5"
input_player3_mouse_index = "0"
input_player4_mouse_index = "0"
input_player5_mouse_index = "0"
input_player6_mouse_index = "0"
input_player7_mouse_index = "0"
input_player8_mouse_index = "0"
input_player9_mouse_index = "0"
mame2003_mouse_device = "mouse"
menu_mouse_enable = "true"
prboom-mouse_on = "disabled"
sgx_mouse_sensitivity = "1.25"

Do you see any mistake ?

Thanks.