1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00
OpenMW/apps/openmw/mwinput/keyboardmanager.hpp

26 lines
610 B
C++
Raw Normal View History

#ifndef MWINPUT_MWKEYBOARDMANAGER_H
#define MWINPUT_MWKEYBOARDMANAGER_H
#include <components/sdlutil/events.hpp>
namespace MWInput
{
class BindingsManager;
class KeyboardManager : public SDLUtil::KeyListener
{
public:
2020-04-17 11:59:37 +00:00
KeyboardManager(BindingsManager* bindingsManager);
virtual ~KeyboardManager() = default;
void textInput(const SDL_TextInputEvent &arg) override;
void keyPressed(const SDL_KeyboardEvent &arg) override;
void keyReleased(const SDL_KeyboardEvent &arg) override;
private:
BindingsManager* mBindingsManager;
};
}
#endif