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
 
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 m_imu_3dof fusion
 

Detailed Description

Private struct for the PSVR driver device.

Field Documentation

◆ _pad0

uint32_t psvr_device::_pad0[4]

◆ _pad10

uint32_t psvr_device::_pad10[1]

◆ _pad11

uint32_t psvr_device::_pad11[1]

◆ _pad12

uint32_t psvr_device::_pad12[1]

◆ _pad13

uint32_t psvr_device::_pad13[1]

◆ _pad2_vec3_zero

uint32_t psvr_device::_pad2_vec3_zero[4]

◆ _pad3_vec3_zero

uint32_t psvr_device::_pad3_vec3_zero[4]

◆ _pad4_vec3_zero

uint32_t psvr_device::_pad4_vec3_zero[4]

◆ _pad5

uint32_t psvr_device::_pad5[1]

◆ _pad6

uint32_t psvr_device::_pad6[1]

◆ _pad7

uint32_t psvr_device::_pad7[1]

◆ _pad8

uint32_t psvr_device::_pad8[1]

◆ _pad9

uint32_t psvr_device::_pad9[1]

◆ _zero0

uint32_t psvr_device::_zero0

◆ accel

struct xrt_vec3 psvr_device::accel

◆ accel_neg_x

struct xrt_vec3 psvr_device::accel_neg_x

◆ accel_neg_y

struct xrt_vec3 psvr_device::accel_neg_y

◆ accel_neg_z

struct xrt_vec3 psvr_device::accel_neg_z

◆ accel_pos_x

struct xrt_vec3 psvr_device::accel_pos_x

◆ accel_pos_y

struct xrt_vec3 psvr_device::accel_pos_y

◆ accel_pos_z

struct xrt_vec3 psvr_device::accel_pos_z

◆ base

struct xrt_device psvr_device::base

Referenced by psvr_device_create().

◆ buttons

uint16_t psvr_device::buttons

◆ calibration

struct { ... } psvr_device::calibration

◆ control

bool psvr_device::control

◆ data

uint8_t psvr_device::data[290]

◆ fusion

struct m_imu_3dof psvr_device::fusion

◆ gui

struct { ... } psvr_device::gui

◆ gyro

struct xrt_vec3 psvr_device::gyro

◆ gyro_neg_y

struct xrt_vec3 psvr_device::gyro_neg_y

◆ gyro_neg_z

struct xrt_vec3 psvr_device::gyro_neg_z

◆ gyro_pos_x

struct xrt_vec3 psvr_device::gyro_pos_x

◆ hmd_control

hid_device* psvr_device::hmd_control

◆ hmd_handle

hid_device* psvr_device::hmd_handle

◆ in_vr_mode

bool psvr_device::in_vr_mode

◆ last

struct psvr_parsed_sensor psvr_device::last

◆ last_frame

bool psvr_device::last_frame

◆ last_packet

int psvr_device::last_packet

◆ last_sensor_time

timepoint_ns psvr_device::last_sensor_time

◆ leds

uint8_t psvr_device::leds[9]

◆ powered_on

bool psvr_device::powered_on

◆ print_debug

bool psvr_device::print_debug

Referenced by psvr_device_create().

◆ print_spew

bool psvr_device::print_spew

Referenced by psvr_device_create().

◆ read

struct { ... } psvr_device::read

◆ state

struct { ... } psvr_device::state

◆ tracker

struct xrt_tracked_psvr* psvr_device::tracker

◆ unknown0

struct xrt_vec3 psvr_device::unknown0

◆ wants

struct { ... } psvr_device::wants

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