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 "os/os_time.h"
#include "vive_device.h"
#include "vive_protocol.h"
Include dependency graph for vive_device.c:

Macros

#define VIVE_CLOCK_FREQ   48e6
 

Functions

void vive_init_defaults (struct vive_device *d)
 
bool vive_parse_config (struct vive_device *d, char *json_string)
 
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

Macro Definition Documentation

◆ VIVE_CLOCK_FREQ

#define VIVE_CLOCK_FREQ   48e6

Function Documentation

◆ vive_device_create()

struct vive_device* vive_device_create ( struct os_hid_device mainboard_dev,
struct os_hid_device sensors_dev,
enum VIVE_VARIANT  variant 
)

◆ vive_init_defaults()

void vive_init_defaults ( struct vive_device d)

◆ vive_parse_config()

bool vive_parse_config ( struct vive_device d,
char *  json_string 
)