onboardapi  9.10.0
by Rheinmetall
M_HidJoystick::ConfigJoystickCurve Struct Reference

Public Member Functions

 ConfigJoystickCurve ()
 
 ConfigJoystickCurve (uint32_t KeyAxisIndex, std::string const &Curve, bool IsRemoved)
 

Public Attributes

uint32_t KeyAxisIndex
 Identifies the axis. More...
 
std::string Curve
 Input scaling characteristics. More...
 
bool IsRemoved
 

Detailed Description

Parametrises joystick input scaling, i.e. how quickly a mount follows a joystick input (linearly, quadratically, ...).

Constructor & Destructor Documentation

◆ ConfigJoystickCurve() [1/2]

M_HidJoystick::ConfigJoystickCurve::ConfigJoystickCurve ( )

◆ ConfigJoystickCurve() [2/2]

M_HidJoystick::ConfigJoystickCurve::ConfigJoystickCurve ( uint32_t  KeyAxisIndex,
std::string const &  Curve,
bool  IsRemoved 
)

Member Data Documentation

◆ Curve

std::string M_HidJoystick::ConfigJoystickCurve::Curve

Input scaling characteristics.

◆ IsRemoved

bool M_HidJoystick::ConfigJoystickCurve::IsRemoved

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

◆ KeyAxisIndex

uint32_t M_HidJoystick::ConfigJoystickCurve::KeyAxisIndex

Identifies the axis.