11 #include "input/joysticks/JoystickTypes.h" 12 #include "input/keymaps/interfaces/IKeyMapper.h" 42 void MapActions(
int windowID,
const tinyxml2::XMLNode* pDevice)
override;
43 void Clear()
override;
45 std::vector<std::shared_ptr<const KEYMAP::IWindowKeymap>> GetJoystickKeymaps()
const;
48 void DeserializeJoystickNode(
const tinyxml2::XMLNode* pDevice, std::string& controllerId);
49 bool DeserializeButton(
const tinyxml2::XMLElement* pButton,
51 KODI::JOYSTICK::ANALOG_STICK_DIRECTION& dir,
52 unsigned int& holdtimeMs,
53 std::set<std::string>& hotkeys,
54 std::string& actionStr);
56 using ControllerID = std::string;
57 std::map<ControllerID, std::shared_ptr<IWindowKeymap>> m_joystickKeymaps;
59 std::vector<std::string> m_controllerIds;
Definition: SkinTimerManager.h:18
Interface for classes that can map buttons to Kodi actions.
Definition: IKeyMapper.h:25
Definition: AudioDecoder.h:18
Definition: JoystickMapper.h:35