onboardapi  9.10.0
by Rheinmetall
M_HidJoystick::EventButton Struct Reference

Triggered every time a Joystick button is selected or unselected. More...

Public Member Functions

 EventButton ()
 
 EventButton (uint32_t ButtonIndex, std::string const &ButtonName, bool IsSelected)
 

Public Attributes

uint32_t ButtonIndex
 Index identifying the button. More...
 
std::string ButtonName
 Name of the button. More...
 
bool IsSelected
 Indicates if the button has been selected (true) or unselected (false). More...
 

Detailed Description

Triggered every time a Joystick button is selected or unselected.

Constructor & Destructor Documentation

◆ EventButton() [1/2]

M_HidJoystick::EventButton::EventButton ( )

◆ EventButton() [2/2]

M_HidJoystick::EventButton::EventButton ( uint32_t  ButtonIndex,
std::string const &  ButtonName,
bool  IsSelected 
)

Member Data Documentation

◆ ButtonIndex

uint32_t M_HidJoystick::EventButton::ButtonIndex

Index identifying the button.

◆ ButtonName

std::string M_HidJoystick::EventButton::ButtonName

Name of the button.

◆ IsSelected

bool M_HidJoystick::EventButton::IsSelected

Indicates if the button has been selected (true) or unselected (false).