Project

General

Profile

Bug #10483

Joystick calibration off in linux

Added by sgtnoodle almost 8 years ago. Updated over 7 years ago.

Status:
Not a Bug
Severity:
Normal
Assignee:
-
Category:
Application
Target version:
-
Start date:
08/17/2016
% Done:

0%

Version:
Platform:
Linux
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

Whenever I run Kerbal for the first time between reboots, the joystick controlled axes are off-center by about 10%, making vehicles tumble. I have to then restart Kerbal and they are properly centered. I think maybe the kernel driver outputs garbage for an axis until the input device file is opened and the axis is moved.

Also, Kerbal's interpretation of the joystick's throttle knob is unfortunate. Throttle only goes down to maybe 10% or so and doesn't turn off! Viewing the raw joystick values using jstest, the throttle axis goes from -32767 to +32767.

I'm using a Logitech Extreme 3D Pro joystick.

History

#1 Updated by sal_vager almost 8 years ago

  • Category changed from Input Devices and Settings to 368
  • Status changed from New to Not a Bug
  • % Done changed from 0 to 100

Hi sgtnoodle.

The Unity3D game engine does not do any calibration, and relies on the host operating system for controller input.

Please recalibrate your controller in js-test before playing KSP.

Thank you

#2 Updated by sgtnoodle over 7 years ago

I've run jscal multiple times trying to work around this issue and it doesn't help.

If that were true that it's a straight passthrough then the bias error wouldn't exist and then disappear simply by restarting Kerbal.

Also, as I already said, the throttle axis looks perfect in jstest but is garbage inside the game.

Please investigate this issue more before dismissing it. The fact is that Kerbal is miserable to play with using a joystick. It's bad enough that I am thinking of writing a mod to do my own joystick interfacing. You can blame unity 3D if you want, but that doesn't solve anything.

Also available in: Atom PDF