|
| CWindowKeymap (const std::string &controllerId) |
|
std::string | ControllerID () const override |
| The controller ID. More...
|
|
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. More...
|
|
const KeymapActionGroup & | GetActions (int windowId, const std::string &keyName) const override |
| Get the actions for a given key name and window ID. More...
|
|
◆ ControllerID()
std::string KODI::KEYMAP::CWindowKeymap::ControllerID |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetActions()
const KeymapActionGroup & CWindowKeymap::GetActions |
( |
int |
windowId, |
|
|
const std::string & |
keyName |
|
) |
| const |
|
overridevirtual |
Get the actions for a given key name and window ID.
- Parameters
-
windowId | The window ID to look up |
keyName | The key name created by CJoystickUtils::MakeKeyName() |
- Returns
- A list of actions associated with the given key for the given window
Implements KODI::KEYMAP::IWindowKeymap.
◆ MapAction()
void CWindowKeymap::MapAction |
( |
int |
windowId, |
|
|
const std::string & |
keyName, |
|
|
KeymapAction |
action |
|
) |
| |
|
overridevirtual |
Add an action to the keymap for a given key name and window ID.
- Parameters
-
windowId | The window ID to look up |
keyName | The key name created by CJoystickUtils::MakeKeyName() |
action | The action to map |
Implements KODI::KEYMAP::IWindowKeymap.
The documentation for this class was generated from the following files: