]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/FGButton.cxx
Use the short xml name for properties in JSON
[flightgear.git] / src / Input / FGButton.cxx
index 63a679d79e02f74cd3b7919af1617c69d6a1cb24..400de289e8f805bfd6d2942e1d67a8c425aed5a9 100644 (file)
 
 #include "FGButton.hxx"
 
-#include <simgear/math/SGMath.hxx>
 
 FGButton::FGButton ()
   : is_repeatable(false),
     interval_sec(0),
+    delay_sec(0),
+    release_delay_sec(0),
     last_dt(0),
     last_state(0)
 {
@@ -45,7 +46,7 @@ FGButton::~FGButton ()
 }
 
 
-void FGButton::init( const SGPropertyNode * node, const std::string name, std::string & module )
+void FGButton::init( const SGPropertyNode * node, const std::string name, std::string & module )
 {
   if (node == 0) {
     SG_LOG(SG_INPUT, SG_DEBUG, "No bindings for button " << name);