1
0
Fork 0

Swapped throttle and rudder axes.

This commit is contained in:
curt 2000-05-30 17:23:57 +00:00
parent 96d3d7ca26
commit 252cb48f44

View file

@ -217,7 +217,7 @@ int fgJoystickRead( void ) {
// Added by William Riley -- riley@technologist.com
if ( js0->getNumAxes() >= 3 ) {
throttle_tmp=(-js_ax0[2] + 1) / 2;
throttle_tmp=(-js_ax0[3] + 1) / 2;
if(sync_throttle == true) {
if (fabs(controls.get_throttle(0)-throttle_tmp)
@ -235,7 +235,7 @@ int fgJoystickRead( void ) {
if ( current_options.get_auto_coordination() !=
fgOPTIONS::FG_AUTO_COORD_ENABLED )
{
controls.set_rudder( js_ax0[3] );
controls.set_rudder( js_ax0[2] );
}
}
// End of William's code