Skip to content

Commit ae46a8d

Browse files
committed
# OpenVR SDK 2.5.1
Clients: * Include Transfer Time in Frame Timing, when using Steam Link Drivers: * Include HMD Pose Prediction Time * Adjust behavior for GetFrameTiming * Add IVRIPCResourceManagerClient for Linux [git-p4: depot-paths = "//vr/steamvr/sdk_release/": change = 8791766]
1 parent f51d87e commit ae46a8d

30 files changed

+160
-38
lines changed

bin/linux32/libopenvr_api.so

0 Bytes
Binary file not shown.

bin/linux32/libopenvr_api.so.dbg

108 Bytes
Binary file not shown.

bin/linux64/libopenvr_api.so

0 Bytes
Binary file not shown.

bin/linux64/libopenvr_api.so.dbg

104 Bytes
Binary file not shown.

bin/linuxarm64/libopenvr_api.so

0 Bytes
Binary file not shown.

bin/linuxarm64/libopenvr_api.so.dbg

112 Bytes
Binary file not shown.

bin/linuxarm64/libopenvr_api_unity.so

0 Bytes
Binary file not shown.
136 Bytes
Binary file not shown.

bin/win32/openvr_api.dll

10 KB
Binary file not shown.

bin/win32/openvr_api.dll.sig

0 Bytes
Binary file not shown.

bin/win32/openvr_api.pdb

320 KB
Binary file not shown.

bin/win64/openvr_api.dll

11.5 KB
Binary file not shown.

bin/win64/openvr_api.dll.sig

0 Bytes
Binary file not shown.

bin/win64/openvr_api.pdb

352 KB
Binary file not shown.

codegen/openvr_capi.cpp.py

+18-3
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,18 @@
4242
#include <stdlib.h>
4343
#include <assert.h>
4444
45-
#include "../headers/openvr.h"
46-
#include "openvr_capi.h"
45+
#include "openvr.h"
46+
#include "ivrsystem.h"
47+
#include "ivrchaperone.h"
48+
#include "ivrchaperonesetup.h"
49+
#include "ivrcompositor.h"
50+
#include "ivroverlay.h"
51+
#include "ivrrendermodels.h"
52+
#include "ivrnotifications.h"
53+
#include "ivrblockqueue.h"
54+
55+
#include "../vrclient/interface_adapters_client.h"
56+
#include "_dynamic_openvr_api_flat.h"
4757
4858
class FnTableRegistration
4959
{
@@ -67,7 +77,12 @@ class FnTableRegistration
6777

6878
import json
6979
import sys
70-
with open('../headers/openvr_api.json') as data_file:
80+
81+
if len(sys.argv) != 2:
82+
sys.exit(-1);
83+
json_path = sys.argv[1]
84+
85+
with open(json_path) as data_file:
7186
data = json.load(data_file)
7287

7388
import api_shared

codegen/openvr_capi.h.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,11 @@
7777
#endif
7878
""")
7979

80+
if len(sys.argv) != 2:
81+
sys.exit(-1);
82+
json_path = sys.argv[1]
8083

81-
82-
data = api_shared.loadfile('../headers/openvr_api.json', 'vr')
84+
data = api_shared.loadfile(json_path, 'vr')
8385
converttype = api_shared.converttype
8486
striparraysuffix = api_shared.striparraysuffix
8587
structlist = api_shared.structlist

codegen/openvr_interop.cs.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222
{
2323
""")
2424

25+
if len(sys.argv) != 2:
26+
sys.exit(-1);
27+
json_path = sys.argv[1]
2528

26-
27-
data = api_shared.loadfile('../headers/openvr_api.json', 'vr')
29+
data = api_shared.loadfile(json_path, 'vr')
2830
converttype = api_shared.converttype
2931
structlist = api_shared.structlist
3032
typedeflist = api_shared.typedeflist

headers/openvr.h

