Monado OpenXR Runtime
North Star driver

Driver for the North Star HMD. More...

Collaboration diagram for North Star driver:

Files

file  ns_hmd.c
 North Star HMD code.
 
file  ns_hmd.h
 Interface between North Star distortion and HMD code.
 
file  ns_interface.h
 Interface to North Star driver code.
 

Data Structures

struct  ns_3d_eye
 Distortion information about an eye parsed from the configuration file. More...
 
struct  ns_hmd
 Information about the whole North Star headset. More...
 

Functions

static struct ns_hmdns_hmd (struct xrt_device *xdev)
 Get the North Star HMD information from a xrt_device. More...
 
void ns_3d_display_uv_to_render_uv (struct xrt_vec2 in, struct xrt_vec2 *out, struct ns_3d_eye *eye)
 Convert the display UV to the render UV using the distortion mesh. More...
 
struct xrt_devicens_hmd_create (const cJSON *config_json)
 Creates a North Star HMD. More...
 

Detailed Description

Driver for the North Star HMD.

Function Documentation

◆ ns_3d_display_uv_to_render_uv()

void ns_3d_display_uv_to_render_uv ( struct xrt_vec2  in,
struct xrt_vec2 out,
struct ns_3d_eye eye 
)

#include <drivers/north_star/ns_hmd.h>

Convert the display UV to the render UV using the distortion mesh.

◆ ns_hmd()

static struct ns_hmd * ns_hmd ( struct xrt_device xdev)
inlinestatic

#include <drivers/north_star/ns_hmd.h>

Get the North Star HMD information from a xrt_device.

◆ ns_hmd_create()

struct xrt_device * ns_hmd_create ( const cJSON *  config_json)

#include <drivers/north_star/ns_interface.h>

Creates a North Star HMD.