|
kodi
|
Interface for mapping buttons to Kodi actions for specific windows. More...
#include <IKeymap.h>

Public Member Functions | |
| virtual std::string | ControllerID () const =0 |
| The controller ID. More... | |
| virtual void | MapAction (int windowId, const std::string &keyName, KeymapAction action)=0 |
| Add an action to the keymap for a given key name and window ID. More... | |
| virtual const KeymapActionGroup & | GetActions (int windowId, const std::string &keyName) const =0 |
| Get the actions for a given key name and window ID. More... | |
Interface for mapping buttons to Kodi actions for specific windows.
|
pure virtual |
The controller ID.
This is required because key names are specific to each controller
Implemented in KODI::KEYMAP::CWindowKeymap.
|
pure virtual |
Get the actions for a given key name and window ID.
| windowId | The window ID to look up |
| keyName | The key name created by CJoystickUtils::MakeKeyName() |
Implemented in KODI::KEYMAP::CWindowKeymap.
|
pure virtual |
Add an action to the keymap for a given key name and window ID.
| windowId | The window ID to look up |
| keyName | The key name created by CJoystickUtils::MakeKeyName() |
| action | The action to map |
Implemented in KODI::KEYMAP::CWindowKeymap.
1.8.13