aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/input.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interfaces/input.hpp b/src/interfaces/input.hpp
index 0797c0d..c2ecefb 100644
--- a/src/interfaces/input.hpp
+++ b/src/interfaces/input.hpp
@@ -15,5 +15,7 @@ public:
virtual bool is_key_pressed(Key key) noexcept = 0;
+ virtual Key get_currently_pressed_key() const noexcept = 0;
+
virtual void clear_currently_pressed() noexcept = 0;
};