Page 2 of 5

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 12:17 pm
by cim
Mad Hollander wrote:
To me oolite (like any game with joystick) requires features for calibrating the joystick or, at least, smoother change of sensitivity.
The build went okay, so please try downloading today's 1.79 build, and changing the parameter in your config file as above. (No in-game menu for it yet, but we can add one if it works)

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 12:42 pm
by Cody
cim wrote:
For now to test it you need to put

Code: Select all

<key>JoystickNonlinear</key>
<real>X</real>
in your GNUStepDefaults file.
Hmm... when I put that into my GNUStepDefaults, it crashes Oolite every time. I've probably got something basic wrong... but what?
I don't think Oolite reads the GNUStepDefaults, as it doesn't launch in fullscreen as per normal.

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 12:52 pm
by cim
Cody wrote:
cim wrote:
For now to test it you need to put

Code: Select all

<key>JoystickNonlinear</key>
<real>X</real>
in your GNUStepDefaults file.
Hmm... when I put that into my GNUStepDefaults, it crashes Oolite every time. I've probably got something basic wrong... but what?
I don't think Oolite reads the GNUStepDefaults, as it doesn't launch in fullscreen as per normal.
Okay, that's not supposed to happen...
Check 1: You did replace "X" with a number between 0 and 1.
Check 2: It starts up fine without that key.

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 12:53 pm
by Cody
Yes to both. Is that key XML? Should it be OpenStep or something?

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 12:54 pm
by another_commander
Cody wrote:
cim wrote:
For now to test it you need to put

Code: Select all

<key>JoystickNonlinear</key>
<real>X</real>
in your GNUStepDefaults file.
Hmm... when I put that into my GNUStepDefaults, it crashes Oolite every time. I've probably got something basic wrong... but what?
I don't think Oolite reads the GNUStepDefaults, as it doesn't launch in fullscreen as per normal.
.GNUstepDefaults in Windows is OpenStep format, while on Linux it seems to be XML. Put this line in your .GNUstepDefaults and it should be OK:

Code: Select all

JoystickNonlinear = X;
where X is a float value from 0.0 to 1.0 and it should work.

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 12:57 pm
by Cody
Yep, it's working fine now... thanks, Admiral. I did wonder about the XML... hey-ho!

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 3:18 pm
by Mad Hollander
cim wrote:
Mad Hollander wrote:
To me oolite (like any game with joystick) requires features for calibrating the joystick or, at least, smoother change of sensitivity.
The build went okay, so please try downloading today's 1.79 build, and changing the parameter in your config file as above. (No in-game menu for it yet, but we can add one if it works)
I did and saw no difference, at least the same thing with the Adder.
Checked with Anaconda - all is ok, I can aim at distance even 30km.
Suppose the reason is high pitch value of the Adder and the same problem will be with any ship that has high pitch, 2 or more.

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 7:23 pm
by another_commander
Just bringing to the attention of the Windows port users interested in testing joystick non-linearity, that the nightly build of this morning failed to get published in time for Windows. It got published just a few hours ago. If your nightly's hex id on the watermark reads c2abd5c, then the non-linearity feature is not yet in. The nightly version that contains it has hex tag 65f3e2e.

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 7:33 pm
by Cody
There I was, having just scoffed a whole apple strudel with cream, and settling-in for a long test session. Oh well... back to hunting errant Asps.

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 8:07 pm
by Smivs
Cody wrote:
There I was, having just scoffed a whole apple strudel with cream...
:D

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 8:24 pm
by Mad Hollander
Mad Hollander wrote:
I did and saw no difference, at least the same thing with the Adder.
Checked with Anaconda - all is ok, I can aim at distance even 30km.
Suppose the reason is high pitch value of the Adder and the same problem will be with any ship that has high pitch, 2 or more.
Checked old version, 1.77 - the same thing, it is very difficult to aim Adder at a target that more than 10km and after 20 km I barely can hit the target

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 8:46 pm
by Mad Hollander
another_commander wrote:
Just bringing to the attention of the Windows port users interested in testing joystick non-linearity, that the nightly build of this morning failed to get published in time for Windows. It got published just a few hours ago. If your nightly's hex id on the watermark reads c2abd5c, then the non-linearity feature is not yet in. The nightly version that contains it has hex tag 65f3e2e.
Damn, I had been playing with the value of JoystickNonlinear hell knows how many hours and the watermark was c2abd5c :cry:

65f3e2e - looks like nonlinearity works a bit.

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 8:53 pm
by Diziet Sma
Mad Hollander wrote:
65f3e2e - looks like nonlinearity works a bit.
Try playing with the value of 'X'..

I'm about to take it for a spin myself right now..


Just a thought here cim.. given that people will be playing with a variety of different ships, and given what a big difference the pitch-rate of a particular ship can make, it does sound as if a slider will be necessary to accommodate individual preferences.

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 9:04 pm
by cim
Diziet Sma wrote:
Just a thought here cim.. given that people will be playing with a variety of different ships, and given what a big difference the pitch-rate of a particular ship can make, it does sound as if a slider will be necessary to accommodate individual preferences.
Probably, unless it turns out that regardless of ship turning it fully on gives best performance.

Re: Joystick sensitivity toggle

Posted: Tue Dec 24, 2013 9:18 pm
by Diziet Sma
Having had a quick play, I'm inclined to agree with Mad Hollander.. "a bit" pretty much sums it up.

In other words, it's nice, but the maximum setting is nowhere near maximum enough. In a standard CobbyMk3, with non-linearity at 1.0, more than the lightest touch of pressure causes the pitch up/down to still move too quickly. Roll is better, but the sensitive region is still only a few millimetres of stick movement. Yaw is slightly better again, but could still use improvement.

On a scale of 0.0 to 1.0, I'd like it to be set at around 2.0 or even more. If it topped out at 5.0 or even 10.0 would be nice. As it stands now, I'd definitely still need to use precision mode in conjunction with this.


I've discovered the non-linear effect is only operational in precision mode.. where it works reasonably well.. being able to set it about 1.5-2.0 times as high as it is currently might be nice, but not essential.