by wkitty42 » Wed Jan 16, 2019 5:02 am
can you read and understand diff/patch files??
- Code: Select all
diff --git a/Nasal/joystick.nas b/Nasal/joystick.nas
index 4402c0ca..7346bf99 100644
--- a/Nasal/joystick.nas
+++ b/Nasal/joystick.nas
@@ -301,7 +301,6 @@ var axisBindings = [
PropertyScaleAxis.new("Brake Right", "/controls/gear/brake-right", 0.5, 1.0),
PropertyScaleAxis.new("Flaps", "/controls/flight/flaps", 0.5, 1.0),
PropertyScaleAxis.new("Wings", "/controls/flight/wings", 0.5, 1.0),
- PropertyScaleAxis.new("Brake Right", "/controls/gear/brake-right", 0.5, 1.0),
NasalLowHighAxis.new("Aileron Trim inc.", "controls.aileronTrim(-1);", "controls.aileronTrim(1);", "/controls/flight/aileron-trim-delta", 1),
NasalLowHighAxis.new("Elevator Trim inc.", "controls.elevatorTrim(-1);", "controls.elevatorTrim(1);", "/controls/flight/elevator-trim-delta", 1),
NasalLowHighAxis.new("Rudder Trim inc.", "controls.rudderTrim(-1);", "controls.rudderTrim(1);", "/controls/flight/rudder-trim-delta", 1),
diff --git a/gui/dialogs/button-axis-config.xml b/gui/dialogs/button-axis-config.xml
index a57507d7..9db4fe68 100644
--- a/gui/dialogs/button-axis-config.xml
+++ b/gui/dialogs/button-axis-config.xml
@@ -147,7 +147,7 @@ var assignAxis = func(cmd) {
</binding>
</button>
<button>
- <row>5</row>
+ <row>7</row>
<col>0</col>
<halign>fill</halign>
<legend>Wings</legend>
\ No newline at end of file
there's two files changed above... both are in your FG
data directory... the first one is 'Nasal/joystick.nas' and the second one is 'gui/dialogs/button-axis-config.xml'... '-' means the line was removed... '+' means the line was added... in the case of the second one, the end result is simply changing the '5' to a '7' on line 150... this is the bug causing the missing right brake entry...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."