Page 2 of 3

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 2:26 am
by Stormrider
another_commander wrote:
Done. Commit 9f8071a.
Awesome thanks :D
Diziet Sma wrote:
Speaking personally, I think it ought to be possible to map any key to a joystick button
I think so too. :)

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 12:33 pm
by Venator Dha
Just a warning :!:
Check your bindings before you go into combat.
Half of mine had been reset to different things by the changes :shock:

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 2:42 pm
by Cody
Venator Dha wrote:
Half of mine had been reset to different things by the changes
Yes indeed! All those additions seem to work fine, anyway!

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 3:51 pm
by Cody
I can't seem to unset the hat switches - re-assign yes, but not unset.

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 3:53 pm
by another_commander
Cody wrote:
I can't seem to unset the hat switches - re-assign yes, but not unset.
What about other buttons? Can you try again after renaming your .GNUstepDefaults to something else (you will have to set it up all from scratch)?

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 3:55 pm
by Cody
All other buttons seem to unset fine - I'll go check that suggestion.

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 4:00 pm
by another_commander
Also, can you unset hat switches in 1.80 without problem?

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 4:16 pm
by Cody
With a virgin .GNUstepDefaults the problem persists - exactly the same (1.81).

I'll have to install 1.80 from scratch - back in a while!

<creates parallel Ooniverse>

The problem appears to be exactly the same in Oolite 1.80 (virgin install).

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 4:53 pm
by another_commander
Cody wrote:
The problem appears to be exactly the same in Oolite 1.80 (virgin install).
In this case, I'd like to know whether others have the same issue too or this is only on your joystick setup. It will be a nasty one to debug without having an actual joystick to test with.

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 5:00 pm
by Cody
<nods> For the record, I'm using a Logitech Extreme 3D Pro (though I doubt whether that has any bearing on it).

I'd not even tried the hat switch in 1.80 before today - the four views are not ideal on the hat (for me).

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 5:15 pm
by Venator Dha
Cody wrote:
<nods> For the record, I'm using a Logitech Extreme 3D Pro (though I doubt whether that has any bearing on it).
I can confirm the same effect on the same joystick with 1.81. Will check 1.80 when I've docked.
Edit: Confirmed, the same behaviour with 1.80

Re: Zoom buttons on Joystick

Posted: Fri Jan 09, 2015 6:12 pm
by another_commander
Looks like it was just a little copy/paste error. You should be able to unset hats (and any button beyond #16 in general) with commit 181d1b5.

Re: Zoom buttons on Joystick

Posted: Sat Jan 10, 2015 1:08 am
by Graham
Ok, I've finally got around to downloading the latest update and I can now set the buttons on my joystick to do Zoom/ Unzoom, thanks :)

When will this change be incorporated in the main version?

Re: Zoom buttons on Joystick

Posted: Sat Jan 10, 2015 1:11 am
by Cody
Graham wrote:
When will this change be incorporated in the main version?
What is now the development version (Oolite 1.81x) will become the next release version - Oolite 1.82 (I think). When? <chortles>

Re: Zoom buttons on Joystick

Posted: Mon Jan 12, 2015 10:17 pm
by heir
How long is it usually between releases? I saw the changes to the joystick configs and thought, hmmmm very handy.