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

Input callbacks. More...

#include <GameClientCallbacks.h>

Inheritance diagram for KODI::GAME::IGameInputCallback:
KODI::RETRO::CRetroPlayerInput

Public Member Functions

virtual ~IGameInputCallback ()=default
 
virtual bool AcceptsInput () const =0
 Return true if the input source accepts input.
 
virtual void PollInput ()=0
 Poll the input source for input.
 

Detailed Description

Input callbacks.

Todo
Remove this file when Game API is updated for input polling

Constructor & Destructor Documentation

◆ ~IGameInputCallback()

virtual KODI::GAME::IGameInputCallback::~IGameInputCallback ( )
virtualdefault

Member Function Documentation

◆ AcceptsInput()

virtual bool KODI::GAME::IGameInputCallback::AcceptsInput ( ) const
pure virtual

Return true if the input source accepts input.

Returns
True if input should be processed, false otherwise

Implemented in KODI::RETRO::CRetroPlayerInput.

◆ PollInput()

virtual void KODI::GAME::IGameInputCallback::PollInput ( )
pure virtual

Poll the input source for input.

Implemented in KODI::RETRO::CRetroPlayerInput.


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