Bug 439033

Summary: KConfig's joystick/game controller calibration curve values wrong/choppy
Product: [Applications] systemsettings Reporter: t-ask <kde-bugs>
Component: kcm_joystickAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: kconfig's game device calibration curve
jstest-gtk shows the controller is working fine

Description t-ask 2021-06-22 17:11:59 UTC
Created attachment 139594 [details]
kconfig's game device calibration curve

SUMMARY

It looks like the Plasma/Settings/InputDevices/GaemController section is broken. The drawing of the calibration curve is not matching actual numbers delivered by the controller (Thrustmaster 16000 Flight Stick here) The curve is drawn choppy and skipping numbers.

I added one animated GIF of the kconfig widget (game controller) and one taken with another joystick calibration tool `jstest-gtk` - works fine.


STEPS TO REPRODUCE
1. Test device curve drawing 

OBSERVED RESULT

I added one animated GIF of the kconfig widget (game controller) and one taken with another joystick calibration tool `jstest-gtk` - works fine - not kconfig's.



SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.9-164-tkg-pds (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor
Memory: 47.1 GiB of RAM
Graphics Processor: GeForce GTX 1070/PCIe/SSE2


ADDITIONAL INFORMATION

Please reconsider calibation process, too. `jstest-gtk` has an easier way to calibrate all controller axies in just one step.
Comment 1 t-ask 2021-06-22 17:13:20 UTC
Created attachment 139595 [details]
jstest-gtk shows the controller is working fine
Comment 2 t-ask 2021-06-28 16:06:59 UTC
It seems it is not only the curve drawing, even the right hand analog values stutter and button responses "stutter". 

Maybe it is better to disable the panel until the bugs are solved as users might think their devices are broken and wrongly send them back as "broken device". Or add a warning that the shown values or buttons may not work.
Comment 3 Nate Graham 2025-10-09 16:20:40 UTC
Thank you for the bug report, and I'm sorry we weren't able to look into it yet. A lot has changed since it was reported; can I ask you to see if this is still an issue with Plasma 6.4 or later? Thanks a lot!
Comment 4 t-ask 2025-10-15 18:54:24 UTC
(In reply to Nate Graham from comment #3)
> Thank you for the bug report, and I'm sorry we weren't able to look into it
> yet. A lot has changed since it was reported; can I ask you to see if this
> is still an issue with Plasma 6.4 or later? Thanks a lot!

Hi, sorry for the late response. Unfortunately, I no longer have the joystick to test it again.
Comment 5 Nate Graham 2025-10-15 18:59:36 UTC
Thanks anyway! Sorry we weren't able to help with this.