+23-13
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
namespace vr
1717
{
1818
static const uint32_t k_nSteamVRVersionMajor = 2;
19-
static const uint32_t k_nSteamVRVersionMinor = 2;
20-
static const uint32_t k_nSteamVRVersionBuild = 3;
19+
static const uint32_t k_nSteamVRVersionMinor = 5;
20+
static const uint32_t k_nSteamVRVersionBuild = 1;
2121
} // namespace vr
2222

2323
// public_vrtypes.h
@@ -885,6 +885,11 @@ enum EVREventType
885885
VREvent_DesktopMightBeVisible = 536, // Sent when any known desktop related overlay is visible
886886
VREvent_DesktopMightBeHidden = 537, // Sent when all known desktop related overlays are hidden
887887

888+
VREvent_MutualSteamCapabilitiesChanged = 538, // Sent when the set of capabilities common between both Steam and SteamVR have changed.
889+
890+
VREvent_OverlayCreated = 539, // An OpenVR overlay of any sort was created. Data is overlay.
891+
VREvent_OverlayDestroyed = 540, // An OpenVR overlay of any sort was destroyed. Data is overlay.
892+
888893
VREvent_Notification_Shown = 600,
889894
VREvent_Notification_Hidden = 601,
890895
VREvent_Notification_BeginInteraction = 602,
@@ -1647,6 +1652,7 @@ enum EVRNotificationError
16471652
VRNotificationError_NotificationQueueFull = 101,
16481653
VRNotificationError_InvalidOverlayHandle = 102,
16491654
VRNotificationError_SystemWithUserValueAlreadyExists = 103,
1655+
VRNotificationError_ServiceUnavailable = 104,
16501656
};
16511657

16521658

@@ -2014,22 +2020,22 @@ static const uint32_t k_unScreenshotHandleInvalid = 0;
20142020
/** Compositor frame timing reprojection flags. */
20152021
const uint32_t VRCompositor_ReprojectionReason_Cpu = 0x01;
20162022
const uint32_t VRCompositor_ReprojectionReason_Gpu = 0x02;
2017-
const uint32_t VRCompositor_ReprojectionAsync = 0x04; // This flag indicates the async reprojection mode is active,
2023+
const uint32_t VRCompositor_ReprojectionAsync = 0x04; // This flag indicates the async reprojection mode is active,
20182024
// but does not indicate if reprojection actually happened or not.
20192025
// Use the ReprojectionReason flags above to check if reprojection
20202026
// was actually applied (i.e. scene texture was reused).
20212027
// NumFramePresents > 1 also indicates the scene texture was reused,
20222028
// and also the number of times that it was presented in total.
20232029

2024-
const uint32_t VRCompositor_ReprojectionMotion = 0x08; // This flag indicates whether or not motion smoothing was triggered for this frame
2030+
const uint32_t VRCompositor_ReprojectionMotion = 0x08; // This flag indicates whether or not motion smoothing was triggered for this frame
20252031

2026-
const uint32_t VRCompositor_PredictionMask = 0xF0; // The runtime may predict more than one frame (up to four) ahead if
2027-
// it detects the application is taking too long to render. These two
2032+
const uint32_t VRCompositor_PredictionMask = 0xF0; // The runtime may predict more than one frame ahead if
2033+
// it detects the application is taking too long to render. These
20282034
// bits will contain the count of additional frames (normally zero).
20292035
// Use the VR_COMPOSITOR_ADDITIONAL_PREDICTED_FRAMES macro to read from
20302036
// the latest frame timing entry.
20312037

2032-
const uint32_t VRCompositor_ThrottleMask = 0xF00; // Number of frames the compositor is throttling the application.
2038+
const uint32_t VRCompositor_ThrottleMask = 0xF00; // Number of frames the compositor is throttling the application.
20332039
// Use the VR_COMPOSITOR_NUMBER_OF_THROTTLED_FRAMES macro to read from
20342040
// the latest frame timing entry.
20352041

