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 ForwardDeclareBase_IVRSystem(XRTVRSystem_020);
32
33 Forward_IVRSystem_GetRecommendedRenderTargetSize();
34 Forward_IVRSystem_GetProjectionMatrix_026();
35 Forward_IVRSystem_GetProjectionRaw_026();
36 Forward_IVRSystem_ComputeDistortion_026();
37 Forward_IVRSystem_GetEyeToHeadTransform_026();
38 Forward_IVRSystem_GetTimeSinceLastVsync();
39 Forward_IVRSystem_GetD3D9AdapterIndex();
40 Forward_IVRSystem_GetDXGIOutputInfo_026();
41 Forward_IVRSystem_GetOutputDevice_026();
42 Forward_IVRSystem_IsDisplayOnDesktop();
43 Forward_IVRSystem_SetDisplayVisibility();
44 Forward_IVRSystem_GetDeviceToAbsoluteTrackingPose_026();
45 Forward_IVRSystem_ResetSeatedZeroPose();
46 Forward_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose();
47 Forward_IVRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose();
48 Forward_IVRSystem_GetSortedTrackedDeviceIndicesOfClass_026();
49 Forward_IVRSystem_GetTrackedDeviceActivityLevel();
50 Forward_IVRSystem_ApplyTransform_026();
51 Forward_IVRSystem_GetTrackedDeviceIndexForControllerRole();
52 Forward_IVRSystem_GetControllerRoleForTrackedDeviceIndex();
53 Forward_IVRSystem_GetTrackedDeviceClass_026();
54 Forward_IVRSystem_IsTrackedDeviceConnected();
55 Forward_IVRSystem_GetBoolTrackedDeviceProperty_026();
56 Forward_IVRSystem_GetFloatTrackedDeviceProperty_026();
57 Forward_IVRSystem_GetInt32TrackedDeviceProperty_026();
58 Forward_IVRSystem_GetUint64TrackedDeviceProperty_026();
59 Forward_IVRSystem_GetMatrix34TrackedDeviceProperty_026();
60 Forward_IVRSystem_GetArrayTrackedDeviceProperty();
61 Forward_IVRSystem_GetStringTrackedDeviceProperty_026();
62 Forward_IVRSystem_GetPropErrorNameFromEnum_026();
63 Forward_IVRSystem_PollNextEvent_026();
64 Forward_IVRSystem_PollNextEventWithPose_026();
65 Forward_IVRSystem_PollNextEventWithPoseAndOverlays();
66 Forward_IVRSystem_GetEventTypeNameFromEnum();
67 Forward_IVRSystem_GetHiddenAreaMesh_026();
68 Forward_IVRSystem_GetControllerState_026();
69 Forward_IVRSystem_GetControllerStateWithPose_026();
70 Forward_IVRSystem_TriggerHapticPulse();
71 Forward_IVRSystem_GetButtonIdNameFromEnum();
72 Forward_IVRSystem_GetControllerAxisTypeNameFromEnum();
73 Forward_IVRSystem_IsInputAvailable();
74 Forward_IVRSystem_IsSteamVRDrawingControllers();
75 Forward_IVRSystem_ShouldApplicationPause();
76 Forward_IVRSystem_ShouldApplicationReduceRenderingWork();
77
78 uint32_t
79 DriverDebugRequest(vr::TrackedDeviceIndex_t unDeviceIndex,
80 const char *pchRequest,
81 VR_OUT_STRING() char *pchResponseBuffer,
82 uint32_t unResponseBufferSize) override
83 {
84 openvr_logger logger;
85 OPENVR_LOGGER_INIT(logger);
87 "DriverDebugRequest(unDeviceIndex=%u, pchRequest=%s, "
88 "pchResponseBuffer=%p, unResponseBufferSize=%u) -> %u",
89 0U, static_cast<unsigned int>(unDeviceIndex), pchRequest,
90 static_cast<void *>(pchResponseBuffer),
91 static_cast<unsigned int>(unResponseBufferSize), 0U);
92 }
93
94 Forward_IVRSystem_PerformFirmwareUpdate_026();
95 Forward_IVRSystem_AcknowledgeQuit_Exiting();
96 Forward_IVRSystem_AcknowledgeQuit_UserPrompt();
97};
98
99}; // 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