Skip to content

Commit

Permalink
OpenVR SDK Update 1.1.3
Browse files Browse the repository at this point in the history
General:
* Added required SteamVR version number to the header file.

IVRCompositor:
* New VRCompositor_FrameTiming ReprojectionFlag: VRCompositor_ReprojectionMotion.  This flag will be set for application frames where motion smoothing was applied at least one of the times it was displayed.
* New interface IsMotionSmoothingEnabled added to determine if that user has enabled motion smoothing or not.

IVRChaperone:
* Added VREvent_ChaperoneFlushCache, which is sent when the application should reload any cached data they loaded from the chaperone API. This event indicates the user's current chaperone settings have changed. 
* The VREvent_ChaperoneDataHasChanged event will no longer be sent, and IVRChaperone::ReloadInfo no longer has any effect.

IVRChaperoneSetup:
* Removed some unimplemented functions:
 * SetWorkingCollisionBoundsTagsInfo
 * GetLiveCollisionBoundsTagsInfo
 * SetWorkingPhysicalBoundsInfo
 * GetLivePhysicalBoundsInfo
* Added ShowWorkingSetPreview/HideWorkingSetPreview, which will cause the application's current working set to show as the chaperone bounds rendered by the compositor. Unless your application is modifying the user's chaperone bounds, you won't need to call these functions. They are independent of bounds turning on and off based on how close the user is to them.

IVROverlay:
* Added flag VROverlayFlags_MakeOverlaysInteractiveIfVisible. If this flag is set on an overlay and that overlay is visible, SteamVR will be placed into laser mouse mode. This will prevent the scene application from receiving any input, so use this flag carefully.
* Changed SetOverlayDualAnalogTransform to take a pointer to better support the C API.

IVRTrackedCamera: 
 * for headsets (like Vive Pro) which include multiple camera images in a single video stream, GetCameraIntrinsics and GetCameraProjection now support a uint32_t nCameraIndex parameter to get data about the specific camera.

IVRInput:
* Added an argument to GetOriginLocalizedName to allow the caller to specify which parts of the name they want in the returned string. The possible values are:
 * VRInputString_Hand - Which hand the origin is in. E.g. "Left Hand"
 * VRInputString_ControllerType - What kind of controller the user has in that hand. E.g. "Vive Controller"
 * VRInputString_InputSource - What part of that controller is the origin. E.g. "Trackpad"
 * VRInputString_All - All of the above. E.g. "Left Hand Vive Controller Trackpad"
* Skeletal Input:
 * Added GetBoneCount to return the number of bones in the skeleton associated with an action
 * Added GetBoneHierarchy which returns the index of each bone's parent in a user-provided array
 * Added GetBoneName to retrieve the name of the bones in the skeleton
 * Added GetSkeletalReferenceTransforms to retrieve the transforms for several specific hand skeleton poses:
   * Bind Pose
   * Open Hand
   * Fist
   * Grip Limit, which is the shape of the hand when closed around the controller
 * Added GetSkeletalTrackingLevel to retrieve an estimate of the level of detail with which the controller associated with an action can track actual the movement of the user's body.  The levels are:
   * Estimated: body part location can't be directly determined by the device. Any skeletal pose provided by the device is estimated by assuming the position required to active buttons, triggers, joysticks, or other input sensors.  e.g. Vive Controller, Gamepad
   * Partial: body part location can be measured directly but with fewer degrees of freedom than the actual body part. Certain body part positions may be unmeasured by the device and estimated from other input data. e.g. Knuckles, gloves that only measure finger curl
   * Full: body part location can be measured directly throughout the entire range of motion of the body part.  e.g. Mocap suit for the full body, gloves that measure rotation of each finger segment
 * Added GetSkeletalSummaryData which returns meta data about the current pose of the hand such as finger curl and splay
 * Removed ulRestrictToDevice as a parameter from all skeletal input functions 

Driver API:

* Added TrackedControllerRole_Treadmill, which lets a driver specify that a device is intended to function as a treadmill. This opts the device out of hand selection. The new input path /user/treadmill is automatically assigned to the first treadmill device to activate.

