diff --git a/Input/Joysticks/Logitech/g940.xml b/Input/Joysticks/Logitech/g940.xml new file mode 100644 index 000000000..a29bc2409 --- /dev/null +++ b/Input/Joysticks/Logitech/g940.xml @@ -0,0 +1,661 @@ + + + + + G940 + + + + + Aileron + + property-scale + /controls/flight/aileron + + + + + Elevator + + property-scale + /controls/flight/elevator + -1.0 + + + + + Aileron trim + + property-scale + /controls/flight/aileron-trim + + + + + + + View direction + + 12 + + + View left + true + + + nasal + + + + + View right + true + + + nasal + + + + + + + View elevation + + 13 + + + View down + true + + property-adjust + /sim/current-view/goal-pitch-offset-deg + 3.0 + + + + View up + true + + property-adjust + /sim/current-view/goal-pitch-offset-deg + -3.0 + + + + + + + + + + + + + + + + + + + + + + Throttle right engine + + 6 + + + + nasal + + + + + + + + Throttle left engine + + 7 + + + property-scale + /controls/engines/engine[0]/throttle + -1.0 + -0.5 + + + + + Mixture + + 9 + + + property-scale + /controls/engines/engine/mixture + -1.0 + -0.5 + + + + + Propeller pitch + + 8 + + + property-scale + /controls/engines/engine/propeller-pitch + -1.0 + -0.5 + + + + + View zoom + + 14 + + + Zoom out + true + + nasal + + + + + Zoom in + true + + nasal + + + + + + + Reset zoom + + 15 + + + Reset zoom to default + false + + property-assign + /sim/current-view/field-of-view + /sim/view/config/default-field-of-view-deg + + + + Reset zoom for greater overview + false + + nasal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rudder + + 2 + + + property-scale + /controls/flight/rudder + 2 + + + + + + 4 + + Left differential break + + property-scale + /controls/gear/brake-left + -1.0 + -0.5 + + + + + + 3 + + Right differential break + + property-scale + /controls/gear/brake-right + -1.0 + -0.5 + + + + +