Monado OpenXR Runtime
|
Oculus Rift S USB protocol implementation interface. More...
Go to the source code of this file.
Data Structures | |
struct | rift_s_controller_imu_block_t |
struct | rift_s_controller_maskbyte_block_t |
struct | rift_s_controller_triggrip_block_t |
struct | rift_s_controller_joystick_block_t |
struct | rift_s_controller_capsense_block_t |
struct | rift_s_controller_raw_block_t |
union | rift_s_controller_info_block_t |
struct | rift_s_controller_report_t |
struct | rift_s_hmd_imu_sample_t |
struct | rift_s_hmd_report_t |
struct | rift_s_camera_report_t |
struct | rift_s_panel_info_t |
struct | rift_s_imu_config_info_t |
struct | rift_s_hmd_radio_response_t |
struct | rift_s_hmd_radio_command_t |
struct | rift_s_device_type_record_t |
struct | rift_s_devices_list_t |
Functions | |
int | rift_s_read_firmware_version (struct os_hid_device *hid) |
int | rift_s_read_panel_info (struct os_hid_device *hid, rift_s_panel_info_t *panel_info) |
int | rift_s_read_imu_config_info (struct os_hid_device *hid, struct rift_s_imu_config_info_t *imu_config) |
int | rift_s_read_fw_proximity_threshold (struct os_hid_device *hid, int *proximity_threshold) |
int | rift_s_protocol_set_proximity_threshold (struct os_hid_device *hid, uint16_t threshold) |
int | rift_s_hmd_enable (struct os_hid_device *hid, bool enable) |
int | rift_s_set_screen_enable (struct os_hid_device *hid, bool enable) |
void | rift_s_send_keepalive (struct os_hid_device *hid) |
void | rift_s_protocol_camera_report_init (rift_s_camera_report_t *camera_report) |
int | rift_s_protocol_send_camera_report (struct os_hid_device *hid, rift_s_camera_report_t *camera_report) |
bool | rift_s_parse_hmd_report (rift_s_hmd_report_t *report, const unsigned char *buf, int size) |
bool | rift_s_parse_controller_report (rift_s_controller_report_t *report, const unsigned char *buf, int size) |
int | rift_s_read_firmware_block (struct os_hid_device *handle, uint8_t block_id, char **data_out, int *len_out) |
int | rift_s_read_devices_list (struct os_hid_device *handle, rift_s_devices_list_t *dev_list) |
void | rift_s_hexdump_buffer (const char *label, const unsigned char *buf, int length) |
int | rift_s_snprintf_hexdump_buffer (char *outbuf, size_t outbufsize, const char *label, const unsigned char *buf, int length) |
Oculus Rift S USB protocol implementation interface.
Functions for interpreting the USB protocol to the headset and Touch Controllers (via the headset's radio link)
Ported from OpenHMD