Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <Keymap.h>
Public Member Functions | |
CKeymap (std::shared_ptr< const IWindowKeymap > keymap, const IKeymapEnvironment *environment) | |
std::string | ControllerID () const override |
The controller ID. | |
const IKeymapEnvironment * | Environment () const override |
Access properties of the keymapping environment. | |
const KeymapActionGroup & | GetActions (const std::string &keyName) const override |
Get the actions for a given key name. | |
Public Member Functions inherited from KODI::KEYMAP::IKeymap | |
virtual | ~IKeymap ()=default |
CKeymap::CKeymap | ( | std::shared_ptr< const IWindowKeymap > | keymap, |
const IKeymapEnvironment * | environment ) |
|
overridevirtual |
The controller ID.
This is required because key names are specific to each controller
Implements KODI::KEYMAP::IKeymap.
|
inlineoverridevirtual |
Access properties of the keymapping environment.
Implements KODI::KEYMAP::IKeymap.
|
overridevirtual |
Get the actions for a given key name.
keyName | The key name created by CJoystickUtils::MakeKeyName() |
Implements KODI::KEYMAP::IKeymap.