11 #include "input/actions/Action.h"    12 #include "input/keymaps/KeymapTypes.h"    13 #include "input/keymaps/interfaces/IKeyHandler.h"    25 class IActionListener;
    48   bool OnDigitalMotion(
bool bPressed, 
unsigned int holdTimeMs) 
override;
    49   bool OnAnalogMotion(
float magnitude, 
unsigned int motionTimeMs) 
override;
    67                          unsigned int holdTimeMs);
    77   CAction ProcessRelease(std::vector<const KeymapAction*> actions, 
int windowId);
    92                         unsigned int holdTimeMs);
    95   bool SendRepeatAction(
unsigned int holdTimeMs);
    98   static bool IsPressed(
float magnitude);
   101   const std::string m_keyName;
   109   unsigned int m_holdStartTimeMs;
   110   unsigned int m_lastHoldTimeMs;
   112   unsigned int m_lastActionMs;
   113   int m_activeWindowId = -1; 
 
Action entry in joystick.xml. 
Definition: KeymapTypes.h:23
Interface for handling keymap keys. 
Definition: IKeyHandler.h:23
Class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:21
Definition: AudioDecoder.h:18
Definition: KeyHandler.h:36
Interface for a class working with a keymap. 
Definition: IKeymapHandler.h:23
Interface defining methods to handle GUI actions. 
Definition: IActionListener.h:22
Interface for mapping buttons to Kodi actions. 
Definition: IKeymap.h:28
bool IsPressed() const override
Return true if the key is "pressed" (has a magnitude greater than 0.5) 
Definition: KeyHandler.h:47