]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/FGJoystickInput.hxx
Minor renaming issue.
[flightgear.git] / src / Input / FGJoystickInput.hxx
index 392fc54b3795fbebbc1bca217631a0e94fd73e9f..1ab5a6f59ed5d82a0925319f80542cc4660ae97f 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef _FGJOYSTICKINPUT_HXX
 #define _FGJOYSTICKINPUT_HXX
 
-#ifndef __cplusplus                                                          
+#ifndef __cplusplus
 # error This library requires C++
 #endif
 
@@ -52,7 +52,8 @@ public:
   static const int MAX_JOYSTICK_BUTTONS = 32;
 
 private:
-   void _remove();
+   void _remove(bool all);
+   SGPropertyNode_ptr status_node;
 
   /**
    * Settings for a single joystick axis.
@@ -83,6 +84,7 @@ private:
     int nbuttons;
     axis * axes;
     FGButton * buttons;
+    bool predefined;    
   };
   joystick bindings[MAX_JOYSTICKS];