diff --git a/Input/Joysticks/Saitek/Cyborg-Gold-3d-USB.xml b/Input/Joysticks/Saitek/Cyborg-Gold-3d-USB.xml index fda8e1fd7..0a2ace0e4 100644 --- a/Input/Joysticks/Saitek/Cyborg-Gold-3d-USB.xml +++ b/Input/Joysticks/Saitek/Cyborg-Gold-3d-USB.xml @@ -105,9 +105,15 @@ ________________________________________________________________________________ data = props.globals.getNode(this).getNode("data"); mode = data.getNode("mode"); modifier = data.getNode("modifier"); + f1 = f2 = 0; get_mode = func { modifier.getValue() + mode.getValue() * 4 } + resetFOV = func { + setprop("/sim/current-view/field-of-view", + getprop("/sim/current-view/config/default-field-of-view-deg")); + } + harrier = func { if (getprop("/sim/aero") == "harrier") { thv = getprop("/controls/engines/engine[0]/mixture"); @@ -173,11 +179,9 @@ ________________________________________________________________________________