onboardapi  9.10.0
by Rheinmetall
M_HidDisplay::CmdSelectButton Struct Reference

Public Member Functions

 CmdSelectButton ()
 
 CmdSelectButton (uint32_t ButtonIndex, bool IsSelected)
 

Public Attributes

uint32_t ButtonIndex
 Index identifying the button. More...
 
bool IsSelected
 Indicates if the button has been selected (true) or unselected (false). More...
 

Detailed Description

Cmd to trigger a button press (IsSelected = True) or release (IsSelected = False). Note: This function can be used to trigger a HID button from a HW button input.

Constructor & Destructor Documentation

◆ CmdSelectButton() [1/2]

M_HidDisplay::CmdSelectButton::CmdSelectButton ( )

◆ CmdSelectButton() [2/2]

M_HidDisplay::CmdSelectButton::CmdSelectButton ( uint32_t  ButtonIndex,
bool  IsSelected 
)

Member Data Documentation

◆ ButtonIndex

uint32_t M_HidDisplay::CmdSelectButton::ButtonIndex

Index identifying the button.

◆ IsSelected

bool M_HidDisplay::CmdSelectButton::IsSelected

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