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.

Main Menu

Reversing the joystick in ver 5.5.3

Started by edgreenberg, April 26, 2021, 03:44:24 PM

Previous topic - Next topic

edgreenberg

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


forum_admin

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.

edgreenberg


edgreenberg

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

forum_admin

Hi, does the bottom section of https://www.bridgecommand.co.uk/Doc/joystick.php help with this?

edgreenberg

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.

EVIDIM

I did it also but it not works.I use the console shipdriver.
I checked that the settings not change even though i press the button save and close.
Any help?

forum_admin

#7
Hi, EVIDIM can I check which version of Bridge Command you are running? From your description, I think this is version 4.

If so, in this old version, Bridge Command will use the settings file in the installation directory. If this is in 'Program Files' or similar, Windows will probably be preventing the ini file editor from actually saving (to prevent users accidentally changing system wide settings). Assuming you have admin rights on your computer, you should be able to edit the file directly (bc4.ini in the installation directory), or by running the settings editor as admin.

EVIDIM

Hi!
First of all I would like to say a big thanks!!!
I have now downloaded the CB 5.7 and i ran as administrator.This works but only in throttles.
But it works reversable ( i do the starboard throttle astern and the ship is going ahead,or i do the port throttle astern and is going ahead)
The rudder also not works.
I have dound some settings through the forum for reversable throttles but they dont work to my console.
I try to find a solution, hoping to have a new feedback

forum_admin

Hi, for the reversed throttles, in the settings editor try changing joystick_map(1,2)=-1 to joystick_map(1,2)=1, and changing joystick_map(2,2)=1 to joystick_map(2,2)=-1. This should swap the engine direction.

For the wheel, have you tried different settings for the channel?