11 #include "input/keymaps/interfaces/IKeyMapper.h" 35 void MapActions(
int windowID,
const tinyxml2::XMLNode* bDevice)
override;
36 void Clear()
override;
38 bool TranslateTouchAction(
39 int window,
int touchAction,
int touchPointers,
int& action, std::string& actionString);
42 bool TranslateAction(
int window,
43 unsigned int touchCommand,
45 unsigned int& actionId,
46 std::string& actionString);
50 unsigned int actionId;
51 std::string strAction;
54 using TouchActionKey =
unsigned int;
55 using TouchActionMap = std::map<TouchActionKey, CTouchAction>;
58 using TouchMap = std::map<WindowID, TouchActionMap>;
60 unsigned int GetActionID(WindowID window,
61 TouchActionKey touchActionKey,
62 std::string& actionString);
64 static unsigned int TranslateTouchCommand(
const tinyxml2::XMLElement* pButton,
65 CTouchAction& action);
67 static unsigned int GetTouchActionKey(
unsigned int touchCommandId,
int touchPointers);
Definition: TouchTranslator.h:29
Definition: SkinTimerManager.h:18
Interface for classes that can map buttons to Kodi actions.
Definition: IKeyMapper.h:25
Definition: AudioDecoder.h:18