From e3318b7e0e075567a6a9e29239e074f4e02fc595 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Mon, 9 Dec 2024 11:41:16 +0100 Subject: made getKeyboardState --- src/crepe/facade/SDLContext.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/crepe/facade/SDLContext.h') diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index 1f83985..0f503f3 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -152,7 +152,8 @@ private: * \return The corresponding `Keycode` value or `Keycode::NONE` if the key is unrecognized. */ Keycode sdl_to_keycode(SDL_Keycode sdl_key); - + static const std::array& get_lookup_table(); + std::array get_keyboard_state(); /** * \brief Converts an SDL mouse button code to the custom MouseButton type. * -- cgit v1.2.3