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

#include <EventClient.h>

Public Member Functions

 CEventButtonState ()
 
 CEventButtonState (unsigned int iKeyCode, std::string mapName, std::string buttonName, float fAmount, bool isAxis, bool bRepeat, bool bUseAmount)
 
void Reset ()
 
void SetActive ()
 
bool Active () const
 
bool Repeat () const
 
int ControllerNumber () const
 
bool Axis () const
 
unsigned int KeyCode () const
 
float Amount () const
 
void Load ()
 
const std::string & JoystickName () const
 
const std::string & CustomControllerName () const
 

Public Attributes

unsigned int m_iKeyCode
 
unsigned short m_iControllerNumber
 
std::string m_buttonName
 
std::string m_mapName
 
std::string m_joystickName
 
std::string m_customControllerName
 
float m_fAmount
 
bool m_bUseAmount
 
bool m_bRepeat
 
bool m_bActive
 
bool m_bAxis
 
std::chrono::time_point< std::chrono::steady_clock > m_iNextRepeat
 

Constructor & Destructor Documentation

◆ CEventButtonState() [1/2]

EVENTCLIENT::CEventButtonState::CEventButtonState ( )
inline

◆ CEventButtonState() [2/2]

EVENTCLIENT::CEventButtonState::CEventButtonState ( unsigned int iKeyCode,
std::string mapName,
std::string buttonName,
float fAmount,
bool isAxis,
bool bRepeat,
bool bUseAmount )
inline

Member Function Documentation

◆ Active()

bool EVENTCLIENT::CEventButtonState::Active ( ) const
inline

◆ Amount()

float EVENTCLIENT::CEventButtonState::Amount ( ) const
inline

◆ Axis()

bool EVENTCLIENT::CEventButtonState::Axis ( ) const
inline

◆ ControllerNumber()

int EVENTCLIENT::CEventButtonState::ControllerNumber ( ) const
inline

◆ CustomControllerName()

const std::string & EVENTCLIENT::CEventButtonState::CustomControllerName ( ) const
inline

◆ JoystickName()

const std::string & EVENTCLIENT::CEventButtonState::JoystickName ( ) const
inline

◆ KeyCode()

unsigned int EVENTCLIENT::CEventButtonState::KeyCode ( ) const
inline

◆ Load()

void CEventButtonState::Load ( )

◆ Repeat()

bool EVENTCLIENT::CEventButtonState::Repeat ( ) const
inline

◆ Reset()

void EVENTCLIENT::CEventButtonState::Reset ( )
inline

◆ SetActive()

void EVENTCLIENT::CEventButtonState::SetActive ( )
inline

Member Data Documentation

◆ m_bActive

bool EVENTCLIENT::CEventButtonState::m_bActive

◆ m_bAxis

bool EVENTCLIENT::CEventButtonState::m_bAxis

◆ m_bRepeat

bool EVENTCLIENT::CEventButtonState::m_bRepeat

◆ m_bUseAmount

bool EVENTCLIENT::CEventButtonState::m_bUseAmount

◆ m_buttonName

std::string EVENTCLIENT::CEventButtonState::m_buttonName

◆ m_customControllerName

std::string EVENTCLIENT::CEventButtonState::m_customControllerName

◆ m_fAmount

float EVENTCLIENT::CEventButtonState::m_fAmount

◆ m_iControllerNumber

unsigned short EVENTCLIENT::CEventButtonState::m_iControllerNumber

◆ m_iKeyCode

unsigned int EVENTCLIENT::CEventButtonState::m_iKeyCode

◆ m_iNextRepeat

std::chrono::time_point<std::chrono::steady_clock> EVENTCLIENT::CEventButtonState::m_iNextRepeat

◆ m_joystickName

std::string EVENTCLIENT::CEventButtonState::m_joystickName

◆ m_mapName

std::string EVENTCLIENT::CEventButtonState::m_mapName

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