Removing flaps indicator popup
This only worked correctly for aircrafts with flaps up to 30 degrees. Furthermore in my opinion if needed this should be included for all joysticks/controls as a general solution and not for a single setup.
This commit is contained in:
parent
c15ab03ad8
commit
aaa2c0cffb
1 changed files with 0 additions and 4 deletions
|
@ -259,7 +259,6 @@ to look all around in different directions.
|
|||
mod2 = getprop("/input/joysticks/js[0]/t-flight-hotas-x-modifier2");
|
||||
if(mod1==0 and mod2==0) {
|
||||
controls.flapsDown(-1);
|
||||
gui.popupTip(sprintf("Flaps: %d deg", 30*getprop("/controls/flight/flaps")+0.1));
|
||||
}
|
||||
elsif(mod1==1 and mod2==0) {
|
||||
controls.adjMixture(10);
|
||||
|
@ -288,7 +287,6 @@ to look all around in different directions.
|
|||
mod2 = getprop("/input/joysticks/js[0]/t-flight-hotas-x-modifier2");
|
||||
if(mod1==0 and mod2==0) {
|
||||
controls.flapsDown(0);
|
||||
gui.popupTip(sprintf("Flaps: %d deg", 30*getprop("/controls/flight/flaps")+0.1));
|
||||
}
|
||||
elsif(mod1==1 and mod2==0) {
|
||||
# mixture
|
||||
|
@ -315,7 +313,6 @@ to look all around in different directions.
|
|||
mod2 = getprop("/input/joysticks/js[0]/t-flight-hotas-x-modifier2");
|
||||
if(mod1==0 and mod2==0) {
|
||||
controls.flapsDown(1);
|
||||
gui.popupTip(sprintf("Flaps: %d deg", 30*getprop("/controls/flight/flaps")+0.1));
|
||||
}
|
||||
elsif(mod1==1 and mod2==0) {
|
||||
controls.adjMixture(-10);
|
||||
|
@ -344,7 +341,6 @@ to look all around in different directions.
|
|||
mod2 = getprop("/input/joysticks/js[0]/t-flight-hotas-x-modifier2");
|
||||
if(mod1==0 and mod2==0) {
|
||||
controls.flapsDown(0);
|
||||
gui.popupTip(sprintf("Flaps: %d deg", 30*getprop("/controls/flight/flaps")+0.1));
|
||||
}
|
||||
elsif(mod1==1 and mod2==0) {
|
||||
# mixture
|
||||
|
|
Loading…
Reference in a new issue