@@ -2081,6 +2087,8 @@ struct Compositor_FrameTiming
20812087

20822088
uint32_t m_nNumVSyncsReadyForUse;
20832089
uint32_t m_nNumVSyncsToFirstView;
2090+
2091+
float m_flTransferLatencyMs;
20842092
};
20852093
#if defined(__linux__) || defined(__APPLE__)
20862094
#pragma pack( pop )
@@ -2728,6 +2736,7 @@ namespace vr
27282736
VRSettingsError_ReadFailed = 3,
27292737
VRSettingsError_JsonParseFailed = 4,
27302738
VRSettingsError_UnsetSettingHasNoDefault = 5, // This will be returned if the setting does not appear in the appropriate default file and has not been set
2739+
VRSettingsError_AccessDenied = 6,
27312740
};
27322741

27332742
// The maximum length of a settings key
@@ -2869,6 +2878,7 @@ namespace vr
28692878
static const char * const k_pch_SteamVR_AdditionalFramesToPredict_Int32 = "additionalFramesToPredict";
28702879
static const char * const k_pch_SteamVR_WorldScale_Float = "worldScale";
28712880
static const char * const k_pch_SteamVR_FovScale_Int32 = "fovScale";
2881+
static const char * const k_pch_SteamVR_FovScaleLetterboxed_Bool = "fovScaleLetterboxed";
28722882
static const char * const k_pch_SteamVR_DisableAsyncReprojection_Bool = "disableAsync";
28732883
static const char * const k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
28742884
static const char * const k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
@@ -3069,7 +3079,7 @@ namespace vr
30693079
static const char * const k_pch_Dashboard_StickyDashboard = "stickyDashboard";
30703080
static const char * const k_pch_Dashboard_AllowSteamOverlays_Bool = "allowSteamOverlays";
30713081
static const char * const k_pch_Dashboard_AllowVRGamepadUI_Bool = "allowVRGamepadUI";
3072-
static const char * const k_pch_Dashboard_AllowDesktopBPMWithVRGamepadUI_Bool = "allowDesktopBPMWithVRGamepadUI";
3082+
static const char * const k_pch_Dashboard_AllowVRGamepadUIViaGamescope_Bool = "allowVRGamepadUIViaGamescope";
30733083
static const char * const k_pch_Dashboard_SteamMatchesHMDFramerate = "steamMatchesHMDFramerate";
30743084

30753085
//-----------------------------------------------------------------------------
@@ -3184,13 +3194,13 @@ class IVRChaperone
31843194
virtual bool GetPlayAreaSize( float *pSizeX, float *pSizeZ ) = 0;
31853195

31863196
/** Returns a quad describing the Play Area (formerly named Soft Bounds).
3187-
* The corners form a rectangle.
3197+
* The corners form a rectangle.
31883198
* Corners are in counter-clockwise order, starting at the front-right.
31893199
* The positions are given relative to the standing origin.
31903200
* The center of the rectangle is the center of the user's calibrated play space, not necessarily the standing
3191-
* origin.
3201+
* origin.
31923202
* The Play Area's forward direction goes from its center through the mid-point of a line drawn between the
3193-
* first and second corner.
3203+
* first and second corner.
31943204
* The quad lies on the XZ plane (height = 0y), with 2 sides parallel to the X-axis and two sides parallel
31953205
* to the Z-axis of the user's calibrated Play Area. **/
31963206
virtual bool GetPlayAreaRect( HmdQuad_t *rect ) = 0;
@@ -4338,7 +4348,7 @@ namespace vr
43384348
/** Shows the dashboard. */
43394349
virtual void ShowDashboard( const char *pchOverlayToShow ) = 0;
43404350

4341-
/** Returns the tracked device that has the laser pointer in the dashboard */
4351+
/** Returns the tracked device index that has the laser pointer in the dashboard, or the last one that was used. */
43424352
virtual vr::TrackedDeviceIndex_t GetPrimaryDashboardDevice() = 0;
43434353

