|
Monado OpenXR Runtime
|
PSVR2 HMD protocol defines. More...
Go to the source code of this file.
Data Structures | |
| struct | imu_usb_record |
| struct | status_record_hdr |
| struct | slam_usb_record |
| struct | sie_ctrl_pkt |
| struct | pkt_eye_gaze |
| struct | pkt_gaze_combined |
| struct | pkt_gaze_packet_data |
| struct | pkt_gaze_state |
Macros | |
| #define | PSVR2_SLAM_INTERFACE 3 |
| #define | PSVR2_SLAM_ENDPOINT 3 |
| #define | PSVR2_GAZE_INTERFACE 5 |
| #define | PSVR2_GAZE_ENDPOINT 0x85 |
| #define | PSVR2_CAMERA_INTERFACE 6 |
| #define | PSVR2_CAMERA_ENDPOINT 7 |
| #define | PSVR2_STATUS_INTERFACE 7 |
| #define | PSVR2_STATUS_ENDPOINT 8 |
| #define | PSVR2_LD_INTERFACE 8 |
| #define | PSVR2_LD_ENDPOINT 9 |
| #define | PSVR2_RP_INTERFACE 9 |
| #define | PSVR2_RP_ENDPOINT 10 |
| #define | PSVR2_VD_INTERFACE 10 |
| #define | PSVR2_VD_ENDPOINT 11 |
| #define | USB_SLAM_XFER_SIZE 1024 |
| #define | USB_STATUS_XFER_SIZE 1024 |
| #define | USB_GAZE_XFER_SIZE 32768 |
| #define | USB_CAM_MODE10_XFER_SIZE 1040640 |
| #define | USB_CAM_MODE1_XFER_SIZE 819456 |
| #define | USB_LD_XFER_SIZE 36944 |
| #define | USB_RP_XFER_SIZE 821120 |
| #define | USB_VD_XFER_SIZE 32768 |
| #define | SERIAL_LENGTH 14 |
| #define | GYRO_SCALE (2000.0 / 32767.0) |
| #define | ACCEL_SCALE (4.0 * MATH_GRAVITY_M_S2 / 32767.0) |
| #define | IMU_FREQ 2000.0f |
| #define | IMU_PERIOD_NS ((time_duration_ns)(1000000000.0f / IMU_FREQ)) |
Typedefs | |
| typedef uint32_t | psvr2_eye_bool |
PSVR2 HMD protocol defines.