From 1483f8e3f414de284f2291265f9e280d9849044a Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Mon, 25 Sep 2017 21:21:09 -0400 Subject: [PATCH] A32X: Add Keyboard Mode --- A320-main.xml | 170 +++++++++++++++++++++++++++++++++++++++- AircraftConfig/help.xml | 7 ++ AircraftConfig/main.xml | 3 - revision.txt | 2 +- 4 files changed, 175 insertions(+), 7 deletions(-) diff --git a/A320-main.xml b/A320-main.xml index a55b82cd..6863de23 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -850,30 +850,194 @@ 1 - Captain View + Captain View/Elevator Trim Up + + /options/system/keyboard-mode + property-assign /sim/current-view/view-number 0 + + + /options/system/keyboard-mode + + property-adjust + /controls/flight/elevator-trim + -0.001 + 2 - First Officer View + First Officer View/Elevator Up + + /options/system/keyboard-mode + property-assign /sim/current-view/view-number 8 + + + /options/system/keyboard-mode + + nasal + + 3 - Overhead View + Overhead View/Throttle Decrease + + /options/system/keyboard-mode + property-assign /sim/current-view/view-number 9 + + + /options/system/keyboard-mode + + nasal + + + + + 4 + Aileron Left + + + + /options/system/keyboard-mode + + nasal + + + + + 5 + Center Controls + + + + /options/system/keyboard-mode + + nasal + + + + + 6 + Aileron Right + + + + /options/system/keyboard-mode + + nasal + + + + + 7 + Elevator Trim Down + + + + /options/system/keyboard-mode + + property-adjust + /controls/flight/elevator-trim + 0.001 + + + + 8 + Elevator Down + + + + /options/system/keyboard-mode + + nasal + + + + + 9 + Throttle Increase + + + + /options/system/keyboard-mode + + nasal + + DEL diff --git a/AircraftConfig/help.xml b/AircraftConfig/help.xml index 41fe6577..adb7bee8 100644 --- a/AircraftConfig/help.xml +++ b/AircraftConfig/help.xml @@ -49,6 +49,13 @@ + + left + + + + + left diff --git a/AircraftConfig/main.xml b/AircraftConfig/main.xml index 4f246981..fc7c2de8 100644 --- a/AircraftConfig/main.xml +++ b/AircraftConfig/main.xml @@ -359,9 +359,6 @@ left - - /systems/acconfig/unused - /options/system/keyboard-mode property-toggle diff --git a/revision.txt b/revision.txt index 4b3506d6..ec2aa7c8 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -1534 \ No newline at end of file +1535 \ No newline at end of file