11 #include "IButtonMapper.h" 35 void MapActions(
int windowID,
const tinyxml2::XMLNode* pDevice)
override;
36 void Clear()
override;
38 std::vector<std::shared_ptr<const IWindowKeymap>> GetJoystickKeymaps()
const;
41 void DeserializeJoystickNode(
const tinyxml2::XMLNode* pDevice, std::string& controllerId);
42 bool DeserializeButton(
const tinyxml2::XMLElement* pButton,
44 KODI::JOYSTICK::ANALOG_STICK_DIRECTION& dir,
45 unsigned int& holdtimeMs,
46 std::set<std::string>& hotkeys,
47 std::string& actionStr);
49 using ControllerID = std::string;
50 std::map<ControllerID, std::shared_ptr<IWindowKeymap>> m_joystickKeymaps;
52 std::vector<std::string> m_controllerIds;
Definition: SkinTimerManager.h:18
Definition: JoystickMapper.h:28
Interface for mapping buttons to Kodi actions for specific windows.
Definition: IKeymap.h:54