Monado OpenXR Runtime
Macros | Functions
vive_device.c File Reference

Vive device implementation. More...

#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <zlib.h>
#include "util/u_device.h"
#include "util/u_debug.h"
#include "util/u_json.h"
#include "util/u_var.h"
#include "util/u_time.h"
#include "math/m_api.h"
#include "os/os_hid.h"
#include "vive_device.h"
#include "vive_protocol.h"
Include dependency graph for vive_device.c:

Macros

#define VIVE_CLOCK_FREQ   48e6
 

Functions

int vive_sensors_read_firmware (struct vive_device *d)
 
int vive_sensors_get_imu_range_report (struct vive_device *d)
 
void print_vec3 (const char *title, struct xrt_vec3 *vec)
 
void vive_init_defaults (struct vive_device *d)
 
bool vive_parse_config (struct vive_device *d, char *json_string)
 
char * vive_sensors_read_config (struct vive_device *d)
 
struct vive_devicevive_device_create (struct os_hid_device *mainboard_dev, struct os_hid_device *sensors_dev, enum VIVE_VARIANT variant)
 

Detailed Description

Vive device implementation.

Author
Lubosz Sarnecki lubos.nosp@m.z.sa.nosp@m.rneck.nosp@m.i@co.nosp@m.llabo.nosp@m.ra.c.nosp@m.om