Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Interface for classes that can provide keyboard input. More...
#include <IKeyboardInputProvider.h>
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. | |
Interface for classes that can provide keyboard input.
|
virtualdefault |
|
pure virtual |
Registers a handler to be called on keyboard input.
handler | The handler to receive keyboard input provided by this class |
bPromiscuous | True to observe all events without affecting the input's destination |
forceDefaultMap | Always use the default keyboard buttonmap, avoiding buttonmaps provided by add-ons |
Implemented in PERIPHERALS::CPeripheral.
|
pure virtual |
Unregisters handler from keyboard input.
handler | The handler that was receiving keyboard input |
Implemented in PERIPHERALS::CPeripheral.