11 #include "input/joysticks/JoystickTypes.h"    12 #include "input/keymaps/interfaces/IKeymap.h"    30   std::string 
ControllerID()
 const override { 
return m_controllerId; }
    36   const std::string m_controllerId;
    38   using KeyName = std::string;
    39   using Keymap = std::map<KeyName, KeymapActionGroup>;
    42   using WindowMap = std::map<WindowID, Keymap>;
    44   WindowMap m_windowKeymap;
 
Interface for mapping buttons to Kodi actions for specific windows. 
Definition: IKeymap.h:60
Action entry in joystick.xml. 
Definition: KeymapTypes.h:23
Container that sorts action entries by their holdtime. 
Definition: KeymapTypes.h:38
const KeymapActionGroup & GetActions(int windowId, const std::string &keyName) const override
Get the actions for a given key name and window ID. 
Definition: WindowKeymap.cpp:36
Definition: AudioDecoder.h:18
std::string ControllerID() const override
The controller ID. 
Definition: WindowKeymap.h:30
Definition: WindowKeymap.h:24
void MapAction(int windowId, const std::string &keyName, KeymapAction action) override
Add an action to the keymap for a given key name and window ID. 
Definition: WindowKeymap.cpp:20