diff options
| author | HampusM <hampus@hampusmat.com> | 2022-06-08 19:23:55 +0200 | 
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:57:01 +0200 | 
| commit | eb66598c326862fd9dfc1899be4eac93f81a8023 (patch) | |
| tree | 75c74e7d3a180952d9b2efc081aa4d4ef165da60 /src/interfaces | |
| parent | 0f9f82c875fef4c8057a994552aa7d7a702b411a (diff) | |
fix: prevent A, B, C & D from being interpreted as arrow keys
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/input.hpp | 6 | 
1 files changed, 1 insertions, 5 deletions
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;  };  | 
