onboardapi  9.10.0
by Rheinmetall
M_HidJoystick::ReportAxis Struct Reference

Reports the current axis position every time a joystick axis is moved. More...

Public Member Functions

 ReportAxis ()
 
 ReportAxis (uint32_t KeyAxisIndex, double Value, bool IsRemoved)
 

Public Attributes

uint32_t KeyAxisIndex
 Index identifying the axis. More...
 
double Value
 
bool IsRemoved
 

Detailed Description

Reports the current axis position every time a joystick axis is moved.

Constructor & Destructor Documentation

◆ ReportAxis() [1/2]

M_HidJoystick::ReportAxis::ReportAxis ( )

◆ ReportAxis() [2/2]

M_HidJoystick::ReportAxis::ReportAxis ( uint32_t  KeyAxisIndex,
double  Value,
bool  IsRemoved 
)

Member Data Documentation

◆ IsRemoved

bool M_HidJoystick::ReportAxis::IsRemoved

Indicates if the status is no longer available. Note: This will always be set to true when a service has been shut down. After this has been set to true, the status will no longer be available to late joiners.

◆ KeyAxisIndex

uint32_t M_HidJoystick::ReportAxis::KeyAxisIndex

Index identifying the axis.

◆ Value

double M_HidJoystick::ReportAxis::Value

The current axis value. Range: -1.0 - +1.0