[Solved] Trackball not working after 4.3 update
-
@dankcushions Alright, sorry I took a long time, here is the log file (and it is a long one):
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/mame-libretro/retroarch.cfg "/home/pi/RetroPie/roms/mame-libretro/centiped.zip" --verbose --appendconfig /dev/shm/retroarch.cfg'|'"/home/pi/RetroPie/roms/mame-libretro/centiped.zip.cfg" [INFO] RetroArch 1.6.7 (Git 8e8bdaa) [INFO] Redirecting save file to "/home/pi/RetroPie/roms/mame-libretro/centiped.srm". [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/mame-libretro/centiped.state". [INFO] === Build ======================================= Capabilities: NEON VFPv3 VFPv4 Built: Sep 10 2017 [INFO] Version: 1.6.7 [INFO] Git: 8e8bdaa [INFO] ================================================= [INFO] [Config]: loading config from: /opt/retropie/configs/mame-libretro/retroarch.cfg. [INFO] Config: appending config "/dev/shm/retroarch.cfg" [INFO] Config: appending config "/home/pi/RetroPie/roms/mame-libretro/centiped.zip.cfg" [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so" [INFO] [overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/MAME 2003/MAME 2003.cfg. [INFO] [overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/MAME 2003/centiped.cfg. [INFO] Shaders: preset directory: /opt/retropie/emulators/retroarch/shader/presets [INFO] Shaders: no game-specific preset found at /opt/retropie/emulators/retroarch/shader/presets/MAME 2003/centiped.cgp. [INFO] Shaders: no game-specific preset found at /opt/retropie/emulators/retroarch/shader/presets/MAME 2003/centiped.glslp. [INFO] Shaders: no core-specific preset found at /opt/retropie/emulators/retroarch/shader/presets/MAME 2003/MAME 2003.cgp. [INFO] Shaders: no core-specific preset found at /opt/retropie/emulators/retroarch/shader/presets/MAME 2003/MAME 2003.glslp. [INFO] Environ SET_VARIABLES. [INFO] Remaps: remap directory: /home/pi/.config/retroarch/config/remaps [INFO] Remaps: no game-specific remap found at /home/pi/.config/retroarch/config/remaps/MAME 2003/centiped.rmp. [INFO] Remaps: no core-specific remap found at /home/pi/.config/retroarch/config/remaps/MAME 2003/MAME 2003.rmp. [INFO] Redirecting save file to "/home/pi/RetroPie/roms/mame-libretro/centiped.srm". [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/mame-libretro/centiped.state". [INFO] Environ GET_LOG_INTERFACE. [INFO] Environ GET_VARIABLE mame2003-frameskip: [INFO] 0 [INFO] Environ GET_VARIABLE mame2003-dcs-speedhack: [INFO] enabled [INFO] Environ GET_VARIABLE mame2003-skip_disclaimer: [INFO] enabled [INFO] Environ GET_VARIABLE mame2003-skip_warnings: [INFO] enabled [INFO] Environ GET_VARIABLE mame2003-samples: [INFO] enabled [INFO] Environ GET_VARIABLE mame2003-sample_rate: [INFO] 48000 [INFO] Environ GET_VARIABLE mame2003-cheats: [INFO] enabled [INFO] Environ GET_VARIABLE mame2003-dialsharexy: [INFO] disabled [INFO] Environ GET_VARIABLE mame2003-mouse_device: [INFO] mouse [INFO] Environ GET_VARIABLE mame2003-rstick_to_btns: [INFO] enabled [INFO] Environ GET_VARIABLE mame2003-tate_mode: [INFO] enabled [INFO] Environ PERFORMANCE_LEVEL: 10. [INFO] Content loading skipped. Implementation will load it on its own. [libretro INFO] Found game: centiped [centiped]. [INFO] Environ SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS". [INFO] Environ SET_ROTATION: 1 [INFO] Environ SET_INPUT_DESCRIPTORS: [INFO] RetroPad, User 1, Button "B (bottom)" => "Button 1" [INFO] RetroPad, User 1, Button "Y (left)" => "Button 2" [INFO] RetroPad, User 1, Button "Select" => "Insert Coin" [INFO] RetroPad, User 1, Button "Start" => "Start" [INFO] RetroPad, User 1, Button "D-Pad Up" => "Joystick Up" [INFO] RetroPad, User 1, Button "D-Pad Down" => "Joystick Down" [INFO] RetroPad, User 1, Button "D-Pad Left" => "Joystick Left" [INFO] RetroPad, User 1, Button "D-Pad Right" => "Joystick Right" [INFO] RetroPad, User 1, Button "A (right)" => "Button 4" [INFO] RetroPad, User 1, Button "X (up)" => "Button 3" [INFO] RetroPad, User 1, Button "L" => "Button 5" [INFO] RetroPad, User 1, Button "R" => "Button 6" [INFO] RetroPad, User 1, Button "L2" => "Button 7" [INFO] RetroPad, User 1, Button "R2" => "Button 8" [INFO] RetroPad, User 1, Button "L3" => "Button 9" [INFO] RetroPad, User 1, Button "R3" => "Button 10" [INFO] RetroPad, User 2, Button "B (bottom)" => "Button 1" [INFO] RetroPad, User 2, Button "Y (left)" => "Button 2" [INFO] RetroPad, User 2, Button "Select" => "Insert Coin" [INFO] RetroPad, User 2, Button "Start" => "Start" [INFO] RetroPad, User 2, Button "D-Pad Up" => "Joystick Up" [INFO] RetroPad, User 2, Button "D-Pad Down" => "Joystick Down" [INFO] RetroPad, User 2, Button "D-Pad Left" => "Joystick Left" [INFO] RetroPad, User 2, Button "D-Pad Right" => "Joystick Right" [INFO] RetroPad, User 2, Button "A (right)" => "Button 4" [INFO] RetroPad, User 2, Button "X (up)" => "Button 3" [INFO] RetroPad, User 2, Button "L" => "Button 5" [INFO] RetroPad, User 2, Button "R" => "Button 6" [INFO] RetroPad, User 2, Button "L2" => "Button 7" [INFO] RetroPad, User 2, Button "R2" => "Button 8" [INFO] RetroPad, User 2, Button "L3" => "Button 9" [INFO] RetroPad, User 2, Button "R3" => "Button 10" [INFO] RetroPad, User 3, Button "B (bottom)" => "Button 1" [INFO] RetroPad, User 3, Button "Y (left)" => "Button 2" [INFO] RetroPad, User 3, Button "Select" => "Insert Coin" [INFO] RetroPad, User 3, Button "Start" => "Start" [INFO] RetroPad, User 3, Button "D-Pad Up" => "Joystick Up" [INFO] RetroPad, User 3, Button "D-Pad Down" => "Joystick Down" [INFO] RetroPad, User 3, Button "D-Pad Left" => "Joystick Left" [INFO] RetroPad, User 3, Button "D-Pad Right" => "Joystick Right" [INFO] RetroPad, User 3, Button "A (right)" => "Button 4" [INFO] RetroPad, User 3, Button "X (up)" => "Button 3" [INFO] RetroPad, User 3, Button "L" => "Button 5" [INFO] RetroPad, User 3, Button "R" => "Button 6" [INFO] RetroPad, User 3, Button "L2" => "Button 7" [INFO] RetroPad, User 3, Button "R2" => "Button 8" [INFO] RetroPad, User 3, Button "L3" => "Button 9" [INFO] RetroPad, User 3, Button "R3" => "Button 10" [INFO] RetroPad, User 4, Button "B (bottom)" => "Button 1" [INFO] RetroPad, User 4, Button "Y (left)" => "Button 2" [INFO] RetroPad, User 4, Button "Select" => "Insert Coin" [INFO] RetroPad, User 4, Button "Start" => "Start" [INFO] RetroPad, User 4, Button "D-Pad Up" => "Joystick Up" [INFO] RetroPad, User 4, Button "D-Pad Down" => "Joystick Down" [INFO] RetroPad, User 4, Button "D-Pad Left" => "Joystick Left" [INFO] RetroPad, User 4, Button "D-Pad Right" => "Joystick Right" [INFO] RetroPad, User 4, Button "A (right)" => "Button 4" [INFO] RetroPad, User 4, Button "X (up)" => "Button 3" [INFO] RetroPad, User 4, Button "L" => "Button 5" [INFO] RetroPad, User 4, Button "R" => "Button 6" [INFO] RetroPad, User 4, Button "L2" => "Button 7" [INFO] RetroPad, User 4, Button "R2" => "Button 8" [INFO] RetroPad, User 4, Button "L3" => "Button 9" [INFO] RetroPad, User 4, Button "R3" => "Button 10" [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro/centiped.zip]), (directory: [/home/pi/RetroPie/roms/mame-libretro]), (path type dir: [rom]), (path type: [1]), (filename: [centiped.zip]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro/centiped.zip]), (directory: [/home/pi/RetroPie/roms/mame-libretro]), (path type dir: [rom]), (path type: [1]), (filename: [centiped.zip]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro/centiped.zip]), (directory: [/home/pi/RetroPie/roms/mame-libretro]), (path type dir: [rom]), (path type: [1]), (filename: [centiped.zip]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro/centiped.zip]), (directory: [/home/pi/RetroPie/roms/mame-libretro]), (path type dir: [rom]), (path type: [1]), (filename: [centiped.zip]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro/centiped.zip]), (directory: [/home/pi/RetroPie/roms/mame-libretro]), (path type dir: [rom]), (path type: [1]), (filename: [centiped.zip]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro/centiped.zip]), (directory: [/home/pi/RetroPie/roms/mame-libretro]), (path type dir: [rom]), (path type: [1]), (filename: [centiped.zip]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro/centiped.zip]), (directory: [/home/pi/RetroPie/roms/mame-libretro]), (path type dir: [rom]), (path type: [1]), (filename: [centiped.zip]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro//mame2003/cfg/default.cfg]), (directory: [/home/pi/RetroPie/roms/mame-libretro//mame2003/cfg]), (path type dir: [cfg]), (path type: [9]), (filename: [default.cfg]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro//mame2003/cfg/centiped.cfg]), (directory: [/home/pi/RetroPie/roms/mame-libretro//mame2003/cfg]), (path type dir: [cfg]), (path type: [9]), (filename: [centiped.cfg]) [INFO] Environ SET_PIXEL_FORMAT: RGB565. [libretro INFO] game bpp: [16], system bpp: [16], color format [RGB565] : SUPPORTED, enabling it. [INFO] Skipping SRAM load.. [INFO] CHEEVOS system RAM: (nil) 0 [INFO] CHEEVOS save RAM: (nil) 0 [INFO] CHEEVOS video RAM: (nil) 0 [INFO] CHEEVOS RTC: (nil) 0 [INFO] CHEEVOS testing NES (discards VROM). [INFO] CHEEVOS testing Generic (plain content). [INFO] CHEEVOS getting game id for hash ef9f7e0020c2b12a8e4a8e372bbd101b [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/2xsal-level2-crt.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/2xsal.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/2xScaleHQ.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion_lanczos4.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion_phosphor.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/barrel-distortion_snes.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/Brighter-with_Contrast.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/bsnes_gamma_ramp.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi-curvature-vertical.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi-curvature.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi-vertical.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/crt-pi.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/gameboy-screen-grid.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/gameboy.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/gameboy2.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/gba-color.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2x&lcd3x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2x2.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2x_lcd3x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2x_phosphor.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2xwaterpaint.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq2xwaterpaintscanline.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq4x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/hq4x_lcd3x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/nds-color.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/nds.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/nedi.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/palm-color.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/phosphor.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/psp-color.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/retroarch.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/sharp-bilinear-2x-prescale.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/sharp-bilinear-scanlines.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/sharp-bilinear-simple.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes2.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpaint.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpainthicontrast.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpaintscanline.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_lcd3x.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_phosphor.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_scanline.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/snes_waterpaint.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/stock.glsl" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/super-2xsai.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/super-eagle.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/vba-color.glslp" [INFO] Found shader "/opt/retropie/emulators/retroarch/shader/xbr-lv1-noblend.glslp" [INFO] [Video]: Video @ 576x768 [INFO] [Video]: Starting threaded video driver ... [INFO] [EGL] Falling back to eglGetDisplay [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0x1. [INFO] [GL]: Found GL context: videocore [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [EGL]: eglSwapInterval(1) [INFO] [EGL]: eglSwapInterval(1) [INFO] [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW. [INFO] [GL]: Version: OpenGL ES 2.0. [WARN] [GL]: GLES implementation does not have BGRA8888 extension. 32-bit path will require conversion. [INFO] [GL]: Using resolution 1920x1080 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shader driver]: Using GLSL shader backend. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] CHEEVOS got game id 0. [INFO] CHEEVOS this game doesn't feature achievements. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] Querying EGL extension: KHR_image => exists [INFO] [Font]: Using font rendering backend: freetype. [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. [INFO] [udev] Adding device /dev/input/event1 as type ID_INPUT_KEYBOARD. [INFO] [udev] Adding device /dev/input/event4 as type ID_INPUT_KEYBOARD. [INFO] [udev] Adding device /dev/input/event2 as type ID_INPUT_MOUSE. [INFO] [udev] Adding device /dev/input/mouse0 as type ID_INPUT_MOUSE. [INFO] [udev] Adding device /dev/input/event6 as type ID_INPUT_MOUSE. [INFO] [udev] Adding device /dev/input/mouse2 as type ID_INPUT_MOUSE. [INFO] [udev]: Plugged pad: Ultimarc Mini-PAC Ultimarc Mini-PAC (53769:1088) on port #0. [INFO] [udev]: Pad #0 (/dev/input/event0) supports 0 force feedback effects. [INFO] [Autoconf]: 142 profiles found. [INFO] [Joypad]: Found joypad driver: "udev". [WARN] [udev]: Full-screen pointer won't be available. [INFO] ALSA: Using signed 16-bit format. [INFO] ALSA: Period size: 384 frames [INFO] ALSA: Buffer size: 1536 frames [INFO] [Autoconf]: selected configuration: /opt/retropie/configs/all/retroarch-joypads/udev/Ultimarc Mini-PAC Ultimarc Mini-PAC.cfg [WARN] Input device ID 5 is unknown to this libretro implementation. Using RETRO_DEVICE_JOYPAD. [INFO] Loading history file: [/opt/retropie/configs/all/content_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/mame-libretro/content_favorites.lpl]. [INFO] Loading history file: [/opt/retropie/configs/all/content_music_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/all/content_image_history.lpl]. [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/BIOS/mame2003/cheat.dat]), (directory: [/home/pi/RetroPie/BIOS/mame2003]), (path type dir: [cheat]), (path type: [14]), (filename: [cheat.dat]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro//mame2003/nvram/centiped.nv]), (directory: [/home/pi/RetroPie/roms/mame-libretro//mame2003/nvram]), (path type dir: [nvram]), (path type: [6]), (filename: [centiped.nv]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/BIOS/mame2003/hiscore.dat]), (directory: [/home/pi/RetroPie/BIOS/mame2003]), (path type dir: [hsdb]), (path type: [8]), (filename: [hiscore.dat]) [libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro//mame2003/hi/centiped.hi]), (directory: [/home/pi/RetroPie/roms/mame-libretro//mame2003/hi]), (path type dir: [hi]), (path type: [7]), (filename: [centiped.hi]) pi@retropie:/dev/shm $
-
Here's my log file after running Blasteroids with lr-mame2003. It works with my trackball which is useless, as I also have spinners where I split XY amongst Player 1 and 2. They are non-responsive.
-
@caver01 So your trackball works? Is there maybe something I can do to my setup to make it work? Or is it because of the mini-pac I am using and the separate trackball?
-
@majin-wamu I don't think you are paying attention to my notes above. I have two mouse inputs. Only one works. For me, the one that works happens to be my trackball, but my spinners are not working. For you it's the opposite. It does not matter that mine happens to be a trackball and you don't have a spinner attached. It appears as though mame is only paying attention to one mouse device. It changed. It used to pay attention to all mouse devices at the same time.
-
@caver01 Yes, but I am asking why is it that at least one of your mouse inputs are working and none for me? My assumption has to do with something you did say earlier, which is the fact that the minipac has mouse inputs. The reason why I don't just plug my mouse into the minipac's prongs is because the way my trackball is wired to a harness. The wires don't match the prong inputs, they are mixed up, so I had to plug them into a usb that can handle the inputs, and then plug that into the pi. The only way to test my theory is to cut the wires, and reorganize them so they match the correct order, but I don't want to take that risk and permanently ruin the trackball but making a mistake.
-
@majin-wamu my theory is that your minipac might be working, but you are not plugged into it. Just like my Utrak is working, but my Turbo Twist spinner interface is not. It’s as if the emulator is using one of your mouse interfaces, but you don’t get to choose which one. For you, it’s not the one you are using for your trackball. For me, it’s not the one for my spinners.
In a previous version, all mouse devices worked at the same time. Not any more.
-
In a previous version, all mouse devices worked at the same time. Not any more.
correct.
this is a retroarch change. previously, you would only be able to have one abstracted mouse device, which would be an amalgamation of inputs from whatever mice you had connected to your system. want two player trackball games? bad news...
now thanks to the change, mice are treated exactly the same as controllers. each mouse is a treated as a seperate player. the problem @Majin-Wamu has is they have several mice connected, and the trackball will be currently assigned to player 2 or higher. you can change this through the menu.
i’ll go through the log and give more specific advice later.
-
[INFO] [udev] Adding device /dev/input/event2 as type ID_INPUT_MOUSE. [INFO] [udev] Adding device /dev/input/mouse0 as type ID_INPUT_MOUSE. [INFO] [udev] Adding device /dev/input/event6 as type ID_INPUT_MOUSE. [INFO] [udev] Adding device /dev/input/mouse2 as type ID_INPUT_MOUSE.
four (!) mice connected.
-
@dankcushions @caver01
Edit: Okay thanks to dankcushions' explanation, I found a way to fix it! So this might help you too Caver.
Solution:
Go to the retroarch menu, go to inputs, select the user binds you want to change, go to mouse index and change it until you have found the working index! For me it was 2. If you have multiple mice, you can change them appropriately. I set both user 1 and user 2 to the same mouse index since I only have one trackball plugged in.I hope this helps others who might be having this issue as well.
-
@majin-wamu that's great! thanks for the explanation as i've never personally used this new functionality :D
@caver01, i think this will work for you. I'm not sure about the share x/y setting - i guess it should work once you have the spinner assigned to player 1 (or whatever).
i guess if you'd previously used different mouse devices (trackball for centipede, spinner for blasteroids, etc) for player 1 in multiple games (thanks to the previous 'every mouse is player 1!' issue), you will now have to set up cfg overrides for each game, setting the right mouse device as player 1.
-
@dankcushions Since this is a new option, should we add some instruction to the wiki? I am assuming it is the community who updates the wiki, or is it is a select group?
-
@majin-wamu said in [Solved] Trackball not working after 4.3 update:
@dankcushions Since this is a new option, should we add some instruction to the wiki? I am assuming it is the community who updates the wiki, or is it is a select group?
yeah! well, anyone can edit the wiki - updates welcome!
@caver01 wrote an excellent trackball/spinner guide here: https://github.com/RetroPie/RetroPie-Setup/wiki/Spinners-and-Trackballs - I think this is where new instructions should go (?)
-
@caver01 I just started on on a new section for the RetroPie docs about multi-mouse configuration. Does what I have written here match your experience? https://github.com/RetroPie/RetroPie-Setup/wiki/Spinners,-Trackballs,-Lightguns,-and-other-Mouse-Devices#configuring-retroarch-emulators-for-multi-mouse-use
-
I gotta say, assuming I can get this working (it sounds like @Majin-Wamu has it working) this is actually GREAT NEWS! It means we can, with minor configuration effort, setup a matrix of mouse inputs. There will be plenty of questions and feedback from users, but the net result is a lot more flexibility.
@dankcushions said in [Solved] Trackball not working after 4.3 update:
you will now have to set up cfg overrides for each game, setting the right mouse device as player 1.
I am definitely OK with individual overrides, since my indices would have to change from ROM to ROM. This is perfect, actually, as I like having direct control over the setting. Since I do see the mouse devices in my log file, the only question I have is: what exactly to I add to my .cfg file? I am imagining it is something like player_x_mouse_index = or something like that.
@markwkidd Great write-up and addition to my trackballs/spinners wiki. The only addition I would include is whatever the answer is to my question above.
-
@caver01 Below is the relevant section of my
retroarch.cfg
. I will add something like this to the wiki.input_device_p1 = "0"
input_player1_joypad_index = "0"
input_libretro_device_p1 = "1"
input_player1_analog_dpad_mode = "0"
input_player1_mouse_index = "0"
input_device_p2 = "0"
input_player2_joypad_index = "1"
input_libretro_device_p2 = "2"
input_player2_analog_dpad_mode = "0"
input_player2_mouse_index = "1"
input_device_p3 = "0"
input_player3_joypad_index = "2"
input_libretro_device_p3 = "1"
input_player3_analog_dpad_mode = "0"
input_player3_mouse_index = "2"
input_device_p4 = "0"
input_player4_joypad_index = "3"
input_libretro_device_p4 = "1"
input_player4_analog_dpad_mode = "0"
input_player4_mouse_index = "3"
input_device_p5 = "0"
input_player5_joypad_index = "4"
input_libretro_device_p5 = "1"
input_player5_analog_dpad_mode = "0"
input_player5_mouse_index = "4"
input_device_p6 = "0"
input_player6_joypad_index = "5"
input_libretro_device_p6 = "1"
input_player6_analog_dpad_mode = "0"
input_player6_mouse_index = "5" -
@markwkidd Excellent. SO, I will add some lines to a per-rom config--for example, I will need to setup a
cameltry.zip.cfg
to force the change to another mouse index so it looks at my spinner interface instead of the trackball for that ROMI am very curious now about how the Split X/Y core option will affect something like Blasteroids which was working great the old way. @dankcushions alludes to this above, but I will test with a similar blstroid.zip.cfg, as this title will also need to use the same index as Cameltry. Obviously, there will be others.
One statement that will have to be made in the wiki is that the indices might be different for each of us. Case in point, @Majin-Wamu's trackball was failing, while mine was working--something I attribute to index order of the mouse devices. It's probably not random, but with all of the hardware possibilities in the world, there's no way to predict how one build will behave with respect to the actual controls. In other words, there is nothing that would connect Index 1 to a trackball--it's all mouse inputs and your index order may differ from mine.
I allude to that somewhat in the wiki as it applies to AdvanceMAME. It has been a while since I read through it, but there might be language in that section that we can use to emphasize this nuance.
-
@caver01 said in [Solved] Trackball not working after 4.3 update:
I allude to that somewhat in the wiki as it applies to AdvanceMAME. It has been a while since I read through it, but there might be language in that section that we can use to emphasize this nuance.
Thanks for this pointer -- I just found the language you mentioned, tweaked it a little bit, then slotted it into the wiki.
-
@markwkidd Looks good. There will need to be some re-writing of what I originally put in there for lr-mame2003, but we need to test the outcome of the Split X/Y core option. I can do that tonight, as I have hardware use case where my spinners are not on the automatically mapped index (plan to make that config adjustment on ROMs that need it) and I definitely use the Split X/Y.
It might be nice to keep the lr-mame2003 section as an example of a libretro core that will use the index details above, but to include an updated description of Split X/Y, depending on how/if it still works. <EDIT> I mean to say--I know it still works, as I was using it in Blasteroids (albeit with a trackball!) but I mean, if it works when you push mouse input to another index.
-
@caver01 I was pretty excited to finally get it working. Now my single trackball works for both player one and two! I knew there had to be a fix somewhere because my thought was since at least one your mouse inputs was working, mine must be able to work somehow too. Sorry if it seemed like I was going in circles earlier on, but I was trying to figure things out.
Thank you for all your help! -
@majin-wamu Heck, if it wasn't for you, I might not have noticed the same issues for a lot longer. I am really happy with the outcome, as this is how I imagined it might one day work in Retroarch emulators. I still need to setup my configs and test them, but your success is promising.
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.