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

#include <RetroPlayerInput.h>

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

Public Member Functions

 CRetroPlayerInput (PERIPHERALS::CPeripherals &peripheralManager, CRPProcessInfo &processInfo, GAME::GameClientPtr gameClient)
 
 ~CRetroPlayerInput () override
 
void StartAgentManager ()
 
void StopAgentManager ()
 
void SetSpeed (double speed)
 
void EnableInput (bool bEnabled)
 
bool AcceptsInput () const override
 Return true if the input source accepts input.
 
void PollInput () override
 Poll the input source for input.
 
- Public Member Functions inherited from KODI::GAME::IGameInputCallback
virtual ~IGameInputCallback ()=default
 

Constructor & Destructor Documentation

◆ CRetroPlayerInput()

CRetroPlayerInput::CRetroPlayerInput ( PERIPHERALS::CPeripherals & peripheralManager,
CRPProcessInfo & processInfo,
GAME::GameClientPtr gameClient )

◆ ~CRetroPlayerInput()

CRetroPlayerInput::~CRetroPlayerInput ( )
override

Member Function Documentation

◆ AcceptsInput()

bool KODI::RETRO::CRetroPlayerInput::AcceptsInput ( ) const
inlineoverridevirtual

Return true if the input source accepts input.

Returns
True if input should be processed, false otherwise

Implements KODI::GAME::IGameInputCallback.

◆ EnableInput()

void CRetroPlayerInput::EnableInput ( bool bEnabled)

◆ PollInput()

void CRetroPlayerInput::PollInput ( )
overridevirtual

Poll the input source for input.

Implements KODI::GAME::IGameInputCallback.

◆ SetSpeed()

void CRetroPlayerInput::SetSpeed ( double speed)

◆ StartAgentManager()

void CRetroPlayerInput::StartAgentManager ( )

◆ StopAgentManager()

void CRetroPlayerInput::StopAgentManager ( )

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