How do I calibrate my game controller in KDE 6?

In KDE 6 there is no calibrate button (Nate Graham says here “AFAIK the feature was removed the the documentation is just out of date.”)

In the absence of that feature, how do I calibrate my game controller in KDE 6? I’m using Kubuntu.

see if you have the jstest-gtk package in your repository

Thank you @skyfishgoo. If I use jstest-gtk, does it make the changes permanent or do they only apply while the tool is running?

dunno, never needed to calibrate my ds4 but i know you can reorder the buttons and axis and save that to a file so there should be a way.

man pages are your best bet.

Ok thanks. Funnily enough it is a DS4 that I want to calibrate.

why tho, is it broken? drifting?

never had the need to adjust it.

I guess it’s old so has a slight drift on one axis. Thanks for the tool suggestion. It fixed the problem by defining a new central point. I tested it in Oolite.

I discovered that there is another step to actually ensure the calibration from jstest-gdk is saved and to use it subsequently. Run sudo jscal-store /dev/input/js0

Then to use the saved calibration, I made a bash script called run_game with:

#!/bin/bash jscal-restore /dev/input/js0 cd ${1%/*} $1

Then for any game, I just call run_game <PATH_TO_GAME>