]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/jsinput.h
Don't restore initial screen geometry because there is nothing in fg_os* to resize...
[flightgear.git] / src / Input / jsinput.h
index 131f69db59d8f5e045bcd6196e034c2f6cedd248..6da58d35a6910388db4453b181ce93785ab70e25 100644 (file)
@@ -16,7 +16,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
 
@@ -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)