Monado OpenXR Runtime
hdk_prober.c File Reference

OSVR HDK prober code. More...

#include <stdio.h>
#include <stdlib.h>
#include "xrt/xrt_prober.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "hdk_interface.h"
#include "hdk_device.h"
Include dependency graph for hdk_prober.c:

Functions

int hdk_found (struct xrt_prober *xp, struct xrt_prober_device **devices, size_t device_count, size_t index, cJSON *attached_data, struct xrt_device **out_xdev)
 Probing function for HDK devices. More...
 

Variables

static const char HDK2_PRODUCT_STRING [] = "OSVR HDK 2"
 
static const char HDK13_PRODUCT_STRING [] = "OSVR HDK 1.3/1.4"
 
static const char HDK1_PRODUCT_STRING [] = "OSVR HDK 1.x"
 
static const char HDK12_PRODUCT_STRING [] = "OSVR HDK 1.2"
 

Detailed Description