IVRCameraComponent:
  * CVS_FORMAT_BAYER16BG for cameras which support delivering raw sensor data
  * Added camera index to GetCameraDistortion, GetCameraProjection, and GetCameraIntrinsics to support multiple cameras on the same device (see also IVRTrackedCamera)
  * Added the ability for cameras to return one of a small set of programmatic distortion function types and function parameters in addition to or instead of UV-sampling distortion through GetCameraDistortion. See EVRDistortionFunctionType and IVRCameraComponent::GetCameraIntrinsics and refer to OpenCV camera calibration and undistortion documentation.

IVRDriverInput:
* Added parameter to CreateSkeletonComponent to allow the driver to specify the skeletal tracking level that the controller supports

Samples:
* Fixed texture corruption bug with hellovr_vulkan when controller is turned on after starting the application.

[git-p4: depot-paths = "//vr/steamvr/sdk_release/": change = 4837234]
  • Loading branch information
JoeLudwig committed Nov 27, 2018
1 parent 1fb1030 commit 25d2b81
Show file tree
Hide file tree
Showing 28 changed files with 1,032 additions and 256 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ elseif(APPLE)
endif()

# Set output folder for static and shared libraries
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/${PLATFORM_NAME}${PROCESSOR_ARCH})
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/${PLATFORM_NAME}${PROCESSOR_ARCH})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/${PLATFORM_NAME}${PROCESSOR_ARCH})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin/${PLATFORM_NAME}${PROCESSOR_ARCH})
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin/${PLATFORM_NAME}${PROCESSOR_ARCH})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin/${PLATFORM_NAME}${PROCESSOR_ARCH})

# Enable some properties.
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
Expand Down
Binary file modified bin/linux32/libopenvr_api.so
Binary file not shown.
Binary file modified bin/linux32/libopenvr_api.so.dbg
Binary file not shown.
Binary file modified bin/linux64/libopenvr_api.so
Binary file not shown.
Binary file modified bin/linux64/libopenvr_api.so.dbg
Binary file not shown.
Binary file modified bin/osx32/libopenvr_api.dylib
Binary file not shown.
Binary file not shown.
Binary file modified bin/win32/openvr_api.dll
Binary file not shown.
Binary file modified bin/win32/openvr_api.pdb
Binary file not shown.
Binary file modified bin/win64/openvr_api.dll
Binary file not shown.
Binary file modified bin/win64/openvr_api.pdb
Binary file not shown.
319 changes: 257 additions & 62 deletions headers/openvr.h

Large diffs are not rendered by default.

316 changes: 236 additions & 80 deletions headers/openvr_api.cs

Large diffs are not rendered by default.

278 changes: 211 additions & 67 deletions headers/openvr_api.json

Large diffs are not rendered by default.

161 changes: 136 additions & 25 deletions headers/openvr_capi.h

Large diffs are not rendered by default.

127 changes: 111 additions & 16 deletions headers/openvr_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@



// version.h
namespace vr
{
static const uint32_t k_nSteamVRVersionMajor = 1;
static const uint32_t k_nSteamVRVersionMinor = 1;
static const uint32_t k_nSteamVRVersionBuild = 3;
} // namespace vr

// vrtypes.h
#ifndef _INCLUDE_VRTYPES_H
#define _INCLUDE_VRTYPES_H
Expand Down Expand Up @@ -198,10 +206,26 @@ enum ETrackedControllerRole
TrackedControllerRole_LeftHand = 1, // Tracked device associated with the left hand
TrackedControllerRole_RightHand = 2, // Tracked device associated with the right hand
TrackedControllerRole_OptOut = 3, // Tracked device is opting out of left/right hand selection
TrackedControllerRole_Treadmill = 4, // Tracked device is a treadmill
TrackedControllerRole_Max = 4
};


/** Returns true if the tracked controller role is allowed to be a hand */
inline bool IsRoleAllowedAsHand( ETrackedControllerRole eRole )
{
switch ( eRole )
{
case TrackedControllerRole_Invalid:
case TrackedControllerRole_LeftHand:
case TrackedControllerRole_RightHand:
return true;
default:
return false;
}
}


