Monado OpenXR Runtime
Data Structures | Functions
oh_device.c File Reference

Adaptor to a OpenHMD device. More...

#include <math.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "os/os_time.h"
#include "openhmd.h"
#include "math/m_api.h"
#include "xrt/xrt_device.h"
#include "util/u_var.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_device.h"
#include "util/u_time.h"
#include "util/u_distortion_mesh.h"
#include "oh_device.h"
Include dependency graph for oh_device.c:

Data Structures

struct  display_info
 
struct  device_info
 

Functions

struct oh_deviceoh_device_create (ohmd_context *ctx, ohmd_device *dev, const char *prod, bool print_spew, bool print_debug)
 

Detailed Description

Adaptor to a OpenHMD device.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ oh_device_create()

struct oh_device* oh_device_create ( ohmd_context ctx,
ohmd_device dev,
const char *  prod,
bool  print_spew,
bool  print_debug 
)