#include <WindowKeymap.h>
◆ CWindowKeymap()
CWindowKeymap::CWindowKeymap |
( |
const std::string & | controllerId | ) |
|
|
explicit |
◆ 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: