Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::KEYMAP::IKeyboardActionMap Class Referenceabstract

Interface for translating keyboard keys to action IDs. More...

#include <IKeyboardActionMap.h>

Inheritance diagram for KODI::KEYMAP::IKeyboardActionMap:
KODI::KEYMAP::CKeyboardActionMap

Public Member Functions

virtual ~IKeyboardActionMap ()=default
 
virtual unsigned int GetActionID (const CKey &key)=0
 Get the action ID mapped to the specified key.
 

Detailed Description

Interface for translating keyboard keys to action IDs.

Constructor & Destructor Documentation

◆ ~IKeyboardActionMap()

virtual KODI::KEYMAP::IKeyboardActionMap::~IKeyboardActionMap ( )
virtualdefault

Member Function Documentation

◆ GetActionID()

virtual unsigned int KODI::KEYMAP::IKeyboardActionMap::GetActionID ( const CKey & key)
pure virtual

Get the action ID mapped to the specified key.

Parameters
keyThe key to look up
Returns
The action ID from ActionIDs.h, or ACTION_NONE if no action is mapped to the specified key

Implemented in KODI::KEYMAP::CKeyboardActionMap.


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