]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/jsinput.h
Fix line endings
[flightgear.git] / src / Input / jsinput.h
index 131f69db59d8f5e045bcd6196e034c2f6cedd248..b5b0794aef87fd3ec5ea42bce9be9f767a8a579f 100644 (file)
@@ -34,6 +34,7 @@ class jsInput {
     int button_iv[MAX_JOYSTICKS];
     
     int joystick,axis,button;
+    bool axis_positive;
     
     float axis_threshold;
     
@@ -48,6 +49,7 @@ class jsInput {
     inline int getInputJoystick(void) { return joystick; }
     inline int getInputAxis(void)     { return axis; }
     inline int getInputButton(void)   { return button; }
+    inline bool getInputAxisPositive(void) { return axis_positive; }
     
     inline float getReturnThreshold(void) { return axis_threshold; }
     inline void setReturnThreshold(float ff)