Monado OpenXR Runtime
Loading...
Searching...
No Matches
XRTVRSystem_019.hpp
Go to the documentation of this file.
1// Copyright 2026, Beyley Cardellio
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Implementation of the IVRSystem interface version 023.
6 *
7 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
8 * @ingroup openvr_interfaces
9 */
10
11#pragma once
12
13#include "openvr_interfaces_unified.h"
14#include "openvr_forward_macros.h"
15
16#include "XRTVRSystem_020.hpp"
17
18
19namespace xrt::state_trackers::openvr {
20
21using namespace vr;
22
23class XRTVRSystem_019 : public XRTVRSystem_020, public vr::IVRSystem_019
24{
25public:
26 // @todo Remove when clang-format is updated in CI
27 // clang-format off
29 // clang-format on
30
31 FnTable_IVRSystem_019();
32
33 ForwardDeclareBase_IVRSystem(XRTVRSystem_020);
34
35 Forward_IVRSystem_GetRecommendedRenderTargetSize();
36 Forward_IVRSystem_GetProjectionMatrix_026();
37 Forward_IVRSystem_GetProjectionRaw_026();
38 Forward_IVRSystem_ComputeDistortion_026();
39 Forward_IVRSystem_GetEyeToHeadTransform_026();
40 Forward_IVRSystem_GetTimeSinceLastVsync();
41 Forward_IVRSystem_GetD3D9AdapterIndex();
42 Forward_IVRSystem_GetDXGIOutputInfo_026();
43 Forward_IVRSystem_GetOutputDevice_026();
44 Forward_IVRSystem_IsDisplayOnDesktop();
45 Forward_IVRSystem_SetDisplayVisibility();
46 Forward_IVRSystem_GetDeviceToAbsoluteTrackingPose_026();
47 Forward_IVRSystem_ResetSeatedZeroPose();
48 Forward_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose();
49 Forward_IVRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose();
50 Forward_IVRSystem_GetSortedTrackedDeviceIndicesOfClass_026();
51 Forward_IVRSystem_GetTrackedDeviceActivityLevel();
52 Forward_IVRSystem_ApplyTransform_026();
53 Forward_IVRSystem_GetTrackedDeviceIndexForControllerRole();
54 Forward_IVRSystem_GetControllerRoleForTrackedDeviceIndex();
55 Forward_IVRSystem_GetTrackedDeviceClass_026();
56 Forward_IVRSystem_IsTrackedDeviceConnected();
57 Forward_IVRSystem_GetBoolTrackedDeviceProperty_026();
58 Forward_IVRSystem_GetFloatTrackedDeviceProperty_026();
59 Forward_IVRSystem_GetInt32TrackedDeviceProperty_026();
60 Forward_IVRSystem_GetUint64TrackedDeviceProperty_026();
61 Forward_IVRSystem_GetMatrix34TrackedDeviceProperty_026();
62 Forward_IVRSystem_GetArrayTrackedDeviceProperty();
63 Forward_IVRSystem_GetStringTrackedDeviceProperty_026();
64 Forward_IVRSystem_GetPropErrorNameFromEnum_026();
65 Forward_IVRSystem_PollNextEvent_026();
66 Forward_IVRSystem_PollNextEventWithPose_026();
67 Forward_IVRSystem_PollNextEventWithPoseAndOverlays();
68 Forward_IVRSystem_GetEventTypeNameFromEnum();
69 Forward_IVRSystem_GetHiddenAreaMesh_026();
70 Forward_IVRSystem_GetControllerState_026();
71 Forward_IVRSystem_GetControllerStateWithPose_026();
72 Forward_IVRSystem_TriggerHapticPulse();
73 Forward_IVRSystem_GetButtonIdNameFromEnum();
74 Forward_IVRSystem_GetControllerAxisTypeNameFromEnum();
75 Forward_IVRSystem_IsInputAvailable();
76 Forward_IVRSystem_IsSteamVRDrawingControllers();
77 Forward_IVRSystem_ShouldApplicationPause();
78 Forward_IVRSystem_ShouldApplicationReduceRenderingWork();
79
80 uint32_t
81 DriverDebugRequest(vr::TrackedDeviceIndex_t unDeviceIndex,
82 const char *pchRequest,
83 VR_OUT_STRING() char *pchResponseBuffer,
84 uint32_t unResponseBufferSize) override
85 {
86 openvr_logger logger;
87 OPENVR_LOGGER_INIT(logger);
89 "DriverDebugRequest(unDeviceIndex=%u, pchRequest=%s, "
90 "pchResponseBuffer=%p, unResponseBufferSize=%u) -> %u",
91 0U, static_cast<unsigned int>(unDeviceIndex), pchRequest,
92 static_cast<void *>(pchResponseBuffer),
93 static_cast<unsigned int>(unResponseBufferSize), 0U);
94 }
95
96 Forward_IVRSystem_PerformFirmwareUpdate_026();
97 Forward_IVRSystem_AcknowledgeQuit_Exiting();
98 Forward_IVRSystem_AcknowledgeQuit_UserPrompt();
99};
100
101}; // namespace xrt::state_trackers::openvr
Implementation of the IVRSystem interface version 020.
Definition XRTVRClientCore.hpp:47
Definition XRTVRSystem_019.hpp:24
Definition XRTVRSystem_020.hpp:27
Definitions missing from C++ header, present in C.
Definition blockqueue.hpp:15
#define OPENVR_LOG_UNIMPLEMENTED_RET(logger, fmt, ret,...)
Specialized macro for logging an unimplemented function and returning a value.
Definition openvr_logger.hpp:57
Definition openvr_logger.hpp:30