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.h | |
parent | c96ef5f62a1369d66e8eba9bf8ed192e3cf8e716 (diff) |
fix code standard
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r-- | src/crepe/facade/SDLContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index 8f4760e..b9c7fbd 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -245,7 +245,7 @@ private: //! variable to store the state of each key (true = pressed, false = not pressed) keyboard_state_t keyboard_state; //! lookup table for converting SDL_SCANCODES to Keycodes - const std::unordered_map<SDL_Scancode, Keycode> LOOKUP_TABLE + const std::unordered_map<SDL_Scancode, Keycode> lookup_table = {{SDL_SCANCODE_SPACE, Keycode::SPACE}, {SDL_SCANCODE_APOSTROPHE, Keycode::APOSTROPHE}, {SDL_SCANCODE_COMMA, Keycode::COMMA}, |