summaryrefslogtreecommitdiff
path: root/core/os/input_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/input_event.h')
-rw-r--r--core/os/input_event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h
index 417b7f066f..31f88b295b 100644
--- a/core/os/input_event.h
+++ b/core/os/input_event.h
@@ -229,7 +229,7 @@ protected:
public:
void set_pressed(bool p_pressed);
- bool is_pressed();
+ virtual bool is_pressed() const;
void set_scancode(uint32_t p_scancode);
uint32_t get_scancode() const;
@@ -238,7 +238,7 @@ public:
uint32_t get_unicode() const;
void set_echo(bool p_enable);
- bool is_echo() const;
+ virtual bool is_echo() const;
uint32_t get_scancode_with_modifiers() const;