Monado OpenXR Runtime
Loading...
Searching...
No Matches
contactglove_stick_calibration Struct Reference

Represents the calibration of the joystick. More...

#include <contactglove/contactglove_calibration.h>

Collaboration diagram for contactglove_stick_calibration:

Data Fields

uint8_t stick_center_x
 The X value when the stick is at rest.
 
uint8_t stick_center_y
 The Y value when the stick is at rest.
 
uint8_t range
 The distance from center where 1.0 is defined.
 
struct xrt_vec2 forward_vector
 The normalized calibrated forward vector, in uncalibrated space.
 
float deadzone
 Deadzone from 0-1.
 

Detailed Description

Represents the calibration of the joystick.

Field Documentation

◆ deadzone

float contactglove_stick_calibration::deadzone

Deadzone from 0-1.

◆ forward_vector

struct xrt_vec2 contactglove_stick_calibration::forward_vector

The normalized calibrated forward vector, in uncalibrated space.

◆ range

uint8_t contactglove_stick_calibration::range

The distance from center where 1.0 is defined.

◆ stick_center_x

uint8_t contactglove_stick_calibration::stick_center_x

The X value when the stick is at rest.

◆ stick_center_y

uint8_t contactglove_stick_calibration::stick_center_y

The Y value when the stick is at rest.


The documentation for this struct was generated from the following file: