|
Monado OpenXR Runtime
|
Implementation of the Vive Pro 2 HID interface. More...

Go to the source code of this file.
Macros | |
| #define | VP2_VID 0x0bb4 |
| #define | VP2_PID 0x0342 |
Functions | |
| static void | vp2_resolution_get_extents (enum vp2_resolution res, int *out_w, int *out_h) |
| static double | vp2_resolution_get_refresh_rate (enum vp2_resolution res) |
| int | vp2_hid_open (struct os_hid_device *hid_dev, struct vp2_hid **out_hid) |
| enum vp2_resolution | vp2_get_resolution (struct vp2_hid *vp2) |
| struct vp2_config * | vp2_get_config (struct vp2_hid *vpd) |
| void | vp2_hid_destroy (struct vp2_hid *vp2) |
| const char * | vp2_get_serial (struct vp2_hid *vp2) |
| int | vp2_set_noise_cancelling (struct vp2_hid *vp2, bool enabled) |
| float | vp2_get_brightness (struct vp2_hid *vp2) |
| int | vp2_set_brightness (struct vp2_hid *vp2, float brightness) |
| int | vp2_prepare_shutdown (struct vp2_hid *vp2) |
| Prepares the display panels to have video terminated. | |
| bool | vp2_get_status (struct vp2_hid *vp2, bool *out_proximity, float *out_lens_separation_meters, bool *out_system, bool *out_volume_up, bool *out_volume_down, bool *out_mute_mic) |
Implementation of the Vive Pro 2 HID interface.
| int vp2_prepare_shutdown | ( | struct vp2_hid * | vp2 | ) |
Prepares the display panels to have video terminated.
References os_nanosleep(), U_TIME_1MS_IN_NS, and VP2_POWER_STATE_IDLE.