]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/jsinput.h
Fix line endings
[flightgear.git] / src / Input / jsinput.h
index b173a3a714064a557a533046be89dda61e37b77f..b5b0794aef87fd3ec5ea42bce9be9f767a8a579f 100644 (file)
@@ -23,8 +23,7 @@
 #ifndef _JSINPUT_H
 #define _JSINPUT_H
 
-#include <jssuper.h>
-#include <plib/js.h>
+#include "jssuper.h"
 
 class jsInput {
   private:
@@ -35,6 +34,7 @@ class jsInput {
     int button_iv[MAX_JOYSTICKS];
     
     int joystick,axis,button;
+    bool axis_positive;
     
     float axis_threshold;
     
@@ -49,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)