@@ -670,6 +670,16 @@ public struct IVRCompositor
670
670
[ MarshalAs ( UnmanagedType . FunctionPtr ) ]
671
671
internal _ForceInterleavedReprojectionOn ForceInterleavedReprojectionOn ;
672
672
673
+ [ UnmanagedFunctionPointer ( CallingConvention . StdCall ) ]
674
+ internal delegate void _ForceReconnectProcess ( ) ;
675
+ [ MarshalAs ( UnmanagedType . FunctionPtr ) ]
676
+ internal _ForceReconnectProcess ForceReconnectProcess ;
677
+
678
+ [ UnmanagedFunctionPointer ( CallingConvention . StdCall ) ]
679
+ internal delegate void _SuspendRendering ( bool bSuspend ) ;
680
+ [ MarshalAs ( UnmanagedType . FunctionPtr ) ]
681
+ internal _SuspendRendering SuspendRendering ;
682
+
673
683
}
674
684
675
685
[ StructLayout ( LayoutKind . Sequential ) ]
@@ -1859,6 +1869,14 @@ public void ForceInterleavedReprojectionOn(bool bOverride)
1859
1869
{
1860
1870
FnTable . ForceInterleavedReprojectionOn ( bOverride ) ;
1861
1871
}
1872
+ public void ForceReconnectProcess ( )
1873
+ {
1874
+ FnTable . ForceReconnectProcess ( ) ;
1875
+ }
1876
+ public void SuspendRendering ( bool bSuspend )
1877
+ {
1878
+ FnTable . SuspendRendering ( bSuspend ) ;
1879
+ }
1862
1880
}
1863
1881
1864
1882
@@ -2487,6 +2505,8 @@ public enum ETrackedDeviceProperty
2487
2505
Prop_Firmware_ProgrammingTarget_String = 1028 ,
2488
2506
Prop_DeviceClass_Int32 = 1029 ,
2489
2507
Prop_HasCamera_Bool = 1030 ,
2508
+ Prop_DriverVersion_String = 1031 ,
2509
+ Prop_Firmware_ForceUpdateRequired_Bool = 1032 ,
2490
2510
Prop_ReportsTimeSinceVSync_Bool = 2000 ,
2491
2511
Prop_SecondsFromVsyncToPhotons_Float = 2001 ,
2492
2512
Prop_DisplayFrequency_Float = 2002 ,
@@ -2566,6 +2586,7 @@ public enum EVRState
2566
2586
Ready = 3 ,
2567
2587
Ready_Alert = 4 ,
2568
2588
NotReady = 5 ,
2589
+ Standby = 6 ,
2569
2590
}
2570
2591
public enum EVREventType
2571
2592
{
@@ -2596,6 +2617,7 @@ public enum EVREventType
2596
2617
VREvent_SceneFocusGained = 403 ,
2597
2618
VREvent_SceneApplicationChanged = 404 ,
2598
2619
VREvent_SceneFocusChanged = 405 ,
2620
+ VREvent_InputFocusChanged = 406 ,
2599
2621
VREvent_HideRenderModels = 410 ,
2600
2622
VREvent_ShowRenderModels = 411 ,
2601
2623
VREvent_OverlayShown = 500 ,
@@ -2612,6 +2634,8 @@ public enum EVREventType
2612
2634
VREvent_OverlayGamepadFocusGained = 511 ,
2613
2635
VREvent_OverlayGamepadFocusLost = 512 ,
2614
2636
VREvent_OverlaySharedTextureChanged = 513 ,
2637
+ VREvent_DashboardGuideButtonDown = 514 ,
2638
+ VREvent_DashboardGuideButtonUp = 515 ,
2615
2639
VREvent_Notification_Shown = 600 ,
2616
2640
VREvent_Notification_Hidden = 601 ,
2617
2641
VREvent_Notification_BeginInteraction = 602 ,
@@ -2620,13 +2644,16 @@ public enum EVREventType
2620
2644
VREvent_ProcessQuit = 701 ,
2621
2645
VREvent_QuitAborted_UserPrompt = 702 ,
2622
2646
VREvent_QuitAcknowledged = 703 ,
2647
+ VREvent_DriverRequestedQuit = 704 ,
2623
2648
VREvent_ChaperoneDataHasChanged = 800 ,
2624
2649
VREvent_ChaperoneUniverseHasChanged = 801 ,
2625
2650
VREvent_ChaperoneTempDataHasChanged = 802 ,
2626
2651
VREvent_ChaperoneSettingsHaveChanged = 803 ,
2627
2652
VREvent_SeatedZeroPoseReset = 804 ,
2653
+ VREvent_AudioSettingsHaveChanged = 820 ,
2628
2654
VREvent_BackgroundSettingHasChanged = 850 ,
2629
2655
VREvent_CameraSettingsHaveChanged = 851 ,
2656
+ VREvent_ReprojectionSettingHasChanged = 852 ,
2630
2657
VREvent_StatusUpdate = 900 ,
2631
2658
VREvent_MCImageUpdated = 1000 ,
2632
2659
VREvent_FirmwareUpdateStarted = 1100 ,
@@ -2735,6 +2762,7 @@ public enum EVRApplicationType
2735
2762
VRApplication_Overlay = 2 ,
2736
2763
VRApplication_Background = 3 ,
2737
2764
VRApplication_Utility = 4 ,
2765
+ VRApplication_VRMonitor = 5 ,
2738
2766
}
2739
2767
public enum EVRFirmwareError
2740
2768
{
@@ -2777,6 +2805,7 @@ public enum EVRInitError
2777
2805
Init_NoServerForBackgroundApp = 121 ,
2778
2806
Init_NotSupportedWithCompositor = 122 ,
2779
2807
Init_NotAvailableToUtilityApps = 123 ,
2808
+ Init_Internal = 124 ,
2780
2809
Driver_Failed = 200 ,
2781
2810
Driver_Unknown = 201 ,
2782
2811
Driver_HmdUnknown = 202 ,
@@ -2794,6 +2823,7 @@ public enum EVRInitError
2794
2823
IPC_Failed = 305 ,
2795
2824
Compositor_Failed = 400 ,
2796
2825
Compositor_D3D11HardwareRequired = 401 ,
2826
+ Compositor_FirmwareRequiresUpdate = 402 ,
2797
2827
VendorSpecific_UnableToConnectToOculusRuntime = 1000 ,
2798
2828
VendorSpecific_HmdFound_CantOpenDevice = 1101 ,
2799
2829
VendorSpecific_HmdFound_UnableToRequestConfigStart = 1102 ,
@@ -2831,6 +2861,7 @@ public enum EVRApplicationError
2831
2861
BufferTooSmall = 200 ,
2832
2862
PropertyNotSet = 201 ,
2833
2863
UnknownProperty = 202 ,
2864
+ InvalidParameter = 203 ,
2834
2865
}
2835
2866
public enum EVRApplicationProperty
2836
2867
{
@@ -2913,6 +2944,7 @@ public enum VROverlayFlags
2913
2944
SendVRScrollEvents = 6 ,
2914
2945
SendVRTouchpadEvents = 7 ,
2915
2946
ShowTouchPadScrollWheel = 8 ,
2947
+ TransferOwnershipToInternalProcess = 9 ,
2916
2948
}
2917
2949
public enum EGamepadTextInputMode
2918
2950
{
@@ -3158,8 +3190,7 @@ public enum EVRSettingsError
3158
3190
}
3159
3191
[ StructLayout ( LayoutKind . Sequential ) ] public struct VREvent_Keyboard_t
3160
3192
{
3161
- [ MarshalAs ( UnmanagedType . ByValTStr , SizeConst = 8 ) ]
3162
- public string cNewInput ; //char[8]
3193
+ public byte cNewInput0 , cNewInput1 , cNewInput2 , cNewInput3 , cNewInput4 , cNewInput5 , cNewInput6 , cNewInput7 ;
3163
3194
public ulong uUserValue ;
3164
3195
}
3165
3196
[ StructLayout ( LayoutKind . Sequential ) ] public struct VREvent_Ipd_t
@@ -3261,6 +3292,7 @@ public enum EVRSettingsError
3261
3292
public float m_flCompositorRenderStartMs ;
3262
3293
public TrackedDevicePose_t m_HmdPose ;
3263
3294
public int m_nFidelityLevel ;
3295
+ public uint m_nReprojectionFlags ;
3264
3296
}
3265
3297
[ StructLayout ( LayoutKind . Sequential ) ] public struct VROverlayIntersectionParams_t
3266
3298
{
@@ -3384,7 +3416,7 @@ public static uint GetInitToken()
3384
3416
public const string IVRApplications_Version = "IVRApplications_005" ;
3385
3417
public const string IVRChaperone_Version = "IVRChaperone_003" ;
3386
3418
public const string IVRChaperoneSetup_Version = "IVRChaperoneSetup_005" ;
3387
- public const string IVRCompositor_Version = "IVRCompositor_013 " ;
3419
+ public const string IVRCompositor_Version = "IVRCompositor_014 " ;
3388
3420
public const uint k_unVROverlayMaxKeyLength = 128 ;
3389
3421
public const uint k_unVROverlayMaxNameLength = 128 ;
3390
3422
public const uint k_unMaxOverlayCount = 32 ;
@@ -3398,6 +3430,7 @@ public static uint GetInitToken()
3398
3430
public const uint k_unNotificationTextMaxSize = 256 ;
3399
3431
public const string IVRNotifications_Version = "IVRNotifications_002" ;
3400
3432
public const uint k_unMaxSettingsKeyLength = 128 ;
3433
+ public const string IVRSettings_Version = "IVRSettings_001" ;
3401
3434
public const string k_pch_SteamVR_Section = "steamvr" ;
3402
3435
public const string k_pch_SteamVR_RequireHmd_String = "requireHmd" ;
3403
3436
public const string k_pch_SteamVR_ForcedDriverKey_String = "forcedDriver" ;
@@ -3424,6 +3457,8 @@ public static uint GetInitToken()
3424
3457
public const string k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float = "speakersForwardYawOffsetDegrees" ;
3425
3458
public const string k_pch_SteamVR_BaseStationPowerManagement_Bool = "basestationPowerManagement" ;
3426
3459
public const string k_pch_SteamVR_NeverKillProcesses_Bool = "neverKillProcesses" ;
3460
+ public const string k_pch_SteamVR_RenderTargetMultiplier_Float = "renderTargetMultiplier" ;
3461
+ public const string k_pch_SteamVR_AllowReprojection_Bool = "allowReprojection" ;
3427
3462
public const string k_pch_Lighthouse_Section = "driver_lighthouse" ;
3428
3463
public const string k_pch_Lighthouse_DisableIMU_Bool = "disableimu" ;
3429
3464
public const string k_pch_Lighthouse_UseDisambiguation_String = "usedisambiguation" ;
@@ -3455,18 +3490,42 @@ public static uint GetInitToken()
3455
3490
public const string k_pch_Notifications_DoNotDisturb_Bool = "DoNotDisturb" ;
3456
3491
public const string k_pch_Keyboard_Section = "keyboard" ;
3457
3492
public const string k_pch_Keyboard_TutorialCompletions = "TutorialCompletions" ;
3493
+ public const string k_pch_Keyboard_ScaleX = "ScaleX" ;
3494
+ public const string k_pch_Keyboard_ScaleY = "ScaleY" ;
3495
+ public const string k_pch_Keyboard_OffsetLeftX = "OffsetLeftX" ;
3496
+ public const string k_pch_Keyboard_OffsetRightX = "OffsetRightX" ;
3497
+ public const string k_pch_Keyboard_OffsetY = "OffsetY" ;
3498
+ public const string k_pch_Keyboard_Smoothing = "Smoothing" ;
3458
3499
public const string k_pch_Perf_Section = "perfcheck" ;
3459
3500
public const string k_pch_Perf_HeuristicActive_Bool = "heuristicActive" ;
3460
3501
public const string k_pch_Perf_NotifyInHMD_Bool = "warnInHMD" ;
3461
3502
public const string k_pch_Perf_NotifyOnlyOnce_Bool = "warnOnlyOnce" ;
3462
3503
public const string k_pch_Perf_AllowTimingStore_Bool = "allowTimingStore" ;
3463
3504
public const string k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit" ;
3464
3505
public const string k_pch_Perf_TestData_Float = "perfTestData" ;
3506
+ public const string k_pch_CollisionBounds_Section = "collisionBounds" ;
3507
+ public const string k_pch_CollisionBounds_Style_Int32 = "CollisionBoundsStyle" ;
3508
+ public const string k_pch_CollisionBounds_GroundPerimeterOn_Bool = "CollisionBoundsGroundPerimeterOn" ;
3509
+ public const string k_pch_CollisionBounds_CenterMarkerOn_Bool = "CollisionBoundsCenterMarkerOn" ;
3510
+ public const string k_pch_CollisionBounds_PlaySpaceOn_Bool = "CollisionBoundsPlaySpaceOn" ;
3511
+ public const string k_pch_CollisionBounds_FadeDistance_Float = "CollisionBoundsFadeDistance" ;
3512
+ public const string k_pch_CollisionBounds_ColorGammaR_Int32 = "CollisionBoundsColorGammaR" ;
3513
+ public const string k_pch_CollisionBounds_ColorGammaG_Int32 = "CollisionBoundsColorGammaG" ;
3514
+ public const string k_pch_CollisionBounds_ColorGammaB_Int32 = "CollisionBoundsColorGammaB" ;
3515
+ public const string k_pch_CollisionBounds_ColorGammaA_Int32 = "CollisionBoundsColorGammaA" ;
3465
3516
public const string k_pch_Camera_Section = "camera" ;
3466
- public const string IVRSettings_Version = "IVRSettings_001" ;
3517
+ public const string k_pch_Camera_EnableCamera_Bool = "enableCamera" ;
3518
+ public const string k_pch_Camera_EnableCameraInDashboard_Bool = "enableCameraInDashboard" ;
3519
+ public const string k_pch_Camera_EnableCameraForCollisionBounds_Bool = "enableCameraForCollisionBounds" ;
3520
+ public const string k_pch_Camera_EnableCameraForRoomView_Bool = "enableCameraForRoomView" ;
3521
+ public const string k_pch_Camera_BoundsColorGammaR_Int32 = "cameraBoundsColorGammaR" ;
3522
+ public const string k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGammaG" ;
3523
+ public const string k_pch_Camera_BoundsColorGammaB_Int32 = "cameraBoundsColorGammaB" ;
3524
+ public const string k_pch_Camera_BoundsColorGammaA_Int32 = "cameraBoundsColorGammaA" ;
3467
3525
public const string k_pch_audio_Section = "audio" ;
3468
3526
public const string k_pch_audio_OnPlaybackDevice_String = "onPlaybackDevice" ;
3469
3527
public const string k_pch_audio_OnRecordDevice_String = "onRecordDevice" ;
3528
+ public const string k_pch_audio_OnPlaybackMirrorDevice_String = "onPlaybackMirrorDevice" ;
3470
3529
public const string k_pch_audio_OffPlaybackDevice_String = "offPlaybackDevice" ;
3471
3530
public const string k_pch_audio_OffRecordDevice_String = "offRecordDevice" ;
3472
3531
public const string k_pch_audio_VIVEHDMIGain = "viveHDMIGain" ;
0 commit comments