Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
KODI::JOYSTICK::IInputProvider Class Referenceabstract

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

#include <IInputProvider.h>

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

Public Member Functions

virtual ~IInputProvider ()=default
virtual void RegisterInputHandler (IInputHandler *handler, bool bPromiscuous)=0
 Register a handler for the provided input.
virtual void UnregisterInputHandler (IInputHandler *handler)=0
 Unregister a handler.

Detailed Description

Interface for classes that can provide input.

Constructor & Destructor Documentation

◆ ~IInputProvider()

virtual KODI::JOYSTICK::IInputProvider::~IInputProvider ( )

Member Function Documentation

◆ RegisterInputHandler()

virtual void KODI::JOYSTICK::IInputProvider::RegisterInputHandler ( IInputHandler * handler,
bool bPromiscuous )
pure virtual

Register a handler for the provided input.

handlerThe handler to receive input provided by this class
bPromiscuousIf true, receives all input (including handled input) in the background

Implemented in PERIPHERALS::CPeripheral.

◆ UnregisterInputHandler()

virtual void KODI::JOYSTICK::IInputProvider::UnregisterInputHandler ( IInputHandler * handler)
pure virtual

Unregister a handler.

handlerThe handler that was receiving input

Implemented in PERIPHERALS::CPeripheral.

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