X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInput%2FFGButton.cxx;h=400de289e8f805bfd6d2942e1d67a8c425aed5a9;hb=76020894600c4d20f958f3d402419dc0fce78b74;hp=63a679d79e02f74cd3b7919af1617c69d6a1cb24;hpb=025b94f09950de6afecf2097d921c7735c16d35d;p=flightgear.git diff --git a/src/Input/FGButton.cxx b/src/Input/FGButton.cxx index 63a679d79..400de289e 100644 --- a/src/Input/FGButton.cxx +++ b/src/Input/FGButton.cxx @@ -28,11 +28,12 @@ #include "FGButton.hxx" -#include 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);