Monado OpenXR Runtime
|
Vive USB HID reports. More...
Go to the source code of this file.
Functions | |
struct vive_controller_button_report | __attribute__ ((packed)) |
char * | vive_read_config (struct os_hid_device *hid_dev) |
int | vive_get_imu_range_report (struct os_hid_device *hid_dev, double *gyro_range, double *acc_range) |
int | vive_read_firmware (struct os_hid_device *hid_dev, uint32_t *firmware_version, uint8_t *hardware_revision, uint8_t *hardware_version_micro, uint8_t *hardware_version_minor, uint8_t *hardware_version_major) |
Variables | |
uint8_t | id |
uint8_t | unknown1 |
uint16_t | maybe_type |
uint32_t | sequence |
uint32_t | buttons |
union { | |
uint16_t trigger | |
uint16_t battery_voltage | |
}; | |
uint8_t | battery |
uint8_t | unknown2 |
uint32_t | hardware_id |
uint16_t | touch [2] |
uint16_t | unknown3 |
uint16_t | trigger_hires |
uint8_t | unknown4 [24] |
uint16_t | trigger_raw |
uint8_t | unknown5 [8] |
uint8_t | maybe_bitfield |
uint8_t | unknown6 |
uint8_t | gyro_range |
uint8_t | accel_range |
uint8_t | unknown [61] |
uint8_t | len |
uint16_t | lens_separation |
uint16_t | reserved1 |
uint8_t | button |
uint8_t | audio_button |
uint8_t | reserved2 [2] |
uint8_t | proximity_change |
uint8_t | reserved3 |
uint16_t | proximity |
uint16_t | ipd |
uint8_t | reserved4 [46] |
uint16_t | type |
uint16_t | edid_vid |
uint16_t | edid_pid |
uint32_t | display_firmware_version |
uint32_t | firmware_version |
uint8_t | string1 [16] |
uint8_t | string2 [16] |
uint8_t | hardware_version_micro |
uint8_t | hardware_version_minor |
uint8_t | hardware_version_major |
uint8_t | hardware_revision |
uint8_t | fpga_version_minor |
uint8_t | fpga_version_major |
uint8_t | reserved [13] |
uint8_t | unused [63] |
uint8_t | payload [62] |
uint16_t | acc [3] |
uint16_t | gyro [3] |
uint32_t | time |
uint8_t | seq |
struct vive_imu_sample | sample [3] |
uint8_t | timestamp_hi |
uint8_t | type_flag |
uint8_t | middle_finger_handle |
uint8_t | ring_finger_handle |
uint8_t | pinky_finger_handle |
uint8_t | index_finger_trigger |
uint8_t | squeeze_force |
uint8_t | trackpad_force |
uint16_t | duration |
uint32_t | timestamp |
struct vive_controller_lighthouse_pulse | pulse [7] |
uint8_t | timestamp_lo |
struct vive_controller_message | message |
uint8_t | sensor_id |
uint32_t | data |
uint32_t | mask |
uint8_t | command |
uint8_t | zero |
uint16_t | pulse_high |
uint16_t | pulse_low |
uint16_t | repeat_count |
uint8_t | magic [4] |
const struct vive_headset_power_report | power_on_report |
const struct vive_headset_power_report | power_off_report |
Vive USB HID reports.