Monado OpenXR Runtime
|
Private struct for the PSVR driver device. More...
Data Fields | |
struct xrt_device | base |
hid_device * | hmd_handle |
hid_device * | hmd_control |
struct xrt_tracked_psvr * | tracker |
struct time_state * | timekeeping |
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 |
Private struct for the PSVR driver device.