Monado OpenXR Runtime

vive json header More...

Include dependency graph for vive_config.h:

Go to the source code of this file.

Data Structures

struct  index_camera
 A calibrated camera on an Index. More...
 
struct  lh_sensor
 A single lighthouse senosor point and normal, in IMU space. More...
 
struct  lh_model
 A lighthouse consisting of sensors. More...
 
struct  vive_config
 headset config. More...
 
struct  vive_controller_config
 Controller config. More...
 

Macros

#define INDEX_MIN_IPD   0.058
 
#define INDEX_MAX_IPD   0.07
 
#define VIVE_MIN_IPD   0.060
 
#define VIVE_MAX_IPD   0.075
 
#define DEFAULT_HAPTIC_FREQ   150.0f
 
#define MIN_HAPTIC_DURATION   0.05f
 

Enumerations

enum  VIVE_VARIANT {
  VIVE_UNKNOWN = 0 , VIVE_VARIANT_VIVE , VIVE_VARIANT_PRO , VIVE_VARIANT_INDEX ,
  VIVE_VARIANT_PRO2
}
 Headset variant. More...
 
enum  VIVE_CONTROLLER_VARIANT {
  CONTROLLER_VIVE_WAND , CONTROLLER_INDEX_LEFT , CONTROLLER_INDEX_RIGHT , CONTROLLER_TRACKER_GEN1 ,
  CONTROLLER_TRACKER_GEN2 , CONTROLLER_TRACKER_GEN3 , CONTROLLER_TRACKER_TUNDRA , CONTROLLER_UNKNOWN
}
 Controller variant. More...
 

Functions

bool vive_config_parse (struct vive_config *d, char *json_string, enum u_logging_level log_level)
 Parse a headset config. More...
 
void vive_config_teardown (struct vive_config *config)
 Free any allocated resources on this config. More...
 
bool vive_config_parse_controller (struct vive_controller_config *d, char *json_string, enum u_logging_level log_level)
 Parse a controller config. More...
 

Detailed Description