Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Interface for mapping buttons to Kodi actions. More...
#include <IKeymap.h>
Public Member Functions | |
virtual | ~IKeymap ()=default |
virtual std::string | ControllerID () const =0 |
The controller ID. | |
virtual const IKeymapEnvironment * | Environment () const =0 |
Access properties of the keymapping environment. | |
virtual const KeymapActionGroup & | GetActions (const std::string &keyName) const =0 |
Get the actions for a given key name. | |
Interface for mapping buttons to Kodi actions.
|
virtualdefault |
|
pure virtual |
The controller ID.
This is required because key names are specific to each controller
Implemented in KODI::KEYMAP::CKeymap.
|
pure virtual |
Access properties of the keymapping environment.
Implemented in KODI::KEYMAP::CKeymap.
|
pure virtual |
Get the actions for a given key name.
keyName | The key name created by CJoystickUtils::MakeKeyName() |
Implemented in KODI::KEYMAP::CKeymap.