diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-18 16:55:21 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-18 16:55:21 +0100 |
commit | 92e83ded2b6afb26082d7661c28af1d9d4e950a2 (patch) | |
tree | f03fe4f0f19efb4a96d79615d98e2af501550f00 /src/crepe/facade/SDLContext.h | |
parent | 0e8fcca228e4a55c9553afc5dfed3a38f4c53a91 (diff) |
added mouse and key event triggering
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r-- | src/crepe/facade/SDLContext.h | 1 |
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 |