X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInput%2FFGButton.hxx;h=497be1c460dedbd3f9a5d544bab62b96ed99022f;hb=76020894600c4d20f958f3d402419dc0fce78b74;hp=675f969d29ac5f254d5b60b93ecbf1526ffb9a1b;hpb=52ac173257bf9cc780f0faee5049314442083140;p=flightgear.git diff --git a/src/Input/FGButton.hxx b/src/Input/FGButton.hxx index 675f969d2..497be1c46 100644 --- a/src/Input/FGButton.hxx +++ b/src/Input/FGButton.hxx @@ -26,16 +26,16 @@ #define FGBUTTON_H #include "FGCommonInput.hxx" -#include
+#include
// for KEYMOD_MAX class FGButton : public FGCommonInput { public: FGButton(); virtual ~FGButton(); - void init( const SGPropertyNode * node, const std::string name, std::string & module ); + void init( const SGPropertyNode * node, const std::string & name, std::string & module ); void update( int modifiers, bool pressed, int x = -1, int y = -1); bool is_repeatable; - float interval_sec; + float interval_sec, delay_sec, release_delay_sec; float last_dt; int last_state; binding_list_t bindings[KEYMOD_MAX];