#ifndef XKEYHANDLER_H #define XKEYHANDLER_H #include #include "keyhandler.h" #include class XKeyHandler : public KeyHandler { public: XKeyHandler(); virtual ~XKeyHandler() override; virtual void Key(SpecialKey key, KeyModifiers mods = KeyModifiers::KM_NONE) override; virtual void Key(char key, KeyModifiers mods = KeyModifiers::KM_NONE) override; private: void HandleModifierKeys(KeyModifiers mods, bool press); static std::map s_keymap; Display* m_disp; }; #endif // XKEYHANDLER_H