11 #include "threads/Timer.h" 12 #include "windowing/XBMC_events.h" 18 #include <xkbcommon/xkbcommon.h> 26 void ProcessKey(libinput_event_keyboard *e);
27 void UpdateLeds(libinput_device *dev);
28 void GetRepeat(libinput_device *dev);
30 bool SetKeymap(
const std::string& layout);
33 XBMCKey XBMCKeyForKeysym(xkb_keysym_t sym, uint32_t scancode);
34 void KeyRepeatTimeout();
36 xkb_context *m_ctx =
nullptr;
37 xkb_keymap *m_keymap =
nullptr;
38 xkb_state *m_state =
nullptr;
39 xkb_mod_index_t m_modindex[4];
40 xkb_led_index_t m_ledindex[3];
45 std::map<libinput_device*, std::vector<int>> m_repeatData;
Definition: XBMC_events.h:109