Menu

#1822 Regression: (USB-)Joystick input broken since version >= 3.6.1

v3.x
pending-fixed
compyx
joystick (9)
Linux
x64
2024-03-11
2023-01-29
4<|-|!/\/\
No

Hey there,

I'm a long time and happy user of VICE.
However, I now stumbled upon an issue that took quite some time to pinpoint. :-)

I'm using an external USB-Joystick (SPEEDLINK COMPETITION PRO).
Never had any troubles with it in the past.

A few days ago I compiled the latest version of VICE (3.7.1).

./configure \
--enable-x64 \
--enable-gtk3ui \
--enable-ethernet \
--enable-ffmpeg

make

make install

Everything worked fine... as usual.
After some time I realized that my joystick (port 2) always got stuck in the UP position; remaining in that position until another direction was hit.

At first I thought that my joystick was broken.
But after some investigation (and testing with other utils (jstest, etc.)) I discovered that the hardware was totally fine.

I cleared all my configuration files (vicerc, etc.) and started over with older versions; just to find out that everything works just fine with VICE 3.5 and VICE 3.6.

VICE 3.6.1 and onwards seem to have introduced something that causes this bug.

Unfortunately the log/stdout doesn't hint to any obvious problems.

Did anyone else experience similar issues?

Steps to reproduce:

  • install/compile VICE 3.7.1 (or 3.6.1 or 3.7)
  • clear existing configuration files (vicerc); if present
  • start VICE
  • got to "Preferences" -> "Settings" -> "Input Devices" -> "Joystick"
  • for "Joystick #2", select "SPEEDLINK COMPETITION PRO"
  • close settings-window
  • IMPORTANT: at this point everything still works fine; the joystick works and the joystick-indicator in the statusbar shows no problems. Now save your settings ("Preferences" -> "Save settings"); exit VICE and re-open it.
  • Move the joystick UP and release. You'll see the UP position is stuck now.

Note: The bug only occurs when the joystick is mapped to port2! When switching to port1 (ALT+J), everything is fine... no stuck up-position, etc.

Hope this can be fixed in an upcoming version.
Thanks!

BR,
Achim

Discussion

  • exrom

    exrom - 2024-03-05
     
  • compyx

    compyx - 2024-03-11
    • status: open --> pending-fixed
    • assigned_to: compyx
     
  • compyx

    compyx - 2024-03-11

    This should be fixed in current trunk with evdev having become the default joystick driver on Linux.

     

Log in to post a comment.

MongoDB Logo MongoDB