Forums » Linux

Gamepad issues

Nov 21, 2025 DarkenCZ link
Hello,

I tried to use two different gamepads with vendetta online (Xbox like and PS3 like). Both controllers are working correctly when tested by `jstest`. In game I can correctly map their axes but not the buttons.

I tried:

* Setting them in config.ini
* Setting them in wgaf.cfg
* Setting them using keyboard mapping (just selected action and pressed gamepad button).

Whatever I try, the buttons are being ignored. I am running ubuntu 24LTS.
Nov 21, 2025 DarkenCZ link
From error.log, to proof that game sees the joystick:

/dev/js0: No such file or directory
Found joystick 'GUO HUA PS3 GamePad (/dev/input/js0)'
numaxes = 6
numbuttons = 17
/dev/js1: No such file or directory
/dev/input/js1: No such file or directory
/dev/js2: No such file or directory
/dev/input/js2: No such file or directory
/dev/js3: No such file or directory
/dev/input/js3: No such file or directory
Found 1 joystick(s)
Input driver initialized.
VO_API_VERSION = 19
Nov 21, 2025 incarnate link
Have you tried the joystick(s) with any other games or applications?
Nov 24, 2025 DarkenCZ link
Yes, but I found the problem in the end. when joystick is connected, the game creates two records for it in config.ini

[ControllerName /dev/input/js0]
...axes
...empty buttons mapping

and

[ControllerName]
...axes

I was editing the second record instead of the first one.