Project

General

Profile

Bug #490

Throttle Joystick axis on Linux only upper 50% range available when game is started with throttle at 0% physical.

Added by dnalencastre almost 12 years ago. Updated almost 7 years ago.

Status:
Needs Clarification
Severity:
Normal
Assignee:
-
Category:
Controls and UI
Target version:
-
Start date:
03/23/2013
% Done:

0%

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

Description

Problem with in-game control range when game is started with joystick axis not at exact center.

uname -a

Linux dez.lan 3.8.3-203.fc18.x86_64 #1 SMP Mon Mar 18 12:59:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Fedora release 18

When game is started with the physical throttle at 0, the in-game available throttle range is 50% to 100%

When game is started with the physical throttle at 100%, the in-game available throttle range is 0% to 50%.

When game is stared with the physical throttle at exactly 50%, the in-game available throttle range is 0% to 100%.

When game is started with the physical throttle at about 25%, the available throttle range is circa 75%.

Tests where made with the following settings:
AXIS_THROTTLE {
name = Logitech Logitech Extreme 3D 6
id = joy1.6
inv = True
sensitivity = 1
deadzone = 0
scale = 1
switchState = Any
}

The axis is inverted to accommodate the reporting of negative values on the upper range of the joystick's throttle.

Results were similar (but inverted) when inv = False .

Similar results obtained for other axis. eg: if roll axis started fully deflected to the left, only the right half of the axis roll range is available in-game.

Work around: set the throttle at exactly 50% before starting KSP. make sure that joystick is up-right.

game start with throttle max, max throttle.jpeg (211 KB) game start with throttle max, max throttle.jpeg [email protected] sal_vager, 03/24/2013 06:14 AM
game start with throttle max, medium throttle.jpeg (211 KB) game start with throttle max, medium throttle.jpeg [email protected] sal_vager, 03/24/2013 06:14 AM
game start with throttle max, min throttle.jpeg (211 KB) game start with throttle max, min throttle.jpeg [email protected] sal_vager, 03/24/2013 06:14 AM
game start with throttle min, max throttle.jpeg (206 KB) game start with throttle min, max throttle.jpeg [email protected] sal_vager, 03/24/2013 06:14 AM
game start with throttle min, medium throttle.jpeg (206 KB) game start with throttle min, medium throttle.jpeg [email protected] sal_vager, 03/24/2013 06:14 AM
game start with throttle min, min throttle.jpeg (206 KB) game start with throttle min, min throttle.jpeg [email protected] sal_vager, 03/24/2013 06:14 AM
game start with throttle neutral, max throttle.jpeg (210 KB) game start with throttle neutral, max throttle.jpeg [email protected] sal_vager, 03/24/2013 06:14 AM
game start with throttle neutral, medium throttle.jpeg (209 KB) game start with throttle neutral, medium throttle.jpeg [email protected] sal_vager, 03/24/2013 06:14 AM
game start with throttle neutral, min throttle.jpeg (209 KB) game start with throttle neutral, min throttle.jpeg [email protected] sal_vager, 03/24/2013 06:14 AM
joystick settings.jpeg (210 KB) joystick settings.jpeg [email protected] sal_vager, 03/24/2013 06:14 AM
488
489
490
491
492
493
494
495
496
497

History

#1 Updated by sal_vager almost 12 years ago

488
489
490
491
492
493
494
495
496
497

This occurs in the supported Linux distribution as well, Ubuntu 12.04+ (Xubuntu 12.10 in this case)

Reproduction notes

The controller used for this test was a Logitech Wingman Extreme 3D USB joystick, calibrated with the jstest-gtk program.

The controller displayed identical behaviour to the bug report above, with the throttle range influenced by the position of the throttle at game start.

Possible cause

KSP/Unity3D appears to be assuming all controller axis' are zero at game start, and is not reading the current values, this is undesirable in the throttle which can be non-zero.

Impact

Though this can be worked around, it is not easy to start KSP with the throttle at zero without a calibration program open at the time of game start, when even a small deviation from zero can prevent the full use of the throttle axis there is a marked affect on gameplay.

#2 Updated by Unit327 over 10 years ago

I have found that messing with the scale parameter in settings.cfg and setting it to greater than 1 can somewhat alleviate this issue.

AXIS_THROTTLE
{
    name = Mega World USB Game Cont. Axis  2
    id = joy0.2
    inv = False
    sensitivity = 1
    deadzone = 0
    scale = 1.2
    group = 0
    switchState = Any
}

http://forum.kerbalspaceprogram.com/threads/24529-The-Linux-compatibility-thread%21?p=1068272&viewfull=1#post1068272

#3 Updated by steve_v over 10 years ago

For the record, this is extremely aggravating. Same results with Saitek Cyborg 5, Logitech attack 3.

#4 Updated by colmo over 10 years ago

I can confirm this bug with a Thrustmaster T-Flight Hotas X.

In addition, pitch and yaw also cannot be properly zeroed, meaning both are to the 'right' according to the indicators in the bottom left. The joystick is at present unusable as a result.

#5 Updated by politas about 10 years ago

I can confirm that this is still an issue in 0.24.2

#6 Updated by pokemane over 9 years ago

Can confirm that this still happens in 1.0, with a T-Flight Hotas X. Can also re-confirm that it is extremely frustrating and renders the joystick unusable.

#7 Updated by sbabbi over 9 years ago

Can confirm still happens in 1.0.2, with Force Feedback Pro 2.
jstest /dev/input/js0 correctly report the throttle axis between -32767 and +32767.

#8 Updated by raath over 8 years ago

  • Version changed from 0.19.1 to 1.1.2

Still an issue on 1.1.2

#9 Updated by TriggerAu over 8 years ago

  • Status changed from Confirmed to Needs Clarification
  • % Done changed from 10 to 0

#10 Updated by JLSalvador about 7 years ago

  • Version changed from 1.1.2 to 1.3.1

Still an issue on 1.3.1

What is your input manager? Unity3D default input manager?
Maybe you could check Rewired as Input Manager (available in the unity3d assetstore). It could fix some others bugs like max 20 buttons per input, vibration feedback, or hot-plug inputs.

#11 Updated by cab404 almost 7 years ago

confirm on 1.3.1.1891

Also available in: Atom PDF