diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-17 14:42:29 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-17 14:42:29 +0100 |
commit | 9232a98b72eee7af4f7f2153c1b2ccedbfa4cc65 (patch) | |
tree | 32a31903c0086073bdbeac860a2a0e715d7c87c2 /src/crepe/facade/SDLContext.cpp | |
parent | c96ef5f62a1369d66e8eba9bf8ed192e3cf8e716 (diff) |
fix code standard
Diffstat (limited to 'src/crepe/facade/SDLContext.cpp')
-rw-r--r-- | src/crepe/facade/SDLContext.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp index 7ccc243..f331517 100644 --- a/src/crepe/facade/SDLContext.cpp +++ b/src/crepe/facade/SDLContext.cpp @@ -75,9 +75,8 @@ SDLContext::~SDLContext() { } Keycode SDLContext::sdl_to_keycode(SDL_Scancode sdl_key) { - if (!LOOKUP_TABLE.contains(sdl_key)) return Keycode::NONE; - - return LOOKUP_TABLE.at(sdl_key); + if (!lookup_table.contains(sdl_key)) return Keycode::NONE; + return lookup_table.at(sdl_key); } const keyboard_state_t & SDLContext::get_keyboard_state() { |