aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-18 16:55:21 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-18 16:55:21 +0100
commit92e83ded2b6afb26082d7661c28af1d9d4e950a2 (patch)
treef03fe4f0f19efb4a96d79615d98e2af501550f00 /src/crepe/facade/SDLContext.h
parent0e8fcca228e4a55c9553afc5dfed3a38f4c53a91 (diff)
added mouse and key event triggering
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r--src/crepe/facade/SDLContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h
index ef7161b..cce2fb6 100644
--- a/src/crepe/facade/SDLContext.h
+++ b/src/crepe/facade/SDLContext.h
@@ -55,6 +55,7 @@ private:
*/
void handle_events(bool & running);
Keycode sdl_to_keycode(SDL_Keycode sdlKey);
+ MouseButton sdl_to_mousebutton(Uint8 sdl_button);
private:
//! Will only use get_ticks