![]() |
Kodi Documentation 18.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) | |
virtual std::string | ControllerID () const override |
The controller ID. More... | |
virtual const IKeymapEnvironment * | Environment () const override |
Access properties of the keymapping environment. More... | |
const KODI::JOYSTICK::KeymapActionGroup & | GetActions (const std::string &keyName) const override |
Get the actions for a given key name. More... | |
![]() | |
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 IKeymap.
|
inlineoverridevirtual |
Access properties of the keymapping environment.
Implements IKeymap.
|
overridevirtual |
Get the actions for a given key name.
keyName | The key name created by CJoystickUtils::MakeKeyName() |
Implements IKeymap.