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

Interface for classes that can provide keyboard input. More...

#include <IKeyboardInputProvider.h>

Inheritance diagram for KODI::KEYBOARD::IKeyboardInputProvider:
PERIPHERALS::CPeripheral PERIPHERALS::CPeripheralBluetooth PERIPHERALS::CPeripheralCecAdapter PERIPHERALS::CPeripheralDisk PERIPHERALS::CPeripheralHID PERIPHERALS::CPeripheralJoystick PERIPHERALS::CPeripheralKeyboard PERIPHERALS::CPeripheralMouse PERIPHERALS::CPeripheralNIC PERIPHERALS::CPeripheralTuner

Public Member Functions

virtual ~IKeyboardInputProvider ()=default
 
virtual void RegisterKeyboardHandler (IKeyboardInputHandler *handler, bool bPromiscuous, bool forceDefaultMap)=0
 Registers a handler to be called on keyboard input.
 
virtual void UnregisterKeyboardHandler (IKeyboardInputHandler *handler)=0
 Unregisters handler from keyboard input.
 

Detailed Description

Interface for classes that can provide keyboard input.

Constructor & Destructor Documentation

◆ ~IKeyboardInputProvider()

virtual KODI::KEYBOARD::IKeyboardInputProvider::~IKeyboardInputProvider ( )
virtualdefault

Member Function Documentation

◆ RegisterKeyboardHandler()

virtual void KODI::KEYBOARD::IKeyboardInputProvider::RegisterKeyboardHandler ( IKeyboardInputHandler * handler,
bool bPromiscuous,
bool forceDefaultMap )
pure virtual

Registers a handler to be called on keyboard input.

Parameters
handlerThe handler to receive keyboard input provided by this class
bPromiscuousTrue to observe all events without affecting the input's destination
forceDefaultMapAlways use the default keyboard buttonmap, avoiding buttonmaps provided by add-ons

Implemented in PERIPHERALS::CPeripheral.

◆ UnregisterKeyboardHandler()

virtual void KODI::KEYBOARD::IKeyboardInputProvider::UnregisterKeyboardHandler ( IKeyboardInputHandler * handler)
pure virtual

Unregisters handler from keyboard input.

Parameters
handlerThe handler that was receiving keyboard input

Implemented in PERIPHERALS::CPeripheral.


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