/** describes a single pose for a tracked object */
struct TrackedDevicePose_t
{
Expand Down Expand Up @@ -249,6 +273,8 @@ static const PropertyTypeTag_t k_unHmdMatrix34PropertyTag = 20;
static const PropertyTypeTag_t k_unHmdMatrix44PropertyTag = 21;
static const PropertyTypeTag_t k_unHmdVector3PropertyTag = 22;
static const PropertyTypeTag_t k_unHmdVector4PropertyTag = 23;
static const PropertyTypeTag_t k_unHmdVector2PropertyTag = 24;
static const PropertyTypeTag_t k_unHmdQuadPropertyTag = 25;

static const PropertyTypeTag_t k_unHiddenAreaPropertyTag = 30;
static const PropertyTypeTag_t k_unPathHandleInfoTag = 31;
Expand Down Expand Up @@ -314,6 +340,8 @@ enum ETrackedDeviceProperty
Prop_NumCameras_Int32 = 1039,
Prop_CameraFrameLayout_Int32 = 1040, // EVRTrackedCameraFrameLayout value
Prop_CameraStreamFormat_Int32 = 1041, // ECameraVideoStreamFormat value
Prop_AdditionalDeviceSettingsPath_String = 1042, // driver-relative path to additional device and global configuration settings
Prop_Identifiable_Bool = 1043, // Whether device supports being identified from vrmonitor (e.g. blink LED, vibrate haptics, etc)

// Properties that are unique to TrackedDeviceClass_HMD
Prop_ReportsTimeSinceVSync_Bool = 2000,
Expand Down Expand Up @@ -621,6 +649,7 @@ enum EVREventType
VREvent_Scroll = 305, // data is mouse
VREvent_TouchPadMove = 306, // data is mouse
VREvent_OverlayFocusChanged = 307, // data is overlay, global event
VREvent_ReloadOverlays = 308,

VREvent_InputFocusCaptured = 400, // data is process DEPRECATED
VREvent_InputFocusReleased = 401, // data is process DEPRECATED
Expand Down Expand Up @@ -670,6 +699,7 @@ enum EVREventType
VREvent_PrimaryDashboardDeviceChanged = 525,
VREvent_RoomViewShown = 526, // Sent by compositor whenever room-view is enabled
VREvent_RoomViewHidden = 527, // Sent by compositor whenever room-view is disabled
VREvent_ShowUI = 528, // data is showUi

VREvent_Notification_Shown = 600,
VREvent_Notification_Hidden = 601,
Expand All @@ -682,11 +712,12 @@ enum EVREventType
VREvent_QuitAcknowledged = 703, // data is process
VREvent_DriverRequestedQuit = 704, // The driver has requested that SteamVR shut down

VREvent_ChaperoneDataHasChanged = 800,
VREvent_ChaperoneDataHasChanged = 800, // Sent when the process needs to call VRChaperone()->ReloadInfo()
VREvent_ChaperoneUniverseHasChanged = 801,
VREvent_ChaperoneTempDataHasChanged = 802,
VREvent_ChaperoneSettingsHaveChanged = 803,
VREvent_SeatedZeroPoseReset = 804,
VREvent_ChaperoneFlushCache = 805, // Sent when the process needs to reload any cached data it retrieved from VRChaperone()

VREvent_AudioSettingsHaveChanged = 820,

Expand All @@ -705,8 +736,9 @@ enum EVREventType
VREvent_KeyboardSectionSettingChanged = 862,
VREvent_PerfSectionSettingChanged = 863,
VREvent_DashboardSectionSettingChanged = 864,
VREvent_WebInterfaceSectionSettingChanged = 865,
VREvent_TrackersSectionSettingChanged = 866,
VREvent_WebInterfaceSectionSettingChanged = 865,
VREvent_TrackersSectionSettingChanged = 866,
VREvent_LastKnownSectionSettingChanged = 867,

VREvent_StatusUpdate = 900,

Expand Down Expand Up @@ -753,6 +785,7 @@ enum EVREventType
VREvent_Input_BindingLoadSuccessful = 1702, // data is inputBinding
VREvent_Input_ActionManifestReloaded = 1703, // no data
VREvent_Input_ActionManifestLoadFailed = 1704, // data is actionManifest
VREvent_Input_ProgressUpdate = 1705, // data is progressUpdate
VREvent_Input_TrackerActivated = 1706,

VREvent_SpatialAnchors_PoseUpdated = 1800, // data is spatialAnchor. broadcast
Expand Down Expand Up @@ -922,6 +955,8 @@ struct VREvent_Reserved_t
uint64_t reserved1;
uint64_t reserved2;
uint64_t reserved3;
uint64_t reserved4;
uint64_t reserved5;
};

