1
0
Fork 0

Jim Campbell: add carb-heat axis support

This commit is contained in:
mfranz 2005-06-20 16:52:58 +00:00
parent 6654497a78
commit 1988fbb089

View file

@ -76,6 +76,12 @@ propellerAxis = func {
if(size(arg) > 0) { val = -val; }
props.setAll("/controls/engines/engine", "propeller-pitch", (1 - val)/2);
}
carbHeatAxis = func {
val = cmdarg().getNode("setting").getValue();
if(size(arg) > 0) { val = -val; }
props.setAll("/controls/anti-ice/engine", "carb-heat", (1 - val)/2);
}
##
# Wrapper around stepProps() which emulates the "old" flap behavior for