xbmc
Public Member Functions | List of all members
CKeymap Class Reference
Inheritance diagram for CKeymap:
Inheritance graph
[legend]
Collaboration diagram for CKeymap:
Collaboration graph
[legend]

Public Member Functions

 CKeymap (std::shared_ptr< const IWindowKeymap > keymap, const IKeymapEnvironment *environment)
 
std::string ControllerID () const override
 The controller ID. More...
 
const IKeymapEnvironmentEnvironment () const override
 Access properties of the keymapping environment.
 
const KODI::JOYSTICK::KeymapActionGroupGetActions (const std::string &keyName) const override
 Get the actions for a given key name. More...
 

Member Function Documentation

◆ ControllerID()

std::string CKeymap::ControllerID ( ) const
overridevirtual

The controller ID.

This is required because key names are specific to each controller

Implements IKeymap.

◆ GetActions()

const JOYSTICK::KeymapActionGroup & CKeymap::GetActions ( const std::string &  keyName) const
overridevirtual

Get the actions for a given key name.

Parameters
keyNameThe key name created by CJoystickUtils::MakeKeyName()
Returns
A list of actions associated with the given key

Implements IKeymap.


The documentation for this class was generated from the following files: