Monado OpenXR Runtime
Loading...
Searching...
No Matches
vp2_config.h
Go to the documentation of this file.
1// Copyright 2025, Beyley Cardellio
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Code to parse and handle the Vive Pro 2 configuration data.
6 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
7 * @ingroup drv_vp2
8 */
9
10#pragma once
11
12#include "xrt/xrt_defines.h"
13
14#include "htc/htc_config.h"
15
16#include <stdint.h>
17
18
19#ifdef __cplusplus
20extern "C" {
21#endif
23{
24 struct htc_config base;
25
26 uint32_t direct_mode_edid_pid;
27 uint32_t direct_mode_edid_vid;
28};
29
30bool
31vp2_config_parse(const char *config_data, size_t config_size, struct vp2_config *out_config);
32
33#ifdef __cplusplus
34}
35#endif
Code to parse and handle the modern non-LH HTC configuration data.
Definition htc_config.h:96
Definition vp2_config.h:23
Common defines and enums for XRT.