Can't switch joystick axis - workaround found.

Ask here if you experience technical problems with X Rebirth.

Moderator: Moderators for English X Forum

Post Reply
Spacelord-Xaffax
Posts: 3
Joined: Thu, 4. Oct 18, 16:15

Can't switch joystick axis - workaround found.

Post by Spacelord-Xaffax » Thu, 4. Oct 18, 16:43

I'm using:
X-Rebirth latest steam/linux version
Manjaro KDE Linux
No mods
Stick - Thrustmaster T.Flight HOTAS X

The stick is detected by the game.
All buttons and axis work.
I can remap all buttons.
I can invert axis.

The problem:
I want to configure the axis airplane style (more or less since I don't have pedals.) That means X = roll and Z = rudder/left/right.
When I try to remap/switch the X to roll (or the Z to left/right) I can move the stick or press buttons all I want it won't register so all I can do is pres escape and it will go back to the original setting.

NewtSoup
Posts: 1245
Joined: Wed, 16. Nov 05, 14:33

Re: Can't switch joystick axis.

Post by NewtSoup » Wed, 10. Oct 18, 17:05

I just fixed this by chance

It's in config.xml

you need to find the line

<gamepadmode>1</gamepadmode>

and change that nasty little numer 1 to a big fat friendly numeral 0

Now the stick can be remapped in game as normal. No more xml file editing.
I am a rock in the wind, watch how I plummet!
Mistress of Heavy Landings since 1984 (BBC-B Elite)

Corei5 3570k, 16GB Ram, Z77X-UD3H, ASUS GTX660 TI, Sidewinder FFB2, Linux Mint 19
.

NewtSoup
Posts: 1245
Joined: Wed, 16. Nov 05, 14:33

Re: Can't switch joystick axis.

Post by NewtSoup » Wed, 10. Oct 18, 17:31

Just discovered another thing

It doesn't tell you this but there are default profiles.

The game automatically uses Default Controller profile

I just happened to hit load profile and discovered

1) Default Controller
2) Default Joystick
3) Default Saitek X52 Pro
4) Default Joystick

I suspect if you pick a default and then go to Save Profile you may also get an unlocked an redefinable control profile.
I am a rock in the wind, watch how I plummet!
Mistress of Heavy Landings since 1984 (BBC-B Elite)

Corei5 3570k, 16GB Ram, Z77X-UD3H, ASUS GTX660 TI, Sidewinder FFB2, Linux Mint 19
.

Spacelord-Xaffax
Posts: 3
Joined: Thu, 4. Oct 18, 16:15

Re: Can't switch joystick axis.

Post by Spacelord-Xaffax » Mon, 15. Oct 18, 19:12

NewtSoup wrote:
Wed, 10. Oct 18, 17:05
I just fixed this by chance

It's in config.xml

you need to find the line

<gamepadmode>1</gamepadmode>

and change that nasty little numer 1 to a big fat friendly numeral 0

Now the stick can be remapped in game as normal. No more xml file editing.
Hey Thanks! :-)
For the first few days nobody replied so I was afraid there was no fix. I haven't tried your fix yet as I just read it, but it gives me a place to start . I'll will post my result soon.

Spacelord-Xaffax
Posts: 3
Joined: Thu, 4. Oct 18, 16:15

Re: Can't switch joystick axis - workaround found.

Post by Spacelord-Xaffax » Tue, 16. Oct 18, 05:06

Well I tried saving my own custom profile first. However I don't know if it had any effect. By accident I found out that if I want to bind an axis to another command I have to select the command I want to change with the fire button of the stick. If I select it with the mouse it will not register the axis I move. I also found that if I want to use the joystick in the game I have to fire one shot before it will do anything, so that may have something to do with it. Anyway it is working now.

Thanks for the tips! :thumb_up:

NewtSoup
Posts: 1245
Joined: Wed, 16. Nov 05, 14:33

Re: Can't switch joystick axis - workaround found.

Post by NewtSoup » Fri, 19. Oct 18, 18:30

My issue was I could not get the game to recognise my joy axes in control config until I changed that gamepad setting. Once changed everything worked as expected. I'm very glad you found a solution.

Personally I have since decided that the game plays much better on mouse and keyboard. The joystick just did not seem precise enough. It was either not moving or moving too fast. No fine control. Reducing the deadzone just made "too fast" happen sooner. This is odd because the sidewinder FFB 2 is the most precise stick I've ever used.

But I think I know what is happening. The game registers the dead zone and when the joystick has moved outside the dead zone instead of counting that as starting from 0 deflection it reads the raw deflection and applies that. So with a 20% deadzone you immediately hit 20% deflection on the stick and zoom away rather than a smooth logarithmic progression from then on.
I am a rock in the wind, watch how I plummet!
Mistress of Heavy Landings since 1984 (BBC-B Elite)

Corei5 3570k, 16GB Ram, Z77X-UD3H, ASUS GTX660 TI, Sidewinder FFB2, Linux Mint 19
.

Post Reply

Return to “X Rebirth - Technical Support”