Zoom buttons on Joystick

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Stormrider
Deadly
Deadly
Posts: 241
Joined: Sat Jan 25, 2014 2:35 am
Location: At work

Re: Zoom buttons on Joystick

Post 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. :)
Image
User avatar
Venator Dha
---- E L I T E ----
---- E L I T E ----
Posts: 329
Joined: Sun Feb 23, 2014 11:26 am
Location: Sweden

Re: Zoom buttons on Joystick

Post 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:
Taurus Driving through the galaxy since... .
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: Zoom buttons on Joystick

Post 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!
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
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: Zoom buttons on Joystick

Post by Cody »

I can't seem to unset the hat switches - re-assign yes, but not unset.
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!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Zoom buttons on Joystick

Post 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)?
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: Zoom buttons on Joystick

Post by Cody »

All other buttons seem to unset fine - I'll go check that suggestion.
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!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Zoom buttons on Joystick

Post by another_commander »

Also, can you unset hat switches in 1.80 without problem?
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: Zoom buttons on Joystick

Post 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).
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!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Zoom buttons on Joystick

Post 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.
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: Zoom buttons on Joystick

Post 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).
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
Venator Dha
---- E L I T E ----
---- E L I T E ----
Posts: 329
Joined: Sun Feb 23, 2014 11:26 am
Location: Sweden

Re: Zoom buttons on Joystick

Post 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
Taurus Driving through the galaxy since... .
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Zoom buttons on Joystick

Post 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.
Graham
Average
Average
Posts: 10
Joined: Thu Jan 08, 2015 12:56 pm

Re: Zoom buttons on Joystick

Post 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?
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: Zoom buttons on Joystick

Post 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>
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
heir
Competent
Competent
Posts: 34
Joined: Sun Dec 28, 2014 11:16 pm

Re: Zoom buttons on Joystick

Post by heir »

How long is it usually between releases? I saw the changes to the joystick configs and thought, hmmmm very handy.
Post Reply