Update OpenVR dependency to version 1.1.3b (#28)
* Update OpenVR from an unknown version to 1.1.3b There shouldn't be any breaking changes. * Add removed variables from old OpenVR version The strings are the names of variables in steamvr.vrsettings in C:\Program Files (x86)\Steam\steamapps\common\SteamVR\resources\settings\ The string allowReprojection leads to warning log spam on some occasions. For more information see this github issue https://github.com/OpenVR-Advanced-Settings/OpenVR-AdvancedSettings/issues/25.
This commit is contained in:
@@ -7,6 +7,16 @@ namespace vr
|
||||
// this was removed from openvr_api.h in 1.0.8
|
||||
static const char* const k_pch_SteamVR_RenderTargetMultiplier_Float
|
||||
= "renderTargetMultiplier";
|
||||
|
||||
// This was removed when updating from an unknown version to OpenVR
|
||||
// version 1.1.3. This should probably be removed along with any features
|
||||
// connected to it. Valve probably removed it for a reason.
|
||||
static const char* const k_pch_SteamVR_AllowAsyncReprojection_Bool
|
||||
= "allowAsyncReprojection";
|
||||
static const char* const k_pch_SteamVR_AllowReprojection_Bool
|
||||
= "allowInterleavedReprojection";
|
||||
static const char* const k_pch_SteamVR_ForceReprojection_Bool
|
||||
= "forceReprojection";
|
||||
} // namespace vr
|
||||
|
||||
// application namespace
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
+907
-36
File diff suppressed because it is too large
Load Diff
+1055
-77
File diff suppressed because it is too large
Load Diff
+770
-65
File diff suppressed because it is too large
Load Diff
+492
-23
@@ -81,39 +81,48 @@ static const unsigned int k_unHmdMatrix34PropertyTag = 20;
|
||||
static const unsigned int k_unHmdMatrix44PropertyTag = 21;
|
||||
static const unsigned int k_unHmdVector3PropertyTag = 22;
|
||||
static const unsigned int k_unHmdVector4PropertyTag = 23;
|
||||
static const unsigned int k_unHmdVector2PropertyTag = 24;
|
||||
static const unsigned int k_unHmdQuadPropertyTag = 25;
|
||||
static const unsigned int k_unHiddenAreaPropertyTag = 30;
|
||||
static const unsigned int k_unPathHandleInfoTag = 31;
|
||||
static const unsigned int k_unActionPropertyTag = 32;
|
||||
static const unsigned int k_unInputValuePropertyTag = 33;
|
||||
static const unsigned int k_unWildcardPropertyTag = 34;
|
||||
static const unsigned int k_unHapticVibrationPropertyTag = 35;
|
||||
static const unsigned int k_unSkeletonPropertyTag = 36;
|
||||
static const unsigned int k_unSpatialAnchorPosePropertyTag = 40;
|
||||
static const unsigned int k_unJsonPropertyTag = 41;
|
||||
static const unsigned int k_unOpenVRInternalReserved_Start = 1000;
|
||||
static const unsigned int k_unOpenVRInternalReserved_End = 10000;
|
||||
static const unsigned int k_unMaxPropertyStringSize = 32768;
|
||||
static const unsigned long k_ulInvalidActionHandle = 0;
|
||||
static const unsigned long k_ulInvalidActionSetHandle = 0;
|
||||
static const unsigned long k_ulInvalidInputValueHandle = 0;
|
||||
static const unsigned int k_unControllerStateAxisCount = 5;
|
||||
static const unsigned long k_ulOverlayHandleInvalid = 0;
|
||||
static const unsigned int k_unMaxDistortionFunctionParameters = 8;
|
||||
static const unsigned int k_unScreenshotHandleInvalid = 0;
|
||||
static const char * IVRSystem_Version = "IVRSystem_019";
|
||||
static const char * IVRExtendedDisplay_Version = "IVRExtendedDisplay_001";
|
||||
static const char * IVRTrackedCamera_Version = "IVRTrackedCamera_003";
|
||||
static const char * IVRTrackedCamera_Version = "IVRTrackedCamera_005";
|
||||
static const unsigned int k_unMaxApplicationKeyLength = 128;
|
||||
static const char * k_pch_MimeType_HomeApp = "vr/home";
|
||||
static const char * k_pch_MimeType_GameTheater = "vr/game_theater";
|
||||
static const char * IVRApplications_Version = "IVRApplications_006";
|
||||
static const char * IVRChaperone_Version = "IVRChaperone_003";
|
||||
static const char * IVRChaperoneSetup_Version = "IVRChaperoneSetup_005";
|
||||
static const char * IVRChaperoneSetup_Version = "IVRChaperoneSetup_006";
|
||||
static const char * IVRCompositor_Version = "IVRCompositor_022";
|
||||
static const unsigned int k_unVROverlayMaxKeyLength = 128;
|
||||
static const unsigned int k_unVROverlayMaxNameLength = 128;
|
||||
static const unsigned int k_unMaxOverlayCount = 64;
|
||||
static const unsigned int k_unMaxOverlayIntersectionMaskPrimitivesCount = 32;
|
||||
static const char * IVROverlay_Version = "IVROverlay_018";
|
||||
static const char * IVROverlay_Version = "IVROverlay_019";
|
||||
static const char * k_pch_Controller_Component_GDC2015 = "gdc2015";
|
||||
static const char * k_pch_Controller_Component_Base = "base";
|
||||
static const char * k_pch_Controller_Component_Tip = "tip";
|
||||
static const char * k_pch_Controller_Component_HandGrip = "handgrip";
|
||||
static const char * k_pch_Controller_Component_Status = "status";
|
||||
static const char * IVRRenderModels_Version = "IVRRenderModels_005";
|
||||
static const char * IVRRenderModels_Version = "IVRRenderModels_006";
|
||||
static const unsigned int k_unNotificationTextMaxSize = 256;
|
||||
static const char * IVRNotifications_Version = "IVRNotifications_002";
|
||||
static const unsigned int k_unMaxSettingsKeyLength = 128;
|
||||
@@ -137,21 +146,19 @@ static const char * k_pch_SteamVR_GridColor_String = "gridColor";
|
||||
static const char * k_pch_SteamVR_PlayAreaColor_String = "playAreaColor";
|
||||
static const char * k_pch_SteamVR_ShowStage_Bool = "showStage";
|
||||
static const char * k_pch_SteamVR_ActivateMultipleDrivers_Bool = "activateMultipleDrivers";
|
||||
static const char * k_pch_SteamVR_DirectMode_Bool = "directMode";
|
||||
static const char * k_pch_SteamVR_DirectModeEdidVid_Int32 = "directModeEdidVid";
|
||||
static const char * k_pch_SteamVR_DirectModeEdidPid_Int32 = "directModeEdidPid";
|
||||
static const char * k_pch_SteamVR_UsingSpeakers_Bool = "usingSpeakers";
|
||||
static const char * k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float = "speakersForwardYawOffsetDegrees";
|
||||
static const char * k_pch_SteamVR_BaseStationPowerManagement_Bool = "basestationPowerManagement";
|
||||
static const char * k_pch_SteamVR_NeverKillProcesses_Bool = "neverKillProcesses";
|
||||
static const char * k_pch_SteamVR_SupersampleScale_Float = "supersampleScale";
|
||||
static const char * k_pch_SteamVR_AllowAsyncReprojection_Bool = "allowAsyncReprojection";
|
||||
static const char * k_pch_SteamVR_AllowReprojection_Bool = "allowInterleavedReprojection";
|
||||
static const char * k_pch_SteamVR_ForceReprojection_Bool = "forceReprojection";
|
||||
static const char * k_pch_SteamVR_MaxRecommendedResolution_Int32 = "maxRecommendedResolution";
|
||||
static const char * k_pch_SteamVR_MotionSmoothing_Bool = "motionSmoothing";
|
||||
static const char * k_pch_SteamVR_MotionSmoothingOverride_Int32 = "motionSmoothingOverride";
|
||||
static const char * k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
|
||||
static const char * k_pch_SteamVR_DefaultMirrorView_Int32 = "defaultMirrorView";
|
||||
static const char * k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
|
||||
static const char * k_pch_SteamVR_ShowMirrorView_Bool = "showMirrorView";
|
||||
static const char * k_pch_SteamVR_MirrorViewGeometry_String = "mirrorViewGeometry";
|
||||
static const char * k_pch_SteamVR_MirrorViewGeometryMaximized_String = "mirrorViewGeometryMaximized";
|
||||
static const char * k_pch_SteamVR_StartMonitorFromAppLaunch = "startMonitorFromAppLaunch";
|
||||
static const char * k_pch_SteamVR_StartCompositorFromAppLaunch_Bool = "startCompositorFromAppLaunch";
|
||||
static const char * k_pch_SteamVR_StartDashboardFromAppLaunch_Bool = "startDashboardFromAppLaunch";
|
||||
@@ -161,11 +168,24 @@ static const char * k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32 = "CycleBack
|
||||
static const char * k_pch_SteamVR_RetailDemo_Bool = "retailDemo";
|
||||
static const char * k_pch_SteamVR_IpdOffset_Float = "ipdOffset";
|
||||
static const char * k_pch_SteamVR_AllowSupersampleFiltering_Bool = "allowSupersampleFiltering";
|
||||
static const char * k_pch_SteamVR_SupersampleManualOverride_Bool = "supersampleManualOverride";
|
||||
static const char * k_pch_SteamVR_EnableLinuxVulkanAsync_Bool = "enableLinuxVulkanAsync";
|
||||
static const char * k_pch_SteamVR_AllowDisplayLockedMode_Bool = "allowDisplayLockedMode";
|
||||
static const char * k_pch_SteamVR_HaveStartedTutorialForNativeChaperoneDriver_Bool = "haveStartedTutorialForNativeChaperoneDriver";
|
||||
static const char * k_pch_SteamVR_ForceWindows32bitVRMonitor = "forceWindows32BitVRMonitor";
|
||||
static const char * k_pch_SteamVR_DebugInput = "debugInput";
|
||||
static const char * k_pch_SteamVR_LegacyInputRebinding = "legacyInputRebinding";
|
||||
static const char * k_pch_SteamVR_DebugInputBinding = "debugInputBinding";
|
||||
static const char * k_pch_SteamVR_InputBindingUIBlock = "inputBindingUI";
|
||||
static const char * k_pch_SteamVR_RenderCameraMode = "renderCameraMode";
|
||||
static const char * k_pch_SteamVR_EnableSharedResourceJournaling = "enableSharedResourceJournaling";
|
||||
static const char * k_pch_SteamVR_EnableSafeMode = "enableSafeMode";
|
||||
static const char * k_pch_SteamVR_PreferredRefreshRate = "preferredRefreshRate";
|
||||
static const char * k_pch_DirectMode_Section = "direct_mode";
|
||||
static const char * k_pch_DirectMode_Enable_Bool = "enable";
|
||||
static const char * k_pch_DirectMode_Count_Int32 = "count";
|
||||
static const char * k_pch_DirectMode_EdidVid_Int32 = "edidVid";
|
||||
static const char * k_pch_DirectMode_EdidPid_Int32 = "edidPid";
|
||||
static const char * k_pch_Lighthouse_Section = "driver_lighthouse";
|
||||
static const char * k_pch_Lighthouse_DisableIMU_Bool = "disableimu";
|
||||
static const char * k_pch_Lighthouse_DisableIMUExceptHMD_Bool = "disableimuexcepthmd";
|
||||
@@ -175,6 +195,8 @@ static const char * k_pch_Lighthouse_PrimaryBasestation_Int32 = "primarybasestat
|
||||
static const char * k_pch_Lighthouse_DBHistory_Bool = "dbhistory";
|
||||
static const char * k_pch_Lighthouse_EnableBluetooth_Bool = "enableBluetooth";
|
||||
static const char * k_pch_Lighthouse_PowerManagedBaseStations_String = "PowerManagedBaseStations";
|
||||
static const char * k_pch_Lighthouse_PowerManagedBaseStations2_String = "PowerManagedBaseStations2";
|
||||
static const char * k_pch_Lighthouse_EnableImuFallback_Bool = "enableImuFallback";
|
||||
static const char * k_pch_Null_Section = "driver_null";
|
||||
static const char * k_pch_Null_SerialNumber_String = "serialNumber";
|
||||
static const char * k_pch_Null_ModelNumber_String = "modelNumber";
|
||||
@@ -189,6 +211,7 @@ static const char * k_pch_Null_DisplayFrequency_Float = "displayFrequency";
|
||||
static const char * k_pch_UserInterface_Section = "userinterface";
|
||||
static const char * k_pch_UserInterface_StatusAlwaysOnTop_Bool = "StatusAlwaysOnTop";
|
||||
static const char * k_pch_UserInterface_MinimizeToTray_Bool = "MinimizeToTray";
|
||||
static const char * k_pch_UserInterface_HidePopupsWhenStatusMinimized_Bool = "HidePopupsWhenStatusMinimized";
|
||||
static const char * k_pch_UserInterface_Screenshots_Bool = "screenshots";
|
||||
static const char * k_pch_UserInterface_ScreenshotType_Int = "screenshotType";
|
||||
static const char * k_pch_Notifications_Section = "notifications";
|
||||
@@ -202,9 +225,7 @@ static const char * k_pch_Keyboard_OffsetRightX = "OffsetRightX";
|
||||
static const char * k_pch_Keyboard_OffsetY = "OffsetY";
|
||||
static const char * k_pch_Keyboard_Smoothing = "Smoothing";
|
||||
static const char * k_pch_Perf_Section = "perfcheck";
|
||||
static const char * k_pch_Perf_HeuristicActive_Bool = "heuristicActive";
|
||||
static const char * k_pch_Perf_NotifyInHMD_Bool = "warnInHMD";
|
||||
static const char * k_pch_Perf_NotifyOnlyOnce_Bool = "warnOnlyOnce";
|
||||
static const char * k_pch_Perf_PerfGraphInHMD_Bool = "perfGraphInHMD";
|
||||
static const char * k_pch_Perf_AllowTimingStore_Bool = "allowTimingStore";
|
||||
static const char * k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit";
|
||||
static const char * k_pch_Perf_TestData_Float = "perfTestData";
|
||||
@@ -229,6 +250,7 @@ static const char * k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGam
|
||||
static const char * k_pch_Camera_BoundsColorGammaB_Int32 = "cameraBoundsColorGammaB";
|
||||
static const char * k_pch_Camera_BoundsColorGammaA_Int32 = "cameraBoundsColorGammaA";
|
||||
static const char * k_pch_Camera_BoundsStrength_Int32 = "cameraBoundsStrength";
|
||||
static const char * k_pch_Camera_RoomViewMode_Int32 = "cameraRoomViewMode";
|
||||
static const char * k_pch_audio_Section = "audio";
|
||||
static const char * k_pch_audio_OnPlaybackDevice_String = "onPlaybackDevice";
|
||||
static const char * k_pch_audio_OnRecordDevice_String = "onRecordDevice";
|
||||
@@ -247,13 +269,38 @@ static const char * k_pch_Dashboard_Section = "dashboard";
|
||||
static const char * k_pch_Dashboard_EnableDashboard_Bool = "enableDashboard";
|
||||
static const char * k_pch_Dashboard_ArcadeMode_Bool = "arcadeMode";
|
||||
static const char * k_pch_Dashboard_EnableWebUI = "webUI";
|
||||
static const char * k_pch_Dashboard_EnableWebUIDevTools = "webUIDevTools";
|
||||
static const char * k_pch_Dashboard_EnableWebUIDashboardReplacement = "webUIDashboard";
|
||||
static const char * k_pch_modelskin_Section = "modelskins";
|
||||
static const char * k_pch_Driver_Enable_Bool = "enable";
|
||||
static const char * k_pch_WebInterface_Section = "WebInterface";
|
||||
static const char * k_pch_WebInterface_WebEnable_Bool = "WebEnable";
|
||||
static const char * k_pch_WebInterface_WebPort_String = "WebPort";
|
||||
static const char * k_pch_VRWebHelper_Section = "VRWebHelper";
|
||||
static const char * k_pch_VRWebHelper_DebuggerEnabled_Bool = "DebuggerEnabled";
|
||||
static const char * k_pch_VRWebHelper_DebuggerPort_Int32 = "DebuggerPort";
|
||||
static const char * k_pch_TrackingOverride_Section = "TrackingOverrides";
|
||||
static const char * k_pch_App_BindingAutosaveURLSuffix_String = "AutosaveURL";
|
||||
static const char * k_pch_App_BindingCurrentURLSuffix_String = "CurrentURL";
|
||||
static const char * k_pch_App_NeedToUpdateAutosaveSuffix_Bool = "NeedToUpdateAutosave";
|
||||
static const char * k_pch_App_ActionManifestURL_String = "ActionManifestURL";
|
||||
static const char * k_pch_Trackers_Section = "trackers";
|
||||
static const char * k_pch_DesktopUI_Section = "DesktopUI";
|
||||
static const char * k_pch_LastKnown_Section = "LastKnown";
|
||||
static const char * k_pch_LastKnown_HMDManufacturer_String = "HMDManufacturer";
|
||||
static const char * k_pch_LastKnown_HMDModel_String = "HMDModel";
|
||||
static const char * IVRScreenshots_Version = "IVRScreenshots_001";
|
||||
static const char * IVRResources_Version = "IVRResources_001";
|
||||
static const char * IVRDriverManager_Version = "IVRDriverManager_001";
|
||||
static const unsigned int k_unMaxActionNameLength = 64;
|
||||
static const unsigned int k_unMaxActionSetNameLength = 64;
|
||||
static const unsigned int k_unMaxActionOriginCount = 16;
|
||||
static const unsigned int k_unMaxBoneNameLength = 32;
|
||||
static const char * IVRInput_Version = "IVRInput_005";
|
||||
static const unsigned long k_ulInvalidIOBufferHandle = 0;
|
||||
static const char * IVRIOBuffer_Version = "IVRIOBuffer_001";
|
||||
static const unsigned int k_ulInvalidSpatialAnchorHandle = 0;
|
||||
static const char * IVRSpatialAnchors_Version = "IVRSpatialAnchors_001";
|
||||
|
||||
// OpenVR Enums
|
||||
|
||||
@@ -265,12 +312,14 @@ typedef enum EVREye
|
||||
|
||||
typedef enum ETextureType
|
||||
{
|
||||
ETextureType_TextureType_Invalid = -1,
|
||||
ETextureType_TextureType_DirectX = 0,
|
||||
ETextureType_TextureType_OpenGL = 1,
|
||||
ETextureType_TextureType_Vulkan = 2,
|
||||
ETextureType_TextureType_IOSurface = 3,
|
||||
ETextureType_TextureType_DirectX12 = 4,
|
||||
ETextureType_TextureType_DXGISharedHandle = 5,
|
||||
ETextureType_TextureType_Metal = 6,
|
||||
} ETextureType;
|
||||
|
||||
typedef enum EColorSpace
|
||||
@@ -287,6 +336,7 @@ typedef enum ETrackingResult
|
||||
ETrackingResult_TrackingResult_Calibrating_OutOfRange = 101,
|
||||
ETrackingResult_TrackingResult_Running_OK = 200,
|
||||
ETrackingResult_TrackingResult_Running_OutOfRange = 201,
|
||||
ETrackingResult_TrackingResult_Fallback_RotationOnly = 300,
|
||||
} ETrackingResult;
|
||||
|
||||
typedef enum ETrackedDeviceClass
|
||||
@@ -297,6 +347,7 @@ typedef enum ETrackedDeviceClass
|
||||
ETrackedDeviceClass_TrackedDeviceClass_GenericTracker = 3,
|
||||
ETrackedDeviceClass_TrackedDeviceClass_TrackingReference = 4,
|
||||
ETrackedDeviceClass_TrackedDeviceClass_DisplayRedirect = 5,
|
||||
ETrackedDeviceClass_TrackedDeviceClass_Max = 6,
|
||||
} ETrackedDeviceClass;
|
||||
|
||||
typedef enum ETrackedControllerRole
|
||||
@@ -305,6 +356,8 @@ typedef enum ETrackedControllerRole
|
||||
ETrackedControllerRole_TrackedControllerRole_LeftHand = 1,
|
||||
ETrackedControllerRole_TrackedControllerRole_RightHand = 2,
|
||||
ETrackedControllerRole_TrackedControllerRole_OptOut = 3,
|
||||
ETrackedControllerRole_TrackedControllerRole_Treadmill = 4,
|
||||
ETrackedControllerRole_TrackedControllerRole_Max = 4,
|
||||
} ETrackedControllerRole;
|
||||
|
||||
typedef enum ETrackingUniverseOrigin
|
||||
@@ -356,6 +409,11 @@ typedef enum ETrackedDeviceProperty
|
||||
ETrackedDeviceProperty_Prop_RegisteredDeviceType_String = 1036,
|
||||
ETrackedDeviceProperty_Prop_InputProfilePath_String = 1037,
|
||||
ETrackedDeviceProperty_Prop_NeverTracked_Bool = 1038,
|
||||
ETrackedDeviceProperty_Prop_NumCameras_Int32 = 1039,
|
||||
ETrackedDeviceProperty_Prop_CameraFrameLayout_Int32 = 1040,
|
||||
ETrackedDeviceProperty_Prop_CameraStreamFormat_Int32 = 1041,
|
||||
ETrackedDeviceProperty_Prop_AdditionalDeviceSettingsPath_String = 1042,
|
||||
ETrackedDeviceProperty_Prop_Identifiable_Bool = 1043,
|
||||
ETrackedDeviceProperty_Prop_ReportsTimeSinceVSync_Bool = 2000,
|
||||
ETrackedDeviceProperty_Prop_SecondsFromVsyncToPhotons_Float = 2001,
|
||||
ETrackedDeviceProperty_Prop_DisplayFrequency_Float = 2002,
|
||||
@@ -417,6 +475,21 @@ typedef enum ETrackedDeviceProperty
|
||||
ETrackedDeviceProperty_Prop_MinimumIpdStepMeters_Float = 2060,
|
||||
ETrackedDeviceProperty_Prop_AudioBridgeFirmwareVersion_Uint64 = 2061,
|
||||
ETrackedDeviceProperty_Prop_ImageBridgeFirmwareVersion_Uint64 = 2062,
|
||||
ETrackedDeviceProperty_Prop_ImuToHeadTransform_Matrix34 = 2063,
|
||||
ETrackedDeviceProperty_Prop_ImuFactoryGyroBias_Vector3 = 2064,
|
||||
ETrackedDeviceProperty_Prop_ImuFactoryGyroScale_Vector3 = 2065,
|
||||
ETrackedDeviceProperty_Prop_ImuFactoryAccelerometerBias_Vector3 = 2066,
|
||||
ETrackedDeviceProperty_Prop_ImuFactoryAccelerometerScale_Vector3 = 2067,
|
||||
ETrackedDeviceProperty_Prop_ConfigurationIncludesLighthouse20Features_Bool = 2069,
|
||||
ETrackedDeviceProperty_Prop_DriverRequestedMuraCorrectionMode_Int32 = 2200,
|
||||
ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_InnerLeft_Int32 = 2201,
|
||||
ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_InnerRight_Int32 = 2202,
|
||||
ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_InnerTop_Int32 = 2203,
|
||||
ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_InnerBottom_Int32 = 2204,
|
||||
ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_OuterLeft_Int32 = 2205,
|
||||
ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_OuterRight_Int32 = 2206,
|
||||
ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_OuterTop_Int32 = 2207,
|
||||
ETrackedDeviceProperty_Prop_DriverRequestedMuraFeather_OuterBottom_Int32 = 2208,
|
||||
ETrackedDeviceProperty_Prop_AttachedDeviceId_String = 3000,
|
||||
ETrackedDeviceProperty_Prop_SupportedButtons_Uint64 = 3001,
|
||||
ETrackedDeviceProperty_Prop_Axis0Type_Int32 = 3002,
|
||||
@@ -451,8 +524,10 @@ typedef enum ETrackedDeviceProperty
|
||||
ETrackedDeviceProperty_Prop_HasCameraComponent_Bool = 6004,
|
||||
ETrackedDeviceProperty_Prop_HasDriverDirectModeComponent_Bool = 6005,
|
||||
ETrackedDeviceProperty_Prop_HasVirtualDisplayComponent_Bool = 6006,
|
||||
ETrackedDeviceProperty_Prop_HasSpatialAnchorsSupport_Bool = 6007,
|
||||
ETrackedDeviceProperty_Prop_ControllerType_String = 7000,
|
||||
ETrackedDeviceProperty_Prop_LegacyInputProfile_String = 7001,
|
||||
ETrackedDeviceProperty_Prop_ControllerHandSelectionPriority_Int32 = 7002,
|
||||
ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_Start = 10000,
|
||||
ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_End = 10999,
|
||||
ETrackedDeviceProperty_Prop_TrackedDeviceProperty_Max = 1000000,
|
||||
@@ -473,6 +548,7 @@ typedef enum ETrackedPropertyError
|
||||
ETrackedPropertyError_TrackedProp_PermissionDenied = 10,
|
||||
ETrackedPropertyError_TrackedProp_InvalidOperation = 11,
|
||||
ETrackedPropertyError_TrackedProp_CannotWriteToWildcards = 12,
|
||||
ETrackedPropertyError_TrackedProp_IPCReadFailure = 13,
|
||||
} ETrackedPropertyError;
|
||||
|
||||
typedef enum EVRSubmitFlags
|
||||
@@ -535,6 +611,7 @@ typedef enum EVREventType
|
||||
EVREventType_VREvent_Scroll = 305,
|
||||
EVREventType_VREvent_TouchPadMove = 306,
|
||||
EVREventType_VREvent_OverlayFocusChanged = 307,
|
||||
EVREventType_VREvent_ReloadOverlays = 308,
|
||||
EVREventType_VREvent_InputFocusCaptured = 400,
|
||||
EVREventType_VREvent_InputFocusReleased = 401,
|
||||
EVREventType_VREvent_SceneFocusLost = 402,
|
||||
@@ -544,6 +621,7 @@ typedef enum EVREventType
|
||||
EVREventType_VREvent_InputFocusChanged = 406,
|
||||
EVREventType_VREvent_SceneApplicationSecondaryRenderingStarted = 407,
|
||||
EVREventType_VREvent_SceneApplicationUsingWrongGraphicsAdapter = 408,
|
||||
EVREventType_VREvent_ActionBindingReloaded = 409,
|
||||
EVREventType_VREvent_HideRenderModels = 410,
|
||||
EVREventType_VREvent_ShowRenderModels = 411,
|
||||
EVREventType_VREvent_ConsoleOpened = 420,
|
||||
@@ -574,6 +652,7 @@ typedef enum EVREventType
|
||||
EVREventType_VREvent_PrimaryDashboardDeviceChanged = 525,
|
||||
EVREventType_VREvent_RoomViewShown = 526,
|
||||
EVREventType_VREvent_RoomViewHidden = 527,
|
||||
EVREventType_VREvent_ShowUI = 528,
|
||||
EVREventType_VREvent_Notification_Shown = 600,
|
||||
EVREventType_VREvent_Notification_Hidden = 601,
|
||||
EVREventType_VREvent_Notification_BeginInteraction = 602,
|
||||
@@ -588,6 +667,7 @@ typedef enum EVREventType
|
||||
EVREventType_VREvent_ChaperoneTempDataHasChanged = 802,
|
||||
EVREventType_VREvent_ChaperoneSettingsHaveChanged = 803,
|
||||
EVREventType_VREvent_SeatedZeroPoseReset = 804,
|
||||
EVREventType_VREvent_ChaperoneFlushCache = 805,
|
||||
EVREventType_VREvent_AudioSettingsHaveChanged = 820,
|
||||
EVREventType_VREvent_BackgroundSettingHasChanged = 850,
|
||||
EVREventType_VREvent_CameraSettingsHaveChanged = 851,
|
||||
@@ -605,6 +685,8 @@ typedef enum EVREventType
|
||||
EVREventType_VREvent_PerfSectionSettingChanged = 863,
|
||||
EVREventType_VREvent_DashboardSectionSettingChanged = 864,
|
||||
EVREventType_VREvent_WebInterfaceSectionSettingChanged = 865,
|
||||
EVREventType_VREvent_TrackersSectionSettingChanged = 866,
|
||||
EVREventType_VREvent_LastKnownSectionSettingChanged = 867,
|
||||
EVREventType_VREvent_StatusUpdate = 900,
|
||||
EVREventType_VREvent_WebInterface_InstallDriverCompleted = 950,
|
||||
EVREventType_VREvent_MCImageUpdated = 1000,
|
||||
@@ -636,6 +718,16 @@ typedef enum EVREventType
|
||||
EVREventType_VREvent_MessageOverlay_Closed = 1650,
|
||||
EVREventType_VREvent_MessageOverlayCloseRequested = 1651,
|
||||
EVREventType_VREvent_Input_HapticVibration = 1700,
|
||||
EVREventType_VREvent_Input_BindingLoadFailed = 1701,
|
||||
EVREventType_VREvent_Input_BindingLoadSuccessful = 1702,
|
||||
EVREventType_VREvent_Input_ActionManifestReloaded = 1703,
|
||||
EVREventType_VREvent_Input_ActionManifestLoadFailed = 1704,
|
||||
EVREventType_VREvent_Input_ProgressUpdate = 1705,
|
||||
EVREventType_VREvent_Input_TrackerActivated = 1706,
|
||||
EVREventType_VREvent_SpatialAnchors_PoseUpdated = 1800,
|
||||
EVREventType_VREvent_SpatialAnchors_DescriptorUpdated = 1801,
|
||||
EVREventType_VREvent_SpatialAnchors_RequestPoseUpdate = 1802,
|
||||
EVREventType_VREvent_SpatialAnchors_RequestDescriptorUpdate = 1803,
|
||||
EVREventType_VREvent_VendorSpecific_Reserved_Start = 10000,
|
||||
EVREventType_VREvent_VendorSpecific_Reserved_End = 19999,
|
||||
} EVREventType;
|
||||
@@ -668,6 +760,9 @@ typedef enum EVRButtonId
|
||||
EVRButtonId_k_EButton_SteamVR_Touchpad = 32,
|
||||
EVRButtonId_k_EButton_SteamVR_Trigger = 33,
|
||||
EVRButtonId_k_EButton_Dashboard_Back = 2,
|
||||
EVRButtonId_k_EButton_Knuckles_A = 2,
|
||||
EVRButtonId_k_EButton_Knuckles_B = 1,
|
||||
EVRButtonId_k_EButton_Knuckles_JoyStick = 35,
|
||||
EVRButtonId_k_EButton_Max = 64,
|
||||
} EVRButtonId;
|
||||
|
||||
@@ -684,6 +779,13 @@ typedef enum EDualAnalogWhich
|
||||
EDualAnalogWhich_k_EDualAnalog_Right = 1,
|
||||
} EDualAnalogWhich;
|
||||
|
||||
typedef enum EShowUIType
|
||||
{
|
||||
EShowUIType_ShowUI_ControllerBinding = 0,
|
||||
EShowUIType_ShowUI_ManageTrackers = 1,
|
||||
EShowUIType_ShowUI_QuickStart = 2,
|
||||
} EShowUIType;
|
||||
|
||||
typedef enum EVRInputError
|
||||
{
|
||||
EVRInputError_VRInputError_None = 0,
|
||||
@@ -696,8 +798,34 @@ typedef enum EVRInputError
|
||||
EVRInputError_VRInputError_IPCError = 7,
|
||||
EVRInputError_VRInputError_NoActiveActionSet = 8,
|
||||
EVRInputError_VRInputError_InvalidDevice = 9,
|
||||
EVRInputError_VRInputError_InvalidSkeleton = 10,
|
||||
EVRInputError_VRInputError_InvalidBoneCount = 11,
|
||||
EVRInputError_VRInputError_InvalidCompressedData = 12,
|
||||
EVRInputError_VRInputError_NoData = 13,
|
||||
EVRInputError_VRInputError_BufferTooSmall = 14,
|
||||
EVRInputError_VRInputError_MismatchedActionManifest = 15,
|
||||
EVRInputError_VRInputError_MissingSkeletonData = 16,
|
||||
EVRInputError_VRInputError_InvalidBoneIndex = 17,
|
||||
} EVRInputError;
|
||||
|
||||
typedef enum EVRSpatialAnchorError
|
||||
{
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_Success = 0,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_Internal = 1,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_UnknownHandle = 2,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_ArrayTooSmall = 3,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_InvalidDescriptorChar = 4,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_NotYetAvailable = 5,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_NotAvailableInThisUniverse = 6,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_PermanentlyUnavailable = 7,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_WrongDriver = 8,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_DescriptorTooLong = 9,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_Unknown = 10,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_NoRoomCalibration = 11,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_InvalidArgument = 12,
|
||||
EVRSpatialAnchorError_VRSpatialAnchorError_UnknownDriver = 13,
|
||||
} EVRSpatialAnchorError;
|
||||
|
||||
typedef enum EHiddenAreaMeshType
|
||||
{
|
||||
EHiddenAreaMeshType_k_eHiddenAreaMesh_Standard = 0,
|
||||
@@ -768,7 +896,8 @@ typedef enum EVRApplicationType
|
||||
EVRApplicationType_VRApplication_VRMonitor = 5,
|
||||
EVRApplicationType_VRApplication_SteamWatchdog = 6,
|
||||
EVRApplicationType_VRApplication_Bootstrapper = 7,
|
||||
EVRApplicationType_VRApplication_Max = 8,
|
||||
EVRApplicationType_VRApplication_WebHelper = 8,
|
||||
EVRApplicationType_VRApplication_Max = 9,
|
||||
} EVRApplicationType;
|
||||
|
||||
typedef enum EVRFirmwareError
|
||||
@@ -787,6 +916,21 @@ typedef enum EVRNotificationError
|
||||
EVRNotificationError_VRNotificationError_SystemWithUserValueAlreadyExists = 103,
|
||||
} EVRNotificationError;
|
||||
|
||||
typedef enum EVRSkeletalMotionRange
|
||||
{
|
||||
EVRSkeletalMotionRange_VRSkeletalMotionRange_WithController = 0,
|
||||
EVRSkeletalMotionRange_VRSkeletalMotionRange_WithoutController = 1,
|
||||
} EVRSkeletalMotionRange;
|
||||
|
||||
typedef enum EVRSkeletalTrackingLevel
|
||||
{
|
||||
EVRSkeletalTrackingLevel_VRSkeletalTracking_Estimated = 0,
|
||||
EVRSkeletalTrackingLevel_VRSkeletalTracking_Partial = 1,
|
||||
EVRSkeletalTrackingLevel_VRSkeletalTracking_Full = 2,
|
||||
EVRSkeletalTrackingLevel_VRSkeletalTrackingLevel_Count = 3,
|
||||
EVRSkeletalTrackingLevel_VRSkeletalTrackingLevel_Max = 2,
|
||||
} EVRSkeletalTrackingLevel;
|
||||
|
||||
typedef enum EVRInitError
|
||||
{
|
||||
EVRInitError_VRInitError_None = 0,
|
||||
@@ -833,6 +977,7 @@ typedef enum EVRInitError
|
||||
EVRInitError_VRInitError_Init_FirmwareRecoveryBusy = 139,
|
||||
EVRInitError_VRInitError_Init_USBServiceBusy = 140,
|
||||
EVRInitError_VRInitError_Init_VRWebHelperStartupFailed = 141,
|
||||
EVRInitError_VRInitError_Init_TrackerManagerInitFailed = 142,
|
||||
EVRInitError_VRInitError_Driver_Failed = 200,
|
||||
EVRInitError_VRInitError_Driver_Unknown = 201,
|
||||
EVRInitError_VRInitError_Driver_HmdUnknown = 202,
|
||||
@@ -915,6 +1060,14 @@ typedef enum EVRTrackedCameraError
|
||||
EVRTrackedCameraError_VRTrackedCameraError_InvalidFrameBufferSize = 115,
|
||||
} EVRTrackedCameraError;
|
||||
|
||||
typedef enum EVRTrackedCameraFrameLayout
|
||||
{
|
||||
EVRTrackedCameraFrameLayout_Mono = 1,
|
||||
EVRTrackedCameraFrameLayout_Stereo = 2,
|
||||
EVRTrackedCameraFrameLayout_VerticalLayout = 16,
|
||||
EVRTrackedCameraFrameLayout_HorizontalLayout = 32,
|
||||
} EVRTrackedCameraFrameLayout;
|
||||
|
||||
typedef enum EVRTrackedCameraFrameType
|
||||
{
|
||||
EVRTrackedCameraFrameType_VRTrackedCameraFrameType_Distorted = 0,
|
||||
@@ -923,6 +1076,37 @@ typedef enum EVRTrackedCameraFrameType
|
||||
EVRTrackedCameraFrameType_MAX_CAMERA_FRAME_TYPES = 3,
|
||||
} EVRTrackedCameraFrameType;
|
||||
|
||||
typedef enum EVRDistortionFunctionType
|
||||
{
|
||||
EVRDistortionFunctionType_VRDistortionFunctionType_None = 0,
|
||||
EVRDistortionFunctionType_VRDistortionFunctionType_FTheta = 1,
|
||||
EVRDistortionFunctionType_VRDistortionFucntionType_Extended_FTheta = 2,
|
||||
EVRDistortionFunctionType_MAX_DISTORTION_FUNCTION_TYPES = 3,
|
||||
} EVRDistortionFunctionType;
|
||||
|
||||
typedef enum EVSync
|
||||
{
|
||||
EVSync_VSync_None = 0,
|
||||
EVSync_VSync_WaitRender = 1,
|
||||
EVSync_VSync_NoWaitRender = 2,
|
||||
} EVSync;
|
||||
|
||||
typedef enum EVRMuraCorrectionMode
|
||||
{
|
||||
EVRMuraCorrectionMode_Default = 0,
|
||||
EVRMuraCorrectionMode_NoCorrection = 1,
|
||||
} EVRMuraCorrectionMode;
|
||||
|
||||
typedef enum Imu_OffScaleFlags
|
||||
{
|
||||
Imu_OffScaleFlags_OffScale_AccelX = 1,
|
||||
Imu_OffScaleFlags_OffScale_AccelY = 2,
|
||||
Imu_OffScaleFlags_OffScale_AccelZ = 4,
|
||||
Imu_OffScaleFlags_OffScale_GyroX = 8,
|
||||
Imu_OffScaleFlags_OffScale_GyroY = 16,
|
||||
Imu_OffScaleFlags_OffScale_GyroZ = 32,
|
||||
} Imu_OffScaleFlags;
|
||||
|
||||
typedef enum EVRApplicationError
|
||||
{
|
||||
EVRApplicationError_VRApplicationError_None = 0,
|
||||
@@ -1058,6 +1242,7 @@ typedef enum VROverlayFlags
|
||||
VROverlayFlags_StereoPanorama = 13,
|
||||
VROverlayFlags_SortWithNonSceneOverlays = 14,
|
||||
VROverlayFlags_VisibleInDashboard = 15,
|
||||
VROverlayFlags_MakeOverlaysInteractiveIfVisible = 16,
|
||||
} VROverlayFlags;
|
||||
|
||||
typedef enum VRMessageOverlayResponse
|
||||
@@ -1161,6 +1346,71 @@ typedef enum EVRScreenshotError
|
||||
EVRScreenshotError_VRScreenshotError_ScreenshotAlreadyInProgress = 108,
|
||||
} EVRScreenshotError;
|
||||
|
||||
typedef enum EVRSkeletalTransformSpace
|
||||
{
|
||||
EVRSkeletalTransformSpace_VRSkeletalTransformSpace_Model = 0,
|
||||
EVRSkeletalTransformSpace_VRSkeletalTransformSpace_Parent = 1,
|
||||
} EVRSkeletalTransformSpace;
|
||||
|
||||
typedef enum EVRSkeletalReferencePose
|
||||
{
|
||||
EVRSkeletalReferencePose_VRSkeletalReferencePose_BindPose = 0,
|
||||
EVRSkeletalReferencePose_VRSkeletalReferencePose_OpenHand = 1,
|
||||
EVRSkeletalReferencePose_VRSkeletalReferencePose_Fist = 2,
|
||||
EVRSkeletalReferencePose_VRSkeletalReferencePose_GripLimit = 3,
|
||||
} EVRSkeletalReferencePose;
|
||||
|
||||
typedef enum EVRFinger
|
||||
{
|
||||
EVRFinger_VRFinger_Thumb = 0,
|
||||
EVRFinger_VRFinger_Index = 1,
|
||||
EVRFinger_VRFinger_Middle = 2,
|
||||
EVRFinger_VRFinger_Ring = 3,
|
||||
EVRFinger_VRFinger_Pinky = 4,
|
||||
EVRFinger_VRFinger_Count = 5,
|
||||
} EVRFinger;
|
||||
|
||||
typedef enum EVRFingerSplay
|
||||
{
|
||||
EVRFingerSplay_VRFingerSplay_Thumb_Index = 0,
|
||||
EVRFingerSplay_VRFingerSplay_Index_Middle = 1,
|
||||
EVRFingerSplay_VRFingerSplay_Middle_Ring = 2,
|
||||
EVRFingerSplay_VRFingerSplay_Ring_Pinky = 3,
|
||||
EVRFingerSplay_VRFingerSplay_Count = 4,
|
||||
} EVRFingerSplay;
|
||||
|
||||
typedef enum EVRInputFilterCancelType
|
||||
{
|
||||
EVRInputFilterCancelType_VRInputFilterCancel_Timers = 0,
|
||||
EVRInputFilterCancelType_VRInputFilterCancel_Momentum = 1,
|
||||
} EVRInputFilterCancelType;
|
||||
|
||||
typedef enum EVRInputStringBits
|
||||
{
|
||||
EVRInputStringBits_VRInputString_Hand = 1,
|
||||
EVRInputStringBits_VRInputString_ControllerType = 2,
|
||||
EVRInputStringBits_VRInputString_InputSource = 4,
|
||||
EVRInputStringBits_VRInputString_All = -1,
|
||||
} EVRInputStringBits;
|
||||
|
||||
typedef enum EIOBufferError
|
||||
{
|
||||
EIOBufferError_IOBuffer_Success = 0,
|
||||
EIOBufferError_IOBuffer_OperationFailed = 100,
|
||||
EIOBufferError_IOBuffer_InvalidHandle = 101,
|
||||
EIOBufferError_IOBuffer_InvalidArgument = 102,
|
||||
EIOBufferError_IOBuffer_PathExists = 103,
|
||||
EIOBufferError_IOBuffer_PathDoesNotExist = 104,
|
||||
EIOBufferError_IOBuffer_Permission = 105,
|
||||
} EIOBufferError;
|
||||
|
||||
typedef enum EIOBufferMode
|
||||
{
|
||||
EIOBufferMode_IOBufferMode_Read = 1,
|
||||
EIOBufferMode_IOBufferMode_Write = 2,
|
||||
EIOBufferMode_IOBufferMode_Create = 512,
|
||||
} EIOBufferMode;
|
||||
|
||||
|
||||
// OpenVR typedefs
|
||||
|
||||
@@ -1168,21 +1418,28 @@ typedef uint32_t TrackedDeviceIndex_t;
|
||||
typedef uint32_t VRNotificationId;
|
||||
typedef uint64_t VROverlayHandle_t;
|
||||
|
||||
typedef uint32_t SpatialAnchorHandle_t;
|
||||
typedef void * glSharedTextureHandle_t;
|
||||
typedef int32_t glInt_t;
|
||||
typedef uint32_t glUInt_t;
|
||||
typedef uint64_t SharedTextureHandle_t;
|
||||
typedef uint32_t DriverId_t;
|
||||
typedef uint32_t TrackedDeviceIndex_t;
|
||||
typedef uint64_t WebConsoleHandle_t;
|
||||
typedef uint64_t PropertyContainerHandle_t;
|
||||
typedef uint32_t PropertyTypeTag_t;
|
||||
typedef PropertyContainerHandle_t DriverHandle_t;
|
||||
typedef uint64_t VRActionHandle_t;
|
||||
typedef uint64_t VRActionSetHandle_t;
|
||||
typedef uint64_t VRInputValueHandle_t;
|
||||
typedef uint64_t VROverlayHandle_t;
|
||||
typedef int32_t BoneIndex_t;
|
||||
typedef uint64_t TrackedCameraHandle_t;
|
||||
typedef uint32_t ScreenshotHandle_t;
|
||||
typedef uint32_t VRComponentProperties;
|
||||
typedef int32_t TextureID_t;
|
||||
typedef uint32_t VRNotificationId;
|
||||
typedef uint64_t IOBufferHandle_t;
|
||||
typedef EVRInitError HmdError;
|
||||
typedef EVREye Hmd_Eye;
|
||||
typedef EColorSpace ColorSpace;
|
||||
@@ -1206,6 +1463,11 @@ typedef struct HmdMatrix34_t
|
||||
float m[3][4]; //float[3][4]
|
||||
} HmdMatrix34_t;
|
||||
|
||||
typedef struct HmdMatrix33_t
|
||||
{
|
||||
float m[3][3]; //float[3][3]
|
||||
} HmdMatrix33_t;
|
||||
|
||||
typedef struct HmdMatrix44_t
|
||||
{
|
||||
float m[4][4]; //float[4][4]
|
||||
@@ -1239,6 +1501,14 @@ typedef struct HmdQuaternion_t
|
||||
double z;
|
||||
} HmdQuaternion_t;
|
||||
|
||||
typedef struct HmdQuaternionf_t
|
||||
{
|
||||
float w;
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
} HmdQuaternionf_t;
|
||||
|
||||
typedef struct HmdColor_t
|
||||
{
|
||||
float r;
|
||||
@@ -1378,6 +1648,7 @@ typedef struct VREvent_Process_t
|
||||
typedef struct VREvent_Overlay_t
|
||||
{
|
||||
uint64_t overlayHandle;
|
||||
uint64_t devicePath;
|
||||
} VREvent_Overlay_t;
|
||||
|
||||
typedef struct VREvent_Status_t
|
||||
@@ -1387,7 +1658,7 @@ typedef struct VREvent_Status_t
|
||||
|
||||
typedef struct VREvent_Keyboard_t
|
||||
{
|
||||
char * cNewInput[8]; //char[8]
|
||||
char cNewInput[8]; //char[8]
|
||||
uint64_t uUserValue;
|
||||
} VREvent_Keyboard_t;
|
||||
|
||||
@@ -1408,6 +1679,8 @@ typedef struct VREvent_Reserved_t
|
||||
uint64_t reserved1;
|
||||
uint64_t reserved2;
|
||||
uint64_t reserved3;
|
||||
uint64_t reserved4;
|
||||
uint64_t reserved5;
|
||||
} VREvent_Reserved_t;
|
||||
|
||||
typedef struct VREvent_PerformanceTest_t
|
||||
@@ -1472,6 +1745,47 @@ typedef struct VREvent_HapticVibration_t
|
||||
float fAmplitude;
|
||||
} VREvent_HapticVibration_t;
|
||||
|
||||
typedef struct VREvent_WebConsole_t
|
||||
{
|
||||
WebConsoleHandle_t webConsoleHandle;
|
||||
} VREvent_WebConsole_t;
|
||||
|
||||
typedef struct VREvent_InputBindingLoad_t
|
||||
{
|
||||
PropertyContainerHandle_t ulAppContainer;
|
||||
uint64_t pathMessage;
|
||||
uint64_t pathUrl;
|
||||
uint64_t pathControllerType;
|
||||
} VREvent_InputBindingLoad_t;
|
||||
|
||||
typedef struct VREvent_InputActionManifestLoad_t
|
||||
{
|
||||
uint64_t pathAppKey;
|
||||
uint64_t pathMessage;
|
||||
uint64_t pathMessageParam;
|
||||
uint64_t pathManifestPath;
|
||||
} VREvent_InputActionManifestLoad_t;
|
||||
|
||||
typedef struct VREvent_SpatialAnchor_t
|
||||
{
|
||||
SpatialAnchorHandle_t unHandle;
|
||||
} VREvent_SpatialAnchor_t;
|
||||
|
||||
typedef struct VREvent_ProgressUpdate_t
|
||||
{
|
||||
uint64_t ulApplicationPropertyContainer;
|
||||
uint64_t pathDevice;
|
||||
uint64_t pathInputSource;
|
||||
uint64_t pathProgressAction;
|
||||
uint64_t pathIcon;
|
||||
float fProgress;
|
||||
} VREvent_ProgressUpdate_t;
|
||||
|
||||
typedef struct VREvent_ShowUI_t
|
||||
{
|
||||
enum EShowUIType eType;
|
||||
} VREvent_ShowUI_t;
|
||||
|
||||
typedef struct HiddenAreaMesh_t
|
||||
{
|
||||
struct HmdVector2_t * pVertexData; // const struct vr::HmdVector2_t *
|
||||
@@ -1510,6 +1824,12 @@ typedef struct Compositor_OverlaySettings
|
||||
struct HmdMatrix44_t transform;
|
||||
} Compositor_OverlaySettings;
|
||||
|
||||
typedef struct VRBoneTransform_t
|
||||
{
|
||||
struct HmdVector4_t position;
|
||||
struct HmdQuaternionf_t orientation;
|
||||
} VRBoneTransform_t;
|
||||
|
||||
typedef struct CameraVideoStreamFrameHeader_t
|
||||
{
|
||||
enum EVRTrackedCameraFrameType eFrameType;
|
||||
@@ -1518,6 +1838,7 @@ typedef struct CameraVideoStreamFrameHeader_t
|
||||
uint32_t nBytesPerPixel;
|
||||
uint32_t nFrameSequence;
|
||||
struct TrackedDevicePose_t standingTrackedDevicePose;
|
||||
uint64_t ulFrameExposureTime;
|
||||
} CameraVideoStreamFrameHeader_t;
|
||||
|
||||
typedef struct DriverDirectMode_FrameTiming
|
||||
@@ -1529,6 +1850,14 @@ typedef struct DriverDirectMode_FrameTiming
|
||||
uint32_t m_nReprojectionFlags;
|
||||
} DriverDirectMode_FrameTiming;
|
||||
|
||||
typedef struct ImuSample_t
|
||||
{
|
||||
double fSampleTime;
|
||||
struct HmdVector3d_t vAccel;
|
||||
struct HmdVector3d_t vGyro;
|
||||
uint32_t unOffScaleFlags;
|
||||
} ImuSample_t;
|
||||
|
||||
typedef struct AppOverrideKeys_t
|
||||
{
|
||||
char * pchKey; // const char *
|
||||
@@ -1561,6 +1890,8 @@ typedef struct Compositor_FrameTiming
|
||||
float m_flCompositorUpdateEndMs;
|
||||
float m_flCompositorRenderStartMs;
|
||||
TrackedDevicePose_t m_HmdPose;
|
||||
uint32_t m_nNumVSyncsReadyForUse;
|
||||
uint32_t m_nNumVSyncsToFirstView;
|
||||
} Compositor_FrameTiming;
|
||||
|
||||
typedef struct Compositor_CumulativeStats
|
||||
@@ -1667,6 +1998,73 @@ typedef struct NotificationBitmap_t
|
||||
int32_t m_nBytesPerPixel;
|
||||
} NotificationBitmap_t;
|
||||
|
||||
typedef struct CVRSettingHelper
|
||||
{
|
||||
intptr_t m_pSettings; // class vr::IVRSettings *
|
||||
} CVRSettingHelper;
|
||||
|
||||
typedef struct InputAnalogActionData_t
|
||||
{
|
||||
bool bActive;
|
||||
VRInputValueHandle_t activeOrigin;
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float deltaX;
|
||||
float deltaY;
|
||||
float deltaZ;
|
||||
float fUpdateTime;
|
||||
} InputAnalogActionData_t;
|
||||
|
||||
typedef struct InputDigitalActionData_t
|
||||
{
|
||||
bool bActive;
|
||||
VRInputValueHandle_t activeOrigin;
|
||||
bool bState;
|
||||
bool bChanged;
|
||||
float fUpdateTime;
|
||||
} InputDigitalActionData_t;
|
||||
|
||||
typedef struct InputPoseActionData_t
|
||||
{
|
||||
bool bActive;
|
||||
VRInputValueHandle_t activeOrigin;
|
||||
struct TrackedDevicePose_t pose;
|
||||
} InputPoseActionData_t;
|
||||
|
||||
typedef struct InputSkeletalActionData_t
|
||||
{
|
||||
bool bActive;
|
||||
VRInputValueHandle_t activeOrigin;
|
||||
} InputSkeletalActionData_t;
|
||||
|
||||
typedef struct InputOriginInfo_t
|
||||
{
|
||||
VRInputValueHandle_t devicePath;
|
||||
TrackedDeviceIndex_t trackedDeviceIndex;
|
||||
char rchRenderModelComponentName[128]; //char[128]
|
||||
} InputOriginInfo_t;
|
||||
|
||||
typedef struct VRActiveActionSet_t
|
||||
{
|
||||
VRActionSetHandle_t ulActionSet;
|
||||
VRInputValueHandle_t ulRestrictedToDevice;
|
||||
VRActionSetHandle_t ulSecondaryActionSet;
|
||||
uint32_t unPadding;
|
||||
int32_t nPriority;
|
||||
} VRActiveActionSet_t;
|
||||
|
||||
typedef struct VRSkeletalSummaryData_t
|
||||
{
|
||||
float flFingerCurl[5]; //float[5]
|
||||
float flFingerSplay[4]; //float[4]
|
||||
} VRSkeletalSummaryData_t;
|
||||
|
||||
typedef struct SpatialAnchorPose_t
|
||||
{
|
||||
struct HmdMatrix34_t mAnchorToAbsoluteTracking;
|
||||
} SpatialAnchorPose_t;
|
||||
|
||||
typedef struct COpenVRContext
|
||||
{
|
||||
intptr_t m_pVRSystem; // class vr::IVRSystem *
|
||||
@@ -1682,6 +2080,9 @@ typedef struct COpenVRContext
|
||||
intptr_t m_pVRTrackedCamera; // class vr::IVRTrackedCamera *
|
||||
intptr_t m_pVRScreenshots; // class vr::IVRScreenshots *
|
||||
intptr_t m_pVRDriverManager; // class vr::IVRDriverManager *
|
||||
intptr_t m_pVRInput; // class vr::IVRInput *
|
||||
intptr_t m_pVRIOBuffer; // class vr::IVRIOBuffer *
|
||||
intptr_t m_pVRSpatialAnchors; // class vr::IVRSpatialAnchors *
|
||||
} COpenVRContext;
|
||||
|
||||
|
||||
@@ -1701,8 +2102,26 @@ typedef union
|
||||
VREvent_PerformanceTest_t performanceTest;
|
||||
VREvent_TouchPadMove_t touchPadMove;
|
||||
VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset;
|
||||
VREvent_Screenshot_t screenshot;
|
||||
VREvent_ScreenshotProgress_t screenshotProgress;
|
||||
VREvent_ApplicationLaunch_t applicationLaunch;
|
||||
VREvent_EditingCameraSurface_t cameraSurface;
|
||||
VREvent_MessageOverlay_t messageOverlay;
|
||||
VREvent_Property_t property;
|
||||
VREvent_DualAnalog_t dualAnalog;
|
||||
VREvent_HapticVibration_t hapticVibration;
|
||||
VREvent_WebConsole_t webConsole;
|
||||
VREvent_InputBindingLoad_t inputBinding;
|
||||
VREvent_InputActionManifestLoad_t actionManifest;
|
||||
VREvent_SpatialAnchor_t spatialAnchor;
|
||||
} VREvent_Data_t;
|
||||
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
// This structure was originally defined mis-packed on Linux, preserved for
|
||||
// compatibility.
|
||||
#pragma pack( push, 4 )
|
||||
#endif
|
||||
|
||||
/** An event posted by the server to all running applications */
|
||||
struct VREvent_t
|
||||
{
|
||||
@@ -1713,6 +2132,10 @@ struct VREvent_t
|
||||
VREvent_Data_t data;
|
||||
};
|
||||
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
#pragma pack( pop )
|
||||
#endif
|
||||
|
||||
|
||||
typedef union
|
||||
{
|
||||
@@ -1792,8 +2215,8 @@ struct VR_IVRTrackedCamera_FnTable
|
||||
char * (OPENVR_FNTABLE_CALLTYPE *GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError);
|
||||
EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera);
|
||||
EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize);
|
||||
EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter);
|
||||
EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection);
|
||||
EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter);
|
||||
EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection);
|
||||
EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle);
|
||||
EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera);
|
||||
EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize);
|
||||
@@ -1862,16 +2285,15 @@ struct VR_IVRChaperoneSetup_FnTable
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *GetWorkingStandingZeroPoseToRawTrackingPose)(struct HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetWorkingPlayAreaSize)(float sizeX, float sizeZ);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetWorkingCollisionBoundsInfo)(struct HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetWorkingPerimeter)(struct HmdVector2_t * pPointBuffer, uint32_t unPointCount);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetWorkingSeatedZeroPoseToRawTrackingPose)(struct HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetWorkingStandingZeroPoseToRawTrackingPose)(struct HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *ReloadFromDisk)(EChaperoneConfigFile configFile);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *GetLiveSeatedZeroPoseToRawTrackingPose)(struct HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetWorkingCollisionBoundsTagsInfo)(uint8_t * pTagsBuffer, uint32_t unTagCount);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *GetLiveCollisionBoundsTagsInfo)(uint8_t * pTagsBuffer, uint32_t * punTagCount);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *SetWorkingPhysicalBoundsInfo)(struct HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *GetLivePhysicalBoundsInfo)(struct HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *ExportLiveToBuffer)(char * pBuffer, uint32_t * pnBufferLength);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *ImportFromBufferToWorking)(char * pBuffer, uint32_t nImportFlags);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *ShowWorkingSetPreview)();
|
||||
void (OPENVR_FNTABLE_CALLTYPE *HideWorkingSetPreview)();
|
||||
};
|
||||
|
||||
struct VR_IVRCompositor_FnTable
|
||||
@@ -1919,6 +2341,7 @@ struct VR_IVRCompositor_FnTable
|
||||
uint32_t (OPENVR_FNTABLE_CALLTYPE *GetVulkanDeviceExtensionsRequired)(struct VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize);
|
||||
void (OPENVR_FNTABLE_CALLTYPE *SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode);
|
||||
EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *SubmitExplicitTimingData)();
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *IsMotionSmoothingEnabled)();
|
||||
};
|
||||
|
||||
struct VR_IVROverlay_FnTable
|
||||
@@ -1979,7 +2402,7 @@ struct VR_IVROverlay_FnTable
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, struct HmdVector2_t & vCenter, float fRadius);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, struct HmdVector2_t * pvCenter, float fRadius);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, struct HmdVector2_t * pvCenter, float * pfRadius);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, struct Texture_t * pTexture);
|
||||
EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle);
|
||||
@@ -2022,6 +2445,7 @@ struct VR_IVRRenderModels_FnTable
|
||||
uint32_t (OPENVR_FNTABLE_CALLTYPE *GetComponentName)(char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen);
|
||||
uint64_t (OPENVR_FNTABLE_CALLTYPE *GetComponentButtonMask)(char * pchRenderModelName, char * pchComponentName);
|
||||
uint32_t (OPENVR_FNTABLE_CALLTYPE *GetComponentRenderModelName)(char * pchRenderModelName, char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *GetComponentStateForDevicePath)(char * pchRenderModelName, char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *GetComponentState)(char * pchRenderModelName, char * pchComponentName, VRControllerState_t * pControllerState, struct RenderModel_ControllerMode_State_t * pState, struct RenderModel_ComponentState_t * pComponentState);
|
||||
bool (OPENVR_FNTABLE_CALLTYPE *RenderModelHasComponent)(char * pchRenderModelName, char * pchComponentName);
|
||||
uint32_t (OPENVR_FNTABLE_CALLTYPE *GetRenderModelThumbnailURL)(char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError);
|
||||
@@ -2075,6 +2499,51 @@ struct VR_IVRDriverManager_FnTable
|
||||
DriverHandle_t (OPENVR_FNTABLE_CALLTYPE *GetDriverHandle)(char * pchDriverName);
|
||||
};
|
||||
|
||||
struct VR_IVRInput_FnTable
|
||||
{
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *SetActionManifestPath)(char * pchActionManifestPath);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetActionSetHandle)(char * pchActionSetName, VRActionSetHandle_t * pHandle);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetActionHandle)(char * pchActionName, VRActionHandle_t * pHandle);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetInputSourceHandle)(char * pchInputSourcePath, VRInputValueHandle_t * pHandle);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *UpdateActionState)(struct VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetDigitalActionData)(VRActionHandle_t action, struct InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetAnalogActionData)(VRActionHandle_t action, struct InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetPoseActionData)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, struct InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetSkeletalActionData)(VRActionHandle_t action, struct InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, struct VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, struct VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetSkeletalSummaryData)(VRActionHandle_t action, struct VRSkeletalSummaryData_t * pSkeletalSummaryData);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *DecompressSkeletalBoneData)(void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, struct VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, struct InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle);
|
||||
EVRInputError (OPENVR_FNTABLE_CALLTYPE *ShowBindingsForActionSet)(struct VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight);
|
||||
};
|
||||
|
||||
struct VR_IVRIOBuffer_FnTable
|
||||
{
|
||||
EIOBufferError (OPENVR_FNTABLE_CALLTYPE *Open)(char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer);
|
||||
EIOBufferError (OPENVR_FNTABLE_CALLTYPE *Close)(IOBufferHandle_t ulBuffer);
|
||||
EIOBufferError (OPENVR_FNTABLE_CALLTYPE *Read)(IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead);
|
||||
EIOBufferError (OPENVR_FNTABLE_CALLTYPE *Write)(IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes);
|
||||
PropertyContainerHandle_t (OPENVR_FNTABLE_CALLTYPE *PropertyContainer)(IOBufferHandle_t ulBuffer);
|
||||
};
|
||||
|
||||
struct VR_IVRSpatialAnchors_FnTable
|
||||
{
|
||||
EVRSpatialAnchorError (OPENVR_FNTABLE_CALLTYPE *CreateSpatialAnchorFromDescriptor)(char * pchDescriptor, SpatialAnchorHandle_t * pHandleOut);
|
||||
EVRSpatialAnchorError (OPENVR_FNTABLE_CALLTYPE *CreateSpatialAnchorFromPose)(TrackedDeviceIndex_t unDeviceIndex, ETrackingUniverseOrigin eOrigin, struct SpatialAnchorPose_t * pPose, SpatialAnchorHandle_t * pHandleOut);
|
||||
EVRSpatialAnchorError (OPENVR_FNTABLE_CALLTYPE *GetSpatialAnchorPose)(SpatialAnchorHandle_t unHandle, ETrackingUniverseOrigin eOrigin, struct SpatialAnchorPose_t * pPoseOut);
|
||||
EVRSpatialAnchorError (OPENVR_FNTABLE_CALLTYPE *GetSpatialAnchorDescriptor)(SpatialAnchorHandle_t unHandle, char * pchDescriptorOut, uint32_t * punDescriptorBufferLenInOut);
|
||||
};
|
||||
|
||||
|
||||
#if 0
|
||||
// Global entry points
|
||||
|
||||
+749
-27
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user