From eb66598c326862fd9dfc1899be4eac93f81a8023 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 8 Jun 2022 19:23:55 +0200 Subject: fix: prevent A, B, C & D from being interpreted as arrow keys --- src/interfaces/input.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/interfaces') diff --git a/src/interfaces/input.hpp b/src/interfaces/input.hpp index 3558363..a3019ad 100644 --- a/src/interfaces/input.hpp +++ b/src/interfaces/input.hpp @@ -13,9 +13,5 @@ public: virtual void listen() noexcept = 0; - virtual auto is_key_pressed(Key key) noexcept -> bool = 0; - - [[nodiscard]] virtual auto get_currently_pressed_key() const noexcept -> Key = 0; - - virtual void clear_currently_pressed() noexcept = 0; + virtual auto get_currently_pressed_key() noexcept -> Key = 0; }; -- cgit v1.2.3-18-g5258