Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::KEYBOARD::CDefaultKeyboardHandling Class Reference

#include <DefaultKeyboardHandling.h>

Inheritance diagram for KODI::KEYBOARD::CDefaultKeyboardHandling:
KODI::KEYBOARD::IKeyboardDriverHandler

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
 

Constructor & Destructor Documentation

◆ CDefaultKeyboardHandling()

CDefaultKeyboardHandling::CDefaultKeyboardHandling ( PERIPHERALS::CPeripheral * peripheral,
IKeyboardInputHandler * handler )

◆ ~CDefaultKeyboardHandling()

CDefaultKeyboardHandling::~CDefaultKeyboardHandling ( void )
override

Member Function Documentation

◆ Load()

bool CDefaultKeyboardHandling::Load ( )

◆ OnKeyPress()

bool CDefaultKeyboardHandling::OnKeyPress ( const CKey & key)
overridevirtual

A key has been pressed.

Parameters
keyThe pressed key
Returns
True if the event was handled, false otherwise

Implements KODI::KEYBOARD::IKeyboardDriverHandler.

◆ OnKeyRelease()

void CDefaultKeyboardHandling::OnKeyRelease ( const CKey & key)
overridevirtual

A key has been released.

Parameters
keyThe released key

Implements KODI::KEYBOARD::IKeyboardDriverHandler.


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