Joystick sensitivity toggle

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

User avatar
kanthoney
Commodore
Commodore
Posts: 281
Joined: Thu Nov 07, 2013 10:21 pm

Re: Joystick sensitivity toggle

Post by kanthoney »

Well, this seems to be just about ready. At least, I haven't anything wrong with it tonight. If I still haven't found any problems this time tomorrow I'll submit the pull request.

I've implemented the per-axis deadzone suggestion.

If you can't wait and can compile from git sources, you can clone my git repo at https://github.com/kanthoney/oolite. It's the joystick_configurator branch you want.
User avatar
kanthoney
Commodore
Commodore
Posts: 281
Joined: Thu Nov 07, 2013 10:21 pm

Re: Joystick sensitivity toggle

Post by kanthoney »

User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Joystick sensitivity toggle

Post by Diziet Sma »

This afternoon I managed to get in a couple of hours on 1.77.1. The difference, even in precision mode, without the non-linear control was amazing.. very hard to get used to the lack of fine-control.. the tiniest of nudges would move the sights far too much, from left of the target, to right of the target..

Please port this back for 1.77.2, if possible.. 8)
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
kanthoney
Commodore
Commodore
Posts: 281
Joined: Thu Nov 07, 2013 10:21 pm

Re: Joystick sensitivity toggle

Post by kanthoney »

You're looking forward to this, I can tell!

Actually, the worst thing about 1.77 is the little hop that you get coming out of the deadzone, which takes a couple of lines of code to fix. There are a couple of maintenance branches on git, though, so I don't know which one is best to supply a patch for.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Joystick sensitivity toggle

Post by Diziet Sma »

kanthoney wrote:
Actually, the worst thing about 1.77 is the little hop that you get coming out of the deadzone
You got that right.. very annoying, it is.. and if you have a fix for it, that's great! 8)
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Joystick sensitivity toggle

Post by cim »

kanthoney wrote:
Actually, the worst thing about 1.77 is the little hop that you get coming out of the deadzone, which takes a couple of lines of code to fix. There are a couple of maintenance branches on git, though, so I don't know which one is best to supply a patch for.
maintenance/1.78 is the one for the next release in that series: there probably won't be a 1.77.2 before 1.78. If you're lucky, the original fix for that was in its own commit, and it can just be cherry-picked into the branch. If not, yes, it'll need a separate patch.
User avatar
kanthoney
Commodore
Commodore
Posts: 281
Joined: Thu Nov 07, 2013 10:21 pm

Re: Joystick sensitivity toggle

Post by kanthoney »

Having just checked, there's no fix for this in 1.78. Would you like one?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Joystick sensitivity toggle

Post by cim »

Yes, I think that's small enough to be considered a bug rather than a new feature, so if it's quick to do then a patch would be useful.
User avatar
kanthoney
Commodore
Commodore
Posts: 281
Joined: Thu Nov 07, 2013 10:21 pm

Re: Joystick sensitivity toggle

Post by kanthoney »

OK, whizzed your way! Turned out to be a bit more than two lines, but still wasn't much.
Post Reply