Monado OpenXR Runtime
Data Fields
psvr_device Struct Reference

Private struct for the PSVR driver device. More...

Collaboration diagram for psvr_device:
Collaboration graph
[legend]

Data Fields

struct xrt_device base
 
hid_device * hmd_handle
 
hid_device * hmd_control
 
struct xrt_tracked_psvrtracker
 
struct time_statetimekeeping
 
timepoint_ns last_sensor_time
 
struct psvr_parsed_sensor last
 
struct {
   uint8_t   leds [9]
 
wants
 
struct {
   uint8_t   leds [9]
 
state
 
struct {
   struct xrt_vec3   gyro
 
   struct xrt_vec3   accel
 
read
 
uint16_t buttons
 
bool powered_on
 
bool in_vr_mode
 
bool print_spew
 
bool print_debug
 
struct {
   union {
      uint8_t   data [290]
 
      struct {
         uint32_t   _pad0 [4]
 
         struct xrt_vec3   unknown0
 
         uint32_t   _zero0
 
         uint32_t   _pad2_vec3_zero [4]
 
         uint32_t   _pad3_vec3_zero [4]
 
         uint32_t   _pad4_vec3_zero [4]
 
         struct xrt_vec3   accel_pos_y
 
         uint32_t   _pad5 [1]
 
         struct xrt_vec3   accel_neg_x
 
         uint32_t   _pad6 [1]
 
         struct xrt_vec3   accel_neg_y
 
         uint32_t   _pad7 [1]
 
         struct xrt_vec3   accel_pos_x
 
         uint32_t   _pad8 [1]
 
         struct xrt_vec3   accel_pos_z
 
         uint32_t   _pad9 [1]
 
         struct xrt_vec3   accel_neg_z
 
         uint32_t   _pad10 [1]
 
         struct xrt_vec3   gyro_neg_y
 
         uint32_t   _pad11 [1]
 
         struct xrt_vec3   gyro_pos_x
 
         uint32_t   _pad12 [1]
 
         struct xrt_vec3   gyro_neg_z
 
         uint32_t   _pad13 [1]
 
      } 
 
   } 
 
   int   last_packet
 
calibration
 
struct {
   bool   last_frame
 
   bool   control
 
gui
 
struct {
   struct xrt_quat   rot
 
fusion
 

Detailed Description

Private struct for the PSVR driver device.


The documentation for this struct was generated from the following file: