Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <DefaultKeyboardHandling.h>
Public Member Functions | |
CDefaultKeyboardHandling (PERIPHERALS::CPeripheral *peripheral, IKeyboardInputHandler *handler) | |
~CDefaultKeyboardHandling () override | |
bool | Load () |
bool | OnKeyPress (const CKey &key) override |
A key has been pressed. | |
void | OnKeyRelease (const CKey &key) override |
A key has been released. | |
Public Member Functions inherited from KODI::KEYBOARD::IKeyboardDriverHandler | |
virtual | ~IKeyboardDriverHandler ()=default |
CDefaultKeyboardHandling::CDefaultKeyboardHandling | ( | PERIPHERALS::CPeripheral * | peripheral, |
IKeyboardInputHandler * | handler ) |
|
override |
bool CDefaultKeyboardHandling::Load | ( | ) |
A key has been pressed.
key | The pressed key |
Implements KODI::KEYBOARD::IKeyboardDriverHandler.
A key has been released.
key | The released key |
Implements KODI::KEYBOARD::IKeyboardDriverHandler.