diff options
| author | Andreas Haas | 2017-08-12 13:03:44 +0200 |
|---|---|---|
| committer | Andreas Haas | 2017-08-12 13:04:14 +0200 |
| commit | 5052cb2b9104f57d0ff38d80da50bbeceb926e6f (patch) | |
| tree | 749c0b9d5d2c1f388089161788ac5ebdd25fe85f /core/os/input_event.h | |
| parent | 23f6d3fa69935c90c6cdcee342ae99d226e9b4ab (diff) | |
| download | godot-5052cb2b9104f57d0ff38d80da50bbeceb926e6f.tar.gz godot-5052cb2b9104f57d0ff38d80da50bbeceb926e6f.tar.zst godot-5052cb2b9104f57d0ff38d80da50bbeceb926e6f.zip | |
InputEventJoypadMotion: Add missing is_pressed() method.
Diffstat (limited to '')
| -rw-r--r-- | core/os/input_event.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h index b120d4b84..d1fd7cc90 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<InputEvent> &p_event) const; virtual bool is_action_type() const { return true; } |
