Monado OpenXR Runtime
Functions
psvr_packet.c File Reference

PSVR packet parsing implementation, imported from OpenHMD. More...

#include "xrt/xrt_compiler.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "psvr_device.h"
#include <stdio.h>
Include dependency graph for psvr_packet.c:

Functions

bool psvr_parse_sensor_packet (struct psvr_parsed_sensor *sensor, const uint8_t *buffer, int size)
 
bool psvr_parse_status_packet (struct psvr_parsed_status *status, const uint8_t *buffer, int size)
 

Detailed Description

PSVR packet parsing implementation, imported from OpenHMD.

Author
Joey Ferwerda joeyf.nosp@m.erwe.nosp@m.da@gm.nosp@m.ail..nosp@m.com
Philipp Zabel phili.nosp@m.pp.z.nosp@m.abel@.nosp@m.gmai.nosp@m.l.com
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ psvr_parse_sensor_packet()

bool psvr_parse_sensor_packet ( struct psvr_parsed_sensor sensor,
const uint8_t *  buffer,
int  size 
)

◆ psvr_parse_status_packet()

bool psvr_parse_status_packet ( struct psvr_parsed_status status,
const uint8_t *  buffer,
int  size 
)