Please login or register.

Login with username, password and session length

News:

Registration is only required if you want to post, and is not needed to read any posts. To avoid excess 'spam' accounts, all accounts where no posts have been made will be deleted after two weeks. Please register again if you wish to post.

Author Topic: Reversing the joystick in ver 5.5.3  (Read 877 times)

April 26, 2021, 03:44:24 PM
  • Member
  • **
  • Posts: 5
    • View Profile
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


April 26, 2021, 08:48:54 PM
Reply #1
  • Administrator
  • Member
  • *****
  • Posts: 112
    • View Profile
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.

April 27, 2021, 01:05:43 PM
Reply #2
  • Member
  • **
  • Posts: 5
    • View Profile
I will give it a try. Thanks.

April 27, 2021, 09:55:48 PM
Reply #3
  • Member
  • **
  • Posts: 5
    • View Profile
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

April 28, 2021, 10:24:47 AM
Reply #4
  • Administrator
  • Member
  • *****
  • Posts: 112
    • View Profile
Hi, does the bottom section of https://www.bridgecommand.co.uk/Doc/joystick.php help with this?

April 28, 2021, 09:07:22 PM
Reply #5
  • Member
  • **
  • Posts: 5
    • View Profile
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.