| 12345678910111213141516171819202122232425262728 |
- /*
- * author: Patrick-Christopher Mattulat
- * e-mail: webmaster@lynarstudios.com
- */
- #ifndef LS_ATLANTIS_ENGINE_WINDOW_SDL_KEY_EVENT_MANAGER_HPP
- #define LS_ATLANTIS_ENGINE_WINDOW_SDL_KEY_EVENT_MANAGER_HPP
- #include <Export.hpp>
- #include <SDL3/SDL_events.h>
- #include <interface/IKeyboard.hpp>
- #include <memory>
- namespace ls::atlantis::window
- {
- class LS_ATLANTIS_DYNAMIC_GOAL SdlKeyEventManager
- {
- public:
- SdlKeyEventManager();
- ~SdlKeyEventManager();
- static void manageKeyDownEvent(const ::std::shared_ptr<ls::atlantis::interfaces::IKeyboard> &_keyboard, const ::std::shared_ptr<SDL_Event> &_event);
- static void manageKeyUpEvent(const ::std::shared_ptr<ls::atlantis::interfaces::IKeyboard> &_keyboard, const ::std::shared_ptr<SDL_Event> &_event);
- };
- }
- #endif
|