|
Monado OpenXR Runtime
|
Payload of VP2_COMMAND_FEATURE_EVENT. More...
#include <vp2/vp2_protocol.h>

Data Fields | |
| __le64 | valid_mask |
| VP2_FEATURE_EVENT_* bits. | |
| uint8_t | status_report_enable |
| Starts or stops the status reports, stays set across sessions. | |
| uint8_t | amp_gain |
| Headphone amp attenuation, higher is quieter, ignored while amp_power_limit is on. | |
| uint8_t | brightness_refresh |
| Value is unused, only refreshes vp2_feature_state::brightness. | |
| uint8_t | amp_power_limit |
| 1 by default, the HTC driver's sound boost sends 0 | |
| uint8_t | unused_12 |
| uint8_t | audio_route_mode |
| 0, 1 or 2, 128 restores the previous mode | |
| uint8_t | audio_profile_index |
| Codec and amp register preset stored in the headset's flash. | |
| uint8_t | unused_15 [25] |
| uint8_t | display_power |
| 0 off or 1 on, XORed with VP2_DISPLAY_POWER_XOR | |
| uint8_t | power_state |
| enum vp2_power_state, XORed with VP2_POWER_STATE_XOR | |
| uint8_t | proximity_override |
| Wireless only, 0 absent, 1 present, 0x80 keep alive, see the XOR define. | |
| uint8_t | wireless_auth_token [3] |
| Wireless only, see VP2_FEATURE_EVENT_WIRELESS_AUTH. | |
| uint8_t | unused_46 [8] |
| uint8_t | thermal_watchdog |
| enum vp2_thermal_watchdog_flags, XORed with VP2_THERMAL_WATCHDOG_XOR | |
| uint8_t | unused_55 |
Payload of VP2_COMMAND_FEATURE_EVENT.
Only the fields with their bit set in valid_mask are applied. Display power and power state are ignored while the CPLD reports an abnormal state, see vp2_feature_state::cpld_state.
| uint8_t vp2_feature_event::amp_gain |
Headphone amp attenuation, higher is quieter, ignored while amp_power_limit is on.
| uint8_t vp2_feature_event::amp_power_limit |
1 by default, the HTC driver's sound boost sends 0
| uint8_t vp2_feature_event::audio_profile_index |
Codec and amp register preset stored in the headset's flash.
| uint8_t vp2_feature_event::audio_route_mode |
0, 1 or 2, 128 restores the previous mode
| uint8_t vp2_feature_event::brightness_refresh |
Value is unused, only refreshes vp2_feature_state::brightness.
| uint8_t vp2_feature_event::display_power |
0 off or 1 on, XORed with VP2_DISPLAY_POWER_XOR
| uint8_t vp2_feature_event::power_state |
enum vp2_power_state, XORed with VP2_POWER_STATE_XOR
| uint8_t vp2_feature_event::proximity_override |
Wireless only, 0 absent, 1 present, 0x80 keep alive, see the XOR define.
| uint8_t vp2_feature_event::status_report_enable |
Starts or stops the status reports, stays set across sessions.
| uint8_t vp2_feature_event::thermal_watchdog |
enum vp2_thermal_watchdog_flags, XORed with VP2_THERMAL_WATCHDOG_XOR
| __le64 vp2_feature_event::valid_mask |
VP2_FEATURE_EVENT_* bits.
| uint8_t vp2_feature_event::wireless_auth_token[3] |
Wireless only, see VP2_FEATURE_EVENT_WIRELESS_AUTH.