43444354
// ---------------------------------------------
@@ -5229,7 +5239,7 @@ namespace vr
52295239
virtual EVRInputError GetOriginTrackedDeviceInfo( VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize ) = 0;
52305240

52315241
/** Retrieves useful information about the bindings for an action */
5232-
virtual EVRInputError GetActionBindingInfo( VRActionHandle_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount ) = 0;
5242+
virtual EVRInputError GetActionBindingInfo( VRActionHandle_t action, VR_ARRAY_COUNT( unBindingInfoCount ) InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount ) = 0;
52335243

52345244
/** Shows the current binding for the action in-headset */
52355245
virtual EVRInputError ShowActionOrigins( VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle ) = 0;

headers/openvr_api.cs

+11-4
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,7 @@ public struct IVRInput
18421842
internal _GetOriginTrackedDeviceInfo GetOriginTrackedDeviceInfo;
18431843

18441844
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
1845-
internal delegate EVRInputError _GetActionBindingInfo(ulong action, ref InputBindingInfo_t pOriginInfo, uint unBindingInfoSize, uint unBindingInfoCount, ref uint punReturnedBindingInfoCount);
1845+
internal delegate EVRInputError _GetActionBindingInfo(ulong action, [In, Out] InputBindingInfo_t[] pOriginInfo, uint unBindingInfoSize, uint unBindingInfoCount, ref uint punReturnedBindingInfoCount);
18461846
[MarshalAs(UnmanagedType.FunctionPtr)]
18471847
internal _GetActionBindingInfo GetActionBindingInfo;
18481848

