aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r--src/crepe/facade/SDLContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h
index 007092b..ef7161b 100644
--- a/src/crepe/facade/SDLContext.h
+++ b/src/crepe/facade/SDLContext.h
@@ -8,6 +8,7 @@
#include <string>
#include "../api/Sprite.h"
+#include "../api/KeyCodes.h"
#include "../api/Transform.h"
#include "api/Camera.h"
@@ -53,6 +54,7 @@ private:
* \param running Reference to a boolean flag that controls the main loop.
*/
void handle_events(bool & running);
+ Keycode sdl_to_keycode(SDL_Keycode sdlKey);
private:
//! Will only use get_ticks