struct VREvent_PerformanceTest_t
Expand Down Expand Up @@ -1016,6 +1051,28 @@ struct VREvent_SpatialAnchor_t
SpatialAnchorHandle_t unHandle;
};

struct VREvent_ProgressUpdate_t
{
uint64_t ulApplicationPropertyContainer;
uint64_t pathDevice;
uint64_t pathInputSource;
uint64_t pathProgressAction;
uint64_t pathIcon;
float fProgress;
};

enum EShowUIType
{
ShowUI_ControllerBinding = 0,
ShowUI_ManageTrackers = 1,
ShowUI_QuickStart = 2,
};

struct VREvent_ShowUI_t
{
EShowUIType eType;
};

typedef union
{
VREvent_Reserved_t reserved;
Expand Down Expand Up @@ -1044,6 +1101,8 @@ typedef union
VREvent_InputBindingLoad_t inputBinding;
VREvent_InputActionManifestLoad_t actionManifest;
VREvent_SpatialAnchor_t spatialAnchor;
VREvent_ProgressUpdate_t progressUpdate;
VREvent_ShowUI_t showUi;
/** NOTE!!! If you change this you MUST manually update openvr_interop.cs.py */
} VREvent_Data_t;

Expand Down Expand Up @@ -1087,6 +1146,7 @@ enum EVRInputError
VRInputError_BufferTooSmall = 14,
VRInputError_MismatchedActionManifest = 15,
VRInputError_MissingSkeletonData = 16,
VRInputError_InvalidBoneIndex = 17,
};

enum EVRSpatialAnchorError
Expand Down Expand Up @@ -1262,7 +1322,8 @@ enum EVRApplicationType
// interfaces (like IVRSettings and IVRApplications) but not hardware.
VRApplication_VRMonitor = 5, // Reserved for vrmonitor
VRApplication_SteamWatchdog = 6,// Reserved for Steam
VRApplication_Bootstrapper = 7, // Start up SteamVR
VRApplication_Bootstrapper = 7, // reserved for vrstartup
VRApplication_WebHelper = 8, // reserved for vrwebhelper

VRApplication_Max
};
Expand Down Expand Up @@ -1308,6 +1369,10 @@ struct VRBoneTransform_t
HmdQuaternionf_t orientation;
};

/** Type used for referring to bones by their index */
typedef int32_t BoneIndex_t;
const BoneIndex_t k_unInvalidBoneIndex = -1;


/** error codes returned by Vr_Init */

Expand Down Expand Up @@ -1465,6 +1530,16 @@ enum EVRTrackedCameraFrameType
MAX_CAMERA_FRAME_TYPES
};

enum EVRDistortionFunctionType
{
VRDistortionFunctionType_None,
VRDistortionFunctionType_FTheta,
VRDistortionFucntionType_Extended_FTheta,
MAX_DISTORTION_FUNCTION_TYPES,
};

static const uint32_t k_unMaxDistortionFunctionParameters = 8;

typedef uint64_t TrackedCameraHandle_t;
#define INVALID_TRACKED_CAMERA_HANDLE ((vr::TrackedCameraHandle_t)0)

Expand Down Expand Up @@ -1601,6 +1676,7 @@ enum ECameraVideoStreamFormat
CVS_FORMAT_RGB24 = 3, // 24 bits per pixel
CVS_FORMAT_NV12_2 = 4, // 12 bits per pixel, 2x height
CVS_FORMAT_YUYV16 = 5, // 16 bits per pixel
CVS_FORMAT_BAYER16BG = 6, // 16 bits per pixel, 10-bit BG-format Bayer, see https://docs.opencv.org/3.1.0/de/d25/imgproc_color_conversions.html
CVS_MAX_FORMATS
};

Expand Down Expand Up @@ -1638,6 +1714,7 @@ enum ETrackedCameraRoomViewMode
#define VR_CAMERA_DECL_ALIGN( x ) //
#endif

#define MAX_CAMERAS 4
#define MAX_CAMERA_FRAME_SHARED_HANDLES 4

