X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInput%2FFGButton.cxx;h=400de289e8f805bfd6d2942e1d67a8c425aed5a9;hb=76020894600c4d20f958f3d402419dc0fce78b74;hp=cb03aeac4f1a158333292781e2cf68638b1a9159;hpb=71d7f043a8aaed896b5a3ed6c839cf5457871d4b;p=flightgear.git diff --git a/src/Input/FGButton.cxx b/src/Input/FGButton.cxx index cb03aeac4..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 string name, 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);