1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 13:49:56 +00:00
openmw-tes3mp/apps/openmw/mwinput/keyboardmanager.hpp
2021-04-30 20:11:41 +02:00

25 lines
610 B
C++

#ifndef MWINPUT_MWKEYBOARDMANAGER_H
#define MWINPUT_MWKEYBOARDMANAGER_H
#include <components/sdlutil/events.hpp>
namespace MWInput
{
class BindingsManager;
class KeyboardManager : public SDLUtil::KeyListener
{
public:
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