@@ -4271,10 +4271,10 @@ public EVRInputError GetOriginTrackedDeviceInfo(ulong origin,ref InputOriginInfo
42714271
EVRInputError result = FnTable.GetOriginTrackedDeviceInfo(origin,ref pOriginInfo,unOriginInfoSize);
42724272
return result;
42734273
}
4274-
public EVRInputError GetActionBindingInfo(ulong action,ref InputBindingInfo_t pOriginInfo,uint unBindingInfoSize,uint unBindingInfoCount,ref uint punReturnedBindingInfoCount)
4274+
public EVRInputError GetActionBindingInfo(ulong action,InputBindingInfo_t [] pOriginInfo,uint unBindingInfoSize,ref uint punReturnedBindingInfoCount)
42754275
{
42764276
punReturnedBindingInfoCount = 0;
4277-
EVRInputError result = FnTable.GetActionBindingInfo(action,ref pOriginInfo,unBindingInfoSize,unBindingInfoCount,ref punReturnedBindingInfoCount);
4277+
EVRInputError result = FnTable.GetActionBindingInfo(action,pOriginInfo,unBindingInfoSize,(uint) pOriginInfo.Length,ref punReturnedBindingInfoCount);
42784278
return result;
42794279
}
42804280
public EVRInputError ShowActionOrigins(ulong actionSetHandle,ulong ulActionHandle)
@@ -5020,6 +5020,9 @@ public enum EVREventType
50205020
VREvent_DashboardThumbChanged = 535,
50215021
VREvent_DesktopMightBeVisible = 536,
50225022
VREvent_DesktopMightBeHidden = 537,
5023+
VREvent_MutualSteamCapabilitiesChanged = 538,
5024+
VREvent_OverlayCreated = 539,
5025+
VREvent_OverlayDestroyed = 540,
50235026
VREvent_Notification_Shown = 600,
50245027
VREvent_Notification_Hidden = 601,
50255028
VREvent_Notification_BeginInteraction = 602,
@@ -5317,6 +5320,7 @@ public enum EVRNotificationError
53175320
NotificationQueueFull = 101,
53185321
InvalidOverlayHandle = 102,
53195322
SystemWithUserValueAlreadyExists = 103,
5323+
ServiceUnavailable = 104,
53205324
}
53215325
public enum EVRSkeletalMotionRange
53225326
{
@@ -5861,6 +5865,7 @@ public enum EVRSettingsError
58615865
ReadFailed = 3,
58625866
JsonParseFailed = 4,
58635867
UnsetSettingHasNoDefault = 5,
5868+
AccessDenied = 6,
58645869
}
58655870
public enum EVRScreenshotError
58665871
{
@@ -6559,6 +6564,7 @@ public void Unpack(ref VRControllerState_t unpacked)
65596564
public TrackedDevicePose_t m_HmdPose;
65606565
public uint m_nNumVSyncsReadyForUse;
65616566
public uint m_nNumVSyncsToFirstView;
6567+
public float m_flTransferLatencyMs;
65626568
}
65636569
[StructLayout(LayoutKind.Sequential)] public struct Compositor_BenchmarkResults
65646570
{
@@ -7810,6 +7816,7 @@ public static uint GetInitToken()
78107816
public const string k_pch_SteamVR_AdditionalFramesToPredict_Int32 = "additionalFramesToPredict";
78117817
public const string k_pch_SteamVR_WorldScale_Float = "worldScale";
78127818
public const string k_pch_SteamVR_FovScale_Int32 = "fovScale";
7819+
public const string k_pch_SteamVR_FovScaleLetterboxed_Bool = "fovScaleLetterboxed";
78137820
public const string k_pch_SteamVR_DisableAsyncReprojection_Bool = "disableAsync";
78147821
public const string k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
78157822
public const string k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
@@ -7968,7 +7975,7 @@ public static uint GetInitToken()
79687975
public const string k_pch_Dashboard_StickyDashboard = "stickyDashboard";
79697976
public const string k_pch_Dashboard_AllowSteamOverlays_Bool = "allowSteamOverlays";
79707977
public const string k_pch_Dashboard_AllowVRGamepadUI_Bool = "allowVRGamepadUI";
7971-
public const string k_pch_Dashboard_AllowDesktopBPMWithVRGamepadUI_Bool = "allowDesktopBPMWithVRGamepadUI";
7978+
public const string k_pch_Dashboard_AllowVRGamepadUIViaGamescope_Bool = "allowVRGamepadUIViaGamescope";
79727979
public const string k_pch_Dashboard_SteamMatchesHMDFramerate = "steamMatchesHMDFramerate";
79737980
public const string k_pch_modelskin_Section = "modelskins";
79747981
public const string k_pch_Driver_Enable_Bool = "enable";

headers/openvr_api.json

+11-3
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,9 @@
463463
,{"name": "VREvent_DashboardThumbChanged","value": "535"}
464464
,{"name": "VREvent_DesktopMightBeVisible","value": "536"}
465465
,{"name": "VREvent_DesktopMightBeHidden","value": "537"}
466+
,{"name": "VREvent_MutualSteamCapabilitiesChanged","value": "538"}
467+
,{"name": "VREvent_OverlayCreated","value": "539"}
468+
,{"name": "VREvent_OverlayDestroyed","value": "540"}
466469
,{"name": "VREvent_Notification_Shown","value": "600"}
467470
,{"name": "VREvent_Notification_Hidden","value": "601"}
468471
,{"name": "VREvent_Notification_BeginInteraction","value": "602"}
@@ -744,6 +747,7 @@
744747
,{"name": "VRNotificationError_NotificationQueueFull","value": "101"}
745748
,{"name": "VRNotificationError_InvalidOverlayHandle","value": "102"}
746749
,{"name": "VRNotificationError_SystemWithUserValueAlreadyExists","value": "103"}
750+
,{"name": "VRNotificationError_ServiceUnavailable","value": "104"}
747751
]}
748752
, {"enumname": "vr::EVRSkeletalMotionRange","values": [
749753
{"name": "VRSkeletalMotionRange_WithController","value": "0"}
@@ -1253,6 +1257,7 @@
12531257
,{"name": "VRSettingsError_ReadFailed","value": "3"}
12541258
,{"name": "VRSettingsError_JsonParseFailed","value": "4"}
12551259
,{"name": "VRSettingsError_UnsetSettingHasNoDefault","value": "5"}
1260+
,{"name": "VRSettingsError_AccessDenied","value": "6"}
12561261
]}
12571262
, {"enumname": "vr::EVRScreenshotError","values": [
12581263
{"name": "VRScreenshotError_None","value": "0"}
@@ -1564,6 +1569,8 @@
15641569
"constname": "k_pch_SteamVR_WorldScale_Float","consttype": "const char *const", "constval": "worldScale"}
15651570
,{
15661571
"constname": "k_pch_SteamVR_FovScale_Int32","consttype": "const char *const", "constval": "fovScale"}
1572+
,{
1573+
"constname": "k_pch_SteamVR_FovScaleLetterboxed_Bool","consttype": "const char *const", "constval": "fovScaleLetterboxed"}
15671574
,{
15681575
"constname": "k_pch_SteamVR_DisableAsyncReprojection_Bool","consttype": "const char *const", "constval": "disableAsync"}
15691576
,{
@@ -1881,7 +1888,7 @@
18811888
,{
18821889
"constname": "k_pch_Dashboard_AllowVRGamepadUI_Bool","consttype": "const char *const", "constval": "allowVRGamepadUI"}
18831890
,{
1884-
"constname": "k_pch_Dashboard_AllowDesktopBPMWithVRGamepadUI_Bool","consttype": "const char *const", "constval": "allowDesktopBPMWithVRGamepadUI"}
1891+
"constname": "k_pch_Dashboard_AllowVRGamepadUIViaGamescope_Bool","consttype": "const char *const", "constval": "allowVRGamepadUIViaGamescope"}
18851892
,{
18861893
"constname": "k_pch_Dashboard_SteamMatchesHMDFramerate","consttype": "const char *const", "constval": "steamMatchesHMDFramerate"}
18871894
,{
@@ -2350,7 +2357,8 @@
23502357
{ "fieldname": "m_flCompositorRenderStartMs", "fieldtype": "float"},
23512358
{ "fieldname": "m_HmdPose", "fieldtype": "vr::TrackedDevicePose_t"},
23522359
{ "fieldname": "m_nNumVSyncsReadyForUse", "fieldtype": "uint32_t"},
2353-
{ "fieldname": "m_nNumVSyncsToFirstView", "fieldtype": "uint32_t"}]}
2360+
{ "fieldname": "m_nNumVSyncsToFirstView", "fieldtype": "uint32_t"},
2361+
{ "fieldname": "m_flTransferLatencyMs", "fieldtype": "float"}]}
23542362
,{"struct": "vr::Compositor_BenchmarkResults","fields": [
23552363
{ "fieldname": "m_flMegaPixelsPerSecond", "fieldtype": "float"},
23562364
{ "fieldname": "m_flHmdRecommendedMegaPixelsPerSecond", "fieldtype": "float"}]}
@@ -5560,7 +5568,7 @@
55605568
"returntype": "vr::EVRInputError",
55615569
"params": [
55625570
{ "paramname": "action" ,"paramtype": "vr::VRActionHandle_t"},
5563-
{ "paramname": "pOriginInfo" ,"paramtype": "struct vr::InputBindingInfo_t *"},
5571+
{ "paramname": "pOriginInfo" ,"array_count": "unBindingInfoCount" ,"paramtype": "struct vr::InputBindingInfo_t *"},
55645572
{ "paramname": "unBindingInfoSize" ,"paramtype": "uint32_t"},
55655573
{ "paramname": "unBindingInfoCount" ,"paramtype": "uint32_t"},
55665574
{ "paramname": "punReturnedBindingInfoCount" ,"paramtype": "uint32_t *"}

headers/openvr_capi.h

+8-1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ static const char * k_pch_SteamVR_FramesToThrottle_Int32 = "framesToThrottle";
183183
static const char * k_pch_SteamVR_AdditionalFramesToPredict_Int32 = "additionalFramesToPredict";
184184
static const char * k_pch_SteamVR_WorldScale_Float = "worldScale";
185185
static const char * k_pch_SteamVR_FovScale_Int32 = "fovScale";
186+
static const char * k_pch_SteamVR_FovScaleLetterboxed_Bool = "fovScaleLetterboxed";
186187
static const char * k_pch_SteamVR_DisableAsyncReprojection_Bool = "disableAsync";
187188
static const char * k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
188189
static const char * k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
@@ -341,7 +342,7 @@ static const char * k_pch_Dashboard_UseStandaloneSystemLayer = "standaloneSystem
341342
static const char * k_pch_Dashboard_StickyDashboard = "stickyDashboard";
342343
static const char * k_pch_Dashboard_AllowSteamOverlays_Bool = "allowSteamOverlays";
343344
static const char * k_pch_Dashboard_AllowVRGamepadUI_Bool = "allowVRGamepadUI";
344-
static const char * k_pch_Dashboard_AllowDesktopBPMWithVRGamepadUI_Bool = "allowDesktopBPMWithVRGamepadUI";
345+
static const char * k_pch_Dashboard_AllowVRGamepadUIViaGamescope_Bool = "allowVRGamepadUIViaGamescope";
345346
static const char * k_pch_Dashboard_SteamMatchesHMDFramerate = "steamMatchesHMDFramerate";
346347
static const char * k_pch_modelskin_Section = "modelskins";
347348
static const char * k_pch_Driver_Enable_Bool = "enable";
@@ -884,6 +885,9 @@ typedef enum EVREventType
884885
EVREventType_VREvent_DashboardThumbChanged = 535,
885886
EVREventType_VREvent_DesktopMightBeVisible = 536,
886887
EVREventType_VREvent_DesktopMightBeHidden = 537,
888+
EVREventType_VREvent_MutualSteamCapabilitiesChanged = 538,
889+
EVREventType_VREvent_OverlayCreated = 539,
890+
EVREventType_VREvent_OverlayDestroyed = 540,
887891
EVREventType_VREvent_Notification_Shown = 600,
888892
EVREventType_VREvent_Notification_Hidden = 601,
889893
EVREventType_VREvent_Notification_BeginInteraction = 602,
@@ -1197,6 +1201,7 @@ typedef enum EVRNotificationError
11971201
EVRNotificationError_VRNotificationError_NotificationQueueFull = 101,
11981202
EVRNotificationError_VRNotificationError_InvalidOverlayHandle = 102,
11991203
EVRNotificationError_VRNotificationError_SystemWithUserValueAlreadyExists = 103,
1204+
EVRNotificationError_VRNotificationError_ServiceUnavailable = 104,
12001205
} EVRNotificationError;
12011206

12021207
typedef enum EVRSkeletalMotionRange
@@ -1776,6 +1781,7 @@ typedef enum EVRSettingsError
17761781
EVRSettingsError_VRSettingsError_ReadFailed = 3,
17771782
EVRSettingsError_VRSettingsError_JsonParseFailed = 4,
17781783
EVRSettingsError_VRSettingsError_UnsetSettingHasNoDefault = 5,
1784+
EVRSettingsError_VRSettingsError_AccessDenied = 6,
17791785
} EVRSettingsError;
17801786

17811787
typedef enum EVRScreenshotError
@@ -2383,6 +2389,7 @@ typedef struct Compositor_FrameTiming
23832389
TrackedDevicePose_t m_HmdPose;
23842390
uint32_t m_nNumVSyncsReadyForUse;
23852391
uint32_t m_nNumVSyncsToFirstView;
2392+
float m_flTransferLatencyMs;
23862393
} Compositor_FrameTiming;
23872394

23882395
typedef struct Compositor_BenchmarkResults

0 commit comments

Comments
 (0)