0

I have a joystick with a lot of axes and am having difficulties getting it to work correctly in Ubuntu.

Specifically, I have a VKB GNX with the GNX-THQ add on. It works fine in Windows, though it shows up as multiple joysticks, presumably to get around the 8 axes per joystick windows limit.

In Ubuntu 22.04 it mostly works, but shows up as one joystick (/dev/input/js2) with 10 axes and 80 buttons. This is almost correct, except that the main grip Y axis and the rightmost throttle on the THQ both are mapping to Axis 0. There should be 11 axes total so that they don't overlap. How do I fix this?

carmiac
  • 109

1 Answers1

0

NJoy32

Profile tab. Axes tab in that.

And in THAT tab, you're looking for logical axis. specifically, Axis 9 (most likely), that currently has an HID Usage of X. Which is duplicate. Change it to somthing like Accelerator. Hit the set button to send the updated config to your joystick.

Now EVDEV will start reporting your last axis as ABS_GAS. Congrats. You've fixed the default config.

As far as I can tell, windows gets away with this default configuration only because of the virtual device shenanigans that Linux does not follow up on.

And finally - reminder that there is a vkb support discord that would have gotten an answer a lot faster.

Sudrien
  • 1
  • 1