diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:45:33 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:45:33 +0100 |
commit | 0524c68cc4eb9fbd36c17ed4f5d8152cac2f977b (patch) | |
tree | 831c9a320361a314837625652673207662ce21f9 /src/crepe/facade/SDLContext.h | |
parent | 27bf7f7a6e2493b742f502b5da394a5a2d74cdd2 (diff) | |
parent | 9232a98b72eee7af4f7f2153c1b2ccedbfa4cc65 (diff) |
Merge branch 'master' into niels/UI
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 fc44f82..01d82a0 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -254,7 +254,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}, |