VR_CAMERA_DECL_ALIGN( 8 ) struct CameraVideoStreamFrame_t
Expand Down Expand Up @@ -1833,18 +1910,14 @@ namespace vr
static const char * const k_pch_SteamVR_PlayAreaColor_String = "playAreaColor";
static const char * const k_pch_SteamVR_ShowStage_Bool = "showStage";
static const char * const k_pch_SteamVR_ActivateMultipleDrivers_Bool = "activateMultipleDrivers";
static const char * const k_pch_SteamVR_DirectMode_Bool = "directMode";
static const char * const k_pch_SteamVR_DirectModeEdidVid_Int32 = "directModeEdidVid";
static const char * const k_pch_SteamVR_DirectModeEdidPid_Int32 = "directModeEdidPid";
static const char * const k_pch_SteamVR_UsingSpeakers_Bool = "usingSpeakers";
static const char * const k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float = "speakersForwardYawOffsetDegrees";
static const char * const k_pch_SteamVR_BaseStationPowerManagement_Bool = "basestationPowerManagement";
static const char * const k_pch_SteamVR_NeverKillProcesses_Bool = "neverKillProcesses";
static const char * const k_pch_SteamVR_SupersampleScale_Float = "supersampleScale";
static const char * const k_pch_SteamVR_MaxRecommendedResolution_Int32 = "maxRecommendedResolution";
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";
static const char * const k_pch_SteamVR_MotionSmoothing_Bool = "motionSmoothing";
static const char * const k_pch_SteamVR_MotionSmoothingOverride_Int32 = "motionSmoothingOverride";
static const char * const k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
static const char * const k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView";
static const char * const k_pch_SteamVR_ShowMirrorView_Bool = "showMirrorView";
Expand All @@ -1869,6 +1942,17 @@ namespace vr
static const char * const k_pch_SteamVR_DebugInputBinding = "debugInputBinding";
static const char * const k_pch_SteamVR_InputBindingUIBlock = "inputBindingUI";
static const char * const k_pch_SteamVR_RenderCameraMode = "renderCameraMode";
static const char * const k_pch_SteamVR_EnableSharedResourceJournaling = "enableSharedResourceJournaling";
static const char * const k_pch_SteamVR_EnableSafeMode = "enableSafeMode";
static const char * const k_pch_SteamVR_PreferredRefreshRate = "preferredRefreshRate";

//-----------------------------------------------------------------------------
// direct mode keys
static const char * const k_pch_DirectMode_Section = "direct_mode";
static const char * const k_pch_DirectMode_Enable_Bool = "enable";
static const char * const k_pch_DirectMode_Count_Int32 = "count";
static const char * const k_pch_DirectMode_EdidVid_Int32 = "edidVid";
static const char * const k_pch_DirectMode_EdidPid_Int32 = "edidPid";

//-----------------------------------------------------------------------------
// lighthouse keys
Expand All @@ -1881,6 +1965,7 @@ namespace vr
static const char * const k_pch_Lighthouse_DBHistory_Bool = "dbhistory";
static const char * const k_pch_Lighthouse_EnableBluetooth_Bool = "enableBluetooth";
static const char * const k_pch_Lighthouse_PowerManagedBaseStations_String = "PowerManagedBaseStations";
static const char * const k_pch_Lighthouse_PowerManagedBaseStations2_String = "PowerManagedBaseStations2";
static const char * const k_pch_Lighthouse_EnableImuFallback_Bool = "enableImuFallback";

//-----------------------------------------------------------------------------
Expand Down Expand Up @@ -2023,6 +2108,16 @@ namespace vr
// configuration for trackers
static const char * const k_pch_Trackers_Section = "trackers";

//-----------------------------------------------------------------------------
// configuration for desktop UI windows
static const char * const k_pch_DesktopUI_Section = "DesktopUI";

//-----------------------------------------------------------------------------
// Last known keys for righting recovery
static const char * const k_pch_LastKnown_Section = "LastKnown";
static const char* const k_pch_LastKnown_HMDManufacturer_String = "HMDManufacturer";
static const char* const k_pch_LastKnown_HMDModel_String = "HMDModel";

} // namespace vr

