Joystick axis configuration (2020)
Joystick axis configuration (2020)
-
- Posts: 24
- Joined: Fri Mar 04, 2016 3:34 pm
Hello all,
I need a little more information about the new joystick config and axis configuration, especially the rudder.
I have a joystick with 6 axes (X, Y , Z , D, Rx, Ry) and a throttle with 5 Axis (X, Y, Rx, Ry, Rz).
In the buttons tab of the config toosl : I see joy0 (joystick) and joy1 (Throttle), both are limited to 32buttons which I suppose is the maximum that this game support.
In the settings tab there's multiple option :
What the enable small movement exactly joystick do, is this something to about deadzone ?
You can also set the controller used for joystick and throttle which I supposed is the JoyX Number you see in buttons tabs.
But how do you define which axis is used for rudder ?
In my case If I activate the ingame rudder option, the game will automatically use the D axis which is a brake axis (0 to 100), instead of the Z axis (-100 to 100).
So the ship will rotate infinitely until I push the axis to 50% (0).
Note: I use the hook_joystick_ff_WIP.zip avalaible in other topic.
I need a little more information about the new joystick config and axis configuration, especially the rudder.
I have a joystick with 6 axes (X, Y , Z , D, Rx, Ry) and a throttle with 5 Axis (X, Y, Rx, Ry, Rz).
In the buttons tab of the config toosl : I see joy0 (joystick) and joy1 (Throttle), both are limited to 32buttons which I suppose is the maximum that this game support.
In the settings tab there's multiple option :
What the enable small movement exactly joystick do, is this something to about deadzone ?
You can also set the controller used for joystick and throttle which I supposed is the JoyX Number you see in buttons tabs.
But how do you define which axis is used for rudder ?
In my case If I activate the ingame rudder option, the game will automatically use the D axis which is a brake axis (0 to 100), instead of the Z axis (-100 to 100).
So the ship will rotate infinitely until I push the axis to 50% (0).
Note: I use the hook_joystick_ff_WIP.zip avalaible in other topic.
- JeremyaFr
- Posts: 4007
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
The controler index starts at 0. The axis index starts at 0.
The controler index starts at 0. The axis index starts at 0.
The default axis index for the rudder is 3. In your case, it corresponds to axis D. To select the Z axis, set axis index to 2. (0 is X, 1 is Y, 2 is Z, 3 is D, 4 is Rx, 5 is Ry).Choum wrote: ↑Mon Nov 30, 2020 8:40 amI have a joystick with 6 axes (X, Y , Z , D, Rx, Ry)
[...]
But how do you define which axis is used for rudder ?
In my case If I activate the ingame rudder option, the game will automatically use the D axis which is a brake axis (0 to 100), instead of the Z axis (-100 to 100).
-
- Posts: 24
- Joined: Fri Mar 04, 2016 3:34 pm
Where is this settings ?
In the tools itself I do not see it (only the throlle axis index)
and nothing also in the joystickconfig.txt.
In the tools itself I do not see it (only the throlle axis index)
and nothing also in the joystickconfig.txt.
; Select a joystick with force feedback
; 0 to select the first device
; -1 to select the last device
; integer value to select a device by its index
JoystickFFDeviceIndex = 0
; Enable small joystick movement
; 0 to disable small movement
; 1 to enable small movement
EnableSmallMovement = 1
; Select the controller used for the main axis and buttons
MainControllerIndex = 0
; Select the controller used for throttle
ThrottleControllerIndex = 1
; Select the controller axis used for throttle
ThrottleControllerAxisIndex = 0
; Use the POV as regular buttons
; 0 to continious movement
; 1 to enable regular buttons
UsePovControllerAsButtons = 0
- JeremyaFr
- Posts: 4007
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
The latest WIP version is here:
viewtopic.php?p=177043#p177043
viewtopic.php?p=177043#p177043
-
- Posts: 24
- Joined: Fri Mar 04, 2016 3:34 pm
Perfect.
Only problem remaining is that there's no possibility to invert throttle axis.
My throttle is inverted (I need to push the throttle to stop)
Only problem remaining is that there's no possibility to invert throttle axis.
My throttle is inverted (I need to push the throttle to stop)
- JeremyaFr
- Posts: 4007
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
I've uploaded a WIP version of the hook.
See viewtopic.php?p=177078#p177078
You can now invert the throttle or rudder axis.
I've uploaded a WIP version of the hook.
See viewtopic.php?p=177078#p177078
You can now invert the throttle or rudder axis.
-
- Posts: 294
- Joined: Fri Nov 17, 2000 12:01 am
I am running an X56 HOTAS, and Saitek Rudder through vjoy to make it appear as a single controller, and cannot figure out how to set it up in the new configurator. I go into a forward left dive/roll and can't get out of it. I am also having a devil of a time figuring out how to configure all the buttons in this new version. Any help or tips appreciated. I have set the vjoy device as the default for older games in windows (after many crashes of the control panel, ugh).
S. Schauer<BR>Flight Test Engineer<BR>C-17 DOOE, 418th FLTS<BR>AFFTC, Edwards AFB
-
- Posts: 5
- Joined: Wed Nov 04, 2020 2:27 am
I too am having an issue with X56 HOTAS. When both joystick and throttle are connected, there is a y axis rotation issue. The ship hits the hangar floor and explodes. I tried the new joystick hooks file. If I disconnect the throttle, everything is fine. Is it possible for someone, who figured this out, to provide set up instructions tailored for beginners? Preferably a youtube video. I am seeing the same question in different threads.
May I also ask what axis index values mean? For example, controller index 0 axis index 0 vs controller index 0 axis index 1? Which one is x, y, z axis?
May I also ask what axis index values mean? For example, controller index 0 axis index 0 vs controller index 0 axis index 1? Which one is x, y, z axis?
- JeremyaFr
- Posts: 4007
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
- axis index 0 is X axis
- axis index 1 is Y axis
- axis index 2 is Z axis
- axis index 3 is R axis
- axis index 4 is U axis
- axis index 5 is V axis