15#ifndef RIFT_S_CONTROLLER_H
16#define RIFT_S_CONTROLLER_H
25#define MAX_LOG_SIZE 1024
50 rift_s_device_type device_type;
58 uint8_t log[MAX_LOG_SIZE];
62 uint32_t imu_timestamp32;
66 uint16_t imu_unknown_varying2;
92 uint8_t capsense_joystick;
93 uint8_t capsense_trigger;
95 uint8_t extra_bytes_len;
96 uint8_t extra_bytes[48];
102 bool reading_calibration;
103 bool have_calibration;
111rift_s_controller_update_configuration(
struct rift_s_controller *ctrl, uint64_t device_id);
int64_t timepoint_ns
Integer timestamp type.
Definition: u_time.h:70
xrt_device_type
How an xrt_device can be used.
Definition: xrt_defines.h:783
A IMU fusion specially made for 3dof devices.
Wrapper around OS native time functions.
Oculus Rift S Driver Internal Interface.
Definition: m_imu_3dof.h:35
A wrapper around a native mutex.
Definition: os_threading.h:55
Definition: rift_s_controller.h:28
Definition: rift_s_firmware.h:113
Definition: rift_s_protocol.h:129
Definition: rift_s_controller.h:39
A single HMD or input device.
Definition: xrt_device.h:241
A pose composed of a position and orientation.
Definition: xrt_defines.h:465
A 3 element vector with single floats.
Definition: xrt_defines.h:271
Header defining an xrt display or controller device.