[Trunk] Joystick yaw deadzone issue

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Keeper
---- E L I T E ----
---- E L I T E ----
Posts: 273
Joined: Fri Feb 01, 2013 7:44 am
Location: Indian Hills, Nevada, USA

[Trunk] Joystick yaw deadzone issue

Post by Keeper »

Checking out the joystick axis setups today. I paused the game, set the Yaw deadzone to 0.1 (my stick is really jittery in that axis) and it was fine. I had a little bit of unwanted roll so I paused again to bump that up slightly, and I noticed that the Yaw deadzone reading was back to 0.06. I unpaused to see if the value had indeed reset itself, but the adjustment I had made before still seemed to be in effect. Perhaps it is taking whatever the current setting is and calling that "0.06"...?
User avatar
kanthoney
Commodore
Commodore
Posts: 281
Joined: Thu Nov 07, 2013 10:21 pm

Re: [Trunk] Joystick yaw deadzone issue

Post by kanthoney »

Good spot - thanks.

For the devs: There's all kinds of weird behaviour when you take the deadzone up to max - turns out I'd allowed the deadzone to extend beyond STICK_MAX_DEADZONE, which was causing memory errors when it was trying to draw the bars. This is fixed in the joystick_configurator branch on git.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6634
Joined: Wed Feb 28, 2007 7:54 am

Re: [Trunk] Joystick yaw deadzone issue

Post by another_commander »

Shall we go ahead and bring the fixes into master? Since the bulk of the joystick configurator feature is already in, I think it makes sense to do that so that these fixes are included in upcoming nightlies.
User avatar
kanthoney
Commodore
Commodore
Posts: 281
Joined: Thu Nov 07, 2013 10:21 pm

Re: [Trunk] Joystick yaw deadzone issue

Post by kanthoney »

Sure - it's good to go, I'm just a bit nervous about touching master, being the new guy :)
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: [Trunk] Joystick yaw deadzone issue

Post by Cody »

kanthoney wrote:
...being the new guy
Having been assimilated into the Admiralty, be prepared for long lunches and pink gins.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
kanthoney
Commodore
Commodore
Posts: 281
Joined: Thu Nov 07, 2013 10:21 pm

Re: [Trunk] Joystick yaw deadzone issue

Post by kanthoney »

I've pushed this fix to master, so it should be there in the next build, assuming I haven't stuffed everything up too badly.
Post Reply