|
15 | 15 | namespace vr
|
16 | 16 | {
|
17 | 17 | static const uint32_t k_nSteamVRVersionMajor = 1;
|
18 |
| - static const uint32_t k_nSteamVRVersionMinor = 6; |
19 |
| - static const uint32_t k_nSteamVRVersionBuild = 10; |
| 18 | + static const uint32_t k_nSteamVRVersionMinor = 7; |
| 19 | + static const uint32_t k_nSteamVRVersionBuild = 15; |
20 | 20 | } // namespace vr
|
21 | 21 |
|
22 | 22 | // vrtypes.h
|
@@ -432,6 +432,7 @@ enum ETrackedDeviceProperty
|
432 | 432 | Prop_ExpectedControllerType_String = 2074,
|
433 | 433 | Prop_HmdTrackingStyle_Int32 = 2075, // one of EHmdTrackingStyle
|
434 | 434 | Prop_DriverProvidedChaperoneVisibility_Bool = 2076,
|
| 435 | + Prop_HmdProvidesDisplaySettings_Bool = 2077, |
435 | 436 |
|
436 | 437 |
|
437 | 438 | Prop_DisplayAvailableFrameRates_Float_Array = 2080, // populated by compositor from actual EDID list when available from GPU driver
|
@@ -483,11 +484,13 @@ enum ETrackedDeviceProperty
|
483 | 484 | Prop_NamedIconPathDeviceNotReady_String = 5006, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
|
484 | 485 | Prop_NamedIconPathDeviceStandby_String = 5007, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
|
485 | 486 | Prop_NamedIconPathDeviceAlertLow_String = 5008, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
|
| 487 | + Prop_NamedIconPathDeviceStandbyAlert_String = 5009, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others |
486 | 488 |
|
487 | 489 | // Properties that are used by helpers, but are opaque to applications
|
488 | 490 | Prop_DisplayHiddenArea_Binary_Start = 5100,
|
489 | 491 | Prop_DisplayHiddenArea_Binary_End = 5150,
|
490 | 492 | Prop_ParentContainer = 5151,
|
| 493 | + Prop_OverrideContainer_Uint64 = 5152, |
491 | 494 |
|
492 | 495 | // Properties that are unique to drivers
|
493 | 496 | Prop_UserConfigPath_String = 6000,
|
@@ -807,8 +810,8 @@ enum EVREventType
|
807 | 810 | VREvent_ProcessConnected = 1306,
|
808 | 811 | VREvent_ProcessDisconnected = 1307,
|
809 | 812 |
|
810 |
| - VREvent_Compositor_MirrorWindowShown = 1400, |
811 |
| - VREvent_Compositor_MirrorWindowHidden = 1401, |
| 813 | + //VREvent_Compositor_MirrorWindowShown = 1400, // DEPRECATED |
| 814 | + //VREvent_Compositor_MirrorWindowHidden = 1401, // DEPRECATED |
812 | 815 | VREvent_Compositor_ChaperoneBoundsShown = 1410,
|
813 | 816 | VREvent_Compositor_ChaperoneBoundsHidden = 1411,
|
814 | 817 | VREvent_Compositor_DisplayDisconnected = 1412,
|
@@ -847,6 +850,9 @@ enum EVREventType
|
847 | 850 |
|
848 | 851 | VREvent_SystemReport_Started = 1900, // user or system initiated generation of a system report. broadcast
|
849 | 852 |
|
| 853 | + VREvent_Monitor_ShowHeadsetView = 2000, // data is process |
| 854 | + VREvent_Monitor_HideHeadsetView = 2001, // data is process |
| 855 | + |
850 | 856 | // Vendors are free to expose private events in this reserved region
|
851 | 857 | VREvent_VendorSpecific_Reserved_Start = 10000,
|
852 | 858 | VREvent_VendorSpecific_Reserved_End = 19999,
|
@@ -1546,6 +1552,7 @@ enum EVRInitError
|
1546 | 1552 | VRInitError_Driver_HmdDriverIdOutOfBounds = 211,
|
1547 | 1553 | VRInitError_Driver_HmdDisplayMirrored = 212,
|
1548 | 1554 | VRInitError_Driver_HmdDisplayNotFoundLaptop = 213,
|
| 1555 | + // Never make error 259 because we return it from main and it would conflict with STILL_ACTIVE |
1549 | 1556 |
|
1550 | 1557 | VRInitError_IPC_ServerInitFailed = 300,
|
1551 | 1558 | VRInitError_IPC_ConnectFailed = 301,
|
@@ -1747,7 +1754,7 @@ struct CameraVideoStreamFrameHeader_t
|
1747 | 1754 |
|
1748 | 1755 | uint32_t nFrameSequence;
|
1749 | 1756 |
|
1750 |
| - TrackedDevicePose_t standingTrackedDevicePose; |
| 1757 | + TrackedDevicePose_t trackedDevicePose; |
1751 | 1758 |
|
1752 | 1759 | uint64_t ulFrameExposureTime; // mid-point of the exposure of the image in host system ticks
|
1753 | 1760 | };
|
@@ -2300,6 +2307,7 @@ namespace vr
|
2300 | 2307 | VRApplicationProperty_IsInstanced_Bool = 62,
|
2301 | 2308 | VRApplicationProperty_IsInternal_Bool = 63,
|
2302 | 2309 | VRApplicationProperty_WantsCompositorPauseInStandby_Bool = 64,
|
| 2310 | + VRApplicationProperty_IsHidden_Bool = 65, |
2303 | 2311 |
|
2304 | 2312 | VRApplicationProperty_LastLaunchTime_Uint64 = 70,
|
2305 | 2313 | };
|
@@ -2616,7 +2624,10 @@ namespace vr
|
2616 | 2624 | static const char * const k_pch_SteamVR_MotionSmoothingOverride_Int32 = "motionSmoothingOverride";
|
2617 | 2625 | static const char * const k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
|
2618 | 2626 | static const char * const k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
|
2619 |
| - static const char * const k_pch_SteamVR_ShowMirrorView_Bool = "showMirrorView"; |
| 2627 | + static const char * const k_pch_SteamVR_ShowLegacyMirrorView_Bool = "showLegacyMirrorView"; |
| 2628 | + static const char * const k_pch_SteamVR_MirrorViewVisibility_Bool = "showMirrorView"; |
| 2629 | + static const char * const k_pch_SteamVR_MirrorViewDisplayMode_Int32 = "mirrorViewDisplayMode"; |
| 2630 | + static const char * const k_pch_SteamVR_MirrorViewEye_Int32 = "mirrorViewEye"; |
2620 | 2631 | static const char * const k_pch_SteamVR_MirrorViewGeometry_String = "mirrorViewGeometry";
|
2621 | 2632 | static const char * const k_pch_SteamVR_MirrorViewGeometryMaximized_String = "mirrorViewGeometryMaximized";
|
2622 | 2633 | static const char * const k_pch_SteamVR_StartMonitorFromAppLaunch = "startMonitorFromAppLaunch";
|
@@ -2645,6 +2656,9 @@ namespace vr
|
2645 | 2656 | static const char * const k_pch_SteamVR_HmdDisplayColorGainR_Float = "hmdDisplayColorGainR";
|
2646 | 2657 | static const char * const k_pch_SteamVR_HmdDisplayColorGainG_Float = "hmdDisplayColorGainG";
|
2647 | 2658 | static const char * const k_pch_SteamVR_HmdDisplayColorGainB_Float = "hmdDisplayColorGainB";
|
| 2659 | + static const char * const k_pch_SteamVR_CustomIconStyle_String = "customIconStyle"; |
| 2660 | + static const char * const k_pch_SteamVR_CustomOffIconStyle_String = "customOffIconStyle"; |
| 2661 | + static const char * const k_pch_SteamVR_CustomIconForceUpdate_String = "customIconForceUpdate"; |
2648 | 2662 |
|
2649 | 2663 | //-----------------------------------------------------------------------------
|
2650 | 2664 | // direct mode keys
|
@@ -2774,6 +2788,7 @@ namespace vr
|
2774 | 2788 | static const char * const k_pch_Dashboard_UseWebSettings = "useWebSettings";
|
2775 | 2789 | static const char * const k_pch_Dashboard_UseWebIPD = "useWebIPD";
|
2776 | 2790 | static const char * const k_pch_Dashboard_UseWebPowerMenu = "useWebPowerMenu";
|
| 2791 | + static const char * const k_pch_Dashboard_UseWebNotifications = "useWebNotifications"; |
2777 | 2792 |
|
2778 | 2793 | //-----------------------------------------------------------------------------
|
2779 | 2794 | // model skin keys
|
@@ -3186,14 +3201,14 @@ class IVRCompositor
|
3186 | 3201 | /** Returns true if the current process has the scene focus */
|
3187 | 3202 | virtual bool CanRenderScene() = 0;
|
3188 | 3203 |
|
3189 |
| - /** Opens the headset view (as either a window or docked widget depending on user's preferences) that displays what the user |
| 3204 | + /** DEPRECATED: Opens the headset view (as either a window or docked widget depending on user's preferences) that displays what the user |
3190 | 3205 | * sees in the headset. */
|
3191 | 3206 | virtual void ShowMirrorWindow() = 0;
|
3192 | 3207 |
|
3193 |
| - /** Closes the headset view, either as a window or docked widget. */ |
| 3208 | + /** DEPRECATED: Closes the headset view, either as a window or docked widget. */ |
3194 | 3209 | virtual void HideMirrorWindow() = 0;
|
3195 | 3210 |
|
3196 |
| - /** Returns true if the headset view (either as a window or docked widget) is shown. */ |
| 3211 | + /** DEPRECATED: Returns true if the headset view (either as a window or docked widget) is shown. */ |
3197 | 3212 | virtual bool IsMirrorWindowVisible() = 0;
|
3198 | 3213 |
|
3199 | 3214 | /** Writes back buffer and stereo left/right pair from the application to a 'screenshots' folder in the SteamVR runtime root. */
|
@@ -3406,10 +3421,6 @@ namespace vr
|
3406 | 3421 | {
|
3407 | 3422 | VROverlayFlags_None = 0,
|
3408 | 3423 |
|
3409 |
| - // The following only take effect when rendered using the high quality render path (see SetHighQualityOverlay). |
3410 |
| - VROverlayFlags_Curved = 1, |
3411 |
| - VROverlayFlags_RGSS4X = 2, |
3412 |
| - |
3413 | 3424 | // Set this flag on a dashboard overlay to prevent a tab from showing up for that overlay
|
3414 | 3425 | VROverlayFlags_NoDashboardTab = 3,
|
3415 | 3426 |
|
@@ -3458,6 +3469,9 @@ namespace vr
|
3458 | 3469 |
|
3459 | 3470 | // If this is set, the overlay texture will be protected content, preventing unauthorized reads.
|
3460 | 3471 | VROverlayFlags_ProtectedContent = 18,
|
| 3472 | + |
| 3473 | + // not used for anything. This is useful for iterating over flag types. |
| 3474 | + VROverlayFlags_Max |
3461 | 3475 | };
|
3462 | 3476 |
|
3463 | 3477 | enum VRMessageOverlayResponse
|
@@ -3564,17 +3578,6 @@ namespace vr
|
3564 | 3578 | * automatically destroyed. */
|
3565 | 3579 | virtual EVROverlayError DestroyOverlay( VROverlayHandle_t ulOverlayHandle ) = 0;
|
3566 | 3580 |
|
3567 |
| - /** Specify which overlay to use the high quality render path. This overlay will be composited in during the distortion pass which |
3568 |
| - * results in it drawing on top of everything else, but also at a higher quality as it samples the source texture directly rather than |
3569 |
| - * rasterizing into each eye's render texture first. Because if this, only one of these is supported at any given time. It is most useful |
3570 |
| - * for overlays that are expected to take up most of the user's view (e.g. streaming video). |
3571 |
| - * This mode does not support mouse input to your overlay. */ |
3572 |
| - virtual EVROverlayError SetHighQualityOverlay( VROverlayHandle_t ulOverlayHandle ) = 0; |
3573 |
| - |
3574 |
| - /** Returns the overlay handle of the current overlay being rendered using the single high quality overlay render path. |
3575 |
| - * Otherwise it will return k_ulOverlayHandleInvalid. */ |
3576 |
| - virtual vr::VROverlayHandle_t GetHighQualityOverlay() = 0; |
3577 |
| - |
3578 | 3581 | /** Fills the provided buffer with the string key of the overlay. Returns the size of buffer required to store the key, including
|
3579 | 3582 | * the terminating null character. k_unVROverlayMaxKeyLength will be enough bytes to fit the string. */
|
3580 | 3583 | virtual uint32_t GetOverlayKey( VROverlayHandle_t ulOverlayHandle, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, EVROverlayError *pError = 0L ) = 0;
|
@@ -3877,7 +3880,7 @@ namespace vr
|
3877 | 3880 | virtual void CloseMessageOverlay() = 0;
|
3878 | 3881 | };
|
3879 | 3882 |
|
3880 |
| - static const char * const IVROverlay_Version = "IVROverlay_019"; |
| 3883 | + static const char * const IVROverlay_Version = "IVROverlay_020"; |
3881 | 3884 |
|
3882 | 3885 | } // namespace vr
|
3883 | 3886 |
|
@@ -4167,9 +4170,11 @@ class IVRTrackedCamera
|
4167 | 4170 | /** Access a shared GL texture for the specified tracked camera stream */
|
4168 | 4171 | virtual vr::EVRTrackedCameraError GetVideoStreamTextureGL( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, vr::glUInt_t *pglTextureId, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize ) = 0;
|
4169 | 4172 | virtual vr::EVRTrackedCameraError ReleaseVideoStreamTextureGL( vr::TrackedCameraHandle_t hTrackedCamera, vr::glUInt_t glTextureId ) = 0;
|
| 4173 | + virtual void SetCameraTrackingSpace( vr::ETrackingUniverseOrigin eUniverse ) = 0; |
| 4174 | + virtual vr::ETrackingUniverseOrigin GetCameraTrackingSpace( ) = 0; |
4170 | 4175 | };
|
4171 | 4176 |
|
4172 |
| -static const char * const IVRTrackedCamera_Version = "IVRTrackedCamera_005"; |
| 4177 | +static const char * const IVRTrackedCamera_Version = "IVRTrackedCamera_006"; |
4173 | 4178 |
|
4174 | 4179 | } // namespace vr
|
4175 | 4180 |
|
|
0 commit comments