From 5052cb2b9104f57d0ff38d80da50bbeceb926e6f Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Sat, 12 Aug 2017 13:03:44 +0200 Subject: InputEventJoypadMotion: Add missing is_pressed() method. --- core/os/input_event.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/os/input_event.h') diff --git a/core/os/input_event.h b/core/os/input_event.h index b120d4b840..d1fd7cc90f 100644 --- a/core/os/input_event.h +++ b/core/os/input_event.h @@ -348,6 +348,7 @@ public: void set_axis_value(float p_value); float get_axis_value() const; + virtual bool is_pressed() const; virtual bool action_match(const Ref &p_event) const; virtual bool is_action_type() const { return true; } -- cgit v1.2.3