11 #include "input/actions/Action.h" 13 #include "input/joysticks/interfaces/IKeyHandler.h" 46 bool OnAnalogMotion(
float magnitude,
unsigned int motionTimeMs)
override;
64 unsigned int holdTimeMs);
74 CAction ProcessRelease(std::vector<const KeymapAction*> actions,
int windowId);
89 unsigned int holdTimeMs);
92 bool SendRepeatAction(
unsigned int holdTimeMs);
98 const std::string m_keyName;
106 unsigned int m_holdStartTimeMs;
107 unsigned int m_lastHoldTimeMs;
109 unsigned int m_lastActionMs;
110 int m_activeWindowId = -1;
Interface for handling keymap keys.
Definition: IKeyHandler.h:22
bool OnDigitalMotion(bool bPressed, unsigned int holdTimeMs) override
A key mapped to a digital feature has been pressed or released.
Definition: KeyHandler.cpp:57
Definition: KeyHandler.h:33
Interface for mapping buttons to Kodi actions.
Definition: IKeymap.h:22
Action entry in joystick.xml.
Definition: JoystickTypes.h:166
Interface for a class working with a keymap.
Definition: IKeymapHandler.h:22
bool IsPressed() const override
Return true if the key is "pressed" (has a magnitude greater than 0.5)
Definition: KeyHandler.h:44
class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:22
Controller configuration window.
Definition: AudioDecoder.h:18
Definition: IActionListener.h:13
bool OnAnalogMotion(float magnitude, unsigned int motionTimeMs) override
Callback for keys mapped to analog features.
Definition: KeyHandler.cpp:62