Bridge Command Forum

Support => Bridge Command General Support => Topic started by: edgreenberg on April 26, 2021, 03:44:24 PM

Title: Reversing the joystick in ver 5.5.3
Post by: edgreenberg on April 26, 2021, 03:44:24 PM
Hello, I'm just now discovering Bridge Command. I've always wanted a ship simulator (and a tugboat :)).

I set up a saitek aircraft yoke and throttle quadrant, and although the yoke is correct for the rudder, both the throttles (once I found the correct axes) are reversed.  Push forward runs engines backwards.

In another posting back in 2017, the forum admin states that reversing the joysticks will be present in release 5.

Can somebody clue me in?

Thanks,
Ed Greenberg

Title: Re: Reversing the joystick in ver 5.5.3
Post by: forum_admin on April 26, 2021, 08:48:54 PM
Hi,

You should be able to use the existing settings to do this. The joystick map converts the raw input to the engine proportion. If you use the settings editor, you should be able to flip the signs on the joystick_map(*,2) entries. So for example, you would change the from the default:

joystick_map(1,1)=-1
joystick_map(1,2)=-1
joystick_map(2,1)=-0.5
joystick_map(2,2)=-0.5

to:

joystick_map(1,1)=-1
joystick_map(1,2)=1
joystick_map(2,1)=-0.5
joystick_map(2,2)=0.5

Separately, I have added a feature to swap the rudder direction if needed, which will be in the next release (or is in the code/binaries on github), but I don't think you need this.
Title: Re: Reversing the joystick in ver 5.5.3
Post by: edgreenberg on April 27, 2021, 01:05:43 PM
I will give it a try. Thanks.
Title: Re: Reversing the joystick in ver 5.5.3
Post by: edgreenberg on April 27, 2021, 09:55:48 PM
Reversing the signs worked as expected.  Thank you. 

I would like to make some adjustments, but I still don't understand the relationship of the joystick_map(a,b) entries with the graph.  Could you explain a bit about the meaning of the three parameters on each line? 

Thanks,
Ed
Title: Re: Reversing the joystick in ver 5.5.3
Post by: forum_admin on April 28, 2021, 10:24:47 AM
Hi, does the bottom section of https://www.bridgecommand.co.uk/Doc/joystick.php help with this?
Title: Re: Reversing the joystick in ver 5.5.3
Post by: edgreenberg on April 28, 2021, 09:07:22 PM
I did read this...  I understand the graph (joystick value,throttle value) but I didn't get it. Now I think I do, based on the last bullet point above the "Example joystick mapping" heading. I'll take another whack at it.