// iservertrackeddevicedriver.h
Expand Down Expand Up @@ -2291,17 +2386,17 @@ namespace vr
virtual bool SetAutoExposure( bool bEnable ) = 0;
virtual bool PauseVideoStream() = 0;
virtual bool ResumeVideoStream() = 0;
virtual bool GetCameraDistortion( float flInputU, float flInputV, float *pflOutputU, float *pflOutputV ) = 0;
virtual bool GetCameraProjection( vr::EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, vr::HmdMatrix44_t *pProjection ) = 0;
virtual bool GetCameraDistortion( uint32_t nCameraIndex, float flInputU, float flInputV, float *pflOutputU, float *pflOutputV ) = 0;
virtual bool GetCameraProjection( uint32_t nCameraIndex, vr::EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, vr::HmdMatrix44_t *pProjection ) = 0;
virtual bool SetFrameRate( int nISPFrameRate, int nSensorFrameRate ) = 0;
virtual bool SetCameraVideoSinkCallback( vr::ICameraVideoSinkCallback *pCameraVideoSinkCallback ) = 0;
virtual bool GetCameraCompatibilityMode( vr::ECameraCompatibilityMode *pCameraCompatibilityMode ) = 0;
virtual bool SetCameraCompatibilityMode( vr::ECameraCompatibilityMode nCameraCompatibilityMode ) = 0;
virtual bool GetCameraFrameBounds( vr::EVRTrackedCameraFrameType eFrameType, uint32_t *pLeft, uint32_t *pTop, uint32_t *pWidth, uint32_t *pHeight ) = 0;
virtual bool GetCameraIntrinsics( vr::EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter ) = 0;
virtual bool GetCameraIntrinsics( uint32_t nCameraIndex, vr::EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter, vr::EVRDistortionFunctionType *peDistortionType, double rCoefficients[ k_unMaxDistortionFunctionParameters ] ) = 0;
};

static const char *IVRCameraComponent_Version = "IVRCameraComponent_002";
static const char *IVRCameraComponent_Version = "IVRCameraComponent_003";
}
// itrackeddevicedriverprovider.h
namespace vr
Expand Down Expand Up @@ -2841,14 +2936,14 @@ namespace vr
virtual EVRInputError CreateHapticComponent( PropertyContainerHandle_t ulContainer, const char *pchName, VRInputComponentHandle_t *pHandle ) = 0;

/** Creates a skeleton component. */
virtual EVRInputError CreateSkeletonComponent( PropertyContainerHandle_t ulContainer, const char *pchName, const char *pchSkeletonPath, const char *pchBasePosePath, const VRBoneTransform_t *pGripLimitTransforms, uint32_t unGripLimitTransformCount, VRInputComponentHandle_t *pHandle ) = 0;
virtual EVRInputError CreateSkeletonComponent( PropertyContainerHandle_t ulContainer, const char *pchName, const char *pchSkeletonPath, const char *pchBasePosePath, EVRSkeletalTrackingLevel eSkeletalTrackingLevel, const VRBoneTransform_t *pGripLimitTransforms, uint32_t unGripLimitTransformCount, VRInputComponentHandle_t *pHandle ) = 0;

/** Updates a skeleton component. */
virtual EVRInputError UpdateSkeletonComponent( VRInputComponentHandle_t ulComponent, EVRSkeletalMotionRange eMotionRange, const VRBoneTransform_t *pTransforms, uint32_t unTransformCount ) = 0;

};

static const char * const IVRDriverInput_Version = "IVRDriverInput_002";
static const char * const IVRDriverInput_Version = "IVRDriverInput_003";

} // namespace vr

Expand Down
Binary file modified lib/linux32/libopenvr_api.so
Binary file not shown.
Binary file modified lib/linux64/libopenvr_api.so
Binary file not shown.
Binary file modified lib/win32/openvr_api.lib
Binary file not shown.
Binary file modified lib/win64/openvr_api.lib
Binary file not shown.
Binary file modified samples/bin/linux64/libopenvr_api.so
Binary file not shown.
Binary file modified samples/bin/osx32/libopenvr_api.dylib
Binary file not shown.
Binary file modified samples/bin/win32/openvr_api.dll
Binary file not shown.
Binary file modified samples/bin/win64/openvr_api.dll
Binary file not shown.
Loading

0 comments on commit 25d2b81

Please sign in to comment.