Browse Source

Added mojo3d-vr module.

Mark Sibly 7 năm trước cách đây
mục cha
commit
912be4192d
36 tập tin đã thay đổi với 34016 bổ sung0 xóa
  1. 5 0
      modules/mojo3d-vr/.gitignore
  2. 7 0
      modules/mojo3d-vr/README.TXT
  3. 8 0
      modules/mojo3d-vr/module.json
  4. 20 0
      modules/mojo3d-vr/mojo3d-vr.monkey2
  5. 92 0
      modules/mojo3d-vr/openvr/geomtrans.monkey2
  6. 1549 0
      modules/mojo3d-vr/openvr/openvr-sdk/capi.monkey2
  7. 23 0
      modules/mojo3d-vr/openvr/openvr-sdk/glue.h
  8. 3932 0
      modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr.h
  9. 5205 0
      modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr_api.cs
  10. 4069 0
      modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr_api.json
  11. 2072 0
      modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr_capi.h
  12. 2899 0
      modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr_driver.h
  13. 3907 0
      modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr_mingw.h
  14. 576 0
      modules/mojo3d-vr/openvr/openvr-sdk/openvr.monkey2
  15. 408 0
      modules/mojo3d-vr/openvr/vrrenderer.monkey2
  16. 7 0
      modules/mojo3d-vr/tests/assets/basestation/lh_basestation_vive.mtl
  17. 7218 0
      modules/mojo3d-vr/tests/assets/basestation/lh_basestation_vive.obj
  18. BIN
      modules/mojo3d-vr/tests/assets/basestation/lh_basestation_vive.tga
  19. BIN
      modules/mojo3d-vr/tests/assets/miramar-skybox.jpg
  20. BIN
      modules/mojo3d-vr/tests/assets/plane/plane.bin
  21. 783 0
      modules/mojo3d-vr/tests/assets/plane/plane.gltf
  22. 1 0
      modules/mojo3d-vr/tests/assets/plastic-pattern-pbr/About these PBR files.txt
  23. 3 0
      modules/mojo3d-vr/tests/assets/plastic-pattern-pbr/material.json
  24. BIN
      modules/mojo3d-vr/tests/assets/plastic-pattern-pbr/normal.png
  25. BIN
      modules/mojo3d-vr/tests/assets/plastic-pattern-pbr/roughness.png
  26. 1 0
      modules/mojo3d-vr/tests/assets/scuffed-plastic-pbr/About these PBR files.txt
  27. 3 0
      modules/mojo3d-vr/tests/assets/scuffed-plastic-pbr/material.json
  28. BIN
      modules/mojo3d-vr/tests/assets/scuffed-plastic-pbr/roughness.png
  29. 166 0
      modules/mojo3d-vr/tests/assets/vivecontroller.gltf
  30. BIN
      modules/mojo3d-vr/tests/assets/water.jpg
  31. 160 0
      modules/mojo3d-vr/tests/empty.monkey2
  32. 166 0
      modules/mojo3d-vr/tests/flyplane.monkey2
  33. 197 0
      modules/mojo3d-vr/tests/pointer.monkey2
  34. 271 0
      modules/mojo3d-vr/tests/projectiles.monkey2
  35. 51 0
      modules/mojo3d-vr/tests/vr_init.monkey2
  36. 217 0
      modules/mojo3d-vr/tests/vrducks.monkey2

+ 5 - 0
modules/mojo3d-vr/.gitignore

@@ -0,0 +1,5 @@
+openvr/openvr-sdk/bin
+openvr/openvr-sdk/lib
+*.buildv*
+*.products
+

+ 7 - 0
modules/mojo3d-vr/README.TXT

@@ -0,0 +1,7 @@
+
+To use the mojo-vr module, you will need to copy the openvr sdk 'bin' and 'lib' directories into the openvr/openvr-sdk directory.
+
+The openvr sdk can be found here: https://github.com/ValveSoftware/openvr.
+
+
+

+ 8 - 0
modules/mojo3d-vr/module.json

@@ -0,0 +1,8 @@
+{
+	"module":"mojo3d-vr",
+	"about":"VR support for mojo3d",
+	"author":"Mark Sibly",
+	"version":"1.0.0",
+	"support":"http://monkeycoder.co.nz",
+	"depends":["std","mojo3d"]
+}

+ 20 - 0
modules/mojo3d-vr/mojo3d-vr.monkey2

@@ -0,0 +1,20 @@
+
+namespace mojo3d
+
+#If __DESKTOP_TARGET__
+
+#Import "<std>"
+#Import "<mojo>"
+#Import "<mojo3d>"
+
+Using std..
+Using mojo..
+Using mojo3d..
+Using openvr..
+
+#Import "openvr/openvr-sdk/openvr"
+
+#Import "openvr/vrrenderer"
+#Import "openvr/geomtrans"
+
+#end

+ 92 - 0
modules/mojo3d-vr/openvr/geomtrans.monkey2

@@ -0,0 +1,92 @@
+
+Namespace mojo3d.vr
+
+Struct HmdMatrix34_t Extension
+	
+	Operator To:AffineMat4f()
+	
+		Local r:AffineMat4f
+		
+		'negate Z components and scale by 1,1,-1...
+
+		r.m.i.x= m[0][0] ; r.m.i.y= m[1][0] ; r.m.i.z=-m[2][0]
+		r.m.j.x= m[0][1] ; r.m.j.y= m[1][1] ; r.m.j.z=-m[2][1]
+		r.m.k.x=-m[0][2] ; r.m.k.y=-m[1][2] ; r.m.k.z= m[2][2]
+		r.t.x=   m[0][3] ; r.t.y=   m[1][3] ; r.t.z=  -m[2][3]
+		
+		Return r
+	End
+End
+
+Struct HmdMatrix44_t Extension
+	
+	Operator To:Mat4f()
+		Local r:Mat4f
+		r.i.x=m[0][0] ; r.i.y=m[1][0] ; r.i.z=m[2][0] ; r.i.w=m[3][0]
+		r.j.x=m[0][1] ; r.j.y=m[1][1] ; r.j.z=m[2][1] ; r.j.w=m[3][1]
+		r.k.x=m[0][2] ; r.k.y=m[1][2] ; r.k.z=m[2][2] ; r.k.w=m[3][2]
+		r.t.x=m[0][3] ; r.t.y=m[1][3] ; r.t.z=m[2][3] ; r.t.w=m[3][3]
+		Return r
+	End
+
+End
+
+Struct HmdVector3_t Extension
+	
+	Operator To:Vec3f()
+		Local r:Vec3f
+		r.x=v[0] ; r.y=v[1] ; r.z=v[2]
+		Return r
+	End
+	
+End
+
+Struct AffineMat4f Extension
+	
+	Operator To:HmdMatrix34_t()
+		Local r:HmdMatrix34_t
+		r.m[0][0]= m.i.x ; r.m[1][0]= m.i.y ; r.m[2][0]=-m.i.z
+		r.m[0][1]= m.j.x ; r.m[1][1]= m.j.y ; r.m[2][1]=-m.j.z
+		r.m[0][2]=-m.k.x ; r.m[1][2]=-m.k.y ; r.m[2][2]= m.k.z
+		r.m[0][3]=   t.x ; r.m[1][3]=   t.y ; r.m[2][3]=  -t.z
+		Return r
+	End
+	
+End
+
+Struct Mat4f Extension
+	
+	Operator To:HmdMatrix44_t()
+		Local r:HmdMatrix44_t
+		r.m[0][0]=i.x ; r.m[1][0]=i.y ; r.m[2][0]=i.z ; r.m[3][0]=i.w
+		r.m[0][1]=j.x ; r.m[1][1]=j.y ; r.m[2][1]=j.z ; r.m[3][1]=j.w
+		r.m[0][2]=k.x ; r.m[1][2]=k.y ; r.m[2][2]=k.z ; r.m[3][2]=k.w
+		r.m[0][3]=t.x ; r.m[1][3]=t.y ; r.m[2][3]=t.z ; r.m[3][3]=t.w
+		Return r
+	End
+
+End
+
+Struct Vec3f Extension
+	
+	Operator To:HmdVector3_t()
+		Local r:HmdVector3_t
+		r.v[0]=x ; r.v[1]=y ; r.v[2]=z
+		Return r
+	End
+End
+
+Function Frustum:Mat4f( left:Float,right:Float,bottom:Float,top:Float,near:Float,far:Float )
+
+	Local w:=right-left,h:=top-bottom,d:=far-near,r:Mat4f
+	
+	r.i.x= 2/w
+	r.j.y= 2/h
+	r.k.x=-(right+left)/w
+	r.k.y=-(top+bottom)/h
+	r.k.z= (far+near)/d
+	r.k.w= 1
+	r.t.z= -2*far*near/d
+	
+	Return r
+End

+ 1549 - 0
modules/mojo3d-vr/openvr/openvr-sdk/capi.monkey2

@@ -0,0 +1,1549 @@
+
+'***** Auto generated by c2mx2! *****
+
+Namespace vr
+
+Extern
+
+'***** File: headers/openvr_capi.h *****
+
+Alias ID3D12Resource:Void Ptr
+Alias ID3D12CommandQueue:Void Ptr
+
+Alias HmdVector2_t:Void Ptr
+Alias VRControllerAxis_t:Void Ptr
+
+Alias VkDevice_T:Void Ptr
+Alias VkPhysicalDevice_T:Void Ptr
+Alias VkInstance_T:Void Ptr
+Alias VkQueue_T:Void Ptr
+
+Alias VRActionHandle_t:ULong
+Alias VRActionSetHandle_t:ULong
+Alias VRInputOriginHandle_t:ULong
+
+Const k_nDriverNone:UInt
+Const k_unMaxDriverDebugResponseSize:UInt
+Const k_unTrackedDeviceIndex_Hmd:UInt
+Const k_unMaxTrackedDeviceCount:UInt
+Const k_unTrackedDeviceIndexOther:UInt
+Const k_unTrackedDeviceIndexInvalid:UInt
+Const k_ulInvalidPropertyContainer:ULong
+Const k_unInvalidPropertyTag:UInt
+Const k_unFloatPropertyTag:UInt
+Const k_unInt32PropertyTag:UInt
+Const k_unUint64PropertyTag:UInt
+Const k_unBoolPropertyTag:UInt
+Const k_unStringPropertyTag:UInt
+Const k_unHmdMatrix34PropertyTag:UInt
+Const k_unHmdMatrix44PropertyTag:UInt
+Const k_unHmdVector3PropertyTag:UInt
+Const k_unHmdVector4PropertyTag:UInt
+Const k_unHiddenAreaPropertyTag:UInt
+Const k_unOpenVRInternalReserved_Start:UInt
+Const k_unOpenVRInternalReserved_End:UInt
+Const k_unMaxPropertyStringSize:UInt
+Const k_unControllerStateAxisCount:UInt
+Const k_ulOverlayHandleInvalid:ULong
+Const k_unScreenshotHandleInvalid:UInt
+Global IVRSystem_Version:CString
+Global IVRExtendedDisplay_Version:CString
+Global IVRTrackedCamera_Version:CString
+Const k_unMaxApplicationKeyLength:UInt
+Global k_pch_MimeType_HomeApp:CString
+Global k_pch_MimeType_GameTheater:CString
+Global IVRApplications_Version:CString
+Global IVRChaperone_Version:CString
+Global IVRChaperoneSetup_Version:CString
+Global IVRCompositor_Version:CString
+Const k_unVROverlayMaxKeyLength:UInt
+Const k_unVROverlayMaxNameLength:UInt
+Const k_unMaxOverlayCount:UInt
+Const k_unMaxOverlayIntersectionMaskPrimitivesCount:UInt
+Global IVROverlay_Version:CString
+Global k_pch_Controller_Component_GDC2015:CString
+Global k_pch_Controller_Component_Base:CString
+Global k_pch_Controller_Component_Tip:CString
+Global k_pch_Controller_Component_HandGrip:CString
+Global k_pch_Controller_Component_Status:CString
+Global IVRRenderModels_Version:CString
+Const k_unNotificationTextMaxSize:UInt
+Global IVRNotifications_Version:CString
+Const k_unMaxSettingsKeyLength:UInt
+Global IVRSettings_Version:CString
+Global k_pch_SteamVR_Section:CString
+Global k_pch_SteamVR_RequireHmd_String:CString
+Global k_pch_SteamVR_ForcedDriverKey_String:CString
+Global k_pch_SteamVR_ForcedHmdKey_String:CString
+Global k_pch_SteamVR_DisplayDebug_Bool:CString
+Global k_pch_SteamVR_DebugProcessPipe_String:CString
+Global k_pch_SteamVR_DisplayDebugX_Int32:CString
+Global k_pch_SteamVR_DisplayDebugY_Int32:CString
+Global k_pch_SteamVR_SendSystemButtonToAllApps_Bool:CString
+Global k_pch_SteamVR_LogLevel_Int32:CString
+Global k_pch_SteamVR_IPD_Float:CString
+Global k_pch_SteamVR_Background_String:CString
+Global k_pch_SteamVR_BackgroundUseDomeProjection_Bool:CString
+Global k_pch_SteamVR_BackgroundCameraHeight_Float:CString
+Global k_pch_SteamVR_BackgroundDomeRadius_Float:CString
+Global k_pch_SteamVR_GridColor_String:CString
+Global k_pch_SteamVR_PlayAreaColor_String:CString
+Global k_pch_SteamVR_ShowStage_Bool:CString
+Global k_pch_SteamVR_ActivateMultipleDrivers_Bool:CString
+Global k_pch_SteamVR_DirectMode_Bool:CString
+Global k_pch_SteamVR_DirectModeEdidVid_Int32:CString
+Global k_pch_SteamVR_DirectModeEdidPid_Int32:CString
+Global k_pch_SteamVR_UsingSpeakers_Bool:CString
+Global k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float:CString
+Global k_pch_SteamVR_BaseStationPowerManagement_Bool:CString
+Global k_pch_SteamVR_NeverKillProcesses_Bool:CString
+Global k_pch_SteamVR_SupersampleScale_Float:CString
+Global k_pch_SteamVR_AllowAsyncReprojection_Bool:CString
+Global k_pch_SteamVR_AllowReprojection_Bool:CString
+Global k_pch_SteamVR_ForceReprojection_Bool:CString
+Global k_pch_SteamVR_ForceFadeOnBadTracking_Bool:CString
+Global k_pch_SteamVR_DefaultMirrorView_Int32:CString
+Global k_pch_SteamVR_ShowMirrorView_Bool:CString
+Global k_pch_SteamVR_MirrorViewGeometry_String:CString
+Global k_pch_SteamVR_StartMonitorFromAppLaunch:CString
+Global k_pch_SteamVR_StartCompositorFromAppLaunch_Bool:CString
+Global k_pch_SteamVR_StartDashboardFromAppLaunch_Bool:CString
+Global k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool:CString
+Global k_pch_SteamVR_EnableHomeApp:CString
+Global k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32:CString
+Global k_pch_SteamVR_RetailDemo_Bool:CString
+Global k_pch_SteamVR_IpdOffset_Float:CString
+Global k_pch_SteamVR_AllowSupersampleFiltering_Bool:CString
+Global k_pch_SteamVR_EnableLinuxVulkanAsync_Bool:CString
+Global k_pch_Lighthouse_Section:CString
+Global k_pch_Lighthouse_DisableIMU_Bool:CString
+Global k_pch_Lighthouse_UseDisambiguation_String:CString
+Global k_pch_Lighthouse_DisambiguationDebug_Int32:CString
+Global k_pch_Lighthouse_PrimaryBasestation_Int32:CString
+Global k_pch_Lighthouse_DBHistory_Bool:CString
+Global k_pch_Null_Section:CString
+Global k_pch_Null_SerialNumber_String:CString
+Global k_pch_Null_ModelNumber_String:CString
+Global k_pch_Null_WindowX_Int32:CString
+Global k_pch_Null_WindowY_Int32:CString
+Global k_pch_Null_WindowWidth_Int32:CString
+Global k_pch_Null_WindowHeight_Int32:CString
+Global k_pch_Null_RenderWidth_Int32:CString
+Global k_pch_Null_RenderHeight_Int32:CString
+Global k_pch_Null_SecondsFromVsyncToPhotons_Float:CString
+Global k_pch_Null_DisplayFrequency_Float:CString
+Global k_pch_UserInterface_Section:CString
+Global k_pch_UserInterface_StatusAlwaysOnTop_Bool:CString
+Global k_pch_UserInterface_MinimizeToTray_Bool:CString
+Global k_pch_UserInterface_Screenshots_Bool:CString
+Global k_pch_UserInterface_ScreenshotType_Int:CString
+Global k_pch_Notifications_Section:CString
+Global k_pch_Notifications_DoNotDisturb_Bool:CString
+Global k_pch_Keyboard_Section:CString
+Global k_pch_Keyboard_TutorialCompletions:CString
+Global k_pch_Keyboard_ScaleX:CString
+Global k_pch_Keyboard_ScaleY:CString
+Global k_pch_Keyboard_OffsetLeftX:CString
+Global k_pch_Keyboard_OffsetRightX:CString
+Global k_pch_Keyboard_OffsetY:CString
+Global k_pch_Keyboard_Smoothing:CString
+Global k_pch_Perf_Section:CString
+Global k_pch_Perf_HeuristicActive_Bool:CString
+Global k_pch_Perf_NotifyInHMD_Bool:CString
+Global k_pch_Perf_NotifyOnlyOnce_Bool:CString
+Global k_pch_Perf_AllowTimingStore_Bool:CString
+Global k_pch_Perf_SaveTimingsOnExit_Bool:CString
+Global k_pch_Perf_TestData_Float:CString
+Global k_pch_Perf_LinuxGPUProfiling_Bool:CString
+Global k_pch_CollisionBounds_Section:CString
+Global k_pch_CollisionBounds_Style_Int32:CString
+Global k_pch_CollisionBounds_GroundPerimeterOn_Bool:CString
+Global k_pch_CollisionBounds_CenterMarkerOn_Bool:CString
+Global k_pch_CollisionBounds_PlaySpaceOn_Bool:CString
+Global k_pch_CollisionBounds_FadeDistance_Float:CString
+Global k_pch_CollisionBounds_ColorGammaR_Int32:CString
+Global k_pch_CollisionBounds_ColorGammaG_Int32:CString
+Global k_pch_CollisionBounds_ColorGammaB_Int32:CString
+Global k_pch_CollisionBounds_ColorGammaA_Int32:CString
+Global k_pch_Camera_Section:CString
+Global k_pch_Camera_EnableCamera_Bool:CString
+Global k_pch_Camera_EnableCameraInDashboard_Bool:CString
+Global k_pch_Camera_EnableCameraForCollisionBounds_Bool:CString
+Global k_pch_Camera_EnableCameraForRoomView_Bool:CString
+Global k_pch_Camera_BoundsColorGammaR_Int32:CString
+Global k_pch_Camera_BoundsColorGammaG_Int32:CString
+Global k_pch_Camera_BoundsColorGammaB_Int32:CString
+Global k_pch_Camera_BoundsColorGammaA_Int32:CString
+Global k_pch_Camera_BoundsStrength_Int32:CString
+Global k_pch_audio_Section:CString
+Global k_pch_audio_OnPlaybackDevice_String:CString
+Global k_pch_audio_OnRecordDevice_String:CString
+Global k_pch_audio_OnPlaybackMirrorDevice_String:CString
+Global k_pch_audio_OffPlaybackDevice_String:CString
+Global k_pch_audio_OffRecordDevice_String:CString
+Global k_pch_audio_VIVEHDMIGain:CString
+Global k_pch_Power_Section:CString
+Global k_pch_Power_PowerOffOnExit_Bool:CString
+Global k_pch_Power_TurnOffScreensTimeout_Float:CString
+Global k_pch_Power_TurnOffControllersTimeout_Float:CString
+Global k_pch_Power_ReturnToWatchdogTimeout_Float:CString
+Global k_pch_Power_AutoLaunchSteamVROnButtonPress:CString
+Global k_pch_Power_PauseCompositorOnStandby_Bool:CString
+Global k_pch_Dashboard_Section:CString
+Global k_pch_Dashboard_EnableDashboard_Bool:CString
+Global k_pch_Dashboard_ArcadeMode_Bool:CString
+Global k_pch_modelskin_Section:CString
+Global k_pch_Driver_Enable_Bool:CString
+Global IVRScreenshots_Version:CString
+Global IVRResources_Version:CString
+Global IVRDriverManager_Version:CString
+Enum EVREye
+End
+Const EVREye_Eye_Left:EVREye
+Const EVREye_Eye_Right:EVREye
+Enum ETextureType
+End
+Const ETextureType_TextureType_DirectX:ETextureType
+Const ETextureType_TextureType_OpenGL:ETextureType
+Const ETextureType_TextureType_Vulkan:ETextureType
+Const ETextureType_TextureType_IOSurface:ETextureType
+Const ETextureType_TextureType_DirectX12:ETextureType
+Enum EColorSpace
+End
+Const EColorSpace_ColorSpace_Auto:EColorSpace
+Const EColorSpace_ColorSpace_Gamma:EColorSpace
+Const EColorSpace_ColorSpace_Linear:EColorSpace
+Enum ETrackingResult
+End
+Const ETrackingResult_TrackingResult_Uninitialized:ETrackingResult
+Const ETrackingResult_TrackingResult_Calibrating_InProgress:ETrackingResult
+Const ETrackingResult_TrackingResult_Calibrating_OutOfRange:ETrackingResult
+Const ETrackingResult_TrackingResult_Running_OK:ETrackingResult
+Const ETrackingResult_TrackingResult_Running_OutOfRange:ETrackingResult
+Enum ETrackedDeviceClass
+End
+Const ETrackedDeviceClass_TrackedDeviceClass_Invalid:ETrackedDeviceClass
+Const ETrackedDeviceClass_TrackedDeviceClass_HMD:ETrackedDeviceClass
+Const ETrackedDeviceClass_TrackedDeviceClass_Controller:ETrackedDeviceClass
+Const ETrackedDeviceClass_TrackedDeviceClass_GenericTracker:ETrackedDeviceClass
+Const ETrackedDeviceClass_TrackedDeviceClass_TrackingReference:ETrackedDeviceClass
+Const ETrackedDeviceClass_TrackedDeviceClass_DisplayRedirect:ETrackedDeviceClass
+Enum ETrackedControllerRole
+End
+Const ETrackedControllerRole_TrackedControllerRole_Invalid:ETrackedControllerRole
+Const ETrackedControllerRole_TrackedControllerRole_LeftHand:ETrackedControllerRole
+Const ETrackedControllerRole_TrackedControllerRole_RightHand:ETrackedControllerRole
+Enum ETrackingUniverseOrigin
+End
+Const ETrackingUniverseOrigin_TrackingUniverseSeated:ETrackingUniverseOrigin
+Const ETrackingUniverseOrigin_TrackingUniverseStanding:ETrackingUniverseOrigin
+Const ETrackingUniverseOrigin_TrackingUniverseRawAndUncalibrated:ETrackingUniverseOrigin
+Enum ETrackedDeviceProperty
+End
+Const ETrackedDeviceProperty_Prop_Invalid:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_TrackingSystemName_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ModelNumber_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_SerialNumber_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_RenderModelName_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_WillDriftInYaw_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ManufacturerName_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_TrackingFirmwareVersion_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_HardwareRevision_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_AllWirelessDongleDescriptions_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ConnectedWirelessDongle_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DeviceIsWireless_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DeviceIsCharging_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DeviceBatteryPercentage_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_StatusDisplayTransform_Matrix34:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_Firmware_UpdateAvailable_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_Firmware_ManualUpdate_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_Firmware_ManualUpdateURL_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_HardwareRevision_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_FirmwareVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_FPGAVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_VRCVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_RadioVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DongleVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_BlockServerShutdown_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_CanUnifyCoordinateSystemWithHmd_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ContainsProximitySensor_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DeviceProvidesBatteryStatus_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DeviceCanPowerOff_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_Firmware_ProgrammingTarget_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DeviceClass_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_HasCamera_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DriverVersion_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_Firmware_ForceUpdateRequired_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ViveSystemButtonFixRequired_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ParentDriver_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ResourceRoot_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ReportsTimeSinceVSync_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_SecondsFromVsyncToPhotons_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayFrequency_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_UserIpdMeters_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_CurrentUniverseId_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_PreviousUniverseId_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayFirmwareVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_IsOnDesktop_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayMCType_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayMCOffset_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayMCScale_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_EdidVendorID_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayMCImageLeft_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayMCImageRight_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayGCBlackClamp_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_EdidProductID_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_CameraToHeadTransform_Matrix34:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayGCType_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayGCOffset_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayGCScale_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayGCPrescale_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayGCImage_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_LensCenterLeftU_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_LensCenterLeftV_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_LensCenterRightU_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_LensCenterRightV_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_UserHeadToEyeDepthMeters_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_CameraFirmwareVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_CameraFirmwareDescription_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayFPGAVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayBootloaderVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayHardwareVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_AudioFirmwareVersion_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_CameraCompatibilityMode_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ScreenshotHorizontalFieldOfViewDegrees_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ScreenshotVerticalFieldOfViewDegrees_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplaySuppressed_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayAllowNightMode_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayMCImageWidth_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayMCImageHeight_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayMCImageNumChannels_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayMCImageData_Binary:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_SecondsFromPhotonsToVblank_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DriverDirectModeSendsVsyncEvents_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayDebugMode_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_GraphicsAdapterLuid_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DriverProvidedChaperonePath_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_AttachedDeviceId_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_SupportedButtons_Uint64:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_Axis0Type_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_Axis1Type_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_Axis2Type_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_Axis3Type_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_Axis4Type_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ControllerRoleHint_Int32:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_FieldOfViewLeftDegrees_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_FieldOfViewRightDegrees_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_FieldOfViewTopDegrees_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_FieldOfViewBottomDegrees_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_TrackingRangeMinimumMeters_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_TrackingRangeMaximumMeters_Float:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_ModeLabel_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_IconPathName_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_NamedIconPathDeviceOff_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_NamedIconPathDeviceSearching_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_NamedIconPathDeviceSearchingAlert_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_NamedIconPathDeviceReady_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_NamedIconPathDeviceReadyAlert_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_NamedIconPathDeviceNotReady_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_NamedIconPathDeviceStandby_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_NamedIconPathDeviceAlertLow_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayHiddenArea_Binary_Start:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_DisplayHiddenArea_Binary_End:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_UserConfigPath_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_InstallPath_String:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_HasDisplayComponent_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_HasControllerComponent_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_HasCameraComponent_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_HasDriverDirectModeComponent_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_HasVirtualDisplayComponent_Bool:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_Start:ETrackedDeviceProperty
+Const ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_End:ETrackedDeviceProperty
+Enum ETrackedPropertyError
+End
+Const ETrackedPropertyError_TrackedProp_Success:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_WrongDataType:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_WrongDeviceClass:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_BufferTooSmall:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_UnknownProperty:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_InvalidDevice:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_CouldNotContactServer:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_ValueNotProvidedByDevice:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_StringExceedsMaximumLength:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_NotYetAvailable:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_PermissionDenied:ETrackedPropertyError
+Const ETrackedPropertyError_TrackedProp_InvalidOperation:ETrackedPropertyError
+Enum EVRSubmitFlags
+End
+Const EVRSubmitFlags_Submit_Default:EVRSubmitFlags
+Const EVRSubmitFlags_Submit_LensDistortionAlreadyApplied:EVRSubmitFlags
+Const EVRSubmitFlags_Submit_GlRenderBuffer:EVRSubmitFlags
+Const EVRSubmitFlags_Submit_Reserved:EVRSubmitFlags
+Const EVRSubmitFlags_Submit_TextureWithPose:EVRSubmitFlags
+Enum EVRState
+End
+Const EVRState_VRState_Undefined:EVRState
+Const EVRState_VRState_Off:EVRState
+Const EVRState_VRState_Searching:EVRState
+Const EVRState_VRState_Searching_Alert:EVRState
+Const EVRState_VRState_Ready:EVRState
+Const EVRState_VRState_Ready_Alert:EVRState
+Const EVRState_VRState_NotReady:EVRState
+Const EVRState_VRState_Standby:EVRState
+Const EVRState_VRState_Ready_Alert_Low:EVRState
+Enum EVREventType
+End
+Const EVREventType_VREvent_None:EVREventType
+Const EVREventType_VREvent_TrackedDeviceActivated:EVREventType
+Const EVREventType_VREvent_TrackedDeviceDeactivated:EVREventType
+Const EVREventType_VREvent_TrackedDeviceUpdated:EVREventType
+Const EVREventType_VREvent_TrackedDeviceUserInteractionStarted:EVREventType
+Const EVREventType_VREvent_TrackedDeviceUserInteractionEnded:EVREventType
+Const EVREventType_VREvent_IpdChanged:EVREventType
+Const EVREventType_VREvent_EnterStandbyMode:EVREventType
+Const EVREventType_VREvent_LeaveStandbyMode:EVREventType
+Const EVREventType_VREvent_TrackedDeviceRoleChanged:EVREventType
+Const EVREventType_VREvent_WatchdogWakeUpRequested:EVREventType
+Const EVREventType_VREvent_LensDistortionChanged:EVREventType
+Const EVREventType_VREvent_PropertyChanged:EVREventType
+Const EVREventType_VREvent_WirelessDisconnect:EVREventType
+Const EVREventType_VREvent_WirelessReconnect:EVREventType
+Const EVREventType_VREvent_ButtonPress:EVREventType
+Const EVREventType_VREvent_ButtonUnpress:EVREventType
+Const EVREventType_VREvent_ButtonTouch:EVREventType
+Const EVREventType_VREvent_ButtonUntouch:EVREventType
+Const EVREventType_VREvent_MouseMove:EVREventType
+Const EVREventType_VREvent_MouseButtonDown:EVREventType
+Const EVREventType_VREvent_MouseButtonUp:EVREventType
+Const EVREventType_VREvent_FocusEnter:EVREventType
+Const EVREventType_VREvent_FocusLeave:EVREventType
+Const EVREventType_VREvent_Scroll:EVREventType
+Const EVREventType_VREvent_TouchPadMove:EVREventType
+Const EVREventType_VREvent_OverlayFocusChanged:EVREventType
+Const EVREventType_VREvent_InputFocusCaptured:EVREventType
+Const EVREventType_VREvent_InputFocusReleased:EVREventType
+Const EVREventType_VREvent_SceneFocusLost:EVREventType
+Const EVREventType_VREvent_SceneFocusGained:EVREventType
+Const EVREventType_VREvent_SceneApplicationChanged:EVREventType
+Const EVREventType_VREvent_SceneFocusChanged:EVREventType
+Const EVREventType_VREvent_InputFocusChanged:EVREventType
+Const EVREventType_VREvent_SceneApplicationSecondaryRenderingStarted:EVREventType
+Const EVREventType_VREvent_HideRenderModels:EVREventType
+Const EVREventType_VREvent_ShowRenderModels:EVREventType
+Const EVREventType_VREvent_OverlayShown:EVREventType
+Const EVREventType_VREvent_OverlayHidden:EVREventType
+Const EVREventType_VREvent_DashboardActivated:EVREventType
+Const EVREventType_VREvent_DashboardDeactivated:EVREventType
+Const EVREventType_VREvent_DashboardThumbSelected:EVREventType
+Const EVREventType_VREvent_DashboardRequested:EVREventType
+Const EVREventType_VREvent_ResetDashboard:EVREventType
+Const EVREventType_VREvent_RenderToast:EVREventType
+Const EVREventType_VREvent_ImageLoaded:EVREventType
+Const EVREventType_VREvent_ShowKeyboard:EVREventType
+Const EVREventType_VREvent_HideKeyboard:EVREventType
+Const EVREventType_VREvent_OverlayGamepadFocusGained:EVREventType
+Const EVREventType_VREvent_OverlayGamepadFocusLost:EVREventType
+Const EVREventType_VREvent_OverlaySharedTextureChanged:EVREventType
+Const EVREventType_VREvent_DashboardGuideButtonDown:EVREventType
+Const EVREventType_VREvent_DashboardGuideButtonUp:EVREventType
+Const EVREventType_VREvent_ScreenshotTriggered:EVREventType
+Const EVREventType_VREvent_ImageFailed:EVREventType
+Const EVREventType_VREvent_DashboardOverlayCreated:EVREventType
+Const EVREventType_VREvent_RequestScreenshot:EVREventType
+Const EVREventType_VREvent_ScreenshotTaken:EVREventType
+Const EVREventType_VREvent_ScreenshotFailed:EVREventType
+Const EVREventType_VREvent_SubmitScreenshotToDashboard:EVREventType
+Const EVREventType_VREvent_ScreenshotProgressToDashboard:EVREventType
+Const EVREventType_VREvent_PrimaryDashboardDeviceChanged:EVREventType
+Const EVREventType_VREvent_Notification_Shown:EVREventType
+Const EVREventType_VREvent_Notification_Hidden:EVREventType
+Const EVREventType_VREvent_Notification_BeginInteraction:EVREventType
+Const EVREventType_VREvent_Notification_Destroyed:EVREventType
+Const EVREventType_VREvent_Quit:EVREventType
+Const EVREventType_VREvent_ProcessQuit:EVREventType
+Const EVREventType_VREvent_QuitAborted_UserPrompt:EVREventType
+Const EVREventType_VREvent_QuitAcknowledged:EVREventType
+Const EVREventType_VREvent_DriverRequestedQuit:EVREventType
+Const EVREventType_VREvent_ChaperoneDataHasChanged:EVREventType
+Const EVREventType_VREvent_ChaperoneUniverseHasChanged:EVREventType
+Const EVREventType_VREvent_ChaperoneTempDataHasChanged:EVREventType
+Const EVREventType_VREvent_ChaperoneSettingsHaveChanged:EVREventType
+Const EVREventType_VREvent_SeatedZeroPoseReset:EVREventType
+Const EVREventType_VREvent_AudioSettingsHaveChanged:EVREventType
+Const EVREventType_VREvent_BackgroundSettingHasChanged:EVREventType
+Const EVREventType_VREvent_CameraSettingsHaveChanged:EVREventType
+Const EVREventType_VREvent_ReprojectionSettingHasChanged:EVREventType
+Const EVREventType_VREvent_ModelSkinSettingsHaveChanged:EVREventType
+Const EVREventType_VREvent_EnvironmentSettingsHaveChanged:EVREventType
+Const EVREventType_VREvent_PowerSettingsHaveChanged:EVREventType
+Const EVREventType_VREvent_EnableHomeAppSettingsHaveChanged:EVREventType
+Const EVREventType_VREvent_StatusUpdate:EVREventType
+Const EVREventType_VREvent_MCImageUpdated:EVREventType
+Const EVREventType_VREvent_FirmwareUpdateStarted:EVREventType
+Const EVREventType_VREvent_FirmwareUpdateFinished:EVREventType
+Const EVREventType_VREvent_KeyboardClosed:EVREventType
+Const EVREventType_VREvent_KeyboardCharInput:EVREventType
+Const EVREventType_VREvent_KeyboardDone:EVREventType
+Const EVREventType_VREvent_ApplicationTransitionStarted:EVREventType
+Const EVREventType_VREvent_ApplicationTransitionAborted:EVREventType
+Const EVREventType_VREvent_ApplicationTransitionNewAppStarted:EVREventType
+Const EVREventType_VREvent_ApplicationListUpdated:EVREventType
+Const EVREventType_VREvent_ApplicationMimeTypeLoad:EVREventType
+Const EVREventType_VREvent_ApplicationTransitionNewAppLaunchComplete:EVREventType
+Const EVREventType_VREvent_ProcessConnected:EVREventType
+Const EVREventType_VREvent_ProcessDisconnected:EVREventType
+Const EVREventType_VREvent_Compositor_MirrorWindowShown:EVREventType
+Const EVREventType_VREvent_Compositor_MirrorWindowHidden:EVREventType
+Const EVREventType_VREvent_Compositor_ChaperoneBoundsShown:EVREventType
+Const EVREventType_VREvent_Compositor_ChaperoneBoundsHidden:EVREventType
+Const EVREventType_VREvent_TrackedCamera_StartVideoStream:EVREventType
+Const EVREventType_VREvent_TrackedCamera_StopVideoStream:EVREventType
+Const EVREventType_VREvent_TrackedCamera_PauseVideoStream:EVREventType
+Const EVREventType_VREvent_TrackedCamera_ResumeVideoStream:EVREventType
+Const EVREventType_VREvent_TrackedCamera_EditingSurface:EVREventType
+Const EVREventType_VREvent_PerformanceTest_EnableCapture:EVREventType
+Const EVREventType_VREvent_PerformanceTest_DisableCapture:EVREventType
+Const EVREventType_VREvent_PerformanceTest_FidelityLevel:EVREventType
+Const EVREventType_VREvent_MessageOverlay_Closed:EVREventType
+Const EVREventType_VREvent_MessageOverlayCloseRequested:EVREventType
+Const EVREventType_VREvent_VendorSpecific_Reserved_Start:EVREventType
+Const EVREventType_VREvent_VendorSpecific_Reserved_End:EVREventType
+Enum EDeviceActivityLevel
+End
+Const EDeviceActivityLevel_k_EDeviceActivityLevel_Unknown:EDeviceActivityLevel
+Const EDeviceActivityLevel_k_EDeviceActivityLevel_Idle:EDeviceActivityLevel
+Const EDeviceActivityLevel_k_EDeviceActivityLevel_UserInteraction:EDeviceActivityLevel
+Const EDeviceActivityLevel_k_EDeviceActivityLevel_UserInteraction_Timeout:EDeviceActivityLevel
+Const EDeviceActivityLevel_k_EDeviceActivityLevel_Standby:EDeviceActivityLevel
+Enum EVRButtonId
+End
+Const EVRButtonId_k_EButton_System:EVRButtonId
+Const EVRButtonId_k_EButton_ApplicationMenu:EVRButtonId
+Const EVRButtonId_k_EButton_Grip:EVRButtonId
+Const EVRButtonId_k_EButton_DPad_Left:EVRButtonId
+Const EVRButtonId_k_EButton_DPad_Up:EVRButtonId
+Const EVRButtonId_k_EButton_DPad_Right:EVRButtonId
+Const EVRButtonId_k_EButton_DPad_Down:EVRButtonId
+Const EVRButtonId_k_EButton_A:EVRButtonId
+Const EVRButtonId_k_EButton_ProximitySensor:EVRButtonId
+Const EVRButtonId_k_EButton_Axis0:EVRButtonId
+Const EVRButtonId_k_EButton_Axis1:EVRButtonId
+Const EVRButtonId_k_EButton_Axis2:EVRButtonId
+Const EVRButtonId_k_EButton_Axis3:EVRButtonId
+Const EVRButtonId_k_EButton_Axis4:EVRButtonId
+Const EVRButtonId_k_EButton_SteamVR_Touchpad:EVRButtonId
+Const EVRButtonId_k_EButton_SteamVR_Trigger:EVRButtonId
+Const EVRButtonId_k_EButton_Dashboard_Back:EVRButtonId
+Const EVRButtonId_k_EButton_Max:EVRButtonId
+Enum EVRMouseButton
+End
+Const EVRMouseButton_VRMouseButton_Left:EVRMouseButton
+Const EVRMouseButton_VRMouseButton_Right:EVRMouseButton
+Const EVRMouseButton_VRMouseButton_Middle:EVRMouseButton
+Enum EHiddenAreaMeshType
+End
+Const EHiddenAreaMeshType_k_eHiddenAreaMesh_Standard:EHiddenAreaMeshType
+Const EHiddenAreaMeshType_k_eHiddenAreaMesh_Inverse:EHiddenAreaMeshType
+Const EHiddenAreaMeshType_k_eHiddenAreaMesh_LineLoop:EHiddenAreaMeshType
+Const EHiddenAreaMeshType_k_eHiddenAreaMesh_Max:EHiddenAreaMeshType
+Enum EVRControllerAxisType
+End
+Const EVRControllerAxisType_k_eControllerAxis_None:EVRControllerAxisType
+Const EVRControllerAxisType_k_eControllerAxis_TrackPad:EVRControllerAxisType
+Const EVRControllerAxisType_k_eControllerAxis_Joystick:EVRControllerAxisType
+Const EVRControllerAxisType_k_eControllerAxis_Trigger:EVRControllerAxisType
+Enum EVRControllerEventOutputType
+End
+Const EVRControllerEventOutputType_ControllerEventOutput_OSEvents:EVRControllerEventOutputType
+Const EVRControllerEventOutputType_ControllerEventOutput_VREvents:EVRControllerEventOutputType
+Enum ECollisionBoundsStyle
+End
+Const ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_BEGINNER:ECollisionBoundsStyle
+Const ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_INTERMEDIATE:ECollisionBoundsStyle
+Const ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_SQUARES:ECollisionBoundsStyle
+Const ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_ADVANCED:ECollisionBoundsStyle
+Const ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_NONE:ECollisionBoundsStyle
+Const ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_COUNT:ECollisionBoundsStyle
+Enum EVROverlayError
+End
+Const EVROverlayError_VROverlayError_None:EVROverlayError
+Const EVROverlayError_VROverlayError_UnknownOverlay:EVROverlayError
+Const EVROverlayError_VROverlayError_InvalidHandle:EVROverlayError
+Const EVROverlayError_VROverlayError_PermissionDenied:EVROverlayError
+Const EVROverlayError_VROverlayError_OverlayLimitExceeded:EVROverlayError
+Const EVROverlayError_VROverlayError_WrongVisibilityType:EVROverlayError
+Const EVROverlayError_VROverlayError_KeyTooLong:EVROverlayError
+Const EVROverlayError_VROverlayError_NameTooLong:EVROverlayError
+Const EVROverlayError_VROverlayError_KeyInUse:EVROverlayError
+Const EVROverlayError_VROverlayError_WrongTransformType:EVROverlayError
+Const EVROverlayError_VROverlayError_InvalidTrackedDevice:EVROverlayError
+Const EVROverlayError_VROverlayError_InvalidParameter:EVROverlayError
+Const EVROverlayError_VROverlayError_ThumbnailCantBeDestroyed:EVROverlayError
+Const EVROverlayError_VROverlayError_ArrayTooSmall:EVROverlayError
+Const EVROverlayError_VROverlayError_RequestFailed:EVROverlayError
+Const EVROverlayError_VROverlayError_InvalidTexture:EVROverlayError
+Const EVROverlayError_VROverlayError_UnableToLoadFile:EVROverlayError
+Const EVROverlayError_VROverlayError_KeyboardAlreadyInUse:EVROverlayError
+Const EVROverlayError_VROverlayError_NoNeighbor:EVROverlayError
+Const EVROverlayError_VROverlayError_TooManyMaskPrimitives:EVROverlayError
+Const EVROverlayError_VROverlayError_BadMaskPrimitive:EVROverlayError
+Enum EVRApplicationType
+End
+Const EVRApplicationType_VRApplication_Other:EVRApplicationType
+Const EVRApplicationType_VRApplication_Scene:EVRApplicationType
+Const EVRApplicationType_VRApplication_Overlay:EVRApplicationType
+Const EVRApplicationType_VRApplication_Background:EVRApplicationType
+Const EVRApplicationType_VRApplication_Utility:EVRApplicationType
+Const EVRApplicationType_VRApplication_VRMonitor:EVRApplicationType
+Const EVRApplicationType_VRApplication_SteamWatchdog:EVRApplicationType
+Const EVRApplicationType_VRApplication_Bootstrapper:EVRApplicationType
+Const EVRApplicationType_VRApplication_Max:EVRApplicationType
+Enum EVRFirmwareError
+End
+Const EVRFirmwareError_VRFirmwareError_None:EVRFirmwareError
+Const EVRFirmwareError_VRFirmwareError_Success:EVRFirmwareError
+Const EVRFirmwareError_VRFirmwareError_Fail:EVRFirmwareError
+Enum EVRNotificationError
+End
+Const EVRNotificationError_VRNotificationError_OK:EVRNotificationError
+Const EVRNotificationError_VRNotificationError_InvalidNotificationId:EVRNotificationError
+Const EVRNotificationError_VRNotificationError_NotificationQueueFull:EVRNotificationError
+Const EVRNotificationError_VRNotificationError_InvalidOverlayHandle:EVRNotificationError
+Const EVRNotificationError_VRNotificationError_SystemWithUserValueAlreadyExists:EVRNotificationError
+Enum EVRInitError
+End
+Const EVRInitError_VRInitError_None:EVRInitError
+Const EVRInitError_VRInitError_Unknown:EVRInitError
+Const EVRInitError_VRInitError_Init_InstallationNotFound:EVRInitError
+Const EVRInitError_VRInitError_Init_InstallationCorrupt:EVRInitError
+Const EVRInitError_VRInitError_Init_VRClientDLLNotFound:EVRInitError
+Const EVRInitError_VRInitError_Init_FileNotFound:EVRInitError
+Const EVRInitError_VRInitError_Init_FactoryNotFound:EVRInitError
+Const EVRInitError_VRInitError_Init_InterfaceNotFound:EVRInitError
+Const EVRInitError_VRInitError_Init_InvalidInterface:EVRInitError
+Const EVRInitError_VRInitError_Init_UserConfigDirectoryInvalid:EVRInitError
+Const EVRInitError_VRInitError_Init_HmdNotFound:EVRInitError
+Const EVRInitError_VRInitError_Init_NotInitialized:EVRInitError
+Const EVRInitError_VRInitError_Init_PathRegistryNotFound:EVRInitError
+Const EVRInitError_VRInitError_Init_NoConfigPath:EVRInitError
+Const EVRInitError_VRInitError_Init_NoLogPath:EVRInitError
+Const EVRInitError_VRInitError_Init_PathRegistryNotWritable:EVRInitError
+Const EVRInitError_VRInitError_Init_AppInfoInitFailed:EVRInitError
+Const EVRInitError_VRInitError_Init_Retry:EVRInitError
+Const EVRInitError_VRInitError_Init_InitCanceledByUser:EVRInitError
+Const EVRInitError_VRInitError_Init_AnotherAppLaunching:EVRInitError
+Const EVRInitError_VRInitError_Init_SettingsInitFailed:EVRInitError
+Const EVRInitError_VRInitError_Init_ShuttingDown:EVRInitError
+Const EVRInitError_VRInitError_Init_TooManyObjects:EVRInitError
+Const EVRInitError_VRInitError_Init_NoServerForBackgroundApp:EVRInitError
+Const EVRInitError_VRInitError_Init_NotSupportedWithCompositor:EVRInitError
+Const EVRInitError_VRInitError_Init_NotAvailableToUtilityApps:EVRInitError
+Const EVRInitError_VRInitError_Init_Internal:EVRInitError
+Const EVRInitError_VRInitError_Init_HmdDriverIdIsNone:EVRInitError
+Const EVRInitError_VRInitError_Init_HmdNotFoundPresenceFailed:EVRInitError
+Const EVRInitError_VRInitError_Init_VRMonitorNotFound:EVRInitError
+Const EVRInitError_VRInitError_Init_VRMonitorStartupFailed:EVRInitError
+Const EVRInitError_VRInitError_Init_LowPowerWatchdogNotSupported:EVRInitError
+Const EVRInitError_VRInitError_Init_InvalidApplicationType:EVRInitError
+Const EVRInitError_VRInitError_Init_NotAvailableToWatchdogApps:EVRInitError
+Const EVRInitError_VRInitError_Init_WatchdogDisabledInSettings:EVRInitError
+Const EVRInitError_VRInitError_Init_VRDashboardNotFound:EVRInitError
+Const EVRInitError_VRInitError_Init_VRDashboardStartupFailed:EVRInitError
+Const EVRInitError_VRInitError_Init_VRHomeNotFound:EVRInitError
+Const EVRInitError_VRInitError_Init_VRHomeStartupFailed:EVRInitError
+Const EVRInitError_VRInitError_Init_RebootingBusy:EVRInitError
+Const EVRInitError_VRInitError_Init_FirmwareUpdateBusy:EVRInitError
+Const EVRInitError_VRInitError_Init_FirmwareRecoveryBusy:EVRInitError
+Const EVRInitError_VRInitError_Driver_Failed:EVRInitError
+Const EVRInitError_VRInitError_Driver_Unknown:EVRInitError
+Const EVRInitError_VRInitError_Driver_HmdUnknown:EVRInitError
+Const EVRInitError_VRInitError_Driver_NotLoaded:EVRInitError
+Const EVRInitError_VRInitError_Driver_RuntimeOutOfDate:EVRInitError
+Const EVRInitError_VRInitError_Driver_HmdInUse:EVRInitError
+Const EVRInitError_VRInitError_Driver_NotCalibrated:EVRInitError
+Const EVRInitError_VRInitError_Driver_CalibrationInvalid:EVRInitError
+Const EVRInitError_VRInitError_Driver_HmdDisplayNotFound:EVRInitError
+Const EVRInitError_VRInitError_Driver_TrackedDeviceInterfaceUnknown:EVRInitError
+Const EVRInitError_VRInitError_Driver_HmdDriverIdOutOfBounds:EVRInitError
+Const EVRInitError_VRInitError_Driver_HmdDisplayMirrored:EVRInitError
+Const EVRInitError_VRInitError_IPC_ServerInitFailed:EVRInitError
+Const EVRInitError_VRInitError_IPC_ConnectFailed:EVRInitError
+Const EVRInitError_VRInitError_IPC_SharedStateInitFailed:EVRInitError
+Const EVRInitError_VRInitError_IPC_CompositorInitFailed:EVRInitError
+Const EVRInitError_VRInitError_IPC_MutexInitFailed:EVRInitError
+Const EVRInitError_VRInitError_IPC_Failed:EVRInitError
+Const EVRInitError_VRInitError_IPC_CompositorConnectFailed:EVRInitError
+Const EVRInitError_VRInitError_IPC_CompositorInvalidConnectResponse:EVRInitError
+Const EVRInitError_VRInitError_IPC_ConnectFailedAfterMultipleAttempts:EVRInitError
+Const EVRInitError_VRInitError_Compositor_Failed:EVRInitError
+Const EVRInitError_VRInitError_Compositor_D3D11HardwareRequired:EVRInitError
+Const EVRInitError_VRInitError_Compositor_FirmwareRequiresUpdate:EVRInitError
+Const EVRInitError_VRInitError_Compositor_OverlayInitFailed:EVRInitError
+Const EVRInitError_VRInitError_Compositor_ScreenshotsInitFailed:EVRInitError
+Const EVRInitError_VRInitError_Compositor_UnableToCreateDevice:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_UnableToConnectToOculusRuntime:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_CantOpenDevice:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_NoStoredConfig:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_ConfigTooBig:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_ConfigTooSmall:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToInitZLib:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_UserDataAddressRange:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_UserDataError:EVRInitError
+Const EVRInitError_VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck:EVRInitError
+Const EVRInitError_VRInitError_Steam_SteamInstallationNotFound:EVRInitError
+Enum EVRScreenshotType
+End
+Const EVRScreenshotType_VRScreenshotType_None:EVRScreenshotType
+Const EVRScreenshotType_VRScreenshotType_Mono:EVRScreenshotType
+Const EVRScreenshotType_VRScreenshotType_Stereo:EVRScreenshotType
+Const EVRScreenshotType_VRScreenshotType_Cubemap:EVRScreenshotType
+Const EVRScreenshotType_VRScreenshotType_MonoPanorama:EVRScreenshotType
+Const EVRScreenshotType_VRScreenshotType_StereoPanorama:EVRScreenshotType
+Enum EVRScreenshotPropertyFilenames
+End
+Const EVRScreenshotPropertyFilenames_VRScreenshotPropertyFilenames_Preview:EVRScreenshotPropertyFilenames
+Const EVRScreenshotPropertyFilenames_VRScreenshotPropertyFilenames_VR:EVRScreenshotPropertyFilenames
+Enum EVRTrackedCameraError
+End
+Const EVRTrackedCameraError_VRTrackedCameraError_None:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_OperationFailed:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_InvalidHandle:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_InvalidFrameHeaderVersion:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_OutOfHandles:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_IPCFailure:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_NotSupportedForThisDevice:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_SharedMemoryFailure:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_FrameBufferingFailure:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_StreamSetupFailure:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_InvalidGLTextureId:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_InvalidSharedTextureHandle:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_FailedToGetGLTextureId:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_SharedTextureFailure:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_NoFrameAvailable:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_InvalidArgument:EVRTrackedCameraError
+Const EVRTrackedCameraError_VRTrackedCameraError_InvalidFrameBufferSize:EVRTrackedCameraError
+Enum EVRTrackedCameraFrameType
+End
+Const EVRTrackedCameraFrameType_VRTrackedCameraFrameType_Distorted:EVRTrackedCameraFrameType
+Const EVRTrackedCameraFrameType_VRTrackedCameraFrameType_Undistorted:EVRTrackedCameraFrameType
+Const EVRTrackedCameraFrameType_VRTrackedCameraFrameType_MaximumUndistorted:EVRTrackedCameraFrameType
+Const EVRTrackedCameraFrameType_MAX_CAMERA_FRAME_TYPES:EVRTrackedCameraFrameType
+Enum EVRApplicationError
+End
+Const EVRApplicationError_VRApplicationError_None:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_AppKeyAlreadyExists:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_NoManifest:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_NoApplication:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_InvalidIndex:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_UnknownApplication:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_IPCFailed:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_ApplicationAlreadyRunning:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_InvalidManifest:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_InvalidApplication:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_LaunchFailed:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_ApplicationAlreadyStarting:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_LaunchInProgress:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_OldApplicationQuitting:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_TransitionAborted:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_IsTemplate:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_SteamVRIsExiting:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_BufferTooSmall:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_PropertyNotSet:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_UnknownProperty:EVRApplicationError
+Const EVRApplicationError_VRApplicationError_InvalidParameter:EVRApplicationError
+Enum EVRApplicationProperty
+End
+Const EVRApplicationProperty_VRApplicationProperty_Name_String:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_LaunchType_String:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_WorkingDirectory_String:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_BinaryPath_String:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_Arguments_String:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_URL_String:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_Description_String:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_NewsURL_String:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_ImagePath_String:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_Source_String:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_IsDashboardOverlay_Bool:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_IsTemplate_Bool:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_IsInstanced_Bool:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_IsInternal_Bool:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_WantsCompositorPauseInStandby_Bool:EVRApplicationProperty
+Const EVRApplicationProperty_VRApplicationProperty_LastLaunchTime_Uint64:EVRApplicationProperty
+Enum EVRApplicationTransitionState
+End
+Const EVRApplicationTransitionState_VRApplicationTransition_None:EVRApplicationTransitionState
+Const EVRApplicationTransitionState_VRApplicationTransition_OldAppQuitSent:EVRApplicationTransitionState
+Const EVRApplicationTransitionState_VRApplicationTransition_WaitingForExternalLaunch:EVRApplicationTransitionState
+Const EVRApplicationTransitionState_VRApplicationTransition_NewAppLaunched:EVRApplicationTransitionState
+Enum ChaperoneCalibrationState
+End
+Const ChaperoneCalibrationState_OK:ChaperoneCalibrationState
+Const ChaperoneCalibrationState_Warning:ChaperoneCalibrationState
+Const ChaperoneCalibrationState_Warning_BaseStationMayHaveMoved:ChaperoneCalibrationState
+Const ChaperoneCalibrationState_Warning_BaseStationRemoved:ChaperoneCalibrationState
+Const ChaperoneCalibrationState_Warning_SeatedBoundsInvalid:ChaperoneCalibrationState
+Const ChaperoneCalibrationState_Error:ChaperoneCalibrationState
+Const ChaperoneCalibrationState_Error_BaseStationUninitialized:ChaperoneCalibrationState
+Const ChaperoneCalibrationState_Error_BaseStationConflict:ChaperoneCalibrationState
+Const ChaperoneCalibrationState_Error_PlayAreaInvalid:ChaperoneCalibrationState
+Const ChaperoneCalibrationState_Error_CollisionBoundsInvalid:ChaperoneCalibrationState
+Enum EChaperoneConfigFile
+End
+Const EChaperoneConfigFile_Live:EChaperoneConfigFile
+Const EChaperoneConfigFile_Temp:EChaperoneConfigFile
+Enum EChaperoneImportFlags
+End
+Const EChaperoneImportFlags_EChaperoneImport_BoundsOnly:EChaperoneImportFlags
+Enum EVRCompositorError
+End
+Const EVRCompositorError_VRCompositorError_None:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_RequestFailed:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_IncompatibleVersion:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_DoNotHaveFocus:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_InvalidTexture:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_IsNotSceneApplication:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_TextureIsOnWrongDevice:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_TextureUsesUnsupportedFormat:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_SharedTexturesNotSupported:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_IndexOutOfRange:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_AlreadySubmitted:EVRCompositorError
+Const EVRCompositorError_VRCompositorError_InvalidBounds:EVRCompositorError
+Enum VROverlayInputMethod
+End
+Const VROverlayInputMethod_None:VROverlayInputMethod
+Const VROverlayInputMethod_Mouse:VROverlayInputMethod
+Enum VROverlayTransformType
+End
+Const VROverlayTransformType_VROverlayTransform_Absolute:VROverlayTransformType
+Const VROverlayTransformType_VROverlayTransform_TrackedDeviceRelative:VROverlayTransformType
+Const VROverlayTransformType_VROverlayTransform_SystemOverlay:VROverlayTransformType
+Const VROverlayTransformType_VROverlayTransform_TrackedComponent:VROverlayTransformType
+Enum VROverlayFlags
+End
+Const VROverlayFlags_None:VROverlayFlags
+Const VROverlayFlags_Curved:VROverlayFlags
+Const VROverlayFlags_RGSS4X:VROverlayFlags
+Const VROverlayFlags_NoDashboardTab:VROverlayFlags
+Const VROverlayFlags_AcceptsGamepadEvents:VROverlayFlags
+Const VROverlayFlags_ShowGamepadFocus:VROverlayFlags
+Const VROverlayFlags_SendVRScrollEvents:VROverlayFlags
+Const VROverlayFlags_SendVRTouchpadEvents:VROverlayFlags
+Const VROverlayFlags_ShowTouchPadScrollWheel:VROverlayFlags
+Const VROverlayFlags_TransferOwnershipToInternalProcess:VROverlayFlags
+Const VROverlayFlags_SideBySide_Parallel:VROverlayFlags
+Const VROverlayFlags_SideBySide_Crossed:VROverlayFlags
+Const VROverlayFlags_Panorama:VROverlayFlags
+Const VROverlayFlags_StereoPanorama:VROverlayFlags
+Const VROverlayFlags_SortWithNonSceneOverlays:VROverlayFlags
+Const VROverlayFlags_VisibleInDashboard:VROverlayFlags
+Enum VRMessageOverlayResponse
+End
+Const VRMessageOverlayResponse_ButtonPress_0:VRMessageOverlayResponse
+Const VRMessageOverlayResponse_ButtonPress_1:VRMessageOverlayResponse
+Const VRMessageOverlayResponse_ButtonPress_2:VRMessageOverlayResponse
+Const VRMessageOverlayResponse_ButtonPress_3:VRMessageOverlayResponse
+Const VRMessageOverlayResponse_CouldntFindSystemOverlay:VRMessageOverlayResponse
+Const VRMessageOverlayResponse_CouldntFindOrCreateClientOverlay:VRMessageOverlayResponse
+Const VRMessageOverlayResponse_ApplicationQuit:VRMessageOverlayResponse
+Enum EGamepadTextInputMode
+End
+Const EGamepadTextInputMode_k_EGamepadTextInputModeNormal:EGamepadTextInputMode
+Const EGamepadTextInputMode_k_EGamepadTextInputModePassword:EGamepadTextInputMode
+Const EGamepadTextInputMode_k_EGamepadTextInputModeSubmit:EGamepadTextInputMode
+Enum EGamepadTextInputLineMode
+End
+Const EGamepadTextInputLineMode_k_EGamepadTextInputLineModeSingleLine:EGamepadTextInputLineMode
+Const EGamepadTextInputLineMode_k_EGamepadTextInputLineModeMultipleLines:EGamepadTextInputLineMode
+Enum EOverlayDirection
+End
+Const EOverlayDirection_OverlayDirection_Up:EOverlayDirection
+Const EOverlayDirection_OverlayDirection_Down:EOverlayDirection
+Const EOverlayDirection_OverlayDirection_Left:EOverlayDirection
+Const EOverlayDirection_OverlayDirection_Right:EOverlayDirection
+Const EOverlayDirection_OverlayDirection_Count:EOverlayDirection
+Enum EVROverlayIntersectionMaskPrimitiveType
+End
+Const EVROverlayIntersectionMaskPrimitiveType_OverlayIntersectionPrimitiveType_Rectangle:EVROverlayIntersectionMaskPrimitiveType
+Const EVROverlayIntersectionMaskPrimitiveType_OverlayIntersectionPrimitiveType_Circle:EVROverlayIntersectionMaskPrimitiveType
+Enum EVRRenderModelError
+End
+Const EVRRenderModelError_VRRenderModelError_None:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_Loading:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_NotSupported:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_InvalidArg:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_InvalidModel:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_NoShapes:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_MultipleShapes:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_TooManyVertices:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_MultipleTextures:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_BufferTooSmall:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_NotEnoughNormals:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_NotEnoughTexCoords:EVRRenderModelError
+Const EVRRenderModelError_VRRenderModelError_InvalidTexture:EVRRenderModelError
+Enum EVRComponentProperty
+End
+Const EVRComponentProperty_VRComponentProperty_IsStatic:EVRComponentProperty
+Const EVRComponentProperty_VRComponentProperty_IsVisible:EVRComponentProperty
+Const EVRComponentProperty_VRComponentProperty_IsTouched:EVRComponentProperty
+Const EVRComponentProperty_VRComponentProperty_IsPressed:EVRComponentProperty
+Const EVRComponentProperty_VRComponentProperty_IsScrolled:EVRComponentProperty
+Enum EVRNotificationType
+End
+Const EVRNotificationType_Transient:EVRNotificationType
+Const EVRNotificationType_Persistent:EVRNotificationType
+Const EVRNotificationType_Transient_SystemWithUserValue:EVRNotificationType
+Enum EVRNotificationStyle
+End
+Const EVRNotificationStyle_None:EVRNotificationStyle
+Const EVRNotificationStyle_Application:EVRNotificationStyle
+Const EVRNotificationStyle_Contact_Disabled:EVRNotificationStyle
+Const EVRNotificationStyle_Contact_Enabled:EVRNotificationStyle
+Const EVRNotificationStyle_Contact_Active:EVRNotificationStyle
+Enum EVRSettingsError
+End
+Const EVRSettingsError_VRSettingsError_None:EVRSettingsError
+Const EVRSettingsError_VRSettingsError_IPCFailed:EVRSettingsError
+Const EVRSettingsError_VRSettingsError_WriteFailed:EVRSettingsError
+Const EVRSettingsError_VRSettingsError_ReadFailed:EVRSettingsError
+Const EVRSettingsError_VRSettingsError_JsonParseFailed:EVRSettingsError
+Const EVRSettingsError_VRSettingsError_UnsetSettingHasNoDefault:EVRSettingsError
+Enum EVRScreenshotError
+End
+Const EVRScreenshotError_VRScreenshotError_None:EVRScreenshotError
+Const EVRScreenshotError_VRScreenshotError_RequestFailed:EVRScreenshotError
+Const EVRScreenshotError_VRScreenshotError_IncompatibleVersion:EVRScreenshotError
+Const EVRScreenshotError_VRScreenshotError_NotFound:EVRScreenshotError
+Const EVRScreenshotError_VRScreenshotError_BufferTooSmall:EVRScreenshotError
+Const EVRScreenshotError_VRScreenshotError_ScreenshotAlreadyInProgress:EVRScreenshotError
+
+Alias glSharedTextureHandle_t:Void Ptr
+
+Alias glInt_t:Int
+Alias glUInt_t:UInt
+Alias SharedTextureHandle_t:ULong
+Alias DriverId_t:UInt
+Alias TrackedDeviceIndex_t:UInt
+Alias PropertyContainerHandle_t:ULong
+Alias PropertyTypeTag_t:UInt
+Alias VROverlayHandle_t:ULong
+Alias TrackedCameraHandle_t:ULong
+Alias ScreenshotHandle_t:UInt
+Alias VRComponentProperties:UInt
+Alias TextureID_t:Int
+Alias VRNotificationId:UInt
+
+Alias HmdError:EVRInitError
+Alias Hmd_Eye:EVREye
+Alias ColorSpace:EColorSpace
+Alias HmdTrackingResult:ETrackingResult
+Alias TrackedDeviceClass:ETrackedDeviceClass
+Alias TrackingUniverseOrigin:ETrackingUniverseOrigin
+Alias TrackedDeviceProperty:ETrackedDeviceProperty
+Alias TrackedPropertyError:ETrackedPropertyError
+Alias VRSubmitFlags_t:EVRSubmitFlags
+Alias VRState_t:EVRState
+Alias CollisionBoundsStyle_t:ECollisionBoundsStyle
+Alias VROverlayError:EVROverlayError
+Alias VRFirmwareError:EVRFirmwareError
+Alias VRCompositorError:EVRCompositorError
+Alias VRScreenshotsError:EVRScreenshotError
+Struct HmdMatrix34_t
+	Field m:Float Ptr Ptr
+End
+Struct HmdMatrix44_t
+	Field m:Float Ptr Ptr
+End
+Struct HmdVector3_t
+	Field v:Float Ptr
+End
+Struct HmdVector4_t
+	Field v:Float Ptr
+End
+Struct HmdVector3d_t
+	Field v:Double Ptr
+End
+Struct HmdQuaternion_t
+	Field w:Double
+	Field x:Double
+	Field y:Double
+	Field z:Double
+End
+Struct HmdColor_t
+	Field r:Float
+	Field g:Float
+	Field b:Float
+	Field a:Float
+End
+Struct HmdQuad_t
+	Field vCorners:HmdVector3_t Ptr
+End
+Struct HmdRect2_t
+	Field vTopLeft:HmdVector2_t
+	Field vBottomRight:HmdVector2_t
+End
+Struct DistortionCoordinates_t
+	Field rfRed:Float Ptr
+	Field rfGreen:Float Ptr
+	Field rfBlue:Float Ptr
+End
+Struct Texture_t
+	Field handle:Void 'Ptr
+	Field eType:ETextureType
+	Field eColorSpace:EColorSpace
+End
+Struct TrackedDevicePose_t
+	Field mDeviceToAbsoluteTracking:HmdMatrix34_t
+	Field vVelocity:HmdVector3_t
+	Field vAngularVelocity:HmdVector3_t
+	Field eTrackingResult:ETrackingResult
+	Field bPoseIsValid:Bool
+	Field bDeviceIsConnected:Bool
+End
+Struct VRTextureBounds_t
+	Field uMin:Float
+	Field vMin:Float
+	Field uMax:Float
+	Field vMax:Float
+End
+Struct VRTextureWithPose_t
+	Field mDeviceToAbsoluteTracking:HmdMatrix34_t
+End
+Struct VRVulkanTextureData_t
+	Field m_nImage:ULong
+	Field m_pDevice:VkDevice_T 'Ptr
+	Field m_pPhysicalDevice:VkPhysicalDevice_T 'Ptr
+	Field m_pInstance:VkInstance_T 'Ptr
+	Field m_pQueue:VkQueue_T 'Ptr
+	Field m_nQueueFamilyIndex:UInt
+	Field m_nWidth:UInt
+	Field m_nHeight:UInt
+	Field m_nFormat:UInt
+	Field m_nSampleCount:UInt
+End
+Struct D3D12TextureData_t
+	Field m_pResource:ID3D12Resource 'Ptr
+	Field m_pCommandQueue:ID3D12CommandQueue 'Ptr
+	Field m_nNodeMask:UInt
+End
+Struct VREvent_Controller_t
+	Field button:UInt
+End
+Struct VREvent_Mouse_t
+	Field x:Float
+	Field y:Float
+	Field button:UInt
+End
+Struct VREvent_Scroll_t
+	Field xdelta:Float
+	Field ydelta:Float
+	Field repeatCount:UInt
+End
+Struct VREvent_TouchPadMove_t
+	Field bFingerDown:Bool
+	Field flSecondsFingerDown:Float
+	Field fValueXFirst:Float
+	Field fValueYFirst:Float
+	Field fValueXRaw:Float
+	Field fValueYRaw:Float
+End
+Struct VREvent_Notification_t
+	Field ulUserValue:ULong
+	Field notificationId:UInt
+End
+Struct VREvent_Process_t
+	Field pid:UInt
+	Field oldPid:UInt
+	Field bForced:Bool
+End
+Struct VREvent_Overlay_t
+	Field overlayHandle:ULong
+End
+Struct VREvent_Status_t
+	Field statusState:UInt
+End
+Struct VREvent_Keyboard_t
+	Field cNewInput:CString 'Ptr 'Ptr
+	Field uUserValue:ULong
+End
+Struct VREvent_Ipd_t
+	Field ipdMeters:Float
+End
+Struct VREvent_Chaperone_t
+	Field m_nPreviousUniverse:ULong
+	Field m_nCurrentUniverse:ULong
+End
+Struct VREvent_Reserved_t
+	Field reserved0:ULong
+	Field reserved1:ULong
+End
+Struct VREvent_PerformanceTest_t
+	Field m_nFidelityLevel:UInt
+End
+Struct VREvent_SeatedZeroPoseReset_t
+	Field bResetBySystemMenu:Bool
+End
+Struct VREvent_Screenshot_t
+	Field handle:UInt
+	Field type:UInt
+End
+Struct VREvent_ScreenshotProgress_t
+	Field progress:Float
+End
+Struct VREvent_ApplicationLaunch_t
+	Field pid:UInt
+	Field unArgsHandle:UInt
+End
+Struct VREvent_EditingCameraSurface_t
+	Field overlayHandle:ULong
+	Field nVisualMode:UInt
+End
+Struct VREvent_MessageOverlay_t
+	Field unVRMessageOverlayResponse:UInt
+End
+Struct VREvent_Property_t
+	Field container:PropertyContainerHandle_t
+	Field prop:ETrackedDeviceProperty
+End
+Struct HiddenAreaMesh_t
+	Field pVertexData:HmdVector2_t 'Ptr
+	Field unTriangleCount:UInt
+End
+Struct VRControllerAxis_tt
+	Field x:Float
+	Field y:Float
+End
+Struct VRControllerState_t
+	Field unPacketNum:UInt
+	Field ulButtonPressed:ULong
+	Field ulButtonTouched:ULong
+	Field rAxis:VRControllerAxis_t 'Ptr
+End
+Struct Compositor_OverlaySettings
+	Field size:UInt
+	Field curved:Bool
+	Field antialias:Bool
+	Field scale:Float
+	Field distance:Float
+	Field alpha:Float
+	Field uOffset:Float
+	Field vOffset:Float
+	Field uScale:Float
+	Field vScale:Float
+	Field gridDivs:Float
+	Field gridWidth:Float
+	Field gridScale:Float
+	Field transform:HmdMatrix44_t
+End
+Struct CameraVideoStreamFrameHeader_t
+	Field eFrameType:EVRTrackedCameraFrameType
+	Field nWidth:UInt
+	Field nHeight:UInt
+	Field nBytesPerPixel:UInt
+	Field nFrameSequence:UInt
+	Field standingTrackedDevicePose:TrackedDevicePose_t
+End
+Struct AppOverrideKeys_t
+	Field pchKey:CString 'Ptr
+	Field pchValue:CString 'Ptr
+End
+Struct Compositor_FrameTiming
+	Field m_nSize:UInt
+	Field m_nFrameIndex:UInt
+	Field m_nNumFramePresents:UInt
+	Field m_nNumMisPresented:UInt
+	Field m_nNumDroppedFrames:UInt
+	Field m_nReprojectionFlags:UInt
+	Field m_flSystemTimeInSeconds:Double
+	Field m_flPreSubmitGpuMs:Float
+	Field m_flPostSubmitGpuMs:Float
+	Field m_flTotalRenderGpuMs:Float
+	Field m_flCompositorRenderGpuMs:Float
+	Field m_flCompositorRenderCpuMs:Float
+	Field m_flCompositorIdleCpuMs:Float
+	Field m_flClientFrameIntervalMs:Float
+	Field m_flPresentCallCpuMs:Float
+	Field m_flWaitForPresentCpuMs:Float
+	Field m_flSubmitFrameMs:Float
+	Field m_flWaitGetPosesCalledMs:Float
+	Field m_flNewPosesReadyMs:Float
+	Field m_flNewFrameReadyMs:Float
+	Field m_flCompositorUpdateStartMs:Float
+	Field m_flCompositorUpdateEndMs:Float
+	Field m_flCompositorRenderStartMs:Float
+	Field m_HmdPose:TrackedDevicePose_t
+End
+Struct Compositor_CumulativeStats
+	Field m_nPid:UInt
+	Field m_nNumFramePresents:UInt
+	Field m_nNumDroppedFrames:UInt
+	Field m_nNumReprojectedFrames:UInt
+	Field m_nNumFramePresentsOnStartup:UInt
+	Field m_nNumDroppedFramesOnStartup:UInt
+	Field m_nNumReprojectedFramesOnStartup:UInt
+	Field m_nNumLoading:UInt
+	Field m_nNumFramePresentsLoading:UInt
+	Field m_nNumDroppedFramesLoading:UInt
+	Field m_nNumReprojectedFramesLoading:UInt
+	Field m_nNumTimedOut:UInt
+	Field m_nNumFramePresentsTimedOut:UInt
+	Field m_nNumDroppedFramesTimedOut:UInt
+	Field m_nNumReprojectedFramesTimedOut:UInt
+End
+Struct VROverlayIntersectionParams_t
+	Field vSource:HmdVector3_t
+	Field vDirection:HmdVector3_t
+	Field eOrigin:ETrackingUniverseOrigin
+End
+Struct VROverlayIntersectionResults_t
+	Field vPoint:HmdVector3_t
+	Field vNormal:HmdVector3_t
+	Field vUVs:HmdVector2_t
+	Field fDistance:Float
+End
+Struct IntersectionMaskRectangle_t
+	Field m_flTopLeftX:Float
+	Field m_flTopLeftY:Float
+	Field m_flWidth:Float
+	Field m_flHeight:Float
+End
+Struct IntersectionMaskCircle_t
+	Field m_flCenterX:Float
+	Field m_flCenterY:Float
+	Field m_flRadius:Float
+End
+Struct RenderModel_ComponentState_t
+	Field mTrackingToComponentRenderModel:HmdMatrix34_t
+	Field mTrackingToComponentLocal:HmdMatrix34_t
+	Field uProperties:VRComponentProperties
+End
+Struct RenderModel_Vertex_t
+	Field vPosition:HmdVector3_t
+	Field vNormal:HmdVector3_t
+	Field rfTextureCoord:Float Ptr	
+End
+Struct RenderModel_TextureMap_t
+	Field unWidth:UShort
+	Field unHeight:UShort
+	Field rubTextureMapData:Byte Ptr
+End
+Struct RenderModel_t
+	Field rVertexData:RenderModel_Vertex_t Ptr
+	Field unVertexCount:UInt
+	Field rIndexData:UShort Ptr
+	Field unTriangleCount:UInt
+	Field diffuseTextureId:TextureID_t
+End
+Struct RenderModel_ControllerMode_State_t
+	Field bScrollWheelVisible:Bool
+End
+Struct NotificationBitmap_t
+	Field m_pImageData:Void Ptr
+	Field m_nWidth:int
+	Field m_nHeight:int
+	Field m_nBytesPerPixel:int
+End
+Struct COpenVRContext
+	Field m_pVRSystem:int ptr
+	Field m_pVRChaperone:int ptr
+	Field m_pVRChaperoneSetup:int ptr
+	Field m_pVRCompositor:int ptr
+	Field m_pVROverlay:int ptr
+	Field m_pVRResources:int ptr
+	Field m_pVRRenderModels:int ptr
+	Field m_pVRExtendedDisplay:int ptr
+	Field m_pVRSettings:int ptr
+	Field m_pVRApplications:int ptr
+	Field m_pVRTrackedCamera:int ptr
+	Field m_pVRScreenshots:int ptr
+	Field m_pVRDriverManager:int ptr
+End
+Struct VREvent_Data_t
+End
+Struct VREvent_t
+	Field eventType:UInt
+	Field trackedDeviceIndex:TrackedDeviceIndex_t
+	Field eventAgeSeconds:Float
+	Field data:VREvent_Data_t
+End
+Struct VROverlayIntersectionMaskPrimitive_Data_t
+End
+Struct VROverlayIntersectionMaskPrimitive_t
+	Field m_nPrimitiveType:EVROverlayIntersectionMaskPrimitiveType
+	Field m_Primitive:VROverlayIntersectionMaskPrimitive_Data_t
+End
+Struct VR_IVRSystem_FnTable
+	Field GetRecommendedRenderTargetSize:Void( UInt Ptr, UInt Ptr )
+	Field GetProjectionMatrix:HmdMatrix44_t( EVREye, Float, Float )
+	Field GetProjectionRaw:Void( EVREye, Float Ptr, Float Ptr, Float Ptr, Float Ptr )
+	Field ComputeDistortion:Bool( EVREye, Float, Float, DistortionCoordinates_t Ptr )
+	Field GetEyeToHeadTransform:HmdMatrix34_t( EVREye )
+	Field GetTimeSinceLastVsync:Bool( Float Ptr, ULong Ptr )
+	Field GetDXGIOutputInfo:Void( int Ptr )
+	Field GetOutputDevice:Void( ULong Ptr, ETextureType, VkInstance_T Ptr )
+	Field SetDisplayVisibility:Bool( Bool )
+	Field GetDeviceToAbsoluteTrackingPose:Void( ETrackingUniverseOrigin, Float, TrackedDevicePose_t Ptr, UInt )
+	Field GetSortedTrackedDeviceIndicesOfClass:UInt( ETrackedDeviceClass, TrackedDeviceIndex_t Ptr, UInt, TrackedDeviceIndex_t )
+	Field GetTrackedDeviceActivityLevel:EDeviceActivityLevel( TrackedDeviceIndex_t )
+	Field ApplyTransform:Void( TrackedDevicePose_t Ptr, TrackedDevicePose_t Ptr, HmdMatrix34_t Ptr )
+	Field GetTrackedDeviceIndexForControllerRole:TrackedDeviceIndex_t( ETrackedControllerRole )
+	Field GetControllerRoleForTrackedDeviceIndex:ETrackedControllerRole( TrackedDeviceIndex_t )
+	Field GetTrackedDeviceClass:ETrackedDeviceClass( TrackedDeviceIndex_t )
+	Field IsTrackedDeviceConnected:Bool( TrackedDeviceIndex_t )
+	Field GetBoolTrackedDeviceProperty:Bool( TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError Ptr )
+	Field GetFloatTrackedDeviceProperty:Float( TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError Ptr )
+	Field GetInt32TrackedDeviceProperty:int( TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError Ptr )
+	Field GetUint64TrackedDeviceProperty:ULong( TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError Ptr )
+	Field GetMatrix34TrackedDeviceProperty:HmdMatrix34_t( TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError Ptr )
+	Field GetStringTrackedDeviceProperty:UInt( TrackedDeviceIndex_t, ETrackedDeviceProperty, CString, UInt, ETrackedPropertyError Ptr )
+	Field GetPropErrorNameFromEnum:CString( ETrackedPropertyError )
+	Field PollNextEvent:Bool( VREvent_t Ptr, UInt )
+	Field PollNextEventWithPose:Bool( ETrackingUniverseOrigin, VREvent_t Ptr, UInt, TrackedDevicePose_t Ptr )
+	Field GetEventTypeNameFromEnum:CString( EVREventType )
+	Field GetHiddenAreaMesh:HiddenAreaMesh_t( EVREye, EHiddenAreaMeshType )
+	Field GetControllerState:Bool( TrackedDeviceIndex_t, VRControllerState_t Ptr, UInt )
+	Field GetControllerStateWithPose:Bool( ETrackingUniverseOrigin, TrackedDeviceIndex_t, VRControllerState_t Ptr, UInt, TrackedDevicePose_t Ptr )
+	Field TriggerHapticPulse:Void( TrackedDeviceIndex_t, UInt, UShort )
+	Field GetButtonIdNameFromEnum:CString( EVRButtonId )
+	Field GetControllerAxisTypeNameFromEnum:CString( EVRControllerAxisType )
+	Field DriverDebugRequest:UInt( TrackedDeviceIndex_t, CString, CString, UInt )
+	Field PerformFirmwareUpdate:EVRFirmwareError( TrackedDeviceIndex_t )
+End
+Struct VR_IVRExtendedDisplay_FnTable
+	Field GetWindowBounds:Void( int Ptr, int Ptr, UInt Ptr, UInt Ptr )
+	Field GetEyeOutputViewport:Void( EVREye, UInt Ptr, UInt Ptr, UInt Ptr, UInt Ptr )
+	Field GetDXGIOutputInfo:Void( int Ptr, int Ptr )
+End
+Struct VR_IVRTrackedCamera_FnTable
+	Field GetCameraErrorNameFromEnum:CString( EVRTrackedCameraError )
+	Field HasCamera:EVRTrackedCameraError( TrackedDeviceIndex_t, Bool Ptr )
+	Field GetCameraFrameSize:EVRTrackedCameraError( TrackedDeviceIndex_t, EVRTrackedCameraFrameType, UInt Ptr, UInt Ptr, UInt Ptr )
+	Field GetCameraIntrinsics:EVRTrackedCameraError( TrackedDeviceIndex_t, EVRTrackedCameraFrameType, HmdVector2_t Ptr, HmdVector2_t Ptr )
+	Field GetCameraProjection:EVRTrackedCameraError( TrackedDeviceIndex_t, EVRTrackedCameraFrameType, Float, Float, HmdMatrix44_t Ptr )
+	Field AcquireVideoStreamingService:EVRTrackedCameraError( TrackedDeviceIndex_t, TrackedCameraHandle_t Ptr )
+	Field ReleaseVideoStreamingService:EVRTrackedCameraError( TrackedCameraHandle_t )
+	Field GetVideoStreamFrameBuffer:EVRTrackedCameraError( TrackedCameraHandle_t, EVRTrackedCameraFrameType, Void Ptr, UInt, CameraVideoStreamFrameHeader_t Ptr, UInt )
+	Field GetVideoStreamTextureSize:EVRTrackedCameraError( TrackedDeviceIndex_t, EVRTrackedCameraFrameType, VRTextureBounds_t Ptr, UInt Ptr, UInt Ptr )
+	Field GetVideoStreamTextureD3D11:EVRTrackedCameraError( TrackedCameraHandle_t, EVRTrackedCameraFrameType, Void Ptr, Void Ptr Ptr, CameraVideoStreamFrameHeader_t Ptr, UInt )
+	Field GetVideoStreamTextureGL:EVRTrackedCameraError( TrackedCameraHandle_t, EVRTrackedCameraFrameType, glUInt_t Ptr, CameraVideoStreamFrameHeader_t Ptr, UInt )
+	Field ReleaseVideoStreamTextureGL:EVRTrackedCameraError( TrackedCameraHandle_t, glUInt_t )
+End
+Struct VR_IVRApplications_FnTable
+	Field AddApplicationManifest:EVRApplicationError( CString, Bool )
+	Field RemoveApplicationManifest:EVRApplicationError( CString )
+	Field IsApplicationInstalled:Bool( CString )
+	Field GetApplicationKeyByIndex:EVRApplicationError( UInt, CString, UInt )
+	Field GetApplicationKeyByProcessId:EVRApplicationError( UInt, CString, UInt )
+	Field LaunchApplication:EVRApplicationError( CString )
+	Field LaunchTemplateApplication:EVRApplicationError( CString, CString, AppOverrideKeys_t Ptr, UInt )
+	Field LaunchApplicationFromMimeType:EVRApplicationError( CString, CString )
+	Field LaunchDashboardOverlay:EVRApplicationError( CString )
+	Field CancelApplicationLaunch:Bool( CString )
+	Field IdentifyApplication:EVRApplicationError( UInt, CString )
+	Field GetApplicationProcessId:UInt( CString )
+	Field GetApplicationsErrorNameFromEnum:CString( EVRApplicationError )
+	Field GetApplicationPropertyString:UInt( CString, EVRApplicationProperty, CString, UInt, EVRApplicationError Ptr )
+	Field GetApplicationPropertyBool:Bool( CString, EVRApplicationProperty, EVRApplicationError Ptr )
+	Field GetApplicationPropertyUint64:ULong( CString, EVRApplicationProperty, EVRApplicationError Ptr )
+	Field SetApplicationAutoLaunch:EVRApplicationError( CString, Bool )
+	Field GetApplicationAutoLaunch:Bool( CString )
+	Field SetDefaultApplicationForMimeType:EVRApplicationError( CString, CString )
+	Field GetDefaultApplicationForMimeType:Bool( CString, CString, UInt )
+	Field GetApplicationSupportedMimeTypes:Bool( CString, CString, UInt )
+	Field GetApplicationsThatSupportMimeType:UInt( CString, CString, UInt )
+	Field GetApplicationLaunchArguments:UInt( UInt, CString, UInt )
+	Field GetStartingApplication:EVRApplicationError( CString, UInt )
+	Field PerformApplicationPrelaunchCheck:EVRApplicationError( CString )
+	Field GetApplicationsTransitionStateNameFromEnum:CString( EVRApplicationTransitionState )
+	Field LaunchInternalProcess:EVRApplicationError( CString, CString, CString )
+End
+Struct VR_IVRChaperone_FnTable
+	Field GetPlayAreaSize:Bool( Float Ptr, Float Ptr )
+	Field GetPlayAreaRect:Bool( HmdQuad_t Ptr )
+	Field SetSceneColor:Void( HmdColor_t )
+	Field GetBoundsColor:Void( HmdColor_t Ptr, Int, Float, HmdColor_t Ptr )
+	Field ForceBoundsVisible:Void( Bool )
+End
+Struct VR_IVRChaperoneSetup_FnTable
+	Field CommitWorkingCopy:Bool( EChaperoneConfigFile )
+	Field GetWorkingPlayAreaSize:Bool( Float Ptr, Float Ptr )
+	Field GetWorkingPlayAreaRect:Bool( HmdQuad_t Ptr )
+	Field GetWorkingCollisionBoundsInfo:Bool( HmdQuad_t Ptr, UInt Ptr )
+	Field GetLiveCollisionBoundsInfo:Bool( HmdQuad_t Ptr, UInt Ptr )
+	Field GetWorkingSeatedZeroPoseToRawTrackingPose:Bool( HmdMatrix34_t Ptr )
+	Field GetWorkingStandingZeroPoseToRawTrackingPose:Bool( HmdMatrix34_t Ptr )
+	Field SetWorkingPlayAreaSize:Void( Float, Float )
+	Field SetWorkingCollisionBoundsInfo:Void( HmdQuad_t Ptr, UInt )
+	Field SetWorkingSeatedZeroPoseToRawTrackingPose:Void( HmdMatrix34_t Ptr )
+	Field SetWorkingStandingZeroPoseToRawTrackingPose:Void( HmdMatrix34_t Ptr )
+	Field ReloadFromDisk:Void( EChaperoneConfigFile )
+	Field GetLiveSeatedZeroPoseToRawTrackingPose:Bool( HmdMatrix34_t Ptr )
+	Field SetWorkingCollisionBoundsTagsInfo:Void( Byte Ptr, UInt )
+	Field GetLiveCollisionBoundsTagsInfo:Bool( Byte Ptr, UInt Ptr )
+	Field SetWorkingPhysicalBoundsInfo:Bool( HmdQuad_t Ptr, UInt )
+	Field GetLivePhysicalBoundsInfo:Bool( HmdQuad_t Ptr, UInt Ptr )
+	Field ExportLiveToBuffer:Bool( CString, UInt Ptr )
+	Field ImportFromBufferToWorking:Bool( CString, UInt )
+End
+Struct VR_IVRCompositor_FnTable
+	Field SetTrackingSpace:Void( ETrackingUniverseOrigin )
+	Field WaitGetPoses:EVRCompositorError( TrackedDevicePose_t Ptr, UInt, TrackedDevicePose_t Ptr, UInt )
+	Field GetLastPoses:EVRCompositorError( TrackedDevicePose_t Ptr, UInt, TrackedDevicePose_t Ptr, UInt )
+	Field GetLastPoseForTrackedDeviceIndex:EVRCompositorError( TrackedDeviceIndex_t, TrackedDevicePose_t Ptr, TrackedDevicePose_t Ptr )
+	Field Submit:EVRCompositorError( EVREye, Texture_t Ptr, VRTextureBounds_t Ptr, EVRSubmitFlags )
+	Field GetFrameTiming:Bool( Compositor_FrameTiming Ptr, UInt )
+	Field GetFrameTimings:UInt( Compositor_FrameTiming Ptr, UInt )
+	Field GetCumulativeStats:Void( Compositor_CumulativeStats Ptr, UInt )
+	Field FadeToColor:Void( Float, Float, Float, Float, Float, Bool )
+	Field GetCurrentFadeColor:HmdColor_t( Bool )
+	Field FadeGrid:Void( Float, Bool )
+	Field SetSkyboxOverride:EVRCompositorError( Texture_t Ptr, UInt )
+	Field ForceInterleavedReprojectionOn:Void( Bool )
+	Field SuspendRendering:Void( Bool )
+	Field GetMirrorTextureD3D11:EVRCompositorError( EVREye, Void Ptr, Void Ptr Ptr )
+	Field ReleaseMirrorTextureD3D11:Void( Void Ptr )
+	Field GetMirrorTextureGL:EVRCompositorError( EVREye, glUInt_t Ptr, glSharedTextureHandle_t Ptr )
+	Field ReleaseSharedGLTexture:Bool( glUInt_t, glSharedTextureHandle_t )
+	Field LockGLSharedTextureForAccess:Void( glSharedTextureHandle_t )
+	Field UnlockGLSharedTextureForAccess:Void( glSharedTextureHandle_t )
+	Field GetVulkanInstanceExtensionsRequired:UInt( CString, UInt )
+	Field GetVulkanDeviceExtensionsRequired:UInt( VkPhysicalDevice_T Ptr, CString, UInt )
+	Field SetExplicitTimingMode:Void( Bool )
+End
+Struct VR_IVROverlay_FnTable
+	Field FindOverlay:EVROverlayError( CString, VROverlayHandle_t Ptr )
+	Field CreateOverlay:EVROverlayError( CString, CString, VROverlayHandle_t Ptr )
+	Field DestroyOverlay:EVROverlayError( VROverlayHandle_t )
+	Field SetHighQualityOverlay:EVROverlayError( VROverlayHandle_t )
+	Field GetOverlayKey:UInt( VROverlayHandle_t, CString, UInt, EVROverlayError Ptr )
+	Field GetOverlayName:UInt( VROverlayHandle_t, CString, UInt, EVROverlayError Ptr )
+	Field SetOverlayName:EVROverlayError( VROverlayHandle_t, CString )
+	Field GetOverlayImageData:EVROverlayError( VROverlayHandle_t, Void Ptr, UInt, UInt Ptr, UInt Ptr )
+	Field GetOverlayErrorNameFromEnum:CString( EVROverlayError )
+	Field SetOverlayRenderingPid:EVROverlayError( VROverlayHandle_t, UInt )
+	Field GetOverlayRenderingPid:UInt( VROverlayHandle_t )
+	Field SetOverlayFlag:EVROverlayError( VROverlayHandle_t, VROverlayFlags, Bool )
+	Field GetOverlayFlag:EVROverlayError( VROverlayHandle_t, VROverlayFlags, Bool Ptr )
+	Field SetOverlayColor:EVROverlayError( VROverlayHandle_t, Float, Float, Float )
+	Field GetOverlayColor:EVROverlayError( VROverlayHandle_t, Float Ptr, Float Ptr, Float Ptr )
+	Field SetOverlayAlpha:EVROverlayError( VROverlayHandle_t, Float )
+	Field GetOverlayAlpha:EVROverlayError( VROverlayHandle_t, Float Ptr )
+	Field SetOverlayTexelAspect:EVROverlayError( VROverlayHandle_t, Float )
+	Field GetOverlayTexelAspect:EVROverlayError( VROverlayHandle_t, Float Ptr )
+	Field SetOverlaySortOrder:EVROverlayError( VROverlayHandle_t, UInt )
+	Field GetOverlaySortOrder:EVROverlayError( VROverlayHandle_t, UInt Ptr )
+	Field SetOverlayWidthInMeters:EVROverlayError( VROverlayHandle_t, Float )
+	Field GetOverlayWidthInMeters:EVROverlayError( VROverlayHandle_t, Float Ptr )
+	Field SetOverlayAutoCurveDistanceRangeInMeters:EVROverlayError( VROverlayHandle_t, Float, Float )
+	Field GetOverlayAutoCurveDistanceRangeInMeters:EVROverlayError( VROverlayHandle_t, Float Ptr, Float Ptr )
+	Field SetOverlayTextureColorSpace:EVROverlayError( VROverlayHandle_t, EColorSpace )
+	Field GetOverlayTextureColorSpace:EVROverlayError( VROverlayHandle_t, EColorSpace Ptr )
+	Field SetOverlayTextureBounds:EVROverlayError( VROverlayHandle_t, VRTextureBounds_t Ptr )
+	Field GetOverlayTextureBounds:EVROverlayError( VROverlayHandle_t, VRTextureBounds_t Ptr )
+	Field GetOverlayRenderModel:UInt( VROverlayHandle_t, CString, UInt, HmdColor_t Ptr, EVROverlayError Ptr )
+	Field SetOverlayRenderModel:EVROverlayError( VROverlayHandle_t, CString, HmdColor_t Ptr )
+	Field GetOverlayTransformType:EVROverlayError( VROverlayHandle_t, VROverlayTransformType Ptr )
+	Field SetOverlayTransformAbsolute:EVROverlayError( VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t Ptr )
+	Field GetOverlayTransformAbsolute:EVROverlayError( VROverlayHandle_t, ETrackingUniverseOrigin Ptr, HmdMatrix34_t Ptr )
+	Field SetOverlayTransformTrackedDeviceRelative:EVROverlayError( VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t Ptr )
+	Field GetOverlayTransformTrackedDeviceRelative:EVROverlayError( VROverlayHandle_t, TrackedDeviceIndex_t Ptr, HmdMatrix34_t Ptr )
+	Field SetOverlayTransformTrackedDeviceComponent:EVROverlayError( VROverlayHandle_t, TrackedDeviceIndex_t, CString )
+	Field GetOverlayTransformTrackedDeviceComponent:EVROverlayError( VROverlayHandle_t, TrackedDeviceIndex_t Ptr, CString, UInt )
+	Field GetOverlayTransformOverlayRelative:EVROverlayError( VROverlayHandle_t, VROverlayHandle_t Ptr, HmdMatrix34_t Ptr )
+	Field SetOverlayTransformOverlayRelative:EVROverlayError( VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t Ptr )
+	Field ShowOverlay:EVROverlayError( VROverlayHandle_t )
+	Field HideOverlay:EVROverlayError( VROverlayHandle_t )
+	Field IsOverlayVisible:Bool( VROverlayHandle_t )
+	Field GetTransformForOverlayCoordinates:EVROverlayError( VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t Ptr )
+	Field PollNextOverlayEvent:Bool( VROverlayHandle_t, VREvent_t Ptr, UInt )
+	Field GetOverlayInputMethod:EVROverlayError( VROverlayHandle_t, VROverlayInputMethod Ptr )
+	Field SetOverlayInputMethod:EVROverlayError( VROverlayHandle_t, VROverlayInputMethod )
+	Field GetOverlayMouseScale:EVROverlayError( VROverlayHandle_t, HmdVector2_t Ptr )
+	Field SetOverlayMouseScale:EVROverlayError( VROverlayHandle_t, HmdVector2_t Ptr )
+	Field ComputeOverlayIntersection:Bool( VROverlayHandle_t, VROverlayIntersectionParams_t Ptr, VROverlayIntersectionResults_t Ptr )
+	Field HandleControllerOverlayInteractionAsMouse:Bool( VROverlayHandle_t, TrackedDeviceIndex_t )
+	Field IsHoverTargetOverlay:Bool( VROverlayHandle_t )
+	Field SetGamepadFocusOverlay:EVROverlayError( VROverlayHandle_t )
+	Field SetOverlayNeighbor:EVROverlayError( EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t )
+	Field MoveGamepadFocusToNeighbor:EVROverlayError( EOverlayDirection, VROverlayHandle_t )
+	Field SetOverlayTexture:EVROverlayError( VROverlayHandle_t, Texture_t Ptr )
+	Field ClearOverlayTexture:EVROverlayError( VROverlayHandle_t )
+	Field SetOverlayRaw:EVROverlayError( VROverlayHandle_t, Void Ptr, UInt, UInt, UInt )
+	Field SetOverlayFromFile:EVROverlayError( VROverlayHandle_t, CString )
+	Field GetOverlayTexture:EVROverlayError( VROverlayHandle_t, Void Ptr Ptr, Void Ptr, UInt Ptr, UInt Ptr, UInt Ptr, ETextureType Ptr, EColorSpace Ptr, VRTextureBounds_t Ptr )
+	Field ReleaseNativeOverlayHandle:EVROverlayError( VROverlayHandle_t, Void Ptr )
+	Field GetOverlayTextureSize:EVROverlayError( VROverlayHandle_t, UInt Ptr, UInt Ptr )
+	Field CreateDashboardOverlay:EVROverlayError( CString, CString, VROverlayHandle_t Ptr, VROverlayHandle_t Ptr )
+	Field IsActiveDashboardOverlay:Bool( VROverlayHandle_t )
+	Field SetDashboardOverlaySceneProcess:EVROverlayError( VROverlayHandle_t, UInt )
+	Field GetDashboardOverlaySceneProcess:EVROverlayError( VROverlayHandle_t, UInt Ptr )
+	Field ShowDashboard:Void( CString )
+	Field ShowKeyboard:EVROverlayError( EGamepadTextInputMode, EGamepadTextInputLineMode, CString, UInt, CString, Bool, ULong )
+	Field ShowKeyboardForOverlay:EVROverlayError( VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, CString, UInt, CString, Bool, ULong )
+	Field GetKeyboardText:UInt( CString, UInt )
+	Field SetKeyboardTransformAbsolute:Void( ETrackingUniverseOrigin, HmdMatrix34_t Ptr )
+	Field SetKeyboardPositionForOverlay:Void( VROverlayHandle_t, HmdRect2_t )
+	Field SetOverlayIntersectionMask:EVROverlayError( VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t Ptr, UInt, UInt )
+	Field GetOverlayFlags:EVROverlayError( VROverlayHandle_t, UInt Ptr )
+	Field ShowMessageOverlay:VRMessageOverlayResponse( CString, CString, CString, CString, CString, CString )
+End
+Struct VR_IVRRenderModels_FnTable
+	Field LoadRenderModel_Async:EVRRenderModelError( CString, RenderModel_t Ptr Ptr )
+	Field FreeRenderModel:Void( RenderModel_t Ptr )
+	Field LoadTexture_Async:EVRRenderModelError( TextureID_t, RenderModel_TextureMap_t Ptr Ptr )
+	Field FreeTexture:Void( RenderModel_TextureMap_t Ptr )
+	Field LoadTextureD3D11_Async:EVRRenderModelError( TextureID_t, Void Ptr, Void Ptr Ptr )
+	Field LoadIntoTextureD3D11_Async:EVRRenderModelError( TextureID_t, Void Ptr )
+	Field FreeTextureD3D11:Void( Void Ptr )
+	Field GetRenderModelName:UInt( UInt, CString, UInt )
+	Field GetComponentCount:UInt( CString )
+	Field GetComponentName:UInt( CString, UInt, CString, UInt )
+	Field GetComponentButtonMask:ULong( CString, CString )
+	Field GetComponentRenderModelName:UInt( CString, CString, CString, UInt )
+	Field GetComponentState:Bool( CString, CString, VRControllerState_t Ptr, RenderModel_ControllerMode_State_t Ptr, RenderModel_ComponentState_t Ptr )
+	Field RenderModelHasComponent:Bool( CString, CString )
+	Field GetRenderModelThumbnailURL:UInt( CString, CString, UInt, EVRRenderModelError Ptr )
+	Field GetRenderModelOriginalPath:UInt( CString, CString, UInt, EVRRenderModelError Ptr )
+	Field GetRenderModelErrorNameFromEnum:CString( EVRRenderModelError )
+End
+Struct VR_IVRNotifications_FnTable
+	Field CreateNotification:EVRNotificationError( VROverlayHandle_t, ULong, EVRNotificationType, CString, EVRNotificationStyle, NotificationBitmap_t Ptr, VRNotificationId Ptr )
+	Field RemoveNotification:EVRNotificationError( VRNotificationId )
+End
+Struct VR_IVRSettings_FnTable
+	Field GetSettingsErrorNameFromEnum:CString( EVRSettingsError )
+	Field Sync:Bool( Bool, EVRSettingsError Ptr )
+	Field SetBool:Void( CString, CString, Bool, EVRSettingsError Ptr )
+	Field SetInt32:Void( CString, CString, int, EVRSettingsError Ptr )
+	Field SetFloat:Void( CString, CString, Float, EVRSettingsError Ptr )
+	Field SetString:Void( CString, CString, CString, EVRSettingsError Ptr )
+	Field GetBool:Bool( CString, CString, EVRSettingsError Ptr )
+	Field GetInt32:int( CString, CString, EVRSettingsError Ptr )
+	Field GetFloat:Float( CString, CString, EVRSettingsError Ptr )
+	Field GetString:Void( CString, CString, CString, UInt, EVRSettingsError Ptr )
+	Field RemoveSection:Void( CString, EVRSettingsError Ptr )
+	Field RemoveKeyInSection:Void( CString, CString, EVRSettingsError Ptr )
+End
+Struct VR_IVRScreenshots_FnTable
+	Field RequestScreenshot:EVRScreenshotError( ScreenshotHandle_t Ptr, EVRScreenshotType, CString, CString )
+	Field HookScreenshot:EVRScreenshotError( EVRScreenshotType Ptr, Int )
+	Field GetScreenshotPropertyType:EVRScreenshotType( ScreenshotHandle_t, EVRScreenshotError Ptr )
+	Field GetScreenshotPropertyFilename:UInt( ScreenshotHandle_t, EVRScreenshotPropertyFilenames, CString, UInt, EVRScreenshotError Ptr )
+	Field UpdateScreenshotProgress:EVRScreenshotError( ScreenshotHandle_t, Float )
+	Field TakeStereoScreenshot:EVRScreenshotError( ScreenshotHandle_t Ptr, CString, CString )
+	Field SubmitScreenshot:EVRScreenshotError( ScreenshotHandle_t, EVRScreenshotType, CString, CString )
+End
+Struct VR_IVRResources_FnTable
+	Field LoadSharedResource:UInt( CString, CString, UInt )
+	Field GetResourceFullPath:UInt( CString, CString, CString, UInt )
+End
+Struct VR_IVRDriverManager_FnTable
+	Field GetDriverName:UInt( DriverId_t, CString, UInt )
+End
+
+'***** Extern Structs *****
+

+ 23 - 0
modules/mojo3d-vr/openvr/openvr-sdk/glue.h

@@ -0,0 +1,23 @@
+
+#if 0 //_MSC_VER
+
+#include <openvr.h>
+
+#else
+//
+// This address an issue with differences between the msvc/mingw abis when returning structs.
+//
+// See:
+//
+// https://github.com/ValveSoftware/openvr/issues/133
+//
+// Looks like the GCC guys don't quite get it yet, still think it's caller/callee popping issue:
+//
+// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64384
+
+#include <openvr_mingw.h>
+
+#endif
+
+
+using namespace vr;

+ 3932 - 0
modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr.h

@@ -0,0 +1,3932 @@
+#pragma once
+
+// openvr.h
+//========= Copyright Valve Corporation ============//
+// Dynamically generated file. Do not modify this file directly.
+
+#ifndef _OPENVR_API
+#define _OPENVR_API
+
+#include <stdint.h>
+
+
+
+// vrtypes.h
+#ifndef _INCLUDE_VRTYPES_H
+#define _INCLUDE_VRTYPES_H
+
+// Forward declarations to avoid requiring vulkan.h
+struct VkDevice_T;
+struct VkPhysicalDevice_T;
+struct VkInstance_T;
+struct VkQueue_T;
+
+// Forward declarations to avoid requiring d3d12.h
+struct ID3D12Resource;
+struct ID3D12CommandQueue;
+
+namespace vr
+{
+#pragma pack( push, 8 )
+
+typedef void* glSharedTextureHandle_t;
+typedef int32_t glInt_t;
+typedef uint32_t glUInt_t;
+
+// right-handed system
+// +y is up
+// +x is to the right
+// -z is forward
+// Distance unit is  meters
+struct HmdMatrix34_t
+{
+	float m[3][4];
+};
+
+struct HmdMatrix44_t
+{
+	float m[4][4];
+};
+
+struct HmdVector3_t
+{
+	float v[3];
+};
+
+struct HmdVector4_t
+{
+	float v[4];
+};
+
+struct HmdVector3d_t
+{
+	double v[3];
+};
+
+struct HmdVector2_t
+{
+	float v[2];
+};
+
+struct HmdQuaternion_t
+{
+	double w, x, y, z;
+};
+
+struct HmdColor_t
+{
+	float r, g, b, a;
+};
+
+struct HmdQuad_t
+{
+	HmdVector3_t vCorners[ 4 ];
+};
+
+struct HmdRect2_t
+{
+	HmdVector2_t vTopLeft;
+	HmdVector2_t vBottomRight;
+};
+
+/** Used to return the post-distortion UVs for each color channel. 
+* UVs range from 0 to 1 with 0,0 in the upper left corner of the 
+* source render target. The 0,0 to 1,1 range covers a single eye. */
+struct DistortionCoordinates_t
+{
+	float rfRed[2];
+	float rfGreen[2];
+	float rfBlue[2];
+};
+
+enum EVREye
+{
+	Eye_Left = 0,
+	Eye_Right = 1
+};
+
+enum ETextureType
+{
+	TextureType_DirectX = 0, // Handle is an ID3D11Texture
+	TextureType_OpenGL = 1,  // Handle is an OpenGL texture name or an OpenGL render buffer name, depending on submit flags
+	TextureType_Vulkan = 2, // Handle is a pointer to a VRVulkanTextureData_t structure
+	TextureType_IOSurface = 3, // Handle is a macOS cross-process-sharable IOSurfaceRef
+	TextureType_DirectX12 = 4, // Handle is a pointer to a D3D12TextureData_t structure
+};
+
+enum EColorSpace
+{
+	ColorSpace_Auto = 0,	// Assumes 'gamma' for 8-bit per component formats, otherwise 'linear'.  This mirrors the DXGI formats which have _SRGB variants.
+	ColorSpace_Gamma = 1,	// Texture data can be displayed directly on the display without any conversion (a.k.a. display native format).
+	ColorSpace_Linear = 2,	// Same as gamma but has been converted to a linear representation using DXGI's sRGB conversion algorithm.
+};
+
+struct Texture_t
+{
+	void* handle; // See ETextureType definition above
+	ETextureType eType;
+	EColorSpace eColorSpace;
+};
+
+// Handle to a shared texture (HANDLE on Windows obtained using OpenSharedResource).
+typedef uint64_t SharedTextureHandle_t;
+#define INVALID_SHARED_TEXTURE_HANDLE	((vr::SharedTextureHandle_t)0)
+
+enum ETrackingResult
+{
+	TrackingResult_Uninitialized			= 1,
+
+	TrackingResult_Calibrating_InProgress	= 100,
+	TrackingResult_Calibrating_OutOfRange	= 101,
+
+	TrackingResult_Running_OK				= 200,
+	TrackingResult_Running_OutOfRange		= 201,
+};
+
+typedef uint32_t DriverId_t;
+static const uint32_t k_nDriverNone = 0xFFFFFFFF;
+
+static const uint32_t k_unMaxDriverDebugResponseSize = 32768;
+
+/** Used to pass device IDs to API calls */
+typedef uint32_t TrackedDeviceIndex_t;
+static const uint32_t k_unTrackedDeviceIndex_Hmd = 0;
+static const uint32_t k_unMaxTrackedDeviceCount = 64;
+static const uint32_t k_unTrackedDeviceIndexOther = 0xFFFFFFFE;
+static const uint32_t k_unTrackedDeviceIndexInvalid = 0xFFFFFFFF;
+
+/** Describes what kind of object is being tracked at a given ID */
+enum ETrackedDeviceClass
+{
+	TrackedDeviceClass_Invalid = 0,				// the ID was not valid.
+	TrackedDeviceClass_HMD = 1,					// Head-Mounted Displays
+	TrackedDeviceClass_Controller = 2,			// Tracked controllers
+	TrackedDeviceClass_GenericTracker = 3,		// Generic trackers, similar to controllers
+	TrackedDeviceClass_TrackingReference = 4,	// Camera and base stations that serve as tracking reference points
+	TrackedDeviceClass_DisplayRedirect = 5,		// Accessories that aren't necessarily tracked themselves, but may redirect video output from other tracked devices
+};
+
+
+/** Describes what specific role associated with a tracked device */
+enum ETrackedControllerRole
+{
+	TrackedControllerRole_Invalid = 0,					// Invalid value for controller type
+	TrackedControllerRole_LeftHand = 1,					// Tracked device associated with the left hand
+	TrackedControllerRole_RightHand = 2,				// Tracked device associated with the right hand
+};
+
+
+/** describes a single pose for a tracked object */
+struct TrackedDevicePose_t
+{
+	HmdMatrix34_t mDeviceToAbsoluteTracking;
+	HmdVector3_t vVelocity;				// velocity in tracker space in m/s
+	HmdVector3_t vAngularVelocity;		// angular velocity in radians/s (?)
+	ETrackingResult eTrackingResult;
+	bool bPoseIsValid;
+
+	// This indicates that there is a device connected for this spot in the pose array.
+	// It could go from true to false if the user unplugs the device.
+	bool bDeviceIsConnected;
+};
+
+/** Identifies which style of tracking origin the application wants to use
+* for the poses it is requesting */
+enum ETrackingUniverseOrigin
+{
+	TrackingUniverseSeated = 0,		// Poses are provided relative to the seated zero pose
+	TrackingUniverseStanding = 1,	// Poses are provided relative to the safe bounds configured by the user
+	TrackingUniverseRawAndUncalibrated = 2,	// Poses are provided in the coordinate system defined by the driver.  It has Y up and is unified for devices of the same driver. You usually don't want this one.
+};
+
+// Refers to a single container of properties
+typedef uint64_t PropertyContainerHandle_t;
+typedef uint32_t PropertyTypeTag_t;
+
+static const PropertyContainerHandle_t k_ulInvalidPropertyContainer = 0;
+static const PropertyTypeTag_t k_unInvalidPropertyTag = 0;
+
+// Use these tags to set/get common types as struct properties
+static const PropertyTypeTag_t k_unFloatPropertyTag = 1;
+static const PropertyTypeTag_t k_unInt32PropertyTag = 2;
+static const PropertyTypeTag_t k_unUint64PropertyTag = 3;
+static const PropertyTypeTag_t k_unBoolPropertyTag = 4;
+static const PropertyTypeTag_t k_unStringPropertyTag = 5;
+
+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_unHiddenAreaPropertyTag = 30;
+static const PropertyTypeTag_t k_unPathHandleInfoTag = 31;
+static const PropertyTypeTag_t k_unActionPropertyTag = 32;
+static const PropertyTypeTag_t k_unInputValuePropertyTag = 33;
+static const PropertyTypeTag_t k_unWildcardPropertyTag = 34;
+static const PropertyTypeTag_t k_unHapticVibrationPropertyTag = 35;
+
+static const PropertyTypeTag_t k_unOpenVRInternalReserved_Start = 1000;
+static const PropertyTypeTag_t k_unOpenVRInternalReserved_End = 10000;
+
+
+/** Each entry in this enum represents a property that can be retrieved about a
+* tracked device. Many fields are only valid for one ETrackedDeviceClass. */
+enum ETrackedDeviceProperty
+{
+	Prop_Invalid								= 0,
+
+	// general properties that apply to all device classes
+	Prop_TrackingSystemName_String				= 1000,
+	Prop_ModelNumber_String						= 1001,
+	Prop_SerialNumber_String					= 1002,
+	Prop_RenderModelName_String					= 1003,
+	Prop_WillDriftInYaw_Bool					= 1004,
+	Prop_ManufacturerName_String				= 1005,
+	Prop_TrackingFirmwareVersion_String			= 1006,
+	Prop_HardwareRevision_String				= 1007,
+	Prop_AllWirelessDongleDescriptions_String	= 1008,
+	Prop_ConnectedWirelessDongle_String			= 1009,
+	Prop_DeviceIsWireless_Bool					= 1010,
+	Prop_DeviceIsCharging_Bool					= 1011,
+	Prop_DeviceBatteryPercentage_Float			= 1012, // 0 is empty, 1 is full
+	Prop_StatusDisplayTransform_Matrix34		= 1013,
+	Prop_Firmware_UpdateAvailable_Bool			= 1014,
+	Prop_Firmware_ManualUpdate_Bool				= 1015,
+	Prop_Firmware_ManualUpdateURL_String		= 1016,
+	Prop_HardwareRevision_Uint64				= 1017,
+	Prop_FirmwareVersion_Uint64					= 1018,
+	Prop_FPGAVersion_Uint64						= 1019,
+	Prop_VRCVersion_Uint64						= 1020,
+	Prop_RadioVersion_Uint64					= 1021,
+	Prop_DongleVersion_Uint64					= 1022,
+	Prop_BlockServerShutdown_Bool				= 1023,
+	Prop_CanUnifyCoordinateSystemWithHmd_Bool	= 1024,
+	Prop_ContainsProximitySensor_Bool			= 1025,
+	Prop_DeviceProvidesBatteryStatus_Bool		= 1026,
+	Prop_DeviceCanPowerOff_Bool					= 1027,
+	Prop_Firmware_ProgrammingTarget_String		= 1028,
+	Prop_DeviceClass_Int32						= 1029,
+	Prop_HasCamera_Bool							= 1030,
+	Prop_DriverVersion_String                   = 1031,
+	Prop_Firmware_ForceUpdateRequired_Bool      = 1032,
+	Prop_ViveSystemButtonFixRequired_Bool		= 1033,
+	Prop_ParentDriver_Uint64					= 1034,
+	Prop_ResourceRoot_String					= 1035,
+	Prop_RegisteredDeviceType_String			= 1036,
+	Prop_InputProfilePath_String				= 1037, // input profile to use for this device in the input system. Will default to tracking system name if this isn't provided
+
+	// Properties that are unique to TrackedDeviceClass_HMD
+	Prop_ReportsTimeSinceVSync_Bool				= 2000,
+	Prop_SecondsFromVsyncToPhotons_Float		= 2001,
+	Prop_DisplayFrequency_Float					= 2002,
+	Prop_UserIpdMeters_Float					= 2003,
+	Prop_CurrentUniverseId_Uint64				= 2004, 
+	Prop_PreviousUniverseId_Uint64				= 2005, 
+	Prop_DisplayFirmwareVersion_Uint64			= 2006,
+	Prop_IsOnDesktop_Bool						= 2007,
+	Prop_DisplayMCType_Int32					= 2008,
+	Prop_DisplayMCOffset_Float					= 2009,
+	Prop_DisplayMCScale_Float					= 2010,
+	Prop_EdidVendorID_Int32						= 2011,
+	Prop_DisplayMCImageLeft_String              = 2012,
+	Prop_DisplayMCImageRight_String             = 2013,
+	Prop_DisplayGCBlackClamp_Float				= 2014,
+	Prop_EdidProductID_Int32					= 2015,
+	Prop_CameraToHeadTransform_Matrix34			= 2016,
+	Prop_DisplayGCType_Int32					= 2017,
+	Prop_DisplayGCOffset_Float					= 2018,
+	Prop_DisplayGCScale_Float					= 2019,
+	Prop_DisplayGCPrescale_Float				= 2020,
+	Prop_DisplayGCImage_String					= 2021,
+	Prop_LensCenterLeftU_Float					= 2022,
+	Prop_LensCenterLeftV_Float					= 2023,
+	Prop_LensCenterRightU_Float					= 2024,
+	Prop_LensCenterRightV_Float					= 2025,
+	Prop_UserHeadToEyeDepthMeters_Float			= 2026,
+	Prop_CameraFirmwareVersion_Uint64			= 2027,
+	Prop_CameraFirmwareDescription_String		= 2028,
+	Prop_DisplayFPGAVersion_Uint64				= 2029,
+	Prop_DisplayBootloaderVersion_Uint64		= 2030,
+	Prop_DisplayHardwareVersion_Uint64			= 2031,
+	Prop_AudioFirmwareVersion_Uint64			= 2032,
+	Prop_CameraCompatibilityMode_Int32			= 2033,
+	Prop_ScreenshotHorizontalFieldOfViewDegrees_Float = 2034,
+	Prop_ScreenshotVerticalFieldOfViewDegrees_Float = 2035,
+	Prop_DisplaySuppressed_Bool					= 2036,
+	Prop_DisplayAllowNightMode_Bool				= 2037,
+	Prop_DisplayMCImageWidth_Int32				= 2038,
+	Prop_DisplayMCImageHeight_Int32				= 2039,
+	Prop_DisplayMCImageNumChannels_Int32		= 2040,
+	Prop_DisplayMCImageData_Binary				= 2041,
+	Prop_SecondsFromPhotonsToVblank_Float		= 2042,
+	Prop_DriverDirectModeSendsVsyncEvents_Bool	= 2043,
+	Prop_DisplayDebugMode_Bool					= 2044,
+	Prop_GraphicsAdapterLuid_Uint64				= 2045,
+	Prop_DriverProvidedChaperonePath_String		= 2048,
+	Prop_ExpectedTrackingReferenceCount_Int32	= 2049, // expected number of sensors or basestations to reserve UI space for
+	Prop_ExpectedControllerCount_Int32			= 2050, // expected number of tracked controllers to reserve UI space for
+	Prop_NamedIconPathControllerLeftDeviceOff_String	= 2051, // placeholder icon for "left" controller if not yet detected/loaded
+	Prop_NamedIconPathControllerRightDeviceOff_String	= 2052, // placeholder icon for "right" controller if not yet detected/loaded
+	Prop_NamedIconPathTrackingReferenceDeviceOff_String	= 2053, // placeholder icon for sensor/base if not yet detected/loaded
+	Prop_DoNotApplyPrediction_Bool				= 2054,
+	Prop_CameraToHeadTransforms_Matrix34_Array	= 2055,
+	Prop_DriverIsDrawingControllers_Bool		= 2057,
+	Prop_DriverRequestsApplicationPause_Bool	= 2058,
+	Prop_DriverRequestsReducedRendering_Bool	= 2059,
+
+	// Properties that are unique to TrackedDeviceClass_Controller
+	Prop_AttachedDeviceId_String				= 3000,
+	Prop_SupportedButtons_Uint64				= 3001,
+	Prop_Axis0Type_Int32						= 3002, // Return value is of type EVRControllerAxisType
+	Prop_Axis1Type_Int32						= 3003, // Return value is of type EVRControllerAxisType
+	Prop_Axis2Type_Int32						= 3004, // Return value is of type EVRControllerAxisType
+	Prop_Axis3Type_Int32						= 3005, // Return value is of type EVRControllerAxisType
+	Prop_Axis4Type_Int32						= 3006, // Return value is of type EVRControllerAxisType
+	Prop_ControllerRoleHint_Int32				= 3007, // Return value is of type ETrackedControllerRole
+
+	// Properties that are unique to TrackedDeviceClass_TrackingReference
+	Prop_FieldOfViewLeftDegrees_Float			= 4000,
+	Prop_FieldOfViewRightDegrees_Float			= 4001,
+	Prop_FieldOfViewTopDegrees_Float			= 4002,
+	Prop_FieldOfViewBottomDegrees_Float			= 4003,
+	Prop_TrackingRangeMinimumMeters_Float		= 4004,
+	Prop_TrackingRangeMaximumMeters_Float		= 4005,
+	Prop_ModeLabel_String						= 4006,
+
+	// Properties that are used for user interface like icons names
+	Prop_IconPathName_String						= 5000, // DEPRECATED. Value not referenced. Now expected to be part of icon path properties.
+	Prop_NamedIconPathDeviceOff_String				= 5001, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceSearching_String		= 5002, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceSearchingAlert_String	= 5003, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceReady_String			= 5004, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceReadyAlert_String		= 5005, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceNotReady_String			= 5006, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceStandby_String			= 5007, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceAlertLow_String			= 5008, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+
+	// Properties that are used by helpers, but are opaque to applications
+	Prop_DisplayHiddenArea_Binary_Start				= 5100,
+	Prop_DisplayHiddenArea_Binary_End				= 5150,
+	Prop_ParentContainer							= 5151,
+
+	// Properties that are unique to drivers
+	Prop_UserConfigPath_String					= 6000,
+	Prop_InstallPath_String						= 6001,
+	Prop_HasDisplayComponent_Bool				= 6002,
+	Prop_HasControllerComponent_Bool			= 6003,
+	Prop_HasCameraComponent_Bool				= 6004,
+	Prop_HasDriverDirectModeComponent_Bool		= 6005,
+	Prop_HasVirtualDisplayComponent_Bool		= 6006,
+
+	// Properties that are set internally based on other information provided by drivers
+	Prop_ControllerType_String					= 7000,
+	Prop_LegacyInputProfile_String				= 7001,
+
+	// Vendors are free to expose private debug data in this reserved region
+	Prop_VendorSpecific_Reserved_Start			= 10000,
+	Prop_VendorSpecific_Reserved_End			= 10999,
+	
+	Prop_TrackedDeviceProperty_Max				= 1000000,
+};
+
+/** No string property will ever be longer than this length */
+static const uint32_t k_unMaxPropertyStringSize = 32 * 1024;
+
+/** Used to return errors that occur when reading properties. */
+enum ETrackedPropertyError
+{
+	TrackedProp_Success						= 0,
+	TrackedProp_WrongDataType				= 1,
+	TrackedProp_WrongDeviceClass			= 2,
+	TrackedProp_BufferTooSmall				= 3,
+	TrackedProp_UnknownProperty				= 4, // Driver has not set the property (and may not ever).
+	TrackedProp_InvalidDevice				= 5,
+	TrackedProp_CouldNotContactServer		= 6,
+	TrackedProp_ValueNotProvidedByDevice	= 7,
+	TrackedProp_StringExceedsMaximumLength	= 8,
+	TrackedProp_NotYetAvailable				= 9, // The property value isn't known yet, but is expected soon. Call again later.
+	TrackedProp_PermissionDenied			= 10,
+	TrackedProp_InvalidOperation			= 11,
+	TrackedProp_CannotWriteToWildcards		= 12,
+};
+
+/** Allows the application to control what part of the provided texture will be used in the
+* frame buffer. */
+struct VRTextureBounds_t
+{
+	float uMin, vMin;
+	float uMax, vMax;
+};
+
+/** Allows specifying pose used to render provided scene texture (if different from value returned by WaitGetPoses). */
+struct VRTextureWithPose_t : public Texture_t
+{
+	HmdMatrix34_t mDeviceToAbsoluteTracking; // Actual pose used to render scene textures.
+};
+
+struct VRTextureDepthInfo_t
+{
+	void* handle; // See ETextureType definition above
+	HmdMatrix44_t mProjection;
+	HmdVector2_t vRange; // 0..1
+};
+
+struct VRTextureWithDepth_t : public Texture_t
+{
+	VRTextureDepthInfo_t depth;
+};
+
+struct VRTextureWithPoseAndDepth_t : public VRTextureWithPose_t
+{
+	VRTextureDepthInfo_t depth;
+};
+
+/** Allows the application to control how scene textures are used by the compositor when calling Submit. */
+enum EVRSubmitFlags
+{
+	// Simple render path. App submits rendered left and right eye images with no lens distortion correction applied.
+	Submit_Default = 0x00,
+
+	// App submits final left and right eye images with lens distortion already applied (lens distortion makes the images appear
+	// barrel distorted with chromatic aberration correction applied). The app would have used the data returned by
+	// vr::IVRSystem::ComputeDistortion() to apply the correct distortion to the rendered images before calling Submit().
+	Submit_LensDistortionAlreadyApplied = 0x01,
+
+	// If the texture pointer passed in is actually a renderbuffer (e.g. for MSAA in OpenGL) then set this flag.
+	Submit_GlRenderBuffer = 0x02,
+
+	// Do not use
+	Submit_Reserved = 0x04,
+
+	// Set to indicate that pTexture is a pointer to a VRTextureWithPose_t.
+	// This flag can be combined with Submit_TextureWithDepth to pass a VRTextureWithPoseAndDepth_t.
+	Submit_TextureWithPose = 0x08,
+
+	// Set to indicate that pTexture is a pointer to a VRTextureWithDepth_t.
+	// This flag can be combined with Submit_TextureWithPose to pass a VRTextureWithPoseAndDepth_t.
+	Submit_TextureWithDepth = 0x10,
+};
+
+/** Data required for passing Vulkan textures to IVRCompositor::Submit.
+* Be sure to call OpenVR_Shutdown before destroying these resources. */
+struct VRVulkanTextureData_t
+{
+	uint64_t m_nImage; // VkImage
+	VkDevice_T *m_pDevice;
+	VkPhysicalDevice_T *m_pPhysicalDevice;
+	VkInstance_T *m_pInstance;
+	VkQueue_T *m_pQueue;
+	uint32_t m_nQueueFamilyIndex;
+	uint32_t m_nWidth, m_nHeight, m_nFormat, m_nSampleCount;
+};
+
+/** Data required for passing D3D12 textures to IVRCompositor::Submit.
+* Be sure to call OpenVR_Shutdown before destroying these resources. */
+struct D3D12TextureData_t
+{
+	ID3D12Resource *m_pResource;
+	ID3D12CommandQueue *m_pCommandQueue;
+	uint32_t m_nNodeMask;
+};
+
+/** Status of the overall system or tracked objects */
+enum EVRState
+{
+	VRState_Undefined = -1,
+	VRState_Off = 0,
+	VRState_Searching = 1,
+	VRState_Searching_Alert = 2,
+	VRState_Ready = 3,
+	VRState_Ready_Alert = 4,
+	VRState_NotReady = 5,
+	VRState_Standby = 6,
+	VRState_Ready_Alert_Low = 7,
+};
+
+/** The types of events that could be posted (and what the parameters mean for each event type) */
+enum EVREventType
+{
+	VREvent_None = 0,
+
+	VREvent_TrackedDeviceActivated		= 100,
+	VREvent_TrackedDeviceDeactivated	= 101,
+	VREvent_TrackedDeviceUpdated		= 102,
+	VREvent_TrackedDeviceUserInteractionStarted	= 103,
+	VREvent_TrackedDeviceUserInteractionEnded	= 104,
+	VREvent_IpdChanged					= 105,
+	VREvent_EnterStandbyMode			= 106,
+	VREvent_LeaveStandbyMode			= 107,
+	VREvent_TrackedDeviceRoleChanged	= 108,
+	VREvent_WatchdogWakeUpRequested		= 109,
+	VREvent_LensDistortionChanged		= 110,
+	VREvent_PropertyChanged				= 111,
+	VREvent_WirelessDisconnect			= 112,
+	VREvent_WirelessReconnect			= 113,
+
+	VREvent_ButtonPress					= 200, // data is controller
+	VREvent_ButtonUnpress				= 201, // data is controller
+	VREvent_ButtonTouch					= 202, // data is controller
+	VREvent_ButtonUntouch				= 203, // data is controller
+
+	VREvent_DualAnalog_Press			= 250, // data is dualAnalog
+	VREvent_DualAnalog_Unpress			= 251, // data is dualAnalog
+	VREvent_DualAnalog_Touch			= 252, // data is dualAnalog
+	VREvent_DualAnalog_Untouch			= 253, // data is dualAnalog
+	VREvent_DualAnalog_Move				= 254, // data is dualAnalog
+	VREvent_DualAnalog_ModeSwitch1		= 255, // data is dualAnalog
+	VREvent_DualAnalog_ModeSwitch2		= 256, // data is dualAnalog
+	VREvent_DualAnalog_Cancel			= 257, // data is dualAnalog
+
+	VREvent_MouseMove					= 300, // data is mouse
+	VREvent_MouseButtonDown				= 301, // data is mouse
+	VREvent_MouseButtonUp				= 302, // data is mouse
+	VREvent_FocusEnter					= 303, // data is overlay
+	VREvent_FocusLeave					= 304, // data is overlay
+	VREvent_Scroll						= 305, // data is mouse
+	VREvent_TouchPadMove				= 306, // data is mouse
+	VREvent_OverlayFocusChanged			= 307, // data is overlay, global event
+
+	VREvent_InputFocusCaptured			= 400, // data is process DEPRECATED
+	VREvent_InputFocusReleased			= 401, // data is process DEPRECATED
+	VREvent_SceneFocusLost				= 402, // data is process
+	VREvent_SceneFocusGained			= 403, // data is process
+	VREvent_SceneApplicationChanged		= 404, // data is process - The App actually drawing the scene changed (usually to or from the compositor)
+	VREvent_SceneFocusChanged			= 405, // data is process - New app got access to draw the scene
+	VREvent_InputFocusChanged			= 406, // data is process
+	VREvent_SceneApplicationSecondaryRenderingStarted = 407, // data is process
+
+	VREvent_HideRenderModels			= 410, // Sent to the scene application to request hiding render models temporarily
+	VREvent_ShowRenderModels			= 411, // Sent to the scene application to request restoring render model visibility
+
+	VREvent_ConsoleOpened               = 420,
+	VREvent_ConsoleClosed               = 421,
+
+	VREvent_OverlayShown				= 500,
+	VREvent_OverlayHidden				= 501,
+	VREvent_DashboardActivated			= 502,
+	VREvent_DashboardDeactivated		= 503,
+	VREvent_DashboardThumbSelected		= 504, // Sent to the overlay manager - data is overlay
+	VREvent_DashboardRequested			= 505, // Sent to the overlay manager - data is overlay
+	VREvent_ResetDashboard				= 506, // Send to the overlay manager
+	VREvent_RenderToast					= 507, // Send to the dashboard to render a toast - data is the notification ID
+	VREvent_ImageLoaded					= 508, // Sent to overlays when a SetOverlayRaw or SetOverlayFromFile call finishes loading
+	VREvent_ShowKeyboard				= 509, // Sent to keyboard renderer in the dashboard to invoke it
+	VREvent_HideKeyboard				= 510, // Sent to keyboard renderer in the dashboard to hide it
+	VREvent_OverlayGamepadFocusGained	= 511, // Sent to an overlay when IVROverlay::SetFocusOverlay is called on it
+	VREvent_OverlayGamepadFocusLost		= 512, // Send to an overlay when it previously had focus and IVROverlay::SetFocusOverlay is called on something else
+	VREvent_OverlaySharedTextureChanged = 513,
+	VREvent_DashboardGuideButtonDown	= 514,
+	VREvent_DashboardGuideButtonUp		= 515,
+	VREvent_ScreenshotTriggered			= 516, // Screenshot button combo was pressed, Dashboard should request a screenshot
+	VREvent_ImageFailed					= 517, // Sent to overlays when a SetOverlayRaw or SetOverlayfromFail fails to load
+	VREvent_DashboardOverlayCreated		= 518,
+
+	// Screenshot API
+	VREvent_RequestScreenshot				= 520, // Sent by vrclient application to compositor to take a screenshot
+	VREvent_ScreenshotTaken					= 521, // Sent by compositor to the application that the screenshot has been taken
+	VREvent_ScreenshotFailed				= 522, // Sent by compositor to the application that the screenshot failed to be taken
+	VREvent_SubmitScreenshotToDashboard		= 523, // Sent by compositor to the dashboard that a completed screenshot was submitted
+	VREvent_ScreenshotProgressToDashboard	= 524, // Sent by compositor to the dashboard that a completed screenshot was submitted
+
+	VREvent_PrimaryDashboardDeviceChanged	= 525,
+
+	VREvent_Notification_Shown				= 600,
+	VREvent_Notification_Hidden				= 601,
+	VREvent_Notification_BeginInteraction	= 602,
+	VREvent_Notification_Destroyed			= 603,
+
+	VREvent_Quit							= 700, // data is process
+	VREvent_ProcessQuit						= 701, // data is process
+	VREvent_QuitAborted_UserPrompt			= 702, // data is process
+	VREvent_QuitAcknowledged				= 703, // data is process
+	VREvent_DriverRequestedQuit				= 704, // The driver has requested that SteamVR shut down
+
+	VREvent_ChaperoneDataHasChanged			= 800,
+	VREvent_ChaperoneUniverseHasChanged		= 801,
+	VREvent_ChaperoneTempDataHasChanged		= 802,
+	VREvent_ChaperoneSettingsHaveChanged	= 803,
+	VREvent_SeatedZeroPoseReset				= 804,
+
+	VREvent_AudioSettingsHaveChanged		= 820,
+
+	VREvent_BackgroundSettingHasChanged		   = 850,
+	VREvent_CameraSettingsHaveChanged		   = 851,
+	VREvent_ReprojectionSettingHasChanged	   = 852,
+	VREvent_ModelSkinSettingsHaveChanged	   = 853,
+	VREvent_EnvironmentSettingsHaveChanged	   = 854,
+	VREvent_PowerSettingsHaveChanged		   = 855,
+	VREvent_EnableHomeAppSettingsHaveChanged   = 856,
+	VREvent_SteamVRSectionSettingChanged       = 857,
+	VREvent_LighthouseSectionSettingChanged    = 858,
+	VREvent_NullSectionSettingChanged          = 859,
+	VREvent_UserInterfaceSectionSettingChanged = 860,
+	VREvent_NotificationsSectionSettingChanged = 861,
+	VREvent_KeyboardSectionSettingChanged      = 862,
+	VREvent_PerfSectionSettingChanged          = 863,
+	VREvent_DashboardSectionSettingChanged     = 864,
+	VREvent_WebInterfaceSectionSettingChanged  = 865,
+
+	VREvent_StatusUpdate					= 900,
+
+	VREvent_WebInterface_InstallDriverCompleted = 950,
+
+	VREvent_MCImageUpdated					= 1000,
+
+	VREvent_FirmwareUpdateStarted			= 1100,
+	VREvent_FirmwareUpdateFinished			= 1101,
+
+	VREvent_KeyboardClosed					= 1200,
+	VREvent_KeyboardCharInput				= 1201,
+	VREvent_KeyboardDone					= 1202, // Sent when DONE button clicked on keyboard
+
+	VREvent_ApplicationTransitionStarted		= 1300,
+	VREvent_ApplicationTransitionAborted		= 1301,
+	VREvent_ApplicationTransitionNewAppStarted	= 1302,
+	VREvent_ApplicationListUpdated				= 1303,
+	VREvent_ApplicationMimeTypeLoad				= 1304,
+	VREvent_ApplicationTransitionNewAppLaunchComplete = 1305,
+	VREvent_ProcessConnected					= 1306,
+	VREvent_ProcessDisconnected					= 1307,
+
+	VREvent_Compositor_MirrorWindowShown		= 1400,
+	VREvent_Compositor_MirrorWindowHidden		= 1401,
+	VREvent_Compositor_ChaperoneBoundsShown		= 1410,
+	VREvent_Compositor_ChaperoneBoundsHidden	= 1411,
+
+	VREvent_TrackedCamera_StartVideoStream  = 1500,
+	VREvent_TrackedCamera_StopVideoStream   = 1501,
+	VREvent_TrackedCamera_PauseVideoStream  = 1502,
+	VREvent_TrackedCamera_ResumeVideoStream = 1503,
+	VREvent_TrackedCamera_EditingSurface    = 1550,
+
+	VREvent_PerformanceTest_EnableCapture	= 1600,
+	VREvent_PerformanceTest_DisableCapture	= 1601,
+	VREvent_PerformanceTest_FidelityLevel	= 1602,
+
+	VREvent_MessageOverlay_Closed			= 1650,
+	VREvent_MessageOverlayCloseRequested	= 1651,
+	
+	VREvent_Input_HapticVibration			= 1700, // data is hapticVibration
+
+	// Vendors are free to expose private events in this reserved region
+	VREvent_VendorSpecific_Reserved_Start	= 10000,
+	VREvent_VendorSpecific_Reserved_End		= 19999,
+};
+
+
+/** Level of Hmd activity */
+// UserInteraction_Timeout means the device is in the process of timing out.
+// InUse = ( k_EDeviceActivityLevel_UserInteraction || k_EDeviceActivityLevel_UserInteraction_Timeout )
+// VREvent_TrackedDeviceUserInteractionStarted fires when the devices transitions from Standby -> UserInteraction or Idle -> UserInteraction.
+// VREvent_TrackedDeviceUserInteractionEnded fires when the devices transitions from UserInteraction_Timeout -> Idle
+enum EDeviceActivityLevel
+{	
+	k_EDeviceActivityLevel_Unknown = -1,									
+	k_EDeviceActivityLevel_Idle = 0,						// No activity for the last 10 seconds
+	k_EDeviceActivityLevel_UserInteraction = 1,				// Activity (movement or prox sensor) is happening now	
+	k_EDeviceActivityLevel_UserInteraction_Timeout = 2,		// No activity for the last 0.5 seconds
+	k_EDeviceActivityLevel_Standby = 3,						// Idle for at least 5 seconds (configurable in Settings -> Power Management)
+};
+
+
+/** VR controller button and axis IDs */
+enum EVRButtonId
+{
+	k_EButton_System			= 0,
+	k_EButton_ApplicationMenu	= 1,
+	k_EButton_Grip				= 2,
+	k_EButton_DPad_Left			= 3,
+	k_EButton_DPad_Up			= 4,
+	k_EButton_DPad_Right		= 5,
+	k_EButton_DPad_Down			= 6,
+	k_EButton_A					= 7,
+	
+	k_EButton_ProximitySensor   = 31,
+
+	k_EButton_Axis0				= 32,
+	k_EButton_Axis1				= 33,
+	k_EButton_Axis2				= 34,
+	k_EButton_Axis3				= 35,
+	k_EButton_Axis4				= 36,
+
+	// aliases for well known controllers
+	k_EButton_SteamVR_Touchpad	= k_EButton_Axis0,
+	k_EButton_SteamVR_Trigger	= k_EButton_Axis1,
+
+	k_EButton_Dashboard_Back	= k_EButton_Grip,
+
+	k_EButton_Max				= 64
+};
+
+inline uint64_t ButtonMaskFromId( EVRButtonId id ) { return 1ull << id; }
+
+/** used for controller button events */
+struct VREvent_Controller_t
+{
+	uint32_t button; // EVRButtonId enum
+};
+
+
+/** used for simulated mouse events in overlay space */
+enum EVRMouseButton
+{
+	VRMouseButton_Left					= 0x0001,
+	VRMouseButton_Right					= 0x0002,
+	VRMouseButton_Middle				= 0x0004,
+};
+
+
+/** used for simulated mouse events in overlay space */
+struct VREvent_Mouse_t
+{
+	float x, y; // co-ords are in GL space, bottom left of the texture is 0,0
+	uint32_t button; // EVRMouseButton enum
+};
+
+/** used for simulated mouse wheel scroll in overlay space */
+struct VREvent_Scroll_t
+{
+	float xdelta, ydelta; // movement in fraction of the pad traversed since last delta, 1.0 for a full swipe
+	uint32_t repeatCount;
+};
+
+/** when in mouse input mode you can receive data from the touchpad, these events are only sent if the users finger
+   is on the touchpad (or just released from it). These events are sent to overlays with the VROverlayFlags_SendVRTouchpadEvents
+   flag set.
+**/
+struct VREvent_TouchPadMove_t
+{
+	// true if the users finger is detected on the touch pad
+	bool bFingerDown;
+
+	// How long the finger has been down in seconds
+	float flSecondsFingerDown;
+
+	// These values indicate the starting finger position (so you can do some basic swipe stuff)
+	float fValueXFirst;
+	float fValueYFirst;
+
+	// This is the raw sampled coordinate without deadzoning
+	float fValueXRaw;
+	float fValueYRaw;
+};
+
+/** notification related events. Details will still change at this point */
+struct VREvent_Notification_t
+{
+	uint64_t ulUserValue;
+	uint32_t notificationId;
+};
+
+/** Used for events about processes */
+struct VREvent_Process_t
+{
+	uint32_t pid;
+	uint32_t oldPid;
+	bool bForced;
+};
+
+
+/** Used for a few events about overlays */
+struct VREvent_Overlay_t
+{
+	uint64_t overlayHandle;
+};
+
+
+/** Used for a few events about overlays */
+struct VREvent_Status_t
+{
+	uint32_t statusState; // EVRState enum
+};
+
+/** Used for keyboard events **/
+struct VREvent_Keyboard_t
+{
+	char cNewInput[8];	// Up to 11 bytes of new input
+	uint64_t uUserValue;	// Possible flags about the new input
+};
+
+struct VREvent_Ipd_t
+{
+	float ipdMeters;
+};
+
+struct VREvent_Chaperone_t
+{
+	uint64_t m_nPreviousUniverse;
+	uint64_t m_nCurrentUniverse;
+};
+
+/** Not actually used for any events */
+struct VREvent_Reserved_t
+{
+	uint64_t reserved0;
+	uint64_t reserved1;
+};
+
+struct VREvent_PerformanceTest_t
+{
+	uint32_t m_nFidelityLevel;
+};
+
+struct VREvent_SeatedZeroPoseReset_t
+{
+	bool bResetBySystemMenu;
+};
+
+struct VREvent_Screenshot_t
+{
+	uint32_t handle;
+	uint32_t type;
+};
+
+struct VREvent_ScreenshotProgress_t
+{
+	float progress;
+};
+
+struct VREvent_ApplicationLaunch_t
+{
+	uint32_t pid;
+	uint32_t unArgsHandle;
+};
+
+struct VREvent_EditingCameraSurface_t
+{
+	uint64_t overlayHandle;
+	uint32_t nVisualMode;
+};
+
+struct VREvent_MessageOverlay_t
+{
+	uint32_t unVRMessageOverlayResponse; // vr::VRMessageOverlayResponse enum
+};
+
+struct VREvent_Property_t
+{
+	PropertyContainerHandle_t container;
+	ETrackedDeviceProperty prop;
+};
+
+enum EDualAnalogWhich
+{
+	k_EDualAnalog_Left = 0,
+	k_EDualAnalog_Right = 1,
+};
+
+struct VREvent_DualAnalog_t
+{
+	float x, y; // coordinates are -1..1 analog values
+	float transformedX, transformedY; // transformed by the center and radius numbers provided by the overlay
+	EDualAnalogWhich which;
+};
+
+struct VREvent_HapticVibration_t
+{
+	uint64_t containerHandle; // property container handle of the device with the haptic component
+	uint64_t componentHandle; // Which haptic component needs to vibrate
+	float fDurationSeconds;
+	float fFrequency;
+	float fAmplitude;
+};
+
+
+/** NOTE!!! If you change this you MUST manually update openvr_interop.cs.py */
+typedef union
+{
+	VREvent_Reserved_t reserved;
+	VREvent_Controller_t controller;
+	VREvent_Mouse_t mouse;
+	VREvent_Scroll_t scroll;
+	VREvent_Process_t process;
+	VREvent_Notification_t notification;
+	VREvent_Overlay_t overlay;
+	VREvent_Status_t status;
+	VREvent_Keyboard_t keyboard;
+	VREvent_Ipd_t ipd;
+	VREvent_Chaperone_t chaperone;
+	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_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
+{
+	uint32_t eventType; // EVREventType enum
+	TrackedDeviceIndex_t trackedDeviceIndex;
+	float eventAgeSeconds;
+	// event data must be the end of the struct as its size is variable
+	VREvent_Data_t data;
+};
+
+#if defined(__linux__) || defined(__APPLE__) 
+#pragma pack( pop )
+#endif
+
+enum EVRInputError
+{
+	VRInputError_None = 0,
+	VRInputError_NameNotFound = 1,
+	VRInputError_WrongType = 2,
+	VRInputError_InvalidHandle = 3,
+	VRInputError_InvalidParam = 4,
+	VRInputError_NoSteam = 5,
+	VRInputError_MaxCapacityReached = 6,
+	VRInputError_IPCError = 7,
+	VRInputError_NoActiveActionSet = 8,
+	VRInputError_InvalidDevice = 9,
+};
+
+
+/** The mesh to draw into the stencil (or depth) buffer to perform 
+* early stencil (or depth) kills of pixels that will never appear on the HMD.
+* This mesh draws on all the pixels that will be hidden after distortion. 
+*
+* If the HMD does not provide a visible area mesh pVertexData will be
+* NULL and unTriangleCount will be 0. */
+struct HiddenAreaMesh_t
+{
+	const HmdVector2_t *pVertexData;
+	uint32_t unTriangleCount;
+};
+
+
+enum EHiddenAreaMeshType
+{
+	k_eHiddenAreaMesh_Standard = 0,
+	k_eHiddenAreaMesh_Inverse = 1,
+	k_eHiddenAreaMesh_LineLoop = 2,
+
+	k_eHiddenAreaMesh_Max = 3,
+};
+
+
+/** Identifies what kind of axis is on the controller at index n. Read this type 
+* with pVRSystem->Get( nControllerDeviceIndex, Prop_Axis0Type_Int32 + n );
+*/
+enum EVRControllerAxisType
+{
+	k_eControllerAxis_None = 0,
+	k_eControllerAxis_TrackPad = 1,
+	k_eControllerAxis_Joystick = 2,
+	k_eControllerAxis_Trigger = 3, // Analog trigger data is in the X axis
+};
+
+
+/** contains information about one axis on the controller */
+struct VRControllerAxis_t
+{
+	float x; // Ranges from -1.0 to 1.0 for joysticks and track pads. Ranges from 0.0 to 1.0 for triggers were 0 is fully released.
+	float y; // Ranges from -1.0 to 1.0 for joysticks and track pads. Is always 0.0 for triggers.
+};
+
+
+/** the number of axes in the controller state */
+static const uint32_t k_unControllerStateAxisCount = 5;
+
+
+#if defined(__linux__) || defined(__APPLE__) 
+// This structure was originally defined mis-packed on Linux, preserved for 
+// compatibility. 
+#pragma pack( push, 4 )
+#endif
+
+/** Holds all the state of a controller at one moment in time. */
+struct VRControllerState001_t
+{
+	// If packet num matches that on your prior call, then the controller state hasn't been changed since 
+	// your last call and there is no need to process it
+	uint32_t unPacketNum;
+
+	// bit flags for each of the buttons. Use ButtonMaskFromId to turn an ID into a mask
+	uint64_t ulButtonPressed;
+	uint64_t ulButtonTouched;
+
+	// Axis data for the controller's analog inputs
+	VRControllerAxis_t rAxis[ k_unControllerStateAxisCount ];
+};
+#if defined(__linux__) || defined(__APPLE__) 
+#pragma pack( pop )
+#endif
+
+
+typedef VRControllerState001_t VRControllerState_t;
+
+
+/** determines how to provide output to the application of various event processing functions. */
+enum EVRControllerEventOutputType
+{
+	ControllerEventOutput_OSEvents = 0,
+	ControllerEventOutput_VREvents = 1,
+};
+
+
+
+/** Collision Bounds Style */
+enum ECollisionBoundsStyle
+{
+	COLLISION_BOUNDS_STYLE_BEGINNER = 0,
+	COLLISION_BOUNDS_STYLE_INTERMEDIATE,
+	COLLISION_BOUNDS_STYLE_SQUARES,
+	COLLISION_BOUNDS_STYLE_ADVANCED,
+	COLLISION_BOUNDS_STYLE_NONE,
+
+	COLLISION_BOUNDS_STYLE_COUNT
+};
+
+/** Allows the application to customize how the overlay appears in the compositor */
+struct Compositor_OverlaySettings
+{
+	uint32_t size; // sizeof(Compositor_OverlaySettings)
+	bool curved, antialias;
+	float scale, distance, alpha;
+	float uOffset, vOffset, uScale, vScale;
+	float gridDivs, gridWidth, gridScale;
+	HmdMatrix44_t transform;
+};
+
+/** used to refer to a single VR overlay */
+typedef uint64_t VROverlayHandle_t;
+
+static const VROverlayHandle_t k_ulOverlayHandleInvalid = 0;
+
+/** Errors that can occur around VR overlays */
+enum EVROverlayError
+{
+	VROverlayError_None						= 0,
+
+	VROverlayError_UnknownOverlay			= 10,
+	VROverlayError_InvalidHandle			= 11,
+	VROverlayError_PermissionDenied			= 12,
+	VROverlayError_OverlayLimitExceeded		= 13, // No more overlays could be created because the maximum number already exist
+	VROverlayError_WrongVisibilityType		= 14,
+	VROverlayError_KeyTooLong				= 15,
+	VROverlayError_NameTooLong				= 16,
+	VROverlayError_KeyInUse					= 17,
+	VROverlayError_WrongTransformType		= 18,
+	VROverlayError_InvalidTrackedDevice		= 19,
+	VROverlayError_InvalidParameter			= 20,
+	VROverlayError_ThumbnailCantBeDestroyed	= 21,
+	VROverlayError_ArrayTooSmall			= 22,
+	VROverlayError_RequestFailed			= 23,
+	VROverlayError_InvalidTexture			= 24,
+	VROverlayError_UnableToLoadFile			= 25,
+	VROverlayError_KeyboardAlreadyInUse		= 26,
+	VROverlayError_NoNeighbor				= 27,
+	VROverlayError_TooManyMaskPrimitives	= 29,
+	VROverlayError_BadMaskPrimitive			= 30,
+	VROverlayError_TextureAlreadyLocked		= 31,
+	VROverlayError_TextureLockCapacityReached = 32,
+	VROverlayError_TextureNotLocked			= 33,
+};
+
+/** enum values to pass in to VR_Init to identify whether the application will 
+* draw a 3D scene. */
+enum EVRApplicationType
+{
+	VRApplication_Other = 0,		// Some other kind of application that isn't covered by the other entries 
+	VRApplication_Scene	= 1,		// Application will submit 3D frames 
+	VRApplication_Overlay = 2,		// Application only interacts with overlays
+	VRApplication_Background = 3,	// Application should not start SteamVR if it's not already running, and should not
+									// keep it running if everything else quits.
+	VRApplication_Utility = 4,		// Init should not try to load any drivers. The application needs access to utility
+									// 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_Max
+};
+
+
+/** error codes for firmware */
+enum EVRFirmwareError
+{
+	VRFirmwareError_None = 0,
+	VRFirmwareError_Success = 1,
+	VRFirmwareError_Fail = 2,
+};
+
+
+/** error codes for notifications */
+enum EVRNotificationError
+{
+	VRNotificationError_OK = 0,
+	VRNotificationError_InvalidNotificationId = 100,
+	VRNotificationError_NotificationQueueFull = 101,
+	VRNotificationError_InvalidOverlayHandle = 102,
+	VRNotificationError_SystemWithUserValueAlreadyExists = 103,
+};
+
+
+/** error codes returned by Vr_Init */
+
+// Please add adequate error description to https://developer.valvesoftware.com/w/index.php?title=Category:SteamVRHelp
+enum EVRInitError
+{
+	VRInitError_None	= 0,
+	VRInitError_Unknown = 1,
+
+	VRInitError_Init_InstallationNotFound			= 100,
+	VRInitError_Init_InstallationCorrupt			= 101,
+	VRInitError_Init_VRClientDLLNotFound			= 102,
+	VRInitError_Init_FileNotFound					= 103,
+	VRInitError_Init_FactoryNotFound				= 104,
+	VRInitError_Init_InterfaceNotFound				= 105,
+	VRInitError_Init_InvalidInterface				= 106,
+	VRInitError_Init_UserConfigDirectoryInvalid		= 107,
+	VRInitError_Init_HmdNotFound					= 108,
+	VRInitError_Init_NotInitialized					= 109,
+	VRInitError_Init_PathRegistryNotFound			= 110,
+	VRInitError_Init_NoConfigPath					= 111,
+	VRInitError_Init_NoLogPath						= 112,
+	VRInitError_Init_PathRegistryNotWritable		= 113,
+	VRInitError_Init_AppInfoInitFailed				= 114,
+	VRInitError_Init_Retry							= 115, // Used internally to cause retries to vrserver
+	VRInitError_Init_InitCanceledByUser				= 116, // The calling application should silently exit. The user canceled app startup
+	VRInitError_Init_AnotherAppLaunching			= 117, 
+	VRInitError_Init_SettingsInitFailed				= 118, 
+	VRInitError_Init_ShuttingDown					= 119,
+	VRInitError_Init_TooManyObjects					= 120,
+	VRInitError_Init_NoServerForBackgroundApp		= 121,
+	VRInitError_Init_NotSupportedWithCompositor		= 122,
+	VRInitError_Init_NotAvailableToUtilityApps		= 123,
+	VRInitError_Init_Internal				 		= 124,
+	VRInitError_Init_HmdDriverIdIsNone		 		= 125,
+	VRInitError_Init_HmdNotFoundPresenceFailed 		= 126,
+	VRInitError_Init_VRMonitorNotFound				= 127,
+	VRInitError_Init_VRMonitorStartupFailed			= 128,
+	VRInitError_Init_LowPowerWatchdogNotSupported	= 129, 
+	VRInitError_Init_InvalidApplicationType			= 130,
+	VRInitError_Init_NotAvailableToWatchdogApps		= 131,
+	VRInitError_Init_WatchdogDisabledInSettings		= 132,
+	VRInitError_Init_VRDashboardNotFound			= 133,
+	VRInitError_Init_VRDashboardStartupFailed		= 134,
+	VRInitError_Init_VRHomeNotFound					= 135,
+	VRInitError_Init_VRHomeStartupFailed			= 136,
+	VRInitError_Init_RebootingBusy					= 137,
+	VRInitError_Init_FirmwareUpdateBusy				= 138,
+	VRInitError_Init_FirmwareRecoveryBusy			= 139,
+	VRInitError_Init_USBServiceBusy					= 140,
+
+	VRInitError_Driver_Failed						= 200,
+	VRInitError_Driver_Unknown						= 201,
+	VRInitError_Driver_HmdUnknown					= 202,
+	VRInitError_Driver_NotLoaded					= 203,
+	VRInitError_Driver_RuntimeOutOfDate				= 204,
+	VRInitError_Driver_HmdInUse						= 205,
+	VRInitError_Driver_NotCalibrated				= 206,
+	VRInitError_Driver_CalibrationInvalid			= 207,
+	VRInitError_Driver_HmdDisplayNotFound			= 208,
+	VRInitError_Driver_TrackedDeviceInterfaceUnknown = 209,
+	// VRInitError_Driver_HmdDisplayNotFoundAfterFix = 210, // not needed: here for historic reasons
+	VRInitError_Driver_HmdDriverIdOutOfBounds		= 211,
+	VRInitError_Driver_HmdDisplayMirrored			= 212,
+
+	VRInitError_IPC_ServerInitFailed				= 300,
+	VRInitError_IPC_ConnectFailed					= 301,
+	VRInitError_IPC_SharedStateInitFailed			= 302,
+	VRInitError_IPC_CompositorInitFailed			= 303,
+	VRInitError_IPC_MutexInitFailed					= 304,
+	VRInitError_IPC_Failed							= 305,
+	VRInitError_IPC_CompositorConnectFailed			= 306,
+	VRInitError_IPC_CompositorInvalidConnectResponse = 307,
+	VRInitError_IPC_ConnectFailedAfterMultipleAttempts = 308,
+
+	VRInitError_Compositor_Failed					= 400,
+	VRInitError_Compositor_D3D11HardwareRequired	= 401,
+	VRInitError_Compositor_FirmwareRequiresUpdate	= 402,
+	VRInitError_Compositor_OverlayInitFailed		= 403,
+	VRInitError_Compositor_ScreenshotsInitFailed	= 404,
+	VRInitError_Compositor_UnableToCreateDevice		= 405,
+
+	VRInitError_VendorSpecific_UnableToConnectToOculusRuntime		= 1000,
+	VRInitError_VendorSpecific_WindowsNotInDevMode					= 1001,
+
+	VRInitError_VendorSpecific_HmdFound_CantOpenDevice 				= 1101,
+	VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart	= 1102,
+	VRInitError_VendorSpecific_HmdFound_NoStoredConfig 				= 1103,
+	VRInitError_VendorSpecific_HmdFound_ConfigTooBig 				= 1104,
+	VRInitError_VendorSpecific_HmdFound_ConfigTooSmall 				= 1105,
+	VRInitError_VendorSpecific_HmdFound_UnableToInitZLib 			= 1106,
+	VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion 	= 1107,
+	VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart	= 1108,
+	VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart	= 1109,
+	VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext		= 1110,
+	VRInitError_VendorSpecific_HmdFound_UserDataAddressRange		= 1111,
+	VRInitError_VendorSpecific_HmdFound_UserDataError				= 1112,
+	VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck		= 1113,
+
+	VRInitError_Steam_SteamInstallationNotFound = 2000,
+};
+
+enum EVRScreenshotType
+{
+	VRScreenshotType_None = 0,
+	VRScreenshotType_Mono = 1, // left eye only
+	VRScreenshotType_Stereo = 2,
+	VRScreenshotType_Cubemap = 3,
+	VRScreenshotType_MonoPanorama = 4,
+	VRScreenshotType_StereoPanorama = 5
+};
+
+enum EVRScreenshotPropertyFilenames
+{
+	VRScreenshotPropertyFilenames_Preview = 0,
+	VRScreenshotPropertyFilenames_VR = 1,
+};
+
+enum EVRTrackedCameraError
+{
+	VRTrackedCameraError_None                       = 0,
+	VRTrackedCameraError_OperationFailed            = 100,
+	VRTrackedCameraError_InvalidHandle              = 101,	
+	VRTrackedCameraError_InvalidFrameHeaderVersion  = 102,
+	VRTrackedCameraError_OutOfHandles               = 103,
+	VRTrackedCameraError_IPCFailure                 = 104,
+	VRTrackedCameraError_NotSupportedForThisDevice  = 105,
+	VRTrackedCameraError_SharedMemoryFailure        = 106,
+	VRTrackedCameraError_FrameBufferingFailure      = 107,
+	VRTrackedCameraError_StreamSetupFailure         = 108,
+	VRTrackedCameraError_InvalidGLTextureId         = 109,
+	VRTrackedCameraError_InvalidSharedTextureHandle = 110,
+	VRTrackedCameraError_FailedToGetGLTextureId     = 111,
+	VRTrackedCameraError_SharedTextureFailure       = 112,
+	VRTrackedCameraError_NoFrameAvailable           = 113,
+	VRTrackedCameraError_InvalidArgument            = 114,
+	VRTrackedCameraError_InvalidFrameBufferSize     = 115,
+};
+
+enum EVRTrackedCameraFrameType
+{
+	VRTrackedCameraFrameType_Distorted = 0,			// This is the camera video frame size in pixels, still distorted.
+	VRTrackedCameraFrameType_Undistorted,			// In pixels, an undistorted inscribed rectangle region without invalid regions. This size is subject to changes shortly.
+	VRTrackedCameraFrameType_MaximumUndistorted,	// In pixels, maximum undistorted with invalid regions. Non zero alpha component identifies valid regions.
+	MAX_CAMERA_FRAME_TYPES
+};
+
+typedef uint64_t TrackedCameraHandle_t;
+#define INVALID_TRACKED_CAMERA_HANDLE	((vr::TrackedCameraHandle_t)0)
+
+struct CameraVideoStreamFrameHeader_t
+{
+	EVRTrackedCameraFrameType eFrameType;
+
+	uint32_t nWidth;
+	uint32_t nHeight;
+	uint32_t nBytesPerPixel;
+
+	uint32_t nFrameSequence;
+
+	TrackedDevicePose_t standingTrackedDevicePose;
+};
+
+// Screenshot types
+typedef uint32_t ScreenshotHandle_t;
+
+static const uint32_t k_unScreenshotHandleInvalid = 0;
+
+/** Frame timing data provided by direct mode drivers. */
+struct DriverDirectMode_FrameTiming
+{
+	uint32_t m_nSize; // Set to sizeof( DriverDirectMode_FrameTiming )
+	uint32_t m_nNumFramePresents; // number of times frame was presented
+	uint32_t m_nNumMisPresented; // number of times frame was presented on a vsync other than it was originally predicted to
+	uint32_t m_nNumDroppedFrames; // number of additional times previous frame was scanned out (i.e. compositor missed vsync)
+	uint32_t m_nReprojectionFlags;
+};
+
+#pragma pack( pop )
+
+// figure out how to import from the VR API dll
+#if defined(_WIN32)
+
+#ifdef VR_API_EXPORT
+#define VR_INTERFACE extern "C" __declspec( dllexport )
+#else
+#define VR_INTERFACE extern "C" __declspec( dllimport )
+#endif
+
+#elif defined(__GNUC__) || defined(COMPILER_GCC) || defined(__APPLE__)
+
+#ifdef VR_API_EXPORT
+#define VR_INTERFACE extern "C" __attribute__((visibility("default")))
+#else
+#define VR_INTERFACE extern "C" 
+#endif
+
+#else
+#error "Unsupported Platform."
+#endif
+
+
+#if defined( _WIN32 )
+#define VR_CALLTYPE __cdecl
+#else
+#define VR_CALLTYPE 
+#endif
+
+} // namespace vr
+
+#endif // _INCLUDE_VRTYPES_H
+
+
+// vrannotation.h
+#ifdef API_GEN
+# define VR_CLANG_ATTR(ATTR) __attribute__((annotate( ATTR )))
+#else
+# define VR_CLANG_ATTR(ATTR)
+#endif
+
+#define VR_METHOD_DESC(DESC) VR_CLANG_ATTR( "desc:" #DESC ";" )
+#define VR_IGNOREATTR() VR_CLANG_ATTR( "ignore" )
+#define VR_OUT_STRUCT() VR_CLANG_ATTR( "out_struct: ;" )
+#define VR_OUT_STRING() VR_CLANG_ATTR( "out_string: ;" )
+#define VR_OUT_ARRAY_CALL(COUNTER,FUNCTION,PARAMS) VR_CLANG_ATTR( "out_array_call:" #COUNTER "," #FUNCTION "," #PARAMS ";" )
+#define VR_OUT_ARRAY_COUNT(COUNTER) VR_CLANG_ATTR( "out_array_count:" #COUNTER ";" )
+#define VR_ARRAY_COUNT(COUNTER) VR_CLANG_ATTR( "array_count:" #COUNTER ";" )
+#define VR_ARRAY_COUNT_D(COUNTER, DESC) VR_CLANG_ATTR( "array_count:" #COUNTER ";desc:" #DESC )
+#define VR_BUFFER_COUNT(COUNTER) VR_CLANG_ATTR( "buffer_count:" #COUNTER ";" )
+#define VR_OUT_BUFFER_COUNT(COUNTER) VR_CLANG_ATTR( "out_buffer_count:" #COUNTER ";" )
+#define VR_OUT_STRING_COUNT(COUNTER) VR_CLANG_ATTR( "out_string_count:" #COUNTER ";" )
+
+// ivrsystem.h
+namespace vr
+{
+
+class IVRSystem
+{
+public:
+
+
+	// ------------------------------------
+	// Display Methods
+	// ------------------------------------
+
+	/** Suggested size for the intermediate render target that the distortion pulls from. */
+	virtual void GetRecommendedRenderTargetSize( uint32_t *pnWidth, uint32_t *pnHeight ) = 0;
+
+	/** The projection matrix for the specified eye */
+	virtual HmdMatrix44_t GetProjectionMatrix( EVREye eEye, float fNearZ, float fFarZ ) = 0;
+
+	/** The components necessary to build your own projection matrix in case your
+	* application is doing something fancy like infinite Z */
+	virtual void GetProjectionRaw( EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom ) = 0;
+
+	/** Gets the result of the distortion function for the specified eye and input UVs. UVs go from 0,0 in 
+	* the upper left of that eye's viewport and 1,1 in the lower right of that eye's viewport.
+	* Returns true for success. Otherwise, returns false, and distortion coordinates are not suitable. */
+	virtual bool ComputeDistortion( EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates ) = 0;
+
+	/** Returns the transform from eye space to the head space. Eye space is the per-eye flavor of head
+	* space that provides stereo disparity. Instead of Model * View * Projection the sequence is Model * View * Eye^-1 * Projection. 
+	* Normally View and Eye^-1 will be multiplied together and treated as View in your application. 
+	*/
+	virtual HmdMatrix34_t GetEyeToHeadTransform( EVREye eEye ) = 0;
+
+	/** Returns the number of elapsed seconds since the last recorded vsync event. This 
+	*	will come from a vsync timer event in the timer if possible or from the application-reported
+	*   time if that is not available. If no vsync times are available the function will 
+	*   return zero for vsync time and frame counter and return false from the method. */
+	virtual bool GetTimeSinceLastVsync( float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter ) = 0;
+
+	/** [D3D9 Only]
+	* Returns the adapter index that the user should pass into CreateDevice to set up D3D9 in such
+	* a way that it can go full screen exclusive on the HMD. Returns -1 if there was an error.
+	*/
+	virtual int32_t GetD3D9AdapterIndex() = 0;
+
+	/** [D3D10/11 Only]
+	* Returns the adapter index that the user should pass into EnumAdapters to create the device 
+	* and swap chain in DX10 and DX11. If an error occurs the index will be set to -1.
+	*/
+	virtual void GetDXGIOutputInfo( int32_t *pnAdapterIndex ) = 0;
+	
+	/**
+	 * Returns platform- and texture-type specific adapter identification so that applications and the
+	 * compositor are creating textures and swap chains on the same GPU. If an error occurs the device
+	 * will be set to 0.
+	 * pInstance is an optional parameter that is required only when textureType is TextureType_Vulkan.
+	 * [D3D10/11/12 Only (D3D9 Not Supported)]
+	 *  Returns the adapter LUID that identifies the GPU attached to the HMD. The user should
+	 *  enumerate all adapters using IDXGIFactory::EnumAdapters and IDXGIAdapter::GetDesc to find
+	 *  the adapter with the matching LUID, or use IDXGIFactory4::EnumAdapterByLuid.
+	 *  The discovered IDXGIAdapter should be used to create the device and swap chain.
+	 * [Vulkan Only]
+	 *  Returns the VkPhysicalDevice that should be used by the application.
+	 *  pInstance must be the instance the application will use to query for the VkPhysicalDevice.  The application
+	 *  must create the VkInstance with extensions returned by IVRCompositor::GetVulkanInstanceExtensionsRequired enabled.
+	 * [macOS Only]
+	 *  For TextureType_IOSurface returns the id<MTLDevice> that should be used by the application.
+	 *  On 10.13+ for TextureType_OpenGL returns the 'registryId' of the renderer which should be used
+	 *   by the application. See Apple Technical Q&A QA1168 for information on enumerating GL Renderers, and the
+	 *   new kCGLRPRegistryIDLow and kCGLRPRegistryIDHigh CGLRendererProperty values in the 10.13 SDK.
+	 *  Pre 10.13 for TextureType_OpenGL returns 0, as there is no dependable way to correlate the HMDs MTLDevice
+	 *   with a GL Renderer.
+	 */
+	virtual void GetOutputDevice( uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance = nullptr ) = 0;
+
+	// ------------------------------------
+	// Display Mode methods
+	// ------------------------------------
+
+	/** Use to determine if the headset display is part of the desktop (i.e. extended) or hidden (i.e. direct mode). */
+	virtual bool IsDisplayOnDesktop() = 0;
+
+	/** Set the display visibility (true = extended, false = direct mode).  Return value of true indicates that the change was successful. */
+	virtual bool SetDisplayVisibility( bool bIsVisibleOnDesktop ) = 0;
+
+	// ------------------------------------
+	// Tracking Methods
+	// ------------------------------------
+
+	/** The pose that the tracker thinks that the HMD will be in at the specified number of seconds into the 
+	* future. Pass 0 to get the state at the instant the method is called. Most of the time the application should
+	* calculate the time until the photons will be emitted from the display and pass that time into the method.
+	*
+	* This is roughly analogous to the inverse of the view matrix in most applications, though 
+	* many games will need to do some additional rotation or translation on top of the rotation
+	* and translation provided by the head pose.
+	*
+	* For devices where bPoseIsValid is true the application can use the pose to position the device
+	* in question. The provided array can be any size up to k_unMaxTrackedDeviceCount. 
+	*
+	* Seated experiences should call this method with TrackingUniverseSeated and receive poses relative
+	* to the seated zero pose. Standing experiences should call this method with TrackingUniverseStanding 
+	* and receive poses relative to the Chaperone Play Area. TrackingUniverseRawAndUncalibrated should 
+	* probably not be used unless the application is the Chaperone calibration tool itself, but will provide
+	* poses relative to the hardware-specific coordinate system in the driver.
+	*/
+	virtual void GetDeviceToAbsoluteTrackingPose( ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, VR_ARRAY_COUNT(unTrackedDevicePoseArrayCount) TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount ) = 0;
+
+	/** Sets the zero pose for the seated tracker coordinate system to the current position and yaw of the HMD. After 
+	* ResetSeatedZeroPose all GetDeviceToAbsoluteTrackingPose calls that pass TrackingUniverseSeated as the origin 
+	* will be relative to this new zero pose. The new zero coordinate system will not change the fact that the Y axis 
+	* is up in the real world, so the next pose returned from GetDeviceToAbsoluteTrackingPose after a call to 
+	* ResetSeatedZeroPose may not be exactly an identity matrix.
+	*
+	* NOTE: This function overrides the user's previously saved seated zero pose and should only be called as the result of a user action. 
+	* Users are also able to set their seated zero pose via the OpenVR Dashboard.
+	**/
+	virtual void ResetSeatedZeroPose() = 0;
+
+	/** Returns the transform from the seated zero pose to the standing absolute tracking system. This allows 
+	* applications to represent the seated origin to used or transform object positions from one coordinate
+	* system to the other. 
+	*
+	* The seated origin may or may not be inside the Play Area or Collision Bounds returned by IVRChaperone. Its position 
+	* depends on what the user has set from the Dashboard settings and previous calls to ResetSeatedZeroPose. */
+	virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose() = 0;
+
+	/** Returns the transform from the tracking origin to the standing absolute tracking system. This allows
+	* applications to convert from raw tracking space to the calibrated standing coordinate system. */
+	virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose() = 0;
+
+	/** Get a sorted array of device indices of a given class of tracked devices (e.g. controllers).  Devices are sorted right to left
+	* relative to the specified tracked device (default: hmd -- pass in -1 for absolute tracking space).  Returns the number of devices
+	* in the list, or the size of the array needed if not large enough. */
+	virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( ETrackedDeviceClass eTrackedDeviceClass, VR_ARRAY_COUNT(unTrackedDeviceIndexArrayCount) vr::TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, vr::TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex = k_unTrackedDeviceIndex_Hmd ) = 0;
+
+	/** Returns the level of activity on the device. */
+	virtual EDeviceActivityLevel GetTrackedDeviceActivityLevel( vr::TrackedDeviceIndex_t unDeviceId ) = 0;
+
+	/** Convenience utility to apply the specified transform to the specified pose.
+	*   This properly transforms all pose components, including velocity and angular velocity
+	*/
+	virtual void ApplyTransform( TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform ) = 0;
+
+	/** Returns the device index associated with a specific role, for example the left hand or the right hand. */
+	virtual vr::TrackedDeviceIndex_t GetTrackedDeviceIndexForControllerRole( vr::ETrackedControllerRole unDeviceType ) = 0;
+
+	/** Returns the controller type associated with a device index. */
+	virtual vr::ETrackedControllerRole GetControllerRoleForTrackedDeviceIndex( vr::TrackedDeviceIndex_t unDeviceIndex ) = 0;
+
+	// ------------------------------------
+	// Property methods
+	// ------------------------------------
+
+	/** Returns the device class of a tracked device. If there has not been a device connected in this slot
+	* since the application started this function will return TrackedDevice_Invalid. For previous detected
+	* devices the function will return the previously observed device class. 
+	*
+	* To determine which devices exist on the system, just loop from 0 to k_unMaxTrackedDeviceCount and check
+	* the device class. Every device with something other than TrackedDevice_Invalid is associated with an 
+	* actual tracked device. */
+	virtual ETrackedDeviceClass GetTrackedDeviceClass( vr::TrackedDeviceIndex_t unDeviceIndex ) = 0;
+
+	/** Returns true if there is a device connected in this slot. */
+	virtual bool IsTrackedDeviceConnected( vr::TrackedDeviceIndex_t unDeviceIndex ) = 0;
+
+	/** Returns a bool property. If the device index is not valid or the property is not a bool type this function will return false. */
+	virtual bool GetBoolTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) = 0;
+
+	/** Returns a float property. If the device index is not valid or the property is not a float type this function will return 0. */
+	virtual float GetFloatTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) = 0;
+
+	/** Returns an int property. If the device index is not valid or the property is not a int type this function will return 0. */
+	virtual int32_t GetInt32TrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) = 0;
+
+	/** Returns a uint64 property. If the device index is not valid or the property is not a uint64 type this function will return 0. */
+	virtual uint64_t GetUint64TrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) = 0;
+
+	/** Returns a matrix property. If the device index is not valid or the property is not a matrix type, this function will return identity. */
+	virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) = 0;
+	
+	/** Returns an array of one type of property. If the device index is not valid or the property is not a single value or an array of the specified type,
+	* this function will return 0. Otherwise it returns the number of bytes necessary to hold the array of properties. If unBufferSize is
+	* greater than the returned size and pBuffer is non-NULL, pBuffer is filled with the contents of array of properties. */
+	virtual uint32_t GetArrayTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError = 0L ) = 0;
+
+	/** Returns a string property. If the device index is not valid or the property is not a string type this function will 
+	* return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing
+	* null. Strings will always fit in buffers of k_unMaxPropertyStringSize characters. */
+	virtual uint32_t GetStringTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError = 0L ) = 0;
+
+	/** returns a string that corresponds with the specified property error. The string will be the name 
+	* of the error enum value for all valid error codes */
+	virtual const char *GetPropErrorNameFromEnum( ETrackedPropertyError error ) = 0;
+
+	// ------------------------------------
+	// Event methods
+	// ------------------------------------
+
+	/** Returns true and fills the event with the next event on the queue if there is one. If there are no events
+	* this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct */
+	virtual bool PollNextEvent( VREvent_t *pEvent, uint32_t uncbVREvent ) = 0;
+
+	/** Returns true and fills the event with the next event on the queue if there is one. If there are no events
+	* this method returns false. Fills in the pose of the associated tracked device in the provided pose struct. 
+	* This pose will always be older than the call to this function and should not be used to render the device. 
+	uncbVREvent should be the size in bytes of the VREvent_t struct */
+	virtual bool PollNextEventWithPose( ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, uint32_t uncbVREvent, vr::TrackedDevicePose_t *pTrackedDevicePose ) = 0;
+
+	/** returns the name of an EVREvent enum value */
+	virtual const char *GetEventTypeNameFromEnum( EVREventType eType ) = 0;
+
+	// ------------------------------------
+	// Rendering helper methods
+	// ------------------------------------
+
+	/** Returns the hidden area mesh for the current HMD. The pixels covered by this mesh will never be seen by the user after the lens distortion is
+	* applied based on visibility to the panels. If this HMD does not have a hidden area mesh, the vertex data and count will be NULL and 0 respectively.
+	* This mesh is meant to be rendered into the stencil buffer (or into the depth buffer setting nearz) before rendering each eye's view. 
+	* This will improve performance by letting the GPU early-reject pixels the user will never see before running the pixel shader.
+	* NOTE: Render this mesh with backface culling disabled since the winding order of the vertices can be different per-HMD or per-eye.
+	* Setting the bInverse argument to true will produce the visible area mesh that is commonly used in place of full-screen quads. The visible area mesh covers all of the pixels the hidden area mesh does not cover.
+	* Setting the bLineLoop argument will return a line loop of vertices in HiddenAreaMesh_t->pVertexData with HiddenAreaMesh_t->unTriangleCount set to the number of vertices.
+	*/
+	virtual HiddenAreaMesh_t GetHiddenAreaMesh( EVREye eEye, EHiddenAreaMeshType type = k_eHiddenAreaMesh_Standard ) = 0;
+
+	// ------------------------------------
+	// Controller methods
+	// ------------------------------------
+
+	/** Fills the supplied struct with the current state of the controller. Returns false if the controller index
+	* is invalid. */
+	virtual bool GetControllerState( vr::TrackedDeviceIndex_t unControllerDeviceIndex, vr::VRControllerState_t *pControllerState, uint32_t unControllerStateSize ) = 0;
+
+	/** fills the supplied struct with the current state of the controller and the provided pose with the pose of 
+	* the controller when the controller state was updated most recently. Use this form if you need a precise controller
+	* pose as input to your application when the user presses or releases a button. */
+	virtual bool GetControllerStateWithPose( ETrackingUniverseOrigin eOrigin, vr::TrackedDeviceIndex_t unControllerDeviceIndex, vr::VRControllerState_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose ) = 0;
+
+	/** Trigger a single haptic pulse on a controller. After this call the application may not trigger another haptic pulse on this controller
+	* and axis combination for 5ms. */
+	virtual void TriggerHapticPulse( vr::TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec ) = 0;
+
+	/** returns the name of an EVRButtonId enum value */
+	virtual const char *GetButtonIdNameFromEnum( EVRButtonId eButtonId ) = 0;
+
+	/** returns the name of an EVRControllerAxisType enum value */
+	virtual const char *GetControllerAxisTypeNameFromEnum( EVRControllerAxisType eAxisType ) = 0;
+
+	/** Returns true if this application is receiving input from the system. This would return false if 
+	* system-related functionality is consuming the input stream. */
+	virtual bool IsInputAvailable() = 0;
+
+	/** Returns true SteamVR is drawing controllers on top of the application. Applications should consider
+	* not drawing anything attached to the user's hands in this case. */
+	virtual bool IsSteamVRDrawingControllers() = 0;
+
+	/** Returns true if the user has put SteamVR into a mode that is distracting them from the application.
+	* For applications where this is appropriate, the application should pause ongoing activity. */
+	virtual bool ShouldApplicationPause() = 0;
+
+	/** Returns true if SteamVR is doing significant rendering work and the game should do what it can to reduce
+	* its own workload. One common way to do this is to reduce the size of the render target provided for each eye. */
+	virtual bool ShouldApplicationReduceRenderingWork() = 0;
+
+	// ------------------------------------
+	// Debug Methods
+	// ------------------------------------
+
+	/** Sends a request to the driver for the specified device and returns the response. The maximum response size is 32k,
+	* but this method can be called with a smaller buffer. If the response exceeds the size of the buffer, it is truncated. 
+	* The size of the response including its terminating null is returned. */
+	virtual uint32_t DriverDebugRequest( vr::TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, VR_OUT_STRING() char *pchResponseBuffer, uint32_t unResponseBufferSize ) = 0;
+
+	// ------------------------------------
+	// Firmware methods
+	// ------------------------------------
+	
+	/** Performs the actual firmware update if applicable. 
+	 * The following events will be sent, if VRFirmwareError_None was returned: VREvent_FirmwareUpdateStarted, VREvent_FirmwareUpdateFinished 
+	 * Use the properties Prop_Firmware_UpdateAvailable_Bool, Prop_Firmware_ManualUpdate_Bool, and Prop_Firmware_ManualUpdateURL_String
+	 * to figure our whether a firmware update is available, and to figure out whether its a manual update 
+	 * Prop_Firmware_ManualUpdateURL_String should point to an URL describing the manual update process */
+	virtual vr::EVRFirmwareError PerformFirmwareUpdate( vr::TrackedDeviceIndex_t unDeviceIndex ) = 0;
+
+	// ------------------------------------
+	// Application life cycle methods
+	// ------------------------------------
+
+	/** Call this to acknowledge to the system that VREvent_Quit has been received and that the process is exiting.
+	* This extends the timeout until the process is killed. */
+	virtual void AcknowledgeQuit_Exiting() = 0;
+
+	/** Call this to tell the system that the user is being prompted to save data. This
+	* halts the timeout and dismisses the dashboard (if it was up). Applications should be sure to actually 
+	* prompt the user to save and then exit afterward, otherwise the user will be left in a confusing state. */
+	virtual void AcknowledgeQuit_UserPrompt() = 0;
+
+};
+
+static const char * const IVRSystem_Version = "IVRSystem_019";
+
+}
+
+
+// ivrapplications.h
+namespace vr
+{
+
+	/** Used for all errors reported by the IVRApplications interface */
+	enum EVRApplicationError
+	{
+		VRApplicationError_None = 0,
+
+		VRApplicationError_AppKeyAlreadyExists = 100,	// Only one application can use any given key
+		VRApplicationError_NoManifest = 101,			// the running application does not have a manifest
+		VRApplicationError_NoApplication = 102,			// No application is running
+		VRApplicationError_InvalidIndex = 103,
+		VRApplicationError_UnknownApplication = 104,	// the application could not be found
+		VRApplicationError_IPCFailed = 105,				// An IPC failure caused the request to fail
+		VRApplicationError_ApplicationAlreadyRunning = 106, 
+		VRApplicationError_InvalidManifest = 107,
+		VRApplicationError_InvalidApplication = 108,
+		VRApplicationError_LaunchFailed = 109,			// the process didn't start
+		VRApplicationError_ApplicationAlreadyStarting = 110, // the system was already starting the same application
+		VRApplicationError_LaunchInProgress = 111,		// The system was already starting a different application
+		VRApplicationError_OldApplicationQuitting = 112, 
+		VRApplicationError_TransitionAborted = 113,
+		VRApplicationError_IsTemplate = 114, // error when you try to call LaunchApplication() on a template type app (use LaunchTemplateApplication)
+		VRApplicationError_SteamVRIsExiting = 115,
+
+		VRApplicationError_BufferTooSmall = 200,		// The provided buffer was too small to fit the requested data
+		VRApplicationError_PropertyNotSet = 201,		// The requested property was not set
+		VRApplicationError_UnknownProperty = 202,
+		VRApplicationError_InvalidParameter = 203,
+	};
+
+	/** The maximum length of an application key */
+	static const uint32_t k_unMaxApplicationKeyLength = 128;
+
+	/** these are the properties available on applications. */
+	enum EVRApplicationProperty
+	{
+		VRApplicationProperty_Name_String				= 0,
+
+		VRApplicationProperty_LaunchType_String			= 11,
+		VRApplicationProperty_WorkingDirectory_String	= 12,
+		VRApplicationProperty_BinaryPath_String			= 13,
+		VRApplicationProperty_Arguments_String			= 14,
+		VRApplicationProperty_URL_String				= 15,
+
+		VRApplicationProperty_Description_String		= 50,
+		VRApplicationProperty_NewsURL_String			= 51,
+		VRApplicationProperty_ImagePath_String			= 52,
+		VRApplicationProperty_Source_String				= 53,
+		VRApplicationProperty_ActionManifestURL_String	= 54,
+
+		VRApplicationProperty_IsDashboardOverlay_Bool	= 60,
+		VRApplicationProperty_IsTemplate_Bool			= 61,
+		VRApplicationProperty_IsInstanced_Bool			= 62,
+		VRApplicationProperty_IsInternal_Bool			= 63,
+		VRApplicationProperty_WantsCompositorPauseInStandby_Bool = 64,
+
+		VRApplicationProperty_LastLaunchTime_Uint64		= 70,
+	};
+
+	/** These are states the scene application startup process will go through. */
+	enum EVRApplicationTransitionState
+	{
+		VRApplicationTransition_None = 0,
+
+		VRApplicationTransition_OldAppQuitSent = 10,
+		VRApplicationTransition_WaitingForExternalLaunch = 11,
+		
+		VRApplicationTransition_NewAppLaunched = 20,
+	};
+
+	struct AppOverrideKeys_t
+	{
+		const char *pchKey;
+		const char *pchValue;
+	};
+
+	/** Currently recognized mime types */
+	static const char * const k_pch_MimeType_HomeApp		= "vr/home";
+	static const char * const k_pch_MimeType_GameTheater	= "vr/game_theater";
+
+	class IVRApplications
+	{
+	public:
+
+		// ---------------  Application management  --------------- //
+
+		/** Adds an application manifest to the list to load when building the list of installed applications. 
+		* Temporary manifests are not automatically loaded */
+		virtual EVRApplicationError AddApplicationManifest( const char *pchApplicationManifestFullPath, bool bTemporary = false ) = 0;
+
+		/** Removes an application manifest from the list to load when building the list of installed applications. */
+		virtual EVRApplicationError RemoveApplicationManifest( const char *pchApplicationManifestFullPath ) = 0;
+
+		/** Returns true if an application is installed */
+		virtual bool IsApplicationInstalled( const char *pchAppKey ) = 0;
+
+		/** Returns the number of applications available in the list */
+		virtual uint32_t GetApplicationCount() = 0;
+
+		/** Returns the key of the specified application. The index is at least 0 and is less than the return 
+		* value of GetApplicationCount(). The buffer should be at least k_unMaxApplicationKeyLength in order to 
+		* fit the key. */
+		virtual EVRApplicationError GetApplicationKeyByIndex( uint32_t unApplicationIndex, VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) = 0;
+
+		/** Returns the key of the application for the specified Process Id. The buffer should be at least 
+		* k_unMaxApplicationKeyLength in order to fit the key. */
+		virtual EVRApplicationError GetApplicationKeyByProcessId( uint32_t unProcessId, VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) = 0;
+
+		/** Launches the application. The existing scene application will exit and then the new application will start.
+		* This call is not valid for dashboard overlay applications. */
+		virtual EVRApplicationError LaunchApplication( const char *pchAppKey ) = 0;
+
+		/** Launches an instance of an application of type template, with its app key being pchNewAppKey (which must be unique) and optionally override sections
+		* from the manifest file via AppOverrideKeys_t
+		*/
+		virtual EVRApplicationError LaunchTemplateApplication( const char *pchTemplateAppKey, const char *pchNewAppKey, VR_ARRAY_COUNT( unKeys ) const AppOverrideKeys_t *pKeys, uint32_t unKeys ) = 0;
+
+		/** launches the application currently associated with this mime type and passes it the option args, typically the filename or object name of the item being launched */
+		virtual vr::EVRApplicationError LaunchApplicationFromMimeType( const char *pchMimeType, const char *pchArgs ) = 0;
+
+		/** Launches the dashboard overlay application if it is not already running. This call is only valid for 
+		* dashboard overlay applications. */
+		virtual EVRApplicationError LaunchDashboardOverlay( const char *pchAppKey ) = 0;
+
+		/** Cancel a pending launch for an application */
+		virtual bool CancelApplicationLaunch( const char *pchAppKey ) = 0;
+
+		/** Identifies a running application. OpenVR can't always tell which process started in response
+		* to a URL. This function allows a URL handler (or the process itself) to identify the app key 
+		* for the now running application. Passing a process ID of 0 identifies the calling process. 
+		* The application must be one that's known to the system via a call to AddApplicationManifest. */
+		virtual EVRApplicationError IdentifyApplication( uint32_t unProcessId, const char *pchAppKey ) = 0;
+
+		/** Returns the process ID for an application. Return 0 if the application was not found or is not running. */
+		virtual uint32_t GetApplicationProcessId( const char *pchAppKey ) = 0;
+
+		/** Returns a string for an applications error */
+		virtual const char *GetApplicationsErrorNameFromEnum( EVRApplicationError error ) = 0;
+
+		// ---------------  Application properties  --------------- //
+
+		/** Returns a value for an application property. The required buffer size to fit this value will be returned. */
+		virtual uint32_t GetApplicationPropertyString( const char *pchAppKey, EVRApplicationProperty eProperty, VR_OUT_STRING() char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError = nullptr ) = 0;
+
+		/** Returns a bool value for an application property. Returns false in all error cases. */
+		virtual bool GetApplicationPropertyBool( const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError = nullptr ) = 0;
+
+		/** Returns a uint64 value for an application property. Returns 0 in all error cases. */
+		virtual uint64_t GetApplicationPropertyUint64( const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError = nullptr ) = 0;
+
+		/** Sets the application auto-launch flag. This is only valid for applications which return true for VRApplicationProperty_IsDashboardOverlay_Bool. */
+		virtual EVRApplicationError SetApplicationAutoLaunch( const char *pchAppKey, bool bAutoLaunch ) = 0;
+
+		/** Gets the application auto-launch flag. This is only valid for applications which return true for VRApplicationProperty_IsDashboardOverlay_Bool. */
+		virtual bool GetApplicationAutoLaunch( const char *pchAppKey ) = 0;
+
+		/** Adds this mime-type to the list of supported mime types for this application*/
+		virtual EVRApplicationError SetDefaultApplicationForMimeType( const char *pchAppKey, const char *pchMimeType ) = 0;
+
+		/** return the app key that will open this mime type */
+		virtual bool GetDefaultApplicationForMimeType( const char *pchMimeType, VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) = 0;
+
+		/** Get the list of supported mime types for this application, comma-delimited */
+		virtual bool GetApplicationSupportedMimeTypes( const char *pchAppKey, VR_OUT_STRING() char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer ) = 0;
+
+		/** Get the list of app-keys that support this mime type, comma-delimited, the return value is number of bytes you need to return the full string */
+		virtual uint32_t GetApplicationsThatSupportMimeType( const char *pchMimeType, VR_OUT_STRING() char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer ) = 0;
+
+		/** Get the args list from an app launch that had the process already running, you call this when you get a VREvent_ApplicationMimeTypeLoad */
+		virtual uint32_t GetApplicationLaunchArguments( uint32_t unHandle, VR_OUT_STRING() char *pchArgs, uint32_t unArgs ) = 0;
+
+		// ---------------  Transition methods --------------- //
+
+		/** Returns the app key for the application that is starting up */
+		virtual EVRApplicationError GetStartingApplication( VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) = 0;
+
+		/** Returns the application transition state */
+		virtual EVRApplicationTransitionState GetTransitionState() = 0;
+
+		/** Returns errors that would prevent the specified application from launching immediately. Calling this function will
+		* cause the current scene application to quit, so only call it when you are actually about to launch something else.
+		* What the caller should do about these failures depends on the failure:
+		*   VRApplicationError_OldApplicationQuitting - An existing application has been told to quit. Wait for a VREvent_ProcessQuit
+		*                                               and try again.
+		*   VRApplicationError_ApplicationAlreadyStarting - This application is already starting. This is a permanent failure.
+		*   VRApplicationError_LaunchInProgress	      - A different application is already starting. This is a permanent failure.
+		*   VRApplicationError_None                   - Go ahead and launch. Everything is clear.
+		*/
+		virtual EVRApplicationError PerformApplicationPrelaunchCheck( const char *pchAppKey ) = 0;
+
+		/** Returns a string for an application transition state */
+		virtual const char *GetApplicationsTransitionStateNameFromEnum( EVRApplicationTransitionState state ) = 0;
+
+		/** Returns true if the outgoing scene app has requested a save prompt before exiting */
+		virtual bool IsQuitUserPromptRequested() = 0;
+
+		/** Starts a subprocess within the calling application. This
+		* suppresses all application transition UI and automatically identifies the new executable 
+		* as part of the same application. On success the calling process should exit immediately. 
+		* If working directory is NULL or "" the directory portion of the binary path will be 
+		* the working directory. */
+		virtual EVRApplicationError LaunchInternalProcess( const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory ) = 0;
+
+		/** Returns the current scene process ID according to the application system. A scene process will get scene
+		* focus once it starts rendering, but it will appear here once it calls VR_Init with the Scene application
+		* type. */
+		virtual uint32_t GetCurrentSceneProcessId() = 0;
+	};
+
+	static const char * const IVRApplications_Version = "IVRApplications_006";
+
+} // namespace vr
+
+// ivrsettings.h
+namespace vr
+{
+	enum EVRSettingsError
+	{
+		VRSettingsError_None = 0,
+		VRSettingsError_IPCFailed = 1,
+		VRSettingsError_WriteFailed = 2,
+		VRSettingsError_ReadFailed = 3,
+		VRSettingsError_JsonParseFailed = 4,
+		VRSettingsError_UnsetSettingHasNoDefault = 5, // This will be returned if the setting does not appear in the appropriate default file and has not been set
+	};
+
+	// The maximum length of a settings key
+	static const uint32_t k_unMaxSettingsKeyLength = 128;
+
+	class IVRSettings
+	{
+	public:
+		virtual const char *GetSettingsErrorNameFromEnum( EVRSettingsError eError ) = 0;
+
+		// Returns true if file sync occurred (force or settings dirty)
+		virtual bool Sync( bool bForce = false, EVRSettingsError *peError = nullptr ) = 0;
+
+		virtual void SetBool( const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError = nullptr ) = 0;
+		virtual void SetInt32( const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError = nullptr ) = 0;
+		virtual void SetFloat( const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError = nullptr ) = 0;
+		virtual void SetString( const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError = nullptr ) = 0;
+
+		// Users of the system need to provide a proper default in default.vrsettings in the resources/settings/ directory
+		// of either the runtime or the driver_xxx directory. Otherwise the default will be false, 0, 0.0 or ""
+		virtual bool GetBool( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0;
+		virtual int32_t GetInt32( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0;
+		virtual float GetFloat( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0;
+		virtual void GetString( const char *pchSection, const char *pchSettingsKey, VR_OUT_STRING() char *pchValue, uint32_t unValueLen, EVRSettingsError *peError = nullptr ) = 0;
+
+		virtual void RemoveSection( const char *pchSection, EVRSettingsError *peError = nullptr ) = 0;
+		virtual void RemoveKeyInSection( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0;
+	};
+
+	//-----------------------------------------------------------------------------
+	static const char * const IVRSettings_Version = "IVRSettings_002";
+
+	//-----------------------------------------------------------------------------
+	// steamvr keys
+	static const char * const k_pch_SteamVR_Section = "steamvr";
+	static const char * const k_pch_SteamVR_RequireHmd_String = "requireHmd";
+	static const char * const k_pch_SteamVR_ForcedDriverKey_String = "forcedDriver";
+	static const char * const k_pch_SteamVR_ForcedHmdKey_String = "forcedHmd";
+	static const char * const k_pch_SteamVR_DisplayDebug_Bool = "displayDebug";
+	static const char * const k_pch_SteamVR_DebugProcessPipe_String = "debugProcessPipe";
+	static const char * const k_pch_SteamVR_DisplayDebugX_Int32 = "displayDebugX";
+	static const char * const k_pch_SteamVR_DisplayDebugY_Int32 = "displayDebugY";
+	static const char * const k_pch_SteamVR_SendSystemButtonToAllApps_Bool= "sendSystemButtonToAllApps";
+	static const char * const k_pch_SteamVR_LogLevel_Int32 = "loglevel";
+	static const char * const k_pch_SteamVR_IPD_Float = "ipd";
+	static const char * const k_pch_SteamVR_Background_String = "background";
+	static const char * const k_pch_SteamVR_BackgroundUseDomeProjection_Bool = "backgroundUseDomeProjection";
+	static const char * const k_pch_SteamVR_BackgroundCameraHeight_Float = "backgroundCameraHeight";
+	static const char * const k_pch_SteamVR_BackgroundDomeRadius_Float = "backgroundDomeRadius";
+	static const char * const k_pch_SteamVR_GridColor_String = "gridColor";
+	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_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_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
+	static const char * const k_pch_SteamVR_DefaultMirrorView_Int32 = "defaultMirrorView";
+	static const char * const k_pch_SteamVR_ShowMirrorView_Bool = "showMirrorView";
+	static const char * const k_pch_SteamVR_MirrorViewGeometry_String = "mirrorViewGeometry";
+	static const char * const k_pch_SteamVR_StartMonitorFromAppLaunch = "startMonitorFromAppLaunch";
+	static const char * const k_pch_SteamVR_StartCompositorFromAppLaunch_Bool = "startCompositorFromAppLaunch";
+	static const char * const k_pch_SteamVR_StartDashboardFromAppLaunch_Bool = "startDashboardFromAppLaunch";
+	static const char * const k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool = "startOverlayAppsFromDashboard";
+	static const char * const k_pch_SteamVR_EnableHomeApp = "enableHomeApp";
+	static const char * const k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32 = "CycleBackgroundImageTimeSec";
+	static const char * const k_pch_SteamVR_RetailDemo_Bool = "retailDemo";
+	static const char * const k_pch_SteamVR_IpdOffset_Float = "ipdOffset";
+	static const char * const k_pch_SteamVR_AllowSupersampleFiltering_Bool = "allowSupersampleFiltering";
+	static const char * const k_pch_SteamVR_EnableLinuxVulkanAsync_Bool = "enableLinuxVulkanAsync";
+	static const char * const k_pch_SteamVR_AllowDisplayLockedMode_Bool = "allowDisplayLockedMode";
+	static const char * const k_pch_SteamVR_HaveStartedTutorialForNativeChaperoneDriver_Bool = "haveStartedTutorialForNativeChaperoneDriver";
+	static const char * const k_pch_SteamVR_ForceWindows32bitVRMonitor = "forceWindows32BitVRMonitor";
+
+	//-----------------------------------------------------------------------------
+	// lighthouse keys
+	static const char * const k_pch_Lighthouse_Section = "driver_lighthouse";
+	static const char * const k_pch_Lighthouse_DisableIMU_Bool = "disableimu";
+	static const char * const k_pch_Lighthouse_DisableIMUExceptHMD_Bool = "disableimuexcepthmd";
+	static const char * const k_pch_Lighthouse_UseDisambiguation_String = "usedisambiguation";
+	static const char * const k_pch_Lighthouse_DisambiguationDebug_Int32 = "disambiguationdebug";
+	static const char * const k_pch_Lighthouse_PrimaryBasestation_Int32 = "primarybasestation";
+	static const char * const k_pch_Lighthouse_DBHistory_Bool = "dbhistory";
+	static const char * const k_pch_Lighthouse_EnableBluetooth_Bool = "enableBluetooth";
+
+	//-----------------------------------------------------------------------------
+	// null keys
+	static const char * const k_pch_Null_Section = "driver_null";
+	static const char * const k_pch_Null_SerialNumber_String = "serialNumber";
+	static const char * const k_pch_Null_ModelNumber_String = "modelNumber";
+	static const char * const k_pch_Null_WindowX_Int32 = "windowX";
+	static const char * const k_pch_Null_WindowY_Int32 = "windowY";
+	static const char * const k_pch_Null_WindowWidth_Int32 = "windowWidth";
+	static const char * const k_pch_Null_WindowHeight_Int32 = "windowHeight";
+	static const char * const k_pch_Null_RenderWidth_Int32 = "renderWidth";
+	static const char * const k_pch_Null_RenderHeight_Int32 = "renderHeight";
+	static const char * const k_pch_Null_SecondsFromVsyncToPhotons_Float = "secondsFromVsyncToPhotons";
+	static const char * const k_pch_Null_DisplayFrequency_Float = "displayFrequency";
+
+	//-----------------------------------------------------------------------------
+	// user interface keys
+	static const char * const k_pch_UserInterface_Section = "userinterface";
+	static const char * const k_pch_UserInterface_StatusAlwaysOnTop_Bool = "StatusAlwaysOnTop";
+	static const char * const k_pch_UserInterface_MinimizeToTray_Bool = "MinimizeToTray";
+	static const char * const k_pch_UserInterface_Screenshots_Bool = "screenshots";
+	static const char * const k_pch_UserInterface_ScreenshotType_Int = "screenshotType";
+
+	//-----------------------------------------------------------------------------
+	// notification keys
+	static const char * const k_pch_Notifications_Section = "notifications";
+	static const char * const k_pch_Notifications_DoNotDisturb_Bool = "DoNotDisturb";
+
+	//-----------------------------------------------------------------------------
+	// keyboard keys
+	static const char * const k_pch_Keyboard_Section = "keyboard";
+	static const char * const k_pch_Keyboard_TutorialCompletions = "TutorialCompletions";
+	static const char * const k_pch_Keyboard_ScaleX = "ScaleX";
+	static const char * const k_pch_Keyboard_ScaleY = "ScaleY";
+	static const char * const k_pch_Keyboard_OffsetLeftX = "OffsetLeftX";
+	static const char * const k_pch_Keyboard_OffsetRightX = "OffsetRightX";
+	static const char * const k_pch_Keyboard_OffsetY = "OffsetY";
+	static const char * const k_pch_Keyboard_Smoothing = "Smoothing";
+
+	//-----------------------------------------------------------------------------
+	// perf keys
+	static const char * const k_pch_Perf_Section = "perfcheck";
+	static const char * const k_pch_Perf_HeuristicActive_Bool = "heuristicActive";
+	static const char * const k_pch_Perf_NotifyInHMD_Bool = "warnInHMD";
+	static const char * const k_pch_Perf_NotifyOnlyOnce_Bool = "warnOnlyOnce";
+	static const char * const k_pch_Perf_AllowTimingStore_Bool = "allowTimingStore";
+	static const char * const k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit";
+	static const char * const k_pch_Perf_TestData_Float = "perfTestData";
+	static const char * const k_pch_Perf_LinuxGPUProfiling_Bool = "linuxGPUProfiling";
+
+	//-----------------------------------------------------------------------------
+	// collision bounds keys
+	static const char * const k_pch_CollisionBounds_Section = "collisionBounds";
+	static const char * const k_pch_CollisionBounds_Style_Int32 = "CollisionBoundsStyle";
+	static const char * const k_pch_CollisionBounds_GroundPerimeterOn_Bool = "CollisionBoundsGroundPerimeterOn";
+	static const char * const k_pch_CollisionBounds_CenterMarkerOn_Bool = "CollisionBoundsCenterMarkerOn";
+	static const char * const k_pch_CollisionBounds_PlaySpaceOn_Bool = "CollisionBoundsPlaySpaceOn";
+	static const char * const k_pch_CollisionBounds_FadeDistance_Float = "CollisionBoundsFadeDistance";
+	static const char * const k_pch_CollisionBounds_ColorGammaR_Int32 = "CollisionBoundsColorGammaR";
+	static const char * const k_pch_CollisionBounds_ColorGammaG_Int32 = "CollisionBoundsColorGammaG";
+	static const char * const k_pch_CollisionBounds_ColorGammaB_Int32 = "CollisionBoundsColorGammaB";
+	static const char * const k_pch_CollisionBounds_ColorGammaA_Int32 = "CollisionBoundsColorGammaA";
+
+	//-----------------------------------------------------------------------------
+	// camera keys
+	static const char * const k_pch_Camera_Section = "camera";
+	static const char * const k_pch_Camera_EnableCamera_Bool = "enableCamera";
+	static const char * const k_pch_Camera_EnableCameraInDashboard_Bool = "enableCameraInDashboard";
+	static const char * const k_pch_Camera_EnableCameraForCollisionBounds_Bool = "enableCameraForCollisionBounds";
+	static const char * const k_pch_Camera_EnableCameraForRoomView_Bool = "enableCameraForRoomView";
+	static const char * const k_pch_Camera_BoundsColorGammaR_Int32 = "cameraBoundsColorGammaR";
+	static const char * const k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGammaG";
+	static const char * const k_pch_Camera_BoundsColorGammaB_Int32 = "cameraBoundsColorGammaB";
+	static const char * const k_pch_Camera_BoundsColorGammaA_Int32 = "cameraBoundsColorGammaA";
+	static const char * const k_pch_Camera_BoundsStrength_Int32 = "cameraBoundsStrength";
+
+	//-----------------------------------------------------------------------------
+	// audio keys
+	static const char * const k_pch_audio_Section = "audio";
+	static const char * const k_pch_audio_OnPlaybackDevice_String = "onPlaybackDevice";
+	static const char * const k_pch_audio_OnRecordDevice_String = "onRecordDevice";
+	static const char * const k_pch_audio_OnPlaybackMirrorDevice_String = "onPlaybackMirrorDevice";
+	static const char * const k_pch_audio_OffPlaybackDevice_String = "offPlaybackDevice";
+	static const char * const k_pch_audio_OffRecordDevice_String = "offRecordDevice";
+	static const char * const k_pch_audio_VIVEHDMIGain = "viveHDMIGain";
+
+	//-----------------------------------------------------------------------------
+	// power management keys
+	static const char * const k_pch_Power_Section = "power";
+	static const char * const k_pch_Power_PowerOffOnExit_Bool = "powerOffOnExit";
+	static const char * const k_pch_Power_TurnOffScreensTimeout_Float = "turnOffScreensTimeout";
+	static const char * const k_pch_Power_TurnOffControllersTimeout_Float = "turnOffControllersTimeout";
+	static const char * const k_pch_Power_ReturnToWatchdogTimeout_Float = "returnToWatchdogTimeout";
+	static const char * const k_pch_Power_AutoLaunchSteamVROnButtonPress = "autoLaunchSteamVROnButtonPress";
+	static const char * const k_pch_Power_PauseCompositorOnStandby_Bool = "pauseCompositorOnStandby";
+
+	//-----------------------------------------------------------------------------
+	// dashboard keys
+	static const char * const k_pch_Dashboard_Section = "dashboard";
+	static const char * const k_pch_Dashboard_EnableDashboard_Bool = "enableDashboard";
+	static const char * const k_pch_Dashboard_ArcadeMode_Bool = "arcadeMode";
+
+	//-----------------------------------------------------------------------------
+	// model skin keys
+	static const char * const k_pch_modelskin_Section = "modelskins";
+
+	//-----------------------------------------------------------------------------
+	// driver keys - These could be checked in any driver_<name> section
+	static const char * const k_pch_Driver_Enable_Bool = "enable";
+
+} // namespace vr
+
+// ivrchaperone.h
+namespace vr
+{
+
+#pragma pack( push, 8 )
+
+enum ChaperoneCalibrationState
+{
+	// OK!
+	ChaperoneCalibrationState_OK = 1,									// Chaperone is fully calibrated and working correctly
+
+	// Warnings
+	ChaperoneCalibrationState_Warning = 100,
+	ChaperoneCalibrationState_Warning_BaseStationMayHaveMoved = 101,	// A base station thinks that it might have moved
+	ChaperoneCalibrationState_Warning_BaseStationRemoved = 102,			// There are less base stations than when calibrated
+	ChaperoneCalibrationState_Warning_SeatedBoundsInvalid = 103,		// Seated bounds haven't been calibrated for the current tracking center
+
+	// Errors
+	ChaperoneCalibrationState_Error = 200,								// The UniverseID is invalid
+	ChaperoneCalibrationState_Error_BaseStationUninitialized = 201,		// Tracking center hasn't be calibrated for at least one of the base stations
+	ChaperoneCalibrationState_Error_BaseStationConflict = 202,			// Tracking center is calibrated, but base stations disagree on the tracking space
+	ChaperoneCalibrationState_Error_PlayAreaInvalid = 203,				// Play Area hasn't been calibrated for the current tracking center
+	ChaperoneCalibrationState_Error_CollisionBoundsInvalid = 204,		// Collision Bounds haven't been calibrated for the current tracking center
+};
+
+
+/** HIGH LEVEL TRACKING SPACE ASSUMPTIONS:
+* 0,0,0 is the preferred standing area center.
+* 0Y is the floor height.
+* -Z is the preferred forward facing direction. */
+class IVRChaperone
+{
+public:
+
+	/** Get the current state of Chaperone calibration. This state can change at any time during a session due to physical base station changes. **/
+	virtual ChaperoneCalibrationState GetCalibrationState() = 0;
+
+	/** Returns the width and depth of the Play Area (formerly named Soft Bounds) in X and Z. 
+	* Tracking space center (0,0,0) is the center of the Play Area. **/
+	virtual bool GetPlayAreaSize( float *pSizeX, float *pSizeZ ) = 0;
+
+	/** Returns the 4 corner positions of the Play Area (formerly named Soft Bounds).
+	* Corners are in counter-clockwise order.
+	* Standing center (0,0,0) is the center of the Play Area.
+	* It's a rectangle.
+	* 2 sides are parallel to the X axis and 2 sides are parallel to the Z axis.
+	* Height of every corner is 0Y (on the floor). **/
+	virtual bool GetPlayAreaRect( HmdQuad_t *rect ) = 0;
+
+	/** Reload Chaperone data from the .vrchap file on disk. */
+	virtual void ReloadInfo( void ) = 0;
+
+	/** Optionally give the chaperone system a hit about the color and brightness in the scene **/
+	virtual void SetSceneColor( HmdColor_t color ) = 0;
+
+	/** Get the current chaperone bounds draw color and brightness **/
+	virtual void GetBoundsColor( HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor ) = 0;
+
+	/** Determine whether the bounds are showing right now **/
+	virtual bool AreBoundsVisible() = 0;
+
+	/** Force the bounds to show, mostly for utilities **/
+	virtual void ForceBoundsVisible( bool bForce ) = 0;
+};
+
+static const char * const IVRChaperone_Version = "IVRChaperone_003";
+
+#pragma pack( pop )
+
+}
+
+// ivrchaperonesetup.h
+namespace vr
+{
+
+enum EChaperoneConfigFile
+{
+	EChaperoneConfigFile_Live = 1,		// The live chaperone config, used by most applications and games
+	EChaperoneConfigFile_Temp = 2,		// The temporary chaperone config, used to live-preview collision bounds in room setup
+};
+
+enum EChaperoneImportFlags
+{
+	EChaperoneImport_BoundsOnly = 0x0001,
+};
+
+/** Manages the working copy of the chaperone info. By default this will be the same as the 
+* live copy. Any changes made with this interface will stay in the working copy until 
+* CommitWorkingCopy() is called, at which point the working copy and the live copy will be 
+* the same again. */
+class IVRChaperoneSetup
+{
+public:
+
+	/** Saves the current working copy to disk */
+	virtual bool CommitWorkingCopy( EChaperoneConfigFile configFile ) = 0;
+
+	/** Reverts the working copy to match the live chaperone calibration.
+	* To modify existing data this MUST be do WHILE getting a non-error ChaperoneCalibrationStatus.
+	* Only after this should you do gets and sets on the existing data. */
+	virtual void RevertWorkingCopy() = 0;
+
+	/** Returns the width and depth of the Play Area (formerly named Soft Bounds) in X and Z from the working copy.
+	* Tracking space center (0,0,0) is the center of the Play Area. */
+	virtual bool GetWorkingPlayAreaSize( float *pSizeX, float *pSizeZ ) = 0;
+
+	/** Returns the 4 corner positions of the Play Area (formerly named Soft Bounds) from the working copy.
+	* Corners are in clockwise order.
+	* Tracking space center (0,0,0) is the center of the Play Area.
+	* It's a rectangle.
+	* 2 sides are parallel to the X axis and 2 sides are parallel to the Z axis.
+	* Height of every corner is 0Y (on the floor). **/
+	virtual bool GetWorkingPlayAreaRect( HmdQuad_t *rect ) = 0;
+
+	/** Returns the number of Quads if the buffer points to null. Otherwise it returns Quads 
+	* into the buffer up to the max specified from the working copy. */
+	virtual bool GetWorkingCollisionBoundsInfo( VR_OUT_ARRAY_COUNT(punQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount ) = 0;
+
+	/** Returns the number of Quads if the buffer points to null. Otherwise it returns Quads 
+	* into the buffer up to the max specified. */
+	virtual bool GetLiveCollisionBoundsInfo( VR_OUT_ARRAY_COUNT(punQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount ) = 0;
+
+	/** Returns the preferred seated position from the working copy. */
+	virtual bool GetWorkingSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose ) = 0;
+
+	/** Returns the standing origin from the working copy. */
+	virtual bool GetWorkingStandingZeroPoseToRawTrackingPose( HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose ) = 0;
+
+	/** Sets the Play Area in the working copy. */
+	virtual void SetWorkingPlayAreaSize( float sizeX, float sizeZ ) = 0;
+
+	/** Sets the Collision Bounds in the working copy. */
+	virtual void SetWorkingCollisionBoundsInfo( VR_ARRAY_COUNT(unQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount ) = 0;
+
+	/** Sets the preferred seated position in the working copy. */
+	virtual void SetWorkingSeatedZeroPoseToRawTrackingPose( const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose ) = 0;
+
+	/** Sets the preferred standing position in the working copy. */
+	virtual void SetWorkingStandingZeroPoseToRawTrackingPose( const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose ) = 0;
+
+	/** Tear everything down and reload it from the file on disk */
+	virtual void ReloadFromDisk( EChaperoneConfigFile configFile ) = 0;
+
+	/** Returns the preferred seated position. */
+	virtual bool GetLiveSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose ) = 0;
+
+	virtual void SetWorkingCollisionBoundsTagsInfo( VR_ARRAY_COUNT(unTagCount) uint8_t *pTagsBuffer, uint32_t unTagCount ) = 0;
+	virtual bool GetLiveCollisionBoundsTagsInfo( VR_OUT_ARRAY_COUNT(punTagCount) uint8_t *pTagsBuffer, uint32_t *punTagCount ) = 0;
+
+	virtual bool SetWorkingPhysicalBoundsInfo( VR_ARRAY_COUNT(unQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount ) = 0;
+	virtual bool GetLivePhysicalBoundsInfo( VR_OUT_ARRAY_COUNT(punQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount ) = 0;
+
+	virtual bool ExportLiveToBuffer( VR_OUT_STRING() char *pBuffer, uint32_t *pnBufferLength ) = 0;
+	virtual bool ImportFromBufferToWorking( const char *pBuffer, uint32_t nImportFlags ) = 0;
+};
+
+static const char * const IVRChaperoneSetup_Version = "IVRChaperoneSetup_005";
+
+
+}
+
+// ivrcompositor.h
+namespace vr
+{
+
+#pragma pack( push, 8 )
+
+/** Errors that can occur with the VR compositor */
+enum EVRCompositorError
+{
+	VRCompositorError_None						= 0,
+	VRCompositorError_RequestFailed				= 1,
+	VRCompositorError_IncompatibleVersion		= 100,
+	VRCompositorError_DoNotHaveFocus			= 101,
+	VRCompositorError_InvalidTexture			= 102,
+	VRCompositorError_IsNotSceneApplication		= 103,
+	VRCompositorError_TextureIsOnWrongDevice	= 104,
+	VRCompositorError_TextureUsesUnsupportedFormat = 105,
+	VRCompositorError_SharedTexturesNotSupported = 106,
+	VRCompositorError_IndexOutOfRange			= 107,
+	VRCompositorError_AlreadySubmitted			= 108,
+	VRCompositorError_InvalidBounds				= 109,
+};
+
+/** Timing mode passed to SetExplicitTimingMode(); see that function for documentation */
+enum EVRCompositorTimingMode
+{
+	VRCompositorTimingMode_Implicit											= 0,
+	VRCompositorTimingMode_Explicit_RuntimePerformsPostPresentHandoff		= 1,
+	VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff	= 2,
+};
+
+const uint32_t VRCompositor_ReprojectionReason_Cpu = 0x01;
+const uint32_t VRCompositor_ReprojectionReason_Gpu = 0x02;
+const uint32_t VRCompositor_ReprojectionAsync      = 0x04;	// This flag indicates the async reprojection mode is active,
+															// but does not indicate if reprojection actually happened or not.
+															// Use the ReprojectionReason flags above to check if reprojection
+															// was actually applied (i.e. scene texture was reused).
+															// NumFramePresents > 1 also indicates the scene texture was reused,
+															// and also the number of times that it was presented in total.
+
+/** Provides a single frame's timing information to the app */
+struct Compositor_FrameTiming
+{
+	uint32_t m_nSize; // Set to sizeof( Compositor_FrameTiming )
+	uint32_t m_nFrameIndex;
+	uint32_t m_nNumFramePresents; // number of times this frame was presented
+	uint32_t m_nNumMisPresented; // number of times this frame was presented on a vsync other than it was originally predicted to
+	uint32_t m_nNumDroppedFrames; // number of additional times previous frame was scanned out
+	uint32_t m_nReprojectionFlags;
+
+	/** Absolute time reference for comparing frames.  This aligns with the vsync that running start is relative to. */
+	double m_flSystemTimeInSeconds;
+
+	/** These times may include work from other processes due to OS scheduling.
+	* The fewer packets of work these are broken up into, the less likely this will happen.
+	* GPU work can be broken up by calling Flush.  This can sometimes be useful to get the GPU started
+	* processing that work earlier in the frame. */
+	float m_flPreSubmitGpuMs; // time spent rendering the scene (gpu work submitted between WaitGetPoses and second Submit)
+	float m_flPostSubmitGpuMs; // additional time spent rendering by application (e.g. companion window)
+	float m_flTotalRenderGpuMs; // time between work submitted immediately after present (ideally vsync) until the end of compositor submitted work
+	float m_flCompositorRenderGpuMs; // time spend performing distortion correction, rendering chaperone, overlays, etc.
+	float m_flCompositorRenderCpuMs; // time spent on cpu submitting the above work for this frame
+	float m_flCompositorIdleCpuMs; // time spent waiting for running start (application could have used this much more time)
+
+	/** Miscellaneous measured intervals. */
+	float m_flClientFrameIntervalMs; // time between calls to WaitGetPoses
+	float m_flPresentCallCpuMs; // time blocked on call to present (usually 0.0, but can go long)
+	float m_flWaitForPresentCpuMs; // time spent spin-waiting for frame index to change (not near-zero indicates wait object failure)
+	float m_flSubmitFrameMs; // time spent in IVRCompositor::Submit (not near-zero indicates driver issue)
+
+	/** The following are all relative to this frame's SystemTimeInSeconds */
+	float m_flWaitGetPosesCalledMs;
+	float m_flNewPosesReadyMs;
+	float m_flNewFrameReadyMs; // second call to IVRCompositor::Submit
+	float m_flCompositorUpdateStartMs;
+	float m_flCompositorUpdateEndMs;
+	float m_flCompositorRenderStartMs;
+
+	vr::TrackedDevicePose_t m_HmdPose; // pose used by app to render this frame
+};
+
+/** Cumulative stats for current application.  These are not cleared until a new app connects,
+* but they do stop accumulating once the associated app disconnects. */
+struct Compositor_CumulativeStats
+{
+	uint32_t m_nPid; // Process id associated with these stats (may no longer be running).
+	uint32_t m_nNumFramePresents; // total number of times we called present (includes reprojected frames)
+	uint32_t m_nNumDroppedFrames; // total number of times an old frame was re-scanned out (without reprojection)
+	uint32_t m_nNumReprojectedFrames; // total number of times a frame was scanned out a second time (with reprojection)
+
+	/** Values recorded at startup before application has fully faded in the first time. */
+	uint32_t m_nNumFramePresentsOnStartup;
+	uint32_t m_nNumDroppedFramesOnStartup;
+	uint32_t m_nNumReprojectedFramesOnStartup;
+
+	/** Applications may explicitly fade to the compositor.  This is usually to handle level transitions, and loading often causes
+	* system wide hitches.  The following stats are collected during this period.  Does not include values recorded during startup. */
+	uint32_t m_nNumLoading;
+	uint32_t m_nNumFramePresentsLoading;
+	uint32_t m_nNumDroppedFramesLoading;
+	uint32_t m_nNumReprojectedFramesLoading;
+
+	/** If we don't get a new frame from the app in less than 2.5 frames, then we assume the app has hung and start
+	* fading back to the compositor.  The following stats are a result of this, and are a subset of those recorded above.
+	* Does not include values recorded during start up or loading. */
+	uint32_t m_nNumTimedOut;
+	uint32_t m_nNumFramePresentsTimedOut;
+	uint32_t m_nNumDroppedFramesTimedOut;
+	uint32_t m_nNumReprojectedFramesTimedOut;
+};
+
+#pragma pack( pop )
+
+/** Allows the application to interact with the compositor */
+class IVRCompositor
+{
+public:
+	/** Sets tracking space returned by WaitGetPoses */
+	virtual void SetTrackingSpace( ETrackingUniverseOrigin eOrigin ) = 0;
+
+	/** Gets current tracking space returned by WaitGetPoses */
+	virtual ETrackingUniverseOrigin GetTrackingSpace() = 0;
+
+	/** Scene applications should call this function to get poses to render with (and optionally poses predicted an additional frame out to use for gameplay).
+	* This function will block until "running start" milliseconds before the start of the frame, and should be called at the last moment before needing to
+	* start rendering.
+	*
+	* Return codes:
+	*	- IsNotSceneApplication (make sure to call VR_Init with VRApplicaiton_Scene)
+	*	- DoNotHaveFocus (some other app has taken focus - this will throttle the call to 10hz to reduce the impact on that app)
+	*/
+	virtual EVRCompositorError WaitGetPoses( VR_ARRAY_COUNT(unRenderPoseArrayCount) TrackedDevicePose_t* pRenderPoseArray, uint32_t unRenderPoseArrayCount,
+		VR_ARRAY_COUNT(unGamePoseArrayCount) TrackedDevicePose_t* pGamePoseArray, uint32_t unGamePoseArrayCount ) = 0;
+
+	/** Get the last set of poses returned by WaitGetPoses. */
+	virtual EVRCompositorError GetLastPoses( VR_ARRAY_COUNT( unRenderPoseArrayCount ) TrackedDevicePose_t* pRenderPoseArray, uint32_t unRenderPoseArrayCount,
+		VR_ARRAY_COUNT( unGamePoseArrayCount ) TrackedDevicePose_t* pGamePoseArray, uint32_t unGamePoseArrayCount ) = 0;
+
+	/** Interface for accessing last set of poses returned by WaitGetPoses one at a time.
+	* Returns VRCompositorError_IndexOutOfRange if unDeviceIndex not less than k_unMaxTrackedDeviceCount otherwise VRCompositorError_None.
+	* It is okay to pass NULL for either pose if you only want one of the values. */
+	virtual EVRCompositorError GetLastPoseForTrackedDeviceIndex( TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose ) = 0;
+
+	/** Updated scene texture to display. If pBounds is NULL the entire texture will be used.  If called from an OpenGL app, consider adding a glFlush after
+	* Submitting both frames to signal the driver to start processing, otherwise it may wait until the command buffer fills up, causing the app to miss frames.
+	*
+	* OpenGL dirty state:
+	*	glBindTexture
+	*
+	* Return codes:
+	*	- IsNotSceneApplication (make sure to call VR_Init with VRApplicaiton_Scene)
+	*	- DoNotHaveFocus (some other app has taken focus)
+	*	- TextureIsOnWrongDevice (application did not use proper AdapterIndex - see IVRSystem.GetDXGIOutputInfo)
+	*	- SharedTexturesNotSupported (application needs to call CreateDXGIFactory1 or later before creating DX device)
+	*	- TextureUsesUnsupportedFormat (scene textures must be compatible with DXGI sharing rules - e.g. uncompressed, no mips, etc.)
+	*	- InvalidTexture (usually means bad arguments passed in)
+	*	- AlreadySubmitted (app has submitted two left textures or two right textures in a single frame - i.e. before calling WaitGetPoses again)
+	*/
+	virtual EVRCompositorError Submit( EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t* pBounds = 0, EVRSubmitFlags nSubmitFlags = Submit_Default ) = 0;
+
+	/** Clears the frame that was sent with the last call to Submit. This will cause the 
+	* compositor to show the grid until Submit is called again. */
+	virtual void ClearLastSubmittedFrame() = 0;
+
+	/** Call immediately after presenting your app's window (i.e. companion window) to unblock the compositor.
+	* This is an optional call, which only needs to be used if you can't instead call WaitGetPoses immediately after Present.
+	* For example, if your engine's render and game loop are not on separate threads, or blocking the render thread until 3ms before the next vsync would
+	* introduce a deadlock of some sort.  This function tells the compositor that you have finished all rendering after having Submitted buffers for both
+	* eyes, and it is free to start its rendering work.  This should only be called from the same thread you are rendering on. */
+	virtual void PostPresentHandoff() = 0;
+
+	/** Returns true if timing data is filled it.  Sets oldest timing info if nFramesAgo is larger than the stored history.
+	* Be sure to set timing.size = sizeof(Compositor_FrameTiming) on struct passed in before calling this function. */
+	virtual bool GetFrameTiming( Compositor_FrameTiming *pTiming, uint32_t unFramesAgo = 0 ) = 0;
+
+	/** Interface for copying a range of timing data.  Frames are returned in ascending order (oldest to newest) with the last being the most recent frame.
+	* Only the first entry's m_nSize needs to be set, as the rest will be inferred from that.  Returns total number of entries filled out. */
+	virtual uint32_t GetFrameTimings( Compositor_FrameTiming *pTiming, uint32_t nFrames ) = 0;
+
+	/** Returns the time in seconds left in the current (as identified by FrameTiming's frameIndex) frame.
+	* Due to "running start", this value may roll over to the next frame before ever reaching 0.0. */
+	virtual float GetFrameTimeRemaining() = 0;
+
+	/** Fills out stats accumulated for the last connected application.  Pass in sizeof( Compositor_CumulativeStats ) as second parameter. */
+	virtual void GetCumulativeStats( Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes ) = 0;
+
+	/** Fades the view on the HMD to the specified color. The fade will take fSeconds, and the color values are between
+	* 0.0 and 1.0. This color is faded on top of the scene based on the alpha parameter. Removing the fade color instantly 
+	* would be FadeToColor( 0.0, 0.0, 0.0, 0.0, 0.0 ).  Values are in un-premultiplied alpha space. */
+	virtual void FadeToColor( float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground = false ) = 0;
+
+	/** Get current fade color value. */
+	virtual HmdColor_t GetCurrentFadeColor( bool bBackground = false ) = 0;
+
+	/** Fading the Grid in or out in fSeconds */
+	virtual void FadeGrid( float fSeconds, bool bFadeIn ) = 0;
+
+	/** Get current alpha value of grid. */
+	virtual float GetCurrentGridAlpha() = 0;
+
+	/** Override the skybox used in the compositor (e.g. for during level loads when the app can't feed scene images fast enough)
+	* Order is Front, Back, Left, Right, Top, Bottom.  If only a single texture is passed, it is assumed in lat-long format.
+	* If two are passed, it is assumed a lat-long stereo pair. */
+	virtual EVRCompositorError SetSkyboxOverride( VR_ARRAY_COUNT( unTextureCount ) const Texture_t *pTextures, uint32_t unTextureCount ) = 0;
+
+	/** Resets compositor skybox back to defaults. */
+	virtual void ClearSkyboxOverride() = 0;
+
+	/** Brings the compositor window to the front. This is useful for covering any other window that may be on the HMD
+	* and is obscuring the compositor window. */
+	virtual void CompositorBringToFront() = 0;
+
+	/** Pushes the compositor window to the back. This is useful for allowing other applications to draw directly to the HMD. */
+	virtual void CompositorGoToBack() = 0;
+
+	/** Tells the compositor process to clean up and exit. You do not need to call this function at shutdown. Under normal 
+	* circumstances the compositor will manage its own life cycle based on what applications are running. */
+	virtual void CompositorQuit() = 0;
+	
+	/** Return whether the compositor is fullscreen */
+	virtual bool IsFullscreen() = 0;
+
+	/** Returns the process ID of the process that is currently rendering the scene */
+	virtual uint32_t GetCurrentSceneFocusProcess() = 0;
+
+	/** Returns the process ID of the process that rendered the last frame (or 0 if the compositor itself rendered the frame.)
+	* Returns 0 when fading out from an app and the app's process Id when fading into an app. */
+	virtual uint32_t GetLastFrameRenderer() = 0;
+
+	/** Returns true if the current process has the scene focus */
+	virtual bool CanRenderScene() = 0;
+
+	/** Creates a window on the primary monitor to display what is being shown in the headset. */
+	virtual void ShowMirrorWindow() = 0;
+
+	/** Closes the mirror window. */
+	virtual void HideMirrorWindow() = 0;
+
+	/** Returns true if the mirror window is shown. */
+	virtual bool IsMirrorWindowVisible() = 0;
+
+	/** Writes all images that the compositor knows about (including overlays) to a 'screenshots' folder in the SteamVR runtime root. */
+	virtual void CompositorDumpImages() = 0;
+
+	/** Let an app know it should be rendering with low resources. */
+	virtual bool ShouldAppRenderWithLowResources() = 0;
+
+	/** Override interleaved reprojection logic to force on. */
+	virtual void ForceInterleavedReprojectionOn( bool bOverride ) = 0;
+
+	/** Force reconnecting to the compositor process. */
+	virtual void ForceReconnectProcess() = 0;
+
+	/** Temporarily suspends rendering (useful for finer control over scene transitions). */
+	virtual void SuspendRendering( bool bSuspend ) = 0;
+
+	/** Opens a shared D3D11 texture with the undistorted composited image for each eye.  Use ReleaseMirrorTextureD3D11 when finished
+	* instead of calling Release on the resource itself. */
+	virtual vr::EVRCompositorError GetMirrorTextureD3D11( vr::EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView ) = 0;
+	virtual void ReleaseMirrorTextureD3D11( void *pD3D11ShaderResourceView ) = 0;
+
+	/** Access to mirror textures from OpenGL. */
+	virtual vr::EVRCompositorError GetMirrorTextureGL( vr::EVREye eEye, vr::glUInt_t *pglTextureId, vr::glSharedTextureHandle_t *pglSharedTextureHandle ) = 0;
+	virtual bool ReleaseSharedGLTexture( vr::glUInt_t glTextureId, vr::glSharedTextureHandle_t glSharedTextureHandle ) = 0;
+	virtual void LockGLSharedTextureForAccess( vr::glSharedTextureHandle_t glSharedTextureHandle ) = 0;
+	virtual void UnlockGLSharedTextureForAccess( vr::glSharedTextureHandle_t glSharedTextureHandle ) = 0;
+
+	/** [Vulkan Only]
+	* return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing
+	* null.  The string will be a space separated list of-required instance extensions to enable in VkCreateInstance */
+	virtual uint32_t GetVulkanInstanceExtensionsRequired( VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0;
+
+	/** [Vulkan only]
+	* return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing
+	* null.  The string will be a space separated list of required device extensions to enable in VkCreateDevice */
+	virtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *pPhysicalDevice, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0;
+
+	/** [ Vulkan/D3D12 Only ]
+	* There are two purposes for SetExplicitTimingMode:
+	*	1. To get a more accurate GPU timestamp for when the frame begins in Vulkan/D3D12 applications.
+	*	2. (Optional) To avoid having WaitGetPoses access the Vulkan queue so that the queue can be accessed from
+	*	another thread while WaitGetPoses is executing.
+	*
+	* More accurate GPU timestamp for the start of the frame is achieved by the application calling
+	* SubmitExplicitTimingData immediately before its first submission to the Vulkan/D3D12 queue.
+	* This is more accurate because normally this GPU timestamp is recorded during WaitGetPoses.  In D3D11, 
+	* WaitGetPoses queues a GPU timestamp write, but it does not actually get submitted to the GPU until the 
+	* application flushes.  By using SubmitExplicitTimingData, the timestamp is recorded at the same place for 
+	* Vulkan/D3D12 as it is for D3D11, resulting in a more accurate GPU time measurement for the frame.
+	*
+	* Avoiding WaitGetPoses accessing the Vulkan queue can be achieved using SetExplicitTimingMode as well.  If this is desired,
+	* the application should set the timing mode to Explicit_ApplicationPerformsPostPresentHandoff and *MUST* call PostPresentHandoff
+	* itself. If these conditions are met, then WaitGetPoses is guaranteed not to access the queue.  Note that PostPresentHandoff
+	* and SubmitExplicitTimingData will access the queue, so only WaitGetPoses becomes safe for accessing the queue from another
+	* thread. */
+	virtual void SetExplicitTimingMode( EVRCompositorTimingMode eTimingMode ) = 0;
+
+	/** [ Vulkan/D3D12 Only ]
+	* Submit explicit timing data.  When SetExplicitTimingMode is true, this must be called immediately before
+	* the application's first vkQueueSubmit (Vulkan) or ID3D12CommandQueue::ExecuteCommandLists (D3D12) of each frame.
+	* This function will insert a GPU timestamp write just before the application starts its rendering.  This function
+	* will perform a vkQueueSubmit on Vulkan so must not be done simultaneously with VkQueue operations on another thread.
+	* Returns VRCompositorError_RequestFailed if SetExplicitTimingMode is not enabled. */
+	virtual EVRCompositorError SubmitExplicitTimingData() = 0;
+};
+
+static const char * const IVRCompositor_Version = "IVRCompositor_022";
+
+} // namespace vr
+
+
+
+// ivrnotifications.h
+namespace vr
+{
+
+#pragma pack( push, 8 )
+
+// Used for passing graphic data
+struct NotificationBitmap_t
+{
+	NotificationBitmap_t()
+		: m_pImageData( nullptr )
+		, m_nWidth( 0 )
+		, m_nHeight( 0 )
+		, m_nBytesPerPixel( 0 )
+	{
+	};
+
+	void *m_pImageData;
+	int32_t m_nWidth;
+	int32_t m_nHeight;
+	int32_t m_nBytesPerPixel;
+};
+
+
+/** Be aware that the notification type is used as 'priority' to pick the next notification */
+enum EVRNotificationType
+{
+	/** Transient notifications are automatically hidden after a period of time set by the user. 
+	* They are used for things like information and chat messages that do not require user interaction. */
+	EVRNotificationType_Transient = 0,
+
+	/** Persistent notifications are shown to the user until they are hidden by calling RemoveNotification().
+	* They are used for things like phone calls and alarms that require user interaction. */
+	EVRNotificationType_Persistent = 1,
+
+	/** System notifications are shown no matter what. It is expected, that the ulUserValue is used as ID.
+	 * If there is already a system notification in the queue with that ID it is not accepted into the queue
+	 * to prevent spamming with system notification */
+	EVRNotificationType_Transient_SystemWithUserValue = 2,
+};
+
+enum EVRNotificationStyle
+{
+	/** Creates a notification with minimal external styling. */
+	EVRNotificationStyle_None = 0,
+
+	/** Used for notifications about overlay-level status. In Steam this is used for events like downloads completing. */
+	EVRNotificationStyle_Application = 100,
+
+	/** Used for notifications about contacts that are unknown or not available. In Steam this is used for friend invitations and offline friends. */
+	EVRNotificationStyle_Contact_Disabled = 200,
+
+	/** Used for notifications about contacts that are available but inactive. In Steam this is used for friends that are online but not playing a game. */
+	EVRNotificationStyle_Contact_Enabled = 201,
+
+	/** Used for notifications about contacts that are available and active. In Steam this is used for friends that are online and currently running a game. */
+	EVRNotificationStyle_Contact_Active = 202,
+};
+
+static const uint32_t k_unNotificationTextMaxSize = 256;
+
+typedef uint32_t VRNotificationId;
+
+
+
+#pragma pack( pop )
+
+/** Allows notification sources to interact with the VR system
+	This current interface is not yet implemented. Do not use yet. */
+class IVRNotifications
+{
+public:
+	/** Create a notification and enqueue it to be shown to the user.
+	* An overlay handle is required to create a notification, as otherwise it would be impossible for a user to act on it.
+	* To create a two-line notification, use a line break ('\n') to split the text into two lines.
+	* The pImage argument may be NULL, in which case the specified overlay's icon will be used instead. */
+	virtual EVRNotificationError CreateNotification( VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char *pchText, EVRNotificationStyle style, const NotificationBitmap_t *pImage, /* out */ VRNotificationId *pNotificationId ) = 0;
+
+	/** Destroy a notification, hiding it first if it currently shown to the user. */
+	virtual EVRNotificationError RemoveNotification( VRNotificationId notificationId ) = 0;
+
+};
+
+static const char * const IVRNotifications_Version = "IVRNotifications_002";
+
+} // namespace vr
+
+
+
+// ivroverlay.h
+namespace vr
+{
+
+	/** The maximum length of an overlay key in bytes, counting the terminating null character. */
+	static const uint32_t k_unVROverlayMaxKeyLength = 128;
+
+	/** The maximum length of an overlay name in bytes, counting the terminating null character. */
+	static const uint32_t k_unVROverlayMaxNameLength = 128;
+
+	/** The maximum number of overlays that can exist in the system at one time. */
+	static const uint32_t k_unMaxOverlayCount = 64;
+
+	/** The maximum number of overlay intersection mask primitives per overlay */
+	static const uint32_t k_unMaxOverlayIntersectionMaskPrimitivesCount = 32;
+
+	/** Types of input supported by VR Overlays */
+	enum VROverlayInputMethod
+	{
+		VROverlayInputMethod_None		= 0, // No input events will be generated automatically for this overlay
+		VROverlayInputMethod_Mouse		= 1, // Tracked controllers will get mouse events automatically
+		VROverlayInputMethod_DualAnalog = 2, // Analog inputs from tracked controllers are turned into DualAnalog events
+	};
+
+	/** Allows the caller to figure out which overlay transform getter to call. */
+	enum VROverlayTransformType
+	{
+		VROverlayTransform_Absolute					= 0,
+		VROverlayTransform_TrackedDeviceRelative	= 1,
+		VROverlayTransform_SystemOverlay			= 2,
+		VROverlayTransform_TrackedComponent 		= 3,
+	};
+
+	/** Overlay control settings */
+	enum VROverlayFlags
+	{
+		VROverlayFlags_None			= 0,
+
+		// The following only take effect when rendered using the high quality render path (see SetHighQualityOverlay).
+		VROverlayFlags_Curved		= 1,
+		VROverlayFlags_RGSS4X		= 2,
+
+		// Set this flag on a dashboard overlay to prevent a tab from showing up for that overlay
+		VROverlayFlags_NoDashboardTab = 3,
+
+		// Set this flag on a dashboard that is able to deal with gamepad focus events
+		VROverlayFlags_AcceptsGamepadEvents = 4,
+
+		// Indicates that the overlay should dim/brighten to show gamepad focus
+		VROverlayFlags_ShowGamepadFocus = 5,
+
+		// When in VROverlayInputMethod_Mouse you can optionally enable sending VRScroll_t 
+		VROverlayFlags_SendVRScrollEvents = 6,
+		VROverlayFlags_SendVRTouchpadEvents = 7,
+
+		// If set this will render a vertical scroll wheel on the primary controller, 
+		//  only needed if not using VROverlayFlags_SendVRScrollEvents but you still want to represent a scroll wheel
+		VROverlayFlags_ShowTouchPadScrollWheel = 8,
+
+		// If this is set ownership and render access to the overlay are transferred 
+		// to the new scene process on a call to IVRApplications::LaunchInternalProcess
+		VROverlayFlags_TransferOwnershipToInternalProcess = 9,
+
+		// If set, renders 50% of the texture in each eye, side by side
+		VROverlayFlags_SideBySide_Parallel = 10, // Texture is left/right
+		VROverlayFlags_SideBySide_Crossed = 11, // Texture is crossed and right/left
+
+		VROverlayFlags_Panorama = 12, // Texture is a panorama
+		VROverlayFlags_StereoPanorama = 13, // Texture is a stereo panorama
+
+		// If this is set on an overlay owned by the scene application that overlay
+		// will be sorted with the "Other" overlays on top of all other scene overlays
+		VROverlayFlags_SortWithNonSceneOverlays = 14,
+
+		// If set, the overlay will be shown in the dashboard, otherwise it will be hidden.
+		VROverlayFlags_VisibleInDashboard = 15,
+	};
+
+	enum VRMessageOverlayResponse
+	{
+		VRMessageOverlayResponse_ButtonPress_0 = 0,
+		VRMessageOverlayResponse_ButtonPress_1 = 1,
+		VRMessageOverlayResponse_ButtonPress_2 = 2,
+		VRMessageOverlayResponse_ButtonPress_3 = 3,
+		VRMessageOverlayResponse_CouldntFindSystemOverlay = 4,
+		VRMessageOverlayResponse_CouldntFindOrCreateClientOverlay= 5,
+		VRMessageOverlayResponse_ApplicationQuit = 6
+	};
+
+	struct VROverlayIntersectionParams_t
+	{
+		HmdVector3_t vSource;
+		HmdVector3_t vDirection;
+		ETrackingUniverseOrigin eOrigin;
+	};
+
+	struct VROverlayIntersectionResults_t
+	{
+		HmdVector3_t vPoint;
+		HmdVector3_t vNormal;
+		HmdVector2_t vUVs;
+		float fDistance;
+	};
+
+	// Input modes for the Big Picture gamepad text entry
+	enum EGamepadTextInputMode
+	{
+		k_EGamepadTextInputModeNormal = 0,
+		k_EGamepadTextInputModePassword = 1,
+		k_EGamepadTextInputModeSubmit = 2,
+	};
+
+	// Controls number of allowed lines for the Big Picture gamepad text entry
+	enum EGamepadTextInputLineMode
+	{
+		k_EGamepadTextInputLineModeSingleLine = 0,
+		k_EGamepadTextInputLineModeMultipleLines = 1
+	};
+
+	/** Directions for changing focus between overlays with the gamepad */
+	enum EOverlayDirection
+	{
+		OverlayDirection_Up = 0,
+		OverlayDirection_Down = 1,
+		OverlayDirection_Left = 2,
+		OverlayDirection_Right = 3,
+		
+		OverlayDirection_Count = 4,
+	};
+
+	enum EVROverlayIntersectionMaskPrimitiveType
+	{
+		OverlayIntersectionPrimitiveType_Rectangle,
+		OverlayIntersectionPrimitiveType_Circle,
+	};
+
+	struct IntersectionMaskRectangle_t
+	{
+		float m_flTopLeftX;
+		float m_flTopLeftY;
+		float m_flWidth;
+		float m_flHeight;
+	};
+
+	struct IntersectionMaskCircle_t
+	{
+		float m_flCenterX;
+		float m_flCenterY;
+		float m_flRadius;
+	};
+
+	/** NOTE!!! If you change this you MUST manually update openvr_interop.cs.py and openvr_api_flat.h.py */
+	typedef union
+	{
+		IntersectionMaskRectangle_t m_Rectangle;
+		IntersectionMaskCircle_t m_Circle;
+	} VROverlayIntersectionMaskPrimitive_Data_t;
+
+	struct VROverlayIntersectionMaskPrimitive_t
+	{
+		EVROverlayIntersectionMaskPrimitiveType m_nPrimitiveType;
+		VROverlayIntersectionMaskPrimitive_Data_t m_Primitive;
+	};
+
+	class IVROverlay
+	{
+	public:
+
+		// ---------------------------------------------
+		// Overlay management methods
+		// ---------------------------------------------
+
+		/** Finds an existing overlay with the specified key. */
+		virtual EVROverlayError FindOverlay( const char *pchOverlayKey, VROverlayHandle_t * pOverlayHandle ) = 0;
+
+		/** Creates a new named overlay. All overlays start hidden and with default settings. */
+		virtual EVROverlayError CreateOverlay( const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t * pOverlayHandle ) = 0;
+
+		/** Destroys the specified overlay. When an application calls VR_Shutdown all overlays created by that app are
+		* automatically destroyed. */
+		virtual EVROverlayError DestroyOverlay( VROverlayHandle_t ulOverlayHandle ) = 0;
+
+		/** Specify which overlay to use the high quality render path.  This overlay will be composited in during the distortion pass which
+		* results in it drawing on top of everything else, but also at a higher quality as it samples the source texture directly rather than
+		* 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
+		* for overlays that are expected to take up most of the user's view (e.g. streaming video).
+		* This mode does not support mouse input to your overlay. */
+		virtual EVROverlayError SetHighQualityOverlay( VROverlayHandle_t ulOverlayHandle ) = 0;
+
+		/** Returns the overlay handle of the current overlay being rendered using the single high quality overlay render path.
+		* Otherwise it will return k_ulOverlayHandleInvalid. */
+		virtual vr::VROverlayHandle_t GetHighQualityOverlay() = 0;
+
+		/** Fills the provided buffer with the string key of the overlay. Returns the size of buffer required to store the key, including
+		* the terminating null character. k_unVROverlayMaxKeyLength will be enough bytes to fit the string. */
+		virtual uint32_t GetOverlayKey( VROverlayHandle_t ulOverlayHandle, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, EVROverlayError *pError = 0L ) = 0;
+
+		/** Fills the provided buffer with the friendly name of the overlay. Returns the size of buffer required to store the key, including
+		* the terminating null character. k_unVROverlayMaxNameLength will be enough bytes to fit the string. */
+		virtual uint32_t GetOverlayName( VROverlayHandle_t ulOverlayHandle, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, EVROverlayError *pError = 0L ) = 0;
+
+		/** set the name to use for this overlay */
+		virtual EVROverlayError SetOverlayName( VROverlayHandle_t ulOverlayHandle, const char *pchName ) = 0;
+
+		/** Gets the raw image data from an overlay. Overlay image data is always returned as RGBA data, 4 bytes per pixel. If the buffer is not large enough, width and height 
+		* will be set and VROverlayError_ArrayTooSmall is returned. */
+		virtual EVROverlayError GetOverlayImageData( VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight ) = 0;
+
+		/** returns a string that corresponds with the specified overlay error. The string will be the name 
+		* of the error enum value for all valid error codes */
+		virtual const char *GetOverlayErrorNameFromEnum( EVROverlayError error ) = 0;
+
+		// ---------------------------------------------
+		// Overlay rendering methods
+		// ---------------------------------------------
+
+		/** Sets the pid that is allowed to render to this overlay (the creator pid is always allow to render),
+		*	by default this is the pid of the process that made the overlay */
+		virtual EVROverlayError SetOverlayRenderingPid( VROverlayHandle_t ulOverlayHandle, uint32_t unPID ) = 0;
+
+		/** Gets the pid that is allowed to render to this overlay */
+		virtual uint32_t GetOverlayRenderingPid( VROverlayHandle_t ulOverlayHandle ) = 0;
+
+		/** Specify flag setting for a given overlay */
+		virtual EVROverlayError SetOverlayFlag( VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled ) = 0;
+
+		/** Sets flag setting for a given overlay */
+		virtual EVROverlayError GetOverlayFlag( VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled ) = 0;
+
+		/** Sets the color tint of the overlay quad. Use 0.0 to 1.0 per channel. */
+		virtual EVROverlayError SetOverlayColor( VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue ) = 0;
+
+		/** Gets the color tint of the overlay quad. */
+		virtual EVROverlayError GetOverlayColor( VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue ) = 0;
+
+		/** Sets the alpha of the overlay quad. Use 1.0 for 100 percent opacity to 0.0 for 0 percent opacity. */
+		virtual EVROverlayError SetOverlayAlpha( VROverlayHandle_t ulOverlayHandle, float fAlpha ) = 0;
+
+		/** Gets the alpha of the overlay quad. By default overlays are rendering at 100 percent alpha (1.0). */
+		virtual EVROverlayError GetOverlayAlpha( VROverlayHandle_t ulOverlayHandle, float *pfAlpha ) = 0;
+
+		/** Sets the aspect ratio of the texels in the overlay. 1.0 means the texels are square. 2.0 means the texels
+		* are twice as wide as they are tall. Defaults to 1.0. */
+		virtual EVROverlayError SetOverlayTexelAspect( VROverlayHandle_t ulOverlayHandle, float fTexelAspect ) = 0;
+
+		/** Gets the aspect ratio of the texels in the overlay. Defaults to 1.0 */
+		virtual EVROverlayError GetOverlayTexelAspect( VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect ) = 0;
+
+		/** Sets the rendering sort order for the overlay. Overlays are rendered this order:
+		*      Overlays owned by the scene application
+		*      Overlays owned by some other application
+		*
+		*	Within a category overlays are rendered lowest sort order to highest sort order. Overlays with the same 
+		*	sort order are rendered back to front base on distance from the HMD.
+		*
+		*	Sort order defaults to 0. */
+		virtual EVROverlayError SetOverlaySortOrder( VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder ) = 0;
+
+		/** Gets the sort order of the overlay. See SetOverlaySortOrder for how this works. */
+		virtual EVROverlayError GetOverlaySortOrder( VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder ) = 0;
+
+		/** Sets the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across */
+		virtual EVROverlayError SetOverlayWidthInMeters( VROverlayHandle_t ulOverlayHandle, float fWidthInMeters ) = 0;
+
+		/** Returns the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across */
+		virtual EVROverlayError GetOverlayWidthInMeters( VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters ) = 0;
+
+		/** For high-quality curved overlays only, sets the distance range in meters from the overlay used to automatically curve
+		* the surface around the viewer.  Min is distance is when the surface will be most curved.  Max is when least curved. */
+		virtual EVROverlayError SetOverlayAutoCurveDistanceRangeInMeters( VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters ) = 0;
+
+		/** For high-quality curved overlays only, gets the distance range in meters from the overlay used to automatically curve
+		* the surface around the viewer.  Min is distance is when the surface will be most curved.  Max is when least curved. */
+		virtual EVROverlayError GetOverlayAutoCurveDistanceRangeInMeters( VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters ) = 0;
+
+		/** Sets the colorspace the overlay texture's data is in.  Defaults to 'auto'.
+		* If the texture needs to be resolved, you should call SetOverlayTexture with the appropriate colorspace instead. */
+		virtual EVROverlayError SetOverlayTextureColorSpace( VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace ) = 0;
+
+		/** Gets the overlay's current colorspace setting. */
+		virtual EVROverlayError GetOverlayTextureColorSpace( VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace ) = 0;
+
+		/** Sets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner. */
+		virtual EVROverlayError SetOverlayTextureBounds( VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds ) = 0;
+
+		/** Gets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner. */
+		virtual EVROverlayError GetOverlayTextureBounds( VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds ) = 0;
+
+		/** Gets render model to draw behind this overlay */
+		virtual uint32_t GetOverlayRenderModel( vr::VROverlayHandle_t ulOverlayHandle, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, vr::EVROverlayError *pError ) = 0;
+
+		/** Sets render model to draw behind this overlay and the vertex color to use, pass null for pColor to match the overlays vertex color. 
+			The model is scaled by the same amount as the overlay, with a default of 1m. */
+		virtual vr::EVROverlayError SetOverlayRenderModel( vr::VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor ) = 0;
+
+		/** Returns the transform type of this overlay. */
+		virtual EVROverlayError GetOverlayTransformType( VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType ) = 0;
+
+		/** Sets the transform to absolute tracking origin. */
+		virtual EVROverlayError SetOverlayTransformAbsolute( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform ) = 0;
+
+		/** Gets the transform if it is absolute. Returns an error if the transform is some other type. */
+		virtual EVROverlayError GetOverlayTransformAbsolute( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform ) = 0;
+
+		/** Sets the transform to relative to the transform of the specified tracked device. */
+		virtual EVROverlayError SetOverlayTransformTrackedDeviceRelative( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform ) = 0;
+
+		/** Gets the transform if it is relative to a tracked device. Returns an error if the transform is some other type. */
+		virtual EVROverlayError GetOverlayTransformTrackedDeviceRelative( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform ) = 0;
+
+		/** Sets the transform to draw the overlay on a rendermodel component mesh instead of a quad. This will only draw when the system is
+		* drawing the device. Overlays with this transform type cannot receive mouse events. */
+		virtual EVROverlayError SetOverlayTransformTrackedDeviceComponent( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName ) = 0;
+
+		/** Gets the transform information when the overlay is rendering on a component. */
+		virtual EVROverlayError GetOverlayTransformTrackedDeviceComponent( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, VR_OUT_STRING() char *pchComponentName, uint32_t unComponentNameSize ) = 0;
+
+		/** Gets the transform if it is relative to another overlay. Returns an error if the transform is some other type. */
+		virtual vr::EVROverlayError GetOverlayTransformOverlayRelative( VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform ) = 0;
+		
+		/** Sets the transform to relative to the transform of the specified overlay. This overlays visibility will also track the parents visibility */
+		virtual vr::EVROverlayError SetOverlayTransformOverlayRelative( VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform ) = 0;
+
+		/** Shows the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this. */
+		virtual EVROverlayError ShowOverlay( VROverlayHandle_t ulOverlayHandle ) = 0;
+
+		/** Hides the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this. */
+		virtual EVROverlayError HideOverlay( VROverlayHandle_t ulOverlayHandle ) = 0;
+
+		/** Returns true if the overlay is visible. */
+		virtual bool IsOverlayVisible( VROverlayHandle_t ulOverlayHandle ) = 0;
+
+		/** Get the transform in 3d space associated with a specific 2d point in the overlay's coordinate space (where 0,0 is the lower left). -Z points out of the overlay */
+		virtual EVROverlayError GetTransformForOverlayCoordinates( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform ) = 0;
+
+		// ---------------------------------------------
+		// Overlay input methods
+		// ---------------------------------------------
+
+		/** Returns true and fills the event with the next event on the overlay's event queue, if there is one. 
+		* If there are no events this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct */
+		virtual bool PollNextOverlayEvent( VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent, uint32_t uncbVREvent ) = 0;
+
+		/** Returns the current input settings for the specified overlay. */
+		virtual EVROverlayError GetOverlayInputMethod( VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod ) = 0;
+
+		/** Sets the input settings for the specified overlay. */
+		virtual EVROverlayError SetOverlayInputMethod( VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod ) = 0;
+
+		/** Gets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is
+		* typically the size of the underlying UI in pixels. */
+		virtual EVROverlayError GetOverlayMouseScale( VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale ) = 0;
+
+		/** Sets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is
+		* typically the size of the underlying UI in pixels (not in world space). */
+		virtual EVROverlayError SetOverlayMouseScale( VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale ) = 0;
+
+		/** Computes the overlay-space pixel coordinates of where the ray intersects the overlay with the
+		* specified settings. Returns false if there is no intersection. */
+		virtual bool ComputeOverlayIntersection( VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults ) = 0;
+
+		/** Returns true if the specified overlay is the hover target. An overlay is the hover target when it is the last overlay "moused over" 
+		* by the virtual mouse pointer */
+		virtual bool IsHoverTargetOverlay( VROverlayHandle_t ulOverlayHandle ) = 0;
+
+		/** Returns the current Gamepad focus overlay */
+		virtual vr::VROverlayHandle_t GetGamepadFocusOverlay() = 0;
+
+		/** Sets the current Gamepad focus overlay */
+		virtual EVROverlayError SetGamepadFocusOverlay( VROverlayHandle_t ulNewFocusOverlay ) = 0;
+
+		/** Sets an overlay's neighbor. This will also set the neighbor of the "to" overlay
+		* to point back to the "from" overlay. If an overlay's neighbor is set to invalid both
+		* ends will be cleared */
+		virtual EVROverlayError SetOverlayNeighbor( EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo ) = 0;
+
+		/** Changes the Gamepad focus from one overlay to one of its neighbors. Returns VROverlayError_NoNeighbor if there is no
+		* neighbor in that direction */
+		virtual EVROverlayError MoveGamepadFocusToNeighbor( EOverlayDirection eDirection, VROverlayHandle_t ulFrom ) = 0;
+
+		/** Sets the analog input to Dual Analog coordinate scale for the specified overlay. */
+		virtual EVROverlayError SetOverlayDualAnalogTransform( VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t & vCenter, float fRadius ) = 0;
+
+		/** Gets the analog input to Dual Analog coordinate scale for the specified overlay. */
+		virtual EVROverlayError GetOverlayDualAnalogTransform( VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius ) = 0;
+
+		// ---------------------------------------------
+		// Overlay texture methods
+		// ---------------------------------------------
+
+		/** Texture to draw for the overlay. This function can only be called by the overlay's creator or renderer process (see SetOverlayRenderingPid) .
+		*
+		* OpenGL dirty state:
+		*	glBindTexture
+		*/
+		virtual EVROverlayError SetOverlayTexture( VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) = 0;
+
+		/** Use this to tell the overlay system to release the texture set for this overlay. */
+		virtual EVROverlayError ClearOverlayTexture( VROverlayHandle_t ulOverlayHandle ) = 0;
+
+		/** Separate interface for providing the data as a stream of bytes, but there is an upper bound on data 
+		* that can be sent. This function can only be called by the overlay's renderer process. */
+		virtual EVROverlayError SetOverlayRaw( VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth ) = 0;
+
+		/** Separate interface for providing the image through a filename: can be png or jpg, and should not be bigger than 1920x1080.
+		* This function can only be called by the overlay's renderer process */
+		virtual EVROverlayError SetOverlayFromFile( VROverlayHandle_t ulOverlayHandle, const char *pchFilePath ) = 0;
+
+		/** Get the native texture handle/device for an overlay you have created.
+		* On windows this handle will be a ID3D11ShaderResourceView with a ID3D11Texture2D bound.
+		*
+		* The texture will always be sized to match the backing texture you supplied in SetOverlayTexture above.
+		*
+		* You MUST call ReleaseNativeOverlayHandle() with pNativeTextureHandle once you are done with this texture.
+		*
+		* pNativeTextureHandle is an OUTPUT, it will be a pointer to a ID3D11ShaderResourceView *.
+		* pNativeTextureRef is an INPUT and should be a ID3D11Resource *. The device used by pNativeTextureRef will be used to bind pNativeTextureHandle.
+		*/
+		virtual EVROverlayError GetOverlayTexture( VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds ) = 0;
+
+		/** Release the pNativeTextureHandle provided from the GetOverlayTexture call, this allows the system to free the underlying GPU resources for this object,
+		* so only do it once you stop rendering this texture.
+		*/
+		virtual EVROverlayError ReleaseNativeOverlayHandle( VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle ) = 0;
+
+		/** Get the size of the overlay texture */
+		virtual EVROverlayError GetOverlayTextureSize( VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight ) = 0;
+
+		// ----------------------------------------------
+		// Dashboard Overlay Methods
+		// ----------------------------------------------
+
+		/** Creates a dashboard overlay and returns its handle */
+		virtual EVROverlayError CreateDashboardOverlay( const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t *pThumbnailHandle ) = 0;
+
+		/** Returns true if the dashboard is visible */
+		virtual bool IsDashboardVisible() = 0;
+
+		/** returns true if the dashboard is visible and the specified overlay is the active system Overlay */
+		virtual bool IsActiveDashboardOverlay( VROverlayHandle_t ulOverlayHandle ) = 0;
+
+		/** Sets the dashboard overlay to only appear when the specified process ID has scene focus */
+		virtual EVROverlayError SetDashboardOverlaySceneProcess( VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId ) = 0;
+
+		/** Gets the process ID that this dashboard overlay requires to have scene focus */
+		virtual EVROverlayError GetDashboardOverlaySceneProcess( VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId ) = 0;
+
+		/** Shows the dashboard. */
+		virtual void ShowDashboard( const char *pchOverlayToShow ) = 0;
+
+		/** Returns the tracked device that has the laser pointer in the dashboard */
+		virtual vr::TrackedDeviceIndex_t GetPrimaryDashboardDevice() = 0;
+
+		// ---------------------------------------------
+		// Keyboard methods
+		// ---------------------------------------------
+		
+		/** Show the virtual keyboard to accept input **/
+		virtual EVROverlayError ShowKeyboard( EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue ) = 0;
+
+		virtual EVROverlayError ShowKeyboardForOverlay( VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue ) = 0;
+
+		/** Get the text that was entered into the text input **/
+		virtual uint32_t GetKeyboardText( VR_OUT_STRING() char *pchText, uint32_t cchText ) = 0;
+
+		/** Hide the virtual keyboard **/
+		virtual void HideKeyboard() = 0;
+
+		/** Set the position of the keyboard in world space **/
+		virtual void SetKeyboardTransformAbsolute( ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform ) = 0;
+
+		/** Set the position of the keyboard in overlay space by telling it to avoid a rectangle in the overlay. Rectangle coords have (0,0) in the bottom left **/
+		virtual void SetKeyboardPositionForOverlay( VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect ) = 0;
+
+		// ---------------------------------------------
+		// Overlay input methods
+		// ---------------------------------------------
+
+		/** Sets a list of primitives to be used for controller ray intersection
+		* typically the size of the underlying UI in pixels (not in world space). */
+		virtual EVROverlayError SetOverlayIntersectionMask( VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize = sizeof( VROverlayIntersectionMaskPrimitive_t ) ) = 0;
+
+		virtual EVROverlayError GetOverlayFlags( VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags ) = 0;
+
+		// ---------------------------------------------
+		// Message box methods
+		// ---------------------------------------------
+
+		/** Show the message overlay. This will block and return you a result. **/
+		virtual VRMessageOverlayResponse ShowMessageOverlay( const char* pchText, const char* pchCaption, const char* pchButton0Text, const char* pchButton1Text = nullptr, const char* pchButton2Text = nullptr, const char* pchButton3Text = nullptr ) = 0;
+
+		/** If the calling process owns the overlay and it's open, this will close it. **/
+		virtual void CloseMessageOverlay() = 0;
+	};
+
+	static const char * const IVROverlay_Version = "IVROverlay_018";
+
+} // namespace vr
+
+// ivrrendermodels.h
+namespace vr
+{
+
+static const char * const k_pch_Controller_Component_GDC2015 = "gdc2015";   // Canonical coordinate system of the gdc 2015 wired controller, provided for backwards compatibility
+static const char * const k_pch_Controller_Component_Base = "base";         // For controllers with an unambiguous 'base'.
+static const char * const k_pch_Controller_Component_Tip = "tip";           // For controllers with an unambiguous 'tip' (used for 'laser-pointing')
+static const char * const k_pch_Controller_Component_HandGrip = "handgrip"; // Neutral, ambidextrous hand-pose when holding controller. On plane between neutrally posed index finger and thumb
+static const char * const k_pch_Controller_Component_Status = "status";		// 1:1 aspect ratio status area, with canonical [0,1] uv mapping
+
+#pragma pack( push, 8 )
+
+/** Errors that can occur with the VR compositor */
+enum EVRRenderModelError
+{
+	VRRenderModelError_None = 0,
+	VRRenderModelError_Loading = 100,
+	VRRenderModelError_NotSupported = 200,
+	VRRenderModelError_InvalidArg = 300,
+	VRRenderModelError_InvalidModel = 301,
+	VRRenderModelError_NoShapes = 302,
+	VRRenderModelError_MultipleShapes = 303,
+	VRRenderModelError_TooManyVertices = 304,
+	VRRenderModelError_MultipleTextures = 305,
+	VRRenderModelError_BufferTooSmall = 306,
+	VRRenderModelError_NotEnoughNormals = 307,
+	VRRenderModelError_NotEnoughTexCoords = 308,
+
+	VRRenderModelError_InvalidTexture = 400,
+};
+
+typedef uint32_t VRComponentProperties;
+
+enum EVRComponentProperty
+{
+	VRComponentProperty_IsStatic = (1 << 0),
+	VRComponentProperty_IsVisible = (1 << 1),
+	VRComponentProperty_IsTouched = (1 << 2),
+	VRComponentProperty_IsPressed = (1 << 3),
+	VRComponentProperty_IsScrolled = (1 << 4),
+};
+
+/** Describes state information about a render-model component, including transforms and other dynamic properties */
+struct RenderModel_ComponentState_t
+{
+	HmdMatrix34_t mTrackingToComponentRenderModel;  // Transform required when drawing the component render model
+	HmdMatrix34_t mTrackingToComponentLocal;        // Transform available for attaching to a local component coordinate system (-Z out from surface )
+	VRComponentProperties uProperties;
+};
+
+/** A single vertex in a render model */
+struct RenderModel_Vertex_t
+{
+	HmdVector3_t vPosition;		// position in meters in device space
+	HmdVector3_t vNormal;
+	float rfTextureCoord[2];
+};
+
+/** A texture map for use on a render model */
+#if defined(__linux__) || defined(__APPLE__) 
+// This structure was originally defined mis-packed on Linux, preserved for 
+// compatibility. 
+#pragma pack( push, 4 )
+#endif
+
+struct RenderModel_TextureMap_t
+{
+	uint16_t unWidth, unHeight; // width and height of the texture map in pixels
+	const uint8_t *rubTextureMapData;	// Map texture data. All textures are RGBA with 8 bits per channel per pixel. Data size is width * height * 4ub
+};
+#if defined(__linux__) || defined(__APPLE__) 
+#pragma pack( pop )
+#endif
+
+/**  Session unique texture identifier. Rendermodels which share the same texture will have the same id.
+IDs <0 denote the texture is not present */
+
+typedef int32_t TextureID_t;
+
+const TextureID_t INVALID_TEXTURE_ID = -1;
+
+#if defined(__linux__) || defined(__APPLE__) 
+// This structure was originally defined mis-packed on Linux, preserved for 
+// compatibility. 
+#pragma pack( push, 4 )
+#endif
+
+struct RenderModel_t
+{
+	const RenderModel_Vertex_t *rVertexData;	// Vertex data for the mesh
+	uint32_t unVertexCount;						// Number of vertices in the vertex data
+	const uint16_t *rIndexData;					// Indices into the vertex data for each triangle
+	uint32_t unTriangleCount;					// Number of triangles in the mesh. Index count is 3 * TriangleCount
+	TextureID_t diffuseTextureId;				// Session unique texture identifier. Rendermodels which share the same texture will have the same id. <0 == texture not present
+};
+#if defined(__linux__) || defined(__APPLE__) 
+#pragma pack( pop )
+#endif
+
+
+struct RenderModel_ControllerMode_State_t
+{
+	bool bScrollWheelVisible; // is this controller currently set to be in a scroll wheel mode
+};
+
+#pragma pack( pop )
+
+class IVRRenderModels
+{
+public:
+
+	/** Loads and returns a render model for use in the application. pchRenderModelName should be a render model name
+	* from the Prop_RenderModelName_String property or an absolute path name to a render model on disk. 
+	*
+	* The resulting render model is valid until VR_Shutdown() is called or until FreeRenderModel() is called. When the 
+	* application is finished with the render model it should call FreeRenderModel() to free the memory associated
+	* with the model.
+	*
+	* The method returns VRRenderModelError_Loading while the render model is still being loaded.
+	* The method returns VRRenderModelError_None once loaded successfully, otherwise will return an error. */
+	virtual EVRRenderModelError LoadRenderModel_Async( const char *pchRenderModelName, RenderModel_t **ppRenderModel ) = 0;
+
+	/** Frees a previously returned render model
+	*   It is safe to call this on a null ptr. */
+	virtual void FreeRenderModel( RenderModel_t *pRenderModel ) = 0;
+
+	/** Loads and returns a texture for use in the application. */
+	virtual EVRRenderModelError LoadTexture_Async( TextureID_t textureId, RenderModel_TextureMap_t **ppTexture ) = 0;
+
+	/** Frees a previously returned texture
+	*   It is safe to call this on a null ptr. */
+	virtual void FreeTexture( RenderModel_TextureMap_t *pTexture ) = 0;
+
+	/** Creates a D3D11 texture and loads data into it. */
+	virtual EVRRenderModelError LoadTextureD3D11_Async( TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D ) = 0;
+
+	/** Helper function to copy the bits into an existing texture. */
+	virtual EVRRenderModelError LoadIntoTextureD3D11_Async( TextureID_t textureId, void *pDstTexture ) = 0;
+
+	/** Use this to free textures created with LoadTextureD3D11_Async instead of calling Release on them. */
+	virtual void FreeTextureD3D11( void *pD3D11Texture2D ) = 0;
+
+	/** Use this to get the names of available render models.  Index does not correlate to a tracked device index, but
+	* is only used for iterating over all available render models.  If the index is out of range, this function will return 0.
+	* Otherwise, it will return the size of the buffer required for the name. */
+	virtual uint32_t GetRenderModelName( uint32_t unRenderModelIndex, VR_OUT_STRING() char *pchRenderModelName, uint32_t unRenderModelNameLen ) = 0;
+
+	/** Returns the number of available render models. */
+	virtual uint32_t GetRenderModelCount() = 0;
+
+
+	/** Returns the number of components of the specified render model.
+	*  Components are useful when client application wish to draw, label, or otherwise interact with components of tracked objects.
+	*  Examples controller components:
+	*   renderable things such as triggers, buttons
+	*   non-renderable things which include coordinate systems such as 'tip', 'base', a neutral controller agnostic hand-pose
+	*   If all controller components are enumerated and rendered, it will be equivalent to drawing the traditional render model
+	*   Returns 0 if components not supported, >0 otherwise */
+	virtual uint32_t GetComponentCount( const char *pchRenderModelName ) = 0;
+
+	/** Use this to get the names of available components.  Index does not correlate to a tracked device index, but
+	* is only used for iterating over all available components.  If the index is out of range, this function will return 0.
+	* Otherwise, it will return the size of the buffer required for the name. */
+	virtual uint32_t GetComponentName( const char *pchRenderModelName, uint32_t unComponentIndex, VR_OUT_STRING( ) char *pchComponentName, uint32_t unComponentNameLen ) = 0;
+
+	/** Get the button mask for all buttons associated with this component
+	*   If no buttons (or axes) are associated with this component, return 0
+	*   Note: multiple components may be associated with the same button. Ex: two grip buttons on a single controller.
+	*   Note: A single component may be associated with multiple buttons. Ex: A trackpad which also provides "D-pad" functionality */
+	virtual uint64_t GetComponentButtonMask( const char *pchRenderModelName, const char *pchComponentName ) = 0;
+
+	/** Use this to get the render model name for the specified rendermode/component combination, to be passed to LoadRenderModel.
+	* If the component name is out of range, this function will return 0.
+	* Otherwise, it will return the size of the buffer required for the name. */
+	virtual uint32_t GetComponentRenderModelName( const char *pchRenderModelName, const char *pchComponentName, VR_OUT_STRING( ) char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen ) = 0;
+
+	/** Use this to query information about the component, as a function of the controller state.
+	*
+	* For dynamic controller components (ex: trigger) values will reflect component motions
+	* For static components this will return a consistent value independent of the VRControllerState_t
+	*
+	* If the pchRenderModelName or pchComponentName is invalid, this will return false (and transforms will be set to identity).
+	* Otherwise, return true
+	* Note: For dynamic objects, visibility may be dynamic. (I.e., true/false will be returned based on controller state and controller mode state ) */
+	virtual bool GetComponentState( const char *pchRenderModelName, const char *pchComponentName, const vr::VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState ) = 0;
+
+	/** Returns true if the render model has a component with the specified name */
+	virtual bool RenderModelHasComponent( const char *pchRenderModelName, const char *pchComponentName ) = 0;
+
+	/** Returns the URL of the thumbnail image for this rendermodel */
+	virtual uint32_t GetRenderModelThumbnailURL( const char *pchRenderModelName, VR_OUT_STRING() char *pchThumbnailURL, uint32_t unThumbnailURLLen, vr::EVRRenderModelError *peError ) = 0;
+
+	/** Provides a render model path that will load the unskinned model if the model name provided has been replace by the user. If the model
+	* hasn't been replaced the path value will still be a valid path to load the model. Pass this to LoadRenderModel_Async, etc. to load the
+	* model. */
+	virtual uint32_t GetRenderModelOriginalPath( const char *pchRenderModelName, VR_OUT_STRING() char *pchOriginalPath, uint32_t unOriginalPathLen, vr::EVRRenderModelError *peError ) = 0;
+
+	/** Returns a string for a render model error */
+	virtual const char *GetRenderModelErrorNameFromEnum( vr::EVRRenderModelError error ) = 0;
+};
+
+static const char * const IVRRenderModels_Version = "IVRRenderModels_005";
+
+}
+
+
+// ivrextendeddisplay.h
+namespace vr
+{
+
+	/** NOTE: Use of this interface is not recommended in production applications. It will not work for displays which use
+	* direct-to-display mode. Creating our own window is also incompatible with the VR compositor and is not available when the compositor is running. */
+	class IVRExtendedDisplay
+	{
+	public:
+
+		/** Size and position that the window needs to be on the VR display. */
+		virtual void GetWindowBounds( int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight ) = 0;
+
+		/** Gets the viewport in the frame buffer to draw the output of the distortion into */
+		virtual void GetEyeOutputViewport( EVREye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight ) = 0;
+
+		/** [D3D10/11 Only]
+		* Returns the adapter index and output index that the user should pass into EnumAdapters and EnumOutputs
+		* to create the device and swap chain in DX10 and DX11. If an error occurs both indices will be set to -1.
+		*/
+		virtual void GetDXGIOutputInfo( int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex ) = 0;
+
+	};
+
+	static const char * const IVRExtendedDisplay_Version = "IVRExtendedDisplay_001";
+
+}
+
+
+// ivrtrackedcamera.h
+namespace vr
+{
+
+class IVRTrackedCamera
+{
+public:
+	/** Returns a string for an error */
+	virtual const char *GetCameraErrorNameFromEnum( vr::EVRTrackedCameraError eCameraError ) = 0;
+
+	/** For convenience, same as tracked property request Prop_HasCamera_Bool */
+	virtual vr::EVRTrackedCameraError HasCamera( vr::TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera ) = 0;
+
+	/** Gets size of the image frame. */
+	virtual vr::EVRTrackedCameraError GetCameraFrameSize( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize ) = 0;
+
+	virtual vr::EVRTrackedCameraError GetCameraIntrinsics( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, vr::HmdVector2_t *pFocalLength, vr::HmdVector2_t *pCenter ) = 0;
+
+	virtual vr::EVRTrackedCameraError GetCameraProjection( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, vr::HmdMatrix44_t *pProjection ) = 0;
+
+	/** Acquiring streaming service permits video streaming for the caller. Releasing hints the system that video services do not need to be maintained for this client.
+	* If the camera has not already been activated, a one time spin up may incur some auto exposure as well as initial streaming frame delays.
+	* The camera should be considered a global resource accessible for shared consumption but not exclusive to any caller.
+	* The camera may go inactive due to lack of active consumers or headset idleness. */
+	virtual vr::EVRTrackedCameraError AcquireVideoStreamingService( vr::TrackedDeviceIndex_t nDeviceIndex, vr::TrackedCameraHandle_t *pHandle ) = 0;
+	virtual vr::EVRTrackedCameraError ReleaseVideoStreamingService( vr::TrackedCameraHandle_t hTrackedCamera ) = 0;
+
+	/** Copies the image frame into a caller's provided buffer. The image data is currently provided as RGBA data, 4 bytes per pixel.
+	* A caller can provide null for the framebuffer or frameheader if not desired. Requesting the frame header first, followed by the frame buffer allows
+	* the caller to determine if the frame as advanced per the frame header sequence. 
+	* If there is no frame available yet, due to initial camera spinup or re-activation, the error will be VRTrackedCameraError_NoFrameAvailable.
+	* Ideally a caller should be polling at ~16ms intervals */
+	virtual vr::EVRTrackedCameraError GetVideoStreamFrameBuffer( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize ) = 0;
+
+	/** Gets size of the image frame. */
+	virtual vr::EVRTrackedCameraError GetVideoStreamTextureSize( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, vr::VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight ) = 0; 
+
+	/** Access a shared D3D11 texture for the specified tracked camera stream.
+	* The camera frame type VRTrackedCameraFrameType_Undistorted is not supported directly as a shared texture. It is an interior subregion of the shared texture VRTrackedCameraFrameType_MaximumUndistorted.
+	* Instead, use GetVideoStreamTextureSize() with VRTrackedCameraFrameType_Undistorted to determine the proper interior subregion bounds along with GetVideoStreamTextureD3D11() with
+	* VRTrackedCameraFrameType_MaximumUndistorted to provide the texture. The VRTrackedCameraFrameType_MaximumUndistorted will yield an image where the invalid regions are decoded
+	* by the alpha channel having a zero component. The valid regions all have a non-zero alpha component. The subregion as described by VRTrackedCameraFrameType_Undistorted 
+	* guarantees a rectangle where all pixels are valid. */
+	virtual vr::EVRTrackedCameraError GetVideoStreamTextureD3D11( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize ) = 0;
+
+	/** Access a shared GL texture for the specified tracked camera stream */
+	virtual vr::EVRTrackedCameraError GetVideoStreamTextureGL( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, vr::glUInt_t *pglTextureId, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize ) = 0;
+	virtual vr::EVRTrackedCameraError ReleaseVideoStreamTextureGL( vr::TrackedCameraHandle_t hTrackedCamera, vr::glUInt_t glTextureId ) = 0;
+};
+
+static const char * const IVRTrackedCamera_Version = "IVRTrackedCamera_003";
+
+} // namespace vr
+
+
+// ivrscreenshots.h
+namespace vr
+{
+
+/** Errors that can occur with the VR compositor */
+enum EVRScreenshotError
+{
+	VRScreenshotError_None							= 0,
+	VRScreenshotError_RequestFailed					= 1,
+	VRScreenshotError_IncompatibleVersion			= 100,
+	VRScreenshotError_NotFound						= 101,
+	VRScreenshotError_BufferTooSmall				= 102,
+	VRScreenshotError_ScreenshotAlreadyInProgress	= 108,
+};
+
+/** Allows the application to generate screenshots */
+class IVRScreenshots
+{
+public:
+	/** Request a screenshot of the requested type.
+	 *  A request of the VRScreenshotType_Stereo type will always
+	 *  work. Other types will depend on the underlying application
+	 *  support.
+	 *  The first file name is for the preview image and should be a
+	 *  regular screenshot (ideally from the left eye). The second
+	 *  is the VR screenshot in the correct format. They should be
+	 *  in the same aspect ratio.  Formats per type:
+	 *  VRScreenshotType_Mono: the VR filename is ignored (can be
+	 *  nullptr), this is a normal flat single shot.
+	 *  VRScreenshotType_Stereo:  The VR image should be a
+	 *  side-by-side with the left eye image on the left.
+	 *  VRScreenshotType_Cubemap: The VR image should be six square
+	 *  images composited horizontally.
+	 *  VRScreenshotType_StereoPanorama: above/below with left eye
+	 *  panorama being the above image.  Image is typically square
+	 *  with the panorama being 2x horizontal.
+	 *  
+	 *  Note that the VR dashboard will call this function when
+	 *  the user presses the screenshot binding (currently System
+	 *  Button + Trigger).  If Steam is running, the destination
+	 *  file names will be in %TEMP% and will be copied into
+	 *  Steam's screenshot library for the running application
+	 *  once SubmitScreenshot() is called.
+	 *  If Steam is not running, the paths will be in the user's
+	 *  documents folder under Documents\SteamVR\Screenshots.
+	 *  Other VR applications can call this to initiate a
+	 *  screenshot outside of user control.
+	 *  The destination file names do not need an extension,
+	 *  will be replaced with the correct one for the format
+	 *  which is currently .png. */
+	virtual vr::EVRScreenshotError RequestScreenshot( vr::ScreenshotHandle_t *pOutScreenshotHandle, vr::EVRScreenshotType type, const char *pchPreviewFilename, const char *pchVRFilename ) = 0;
+
+	/** Called by the running VR application to indicate that it
+	 *  wishes to be in charge of screenshots.  If the
+	 *  application does not call this, the Compositor will only
+	 *  support VRScreenshotType_Stereo screenshots that will be
+	 *  captured without notification to the running app.
+	 *  Once hooked your application will receive a
+	 *  VREvent_RequestScreenshot event when the user presses the
+	 *  buttons to take a screenshot. */
+	virtual vr::EVRScreenshotError HookScreenshot( VR_ARRAY_COUNT( numTypes ) const vr::EVRScreenshotType *pSupportedTypes, int numTypes ) = 0;
+
+	/** When your application receives a
+	 *  VREvent_RequestScreenshot event, call these functions to get
+	 *  the details of the screenshot request. */
+	virtual vr::EVRScreenshotType GetScreenshotPropertyType( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotError *pError ) = 0;
+
+	/** Get the filename for the preview or vr image (see
+	 *  vr::EScreenshotPropertyFilenames).  The return value is
+	 *  the size of the string.   */
+ 	virtual uint32_t GetScreenshotPropertyFilename( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotPropertyFilenames filenameType, VR_OUT_STRING() char *pchFilename, uint32_t cchFilename, vr::EVRScreenshotError *pError ) = 0;
+
+	/** Call this if the application is taking the screen shot
+	 *  will take more than a few ms processing. This will result
+	 *  in an overlay being presented that shows a completion
+	 *  bar. */
+	virtual vr::EVRScreenshotError UpdateScreenshotProgress( vr::ScreenshotHandle_t screenshotHandle, float flProgress ) = 0;
+
+	/** Tells the compositor to take an internal screenshot of
+	 *  type VRScreenshotType_Stereo. It will take the current
+	 *  submitted scene textures of the running application and
+	 *  write them into the preview image and a side-by-side file
+	 *  for the VR image.
+	 *  This is similar to request screenshot, but doesn't ever
+	 *  talk to the application, just takes the shot and submits. */
+	virtual vr::EVRScreenshotError TakeStereoScreenshot( vr::ScreenshotHandle_t *pOutScreenshotHandle, const char *pchPreviewFilename, const char *pchVRFilename ) = 0;
+
+	/** Submit the completed screenshot.  If Steam is running
+	 *  this will call into the Steam client and upload the
+	 *  screenshot to the screenshots section of the library for
+	 *  the running application.  If Steam is not running, this
+	 *  function will display a notification to the user that the
+	 *  screenshot was taken. The paths should be full paths with
+	 *  extensions.
+	 *  File paths should be absolute including extensions.
+	 *  screenshotHandle can be k_unScreenshotHandleInvalid if this
+	 *  was a new shot taking by the app to be saved and not
+	 *  initiated by a user (achievement earned or something) */
+	virtual vr::EVRScreenshotError SubmitScreenshot( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotType type, const char *pchSourcePreviewFilename, const char *pchSourceVRFilename ) = 0;
+};
+
+static const char * const IVRScreenshots_Version = "IVRScreenshots_001";
+
+} // namespace vr
+
+
+
+// ivrresources.h
+namespace vr
+{
+
+class IVRResources
+{
+public:
+
+	// ------------------------------------
+	// Shared Resource Methods
+	// ------------------------------------
+
+	/** Loads the specified resource into the provided buffer if large enough.
+	* Returns the size in bytes of the buffer required to hold the specified resource. */
+	virtual uint32_t LoadSharedResource( const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen ) = 0;
+
+	/** Provides the full path to the specified resource. Resource names can include named directories for
+	* drivers and other things, and this resolves all of those and returns the actual physical path. 
+	* pchResourceTypeDirectory is the subdirectory of resources to look in. */
+	virtual uint32_t GetResourceFullPath( const char *pchResourceName, const char *pchResourceTypeDirectory, VR_OUT_STRING() char *pchPathBuffer, uint32_t unBufferLen ) = 0;
+};
+
+static const char * const IVRResources_Version = "IVRResources_001";
+
+
+}
+// ivrdrivermanager.h
+namespace vr
+{
+
+class IVRDriverManager
+{
+public:
+	virtual uint32_t GetDriverCount() const = 0;
+
+	/** Returns the length of the number of bytes necessary to hold this string including the trailing null. */
+	virtual uint32_t GetDriverName( vr::DriverId_t nDriver, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0;
+};
+
+static const char * const IVRDriverManager_Version = "IVRDriverManager_001";
+
+} // namespace vr
+
+
+// End
+
+#endif // _OPENVR_API
+
+
+namespace vr
+{
+	/** Finds the active installation of the VR API and initializes it. The provided path must be absolute
+	* or relative to the current working directory. These are the local install versions of the equivalent
+	* functions in steamvr.h and will work without a local Steam install.
+	*
+	* This path is to the "root" of the VR API install. That's the directory with
+	* the "drivers" directory and a platform (i.e. "win32") directory in it, not the directory with the DLL itself.
+	*
+	* pStartupInfo is reserved for future use.
+	*/
+	inline IVRSystem *VR_Init( EVRInitError *peError, EVRApplicationType eApplicationType, const char *pStartupInfo = nullptr );
+
+	/** unloads vrclient.dll. Any interface pointers from the interface are
+	* invalid after this point */
+	inline void VR_Shutdown();
+
+	/** Returns true if there is an HMD attached. This check is as lightweight as possible and
+	* can be called outside of VR_Init/VR_Shutdown. It should be used when an application wants
+	* to know if initializing VR is a possibility but isn't ready to take that step yet.
+	*/
+	VR_INTERFACE bool VR_CALLTYPE VR_IsHmdPresent();
+
+	/** Returns true if the OpenVR runtime is installed. */
+	VR_INTERFACE bool VR_CALLTYPE VR_IsRuntimeInstalled();
+
+	/** Returns where the OpenVR runtime is installed. */
+	VR_INTERFACE const char *VR_CALLTYPE VR_RuntimePath();
+
+	/** Returns the name of the enum value for an EVRInitError. This function may be called outside of VR_Init()/VR_Shutdown(). */
+	VR_INTERFACE const char *VR_CALLTYPE VR_GetVRInitErrorAsSymbol( EVRInitError error );
+
+	/** Returns an English string for an EVRInitError. Applications should call VR_GetVRInitErrorAsSymbol instead and
+	* use that as a key to look up their own localized error message. This function may be called outside of VR_Init()/VR_Shutdown(). */
+	VR_INTERFACE const char *VR_CALLTYPE VR_GetVRInitErrorAsEnglishDescription( EVRInitError error );
+
+	/** Returns the interface of the specified version. This method must be called after VR_Init. The
+	* pointer returned is valid until VR_Shutdown is called.
+	*/
+	VR_INTERFACE void *VR_CALLTYPE VR_GetGenericInterface( const char *pchInterfaceVersion, EVRInitError *peError );
+
+	/** Returns whether the interface of the specified version exists.
+	*/
+	VR_INTERFACE bool VR_CALLTYPE VR_IsInterfaceVersionValid( const char *pchInterfaceVersion );
+
+	/** Returns a token that represents whether the VR interface handles need to be reloaded */
+	VR_INTERFACE uint32_t VR_CALLTYPE VR_GetInitToken();
+
+	// These typedefs allow old enum names from SDK 0.9.11 to be used in applications.
+	// They will go away in the future.
+	typedef EVRInitError HmdError;
+	typedef EVREye Hmd_Eye;
+	typedef EColorSpace ColorSpace;
+	typedef ETrackingResult HmdTrackingResult;
+	typedef ETrackedDeviceClass TrackedDeviceClass;
+	typedef ETrackingUniverseOrigin TrackingUniverseOrigin;
+	typedef ETrackedDeviceProperty TrackedDeviceProperty;
+	typedef ETrackedPropertyError TrackedPropertyError;
+	typedef EVRSubmitFlags VRSubmitFlags_t;
+	typedef EVRState VRState_t;
+	typedef ECollisionBoundsStyle CollisionBoundsStyle_t;
+	typedef EVROverlayError VROverlayError;
+	typedef EVRFirmwareError VRFirmwareError;
+	typedef EVRCompositorError VRCompositorError;
+	typedef EVRScreenshotError VRScreenshotsError;
+
+	inline uint32_t &VRToken()
+	{
+		static uint32_t token;
+		return token;
+	}
+
+	class COpenVRContext
+	{
+	public:
+		COpenVRContext() { Clear(); }
+		void Clear();
+
+		inline void CheckClear()
+		{
+			if ( VRToken() != VR_GetInitToken() )
+			{
+				Clear();
+				VRToken() = VR_GetInitToken();
+			}
+		}
+
+		IVRSystem *VRSystem()
+		{
+			CheckClear();
+			if ( m_pVRSystem == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRSystem = ( IVRSystem * )VR_GetGenericInterface( IVRSystem_Version, &eError );
+			}
+			return m_pVRSystem;
+		}
+		IVRChaperone *VRChaperone()
+		{
+			CheckClear();
+			if ( m_pVRChaperone == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRChaperone = ( IVRChaperone * )VR_GetGenericInterface( IVRChaperone_Version, &eError );
+			}
+			return m_pVRChaperone;
+		}
+
+		IVRChaperoneSetup *VRChaperoneSetup()
+		{
+			CheckClear();
+			if ( m_pVRChaperoneSetup == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRChaperoneSetup = ( IVRChaperoneSetup * )VR_GetGenericInterface( IVRChaperoneSetup_Version, &eError );
+			}
+			return m_pVRChaperoneSetup;
+		}
+
+		IVRCompositor *VRCompositor()
+		{
+			CheckClear();
+			if ( m_pVRCompositor == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRCompositor = ( IVRCompositor * )VR_GetGenericInterface( IVRCompositor_Version, &eError );
+			}
+			return m_pVRCompositor;
+		}
+
+		IVROverlay *VROverlay()
+		{
+			CheckClear();
+			if ( m_pVROverlay == nullptr )
+			{
+				EVRInitError eError;
+				m_pVROverlay = ( IVROverlay * )VR_GetGenericInterface( IVROverlay_Version, &eError );
+			}
+			return m_pVROverlay;
+		}
+
+		IVRResources *VRResources()
+		{
+			CheckClear();
+			if ( m_pVRResources == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRResources = (IVRResources *)VR_GetGenericInterface( IVRResources_Version, &eError );
+			}
+			return m_pVRResources;
+		}
+
+		IVRScreenshots *VRScreenshots()
+		{
+			CheckClear();
+			if ( m_pVRScreenshots == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRScreenshots = ( IVRScreenshots * )VR_GetGenericInterface( IVRScreenshots_Version, &eError );
+			}
+			return m_pVRScreenshots;
+		}
+
+		IVRRenderModels *VRRenderModels()
+		{
+			CheckClear();
+			if ( m_pVRRenderModels == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRRenderModels = ( IVRRenderModels * )VR_GetGenericInterface( IVRRenderModels_Version, &eError );
+			}
+			return m_pVRRenderModels;
+		}
+
+		IVRExtendedDisplay *VRExtendedDisplay()
+		{
+			CheckClear();
+			if ( m_pVRExtendedDisplay == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRExtendedDisplay = ( IVRExtendedDisplay * )VR_GetGenericInterface( IVRExtendedDisplay_Version, &eError );
+			}
+			return m_pVRExtendedDisplay;
+		}
+
+		IVRSettings *VRSettings()
+		{
+			CheckClear();
+			if ( m_pVRSettings == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRSettings = ( IVRSettings * )VR_GetGenericInterface( IVRSettings_Version, &eError );
+			}
+			return m_pVRSettings;
+		}
+
+		IVRApplications *VRApplications()
+		{
+			CheckClear();
+			if ( m_pVRApplications == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRApplications = ( IVRApplications * )VR_GetGenericInterface( IVRApplications_Version, &eError );
+			}
+			return m_pVRApplications;
+		}
+
+		IVRTrackedCamera *VRTrackedCamera()
+		{
+			CheckClear();
+			if ( m_pVRTrackedCamera == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRTrackedCamera = ( IVRTrackedCamera * )VR_GetGenericInterface( IVRTrackedCamera_Version, &eError );
+			}
+			return m_pVRTrackedCamera;
+		}
+
+		IVRDriverManager *VRDriverManager()
+		{
+			CheckClear();
+			if ( !m_pVRDriverManager )
+			{
+				EVRInitError eError;
+				m_pVRDriverManager = ( IVRDriverManager * )VR_GetGenericInterface( IVRDriverManager_Version, &eError );
+			}
+			return m_pVRDriverManager;
+		}
+
+	private:
+		IVRSystem			*m_pVRSystem;
+		IVRChaperone		*m_pVRChaperone;
+		IVRChaperoneSetup	*m_pVRChaperoneSetup;
+		IVRCompositor		*m_pVRCompositor;
+		IVROverlay			*m_pVROverlay;
+		IVRResources		*m_pVRResources;
+		IVRRenderModels		*m_pVRRenderModels;
+		IVRExtendedDisplay	*m_pVRExtendedDisplay;
+		IVRSettings			*m_pVRSettings;
+		IVRApplications		*m_pVRApplications;
+		IVRTrackedCamera	*m_pVRTrackedCamera;
+		IVRScreenshots		*m_pVRScreenshots;
+		IVRDriverManager	*m_pVRDriverManager;
+	};
+
+	inline COpenVRContext &OpenVRInternal_ModuleContext()
+	{
+		static void *ctx[ sizeof( COpenVRContext ) / sizeof( void * ) ];
+		return *( COpenVRContext * )ctx; // bypass zero-init constructor
+	}
+
+	inline IVRSystem *VR_CALLTYPE VRSystem() { return OpenVRInternal_ModuleContext().VRSystem(); }
+	inline IVRChaperone *VR_CALLTYPE VRChaperone() { return OpenVRInternal_ModuleContext().VRChaperone(); }
+	inline IVRChaperoneSetup *VR_CALLTYPE VRChaperoneSetup() { return OpenVRInternal_ModuleContext().VRChaperoneSetup(); }
+	inline IVRCompositor *VR_CALLTYPE VRCompositor() { return OpenVRInternal_ModuleContext().VRCompositor(); }
+	inline IVROverlay *VR_CALLTYPE VROverlay() { return OpenVRInternal_ModuleContext().VROverlay(); }
+	inline IVRScreenshots *VR_CALLTYPE VRScreenshots() { return OpenVRInternal_ModuleContext().VRScreenshots(); }
+	inline IVRRenderModels *VR_CALLTYPE VRRenderModels() { return OpenVRInternal_ModuleContext().VRRenderModels(); }
+	inline IVRApplications *VR_CALLTYPE VRApplications() { return OpenVRInternal_ModuleContext().VRApplications(); }
+	inline IVRSettings *VR_CALLTYPE VRSettings() { return OpenVRInternal_ModuleContext().VRSettings(); }
+	inline IVRResources *VR_CALLTYPE VRResources() { return OpenVRInternal_ModuleContext().VRResources(); }
+	inline IVRExtendedDisplay *VR_CALLTYPE VRExtendedDisplay() { return OpenVRInternal_ModuleContext().VRExtendedDisplay(); }
+	inline IVRTrackedCamera *VR_CALLTYPE VRTrackedCamera() { return OpenVRInternal_ModuleContext().VRTrackedCamera(); }
+	inline IVRDriverManager *VR_CALLTYPE VRDriverManager() { return OpenVRInternal_ModuleContext().VRDriverManager(); }
+
+	inline void COpenVRContext::Clear()
+	{
+		m_pVRSystem = nullptr;
+		m_pVRChaperone = nullptr;
+		m_pVRChaperoneSetup = nullptr;
+		m_pVRCompositor = nullptr;
+		m_pVROverlay = nullptr;
+		m_pVRRenderModels = nullptr;
+		m_pVRExtendedDisplay = nullptr;
+		m_pVRSettings = nullptr;
+		m_pVRApplications = nullptr;
+		m_pVRTrackedCamera = nullptr;
+		m_pVRResources = nullptr;
+		m_pVRScreenshots = nullptr;
+		m_pVRDriverManager = nullptr;
+	}
+	
+	VR_INTERFACE uint32_t VR_CALLTYPE VR_InitInternal2( EVRInitError *peError, EVRApplicationType eApplicationType, const char *pStartupInfo );
+	VR_INTERFACE void VR_CALLTYPE VR_ShutdownInternal();
+
+	/** Finds the active installation of vrclient.dll and initializes it */
+	inline IVRSystem *VR_Init( EVRInitError *peError, EVRApplicationType eApplicationType, const char *pStartupInfo )
+	{
+		IVRSystem *pVRSystem = nullptr;
+
+		EVRInitError eError;
+		VRToken() = VR_InitInternal2( &eError, eApplicationType, pStartupInfo );
+		COpenVRContext &ctx = OpenVRInternal_ModuleContext();
+		ctx.Clear();
+
+		if ( eError == VRInitError_None )
+		{
+			if ( VR_IsInterfaceVersionValid( IVRSystem_Version ) )
+			{
+				pVRSystem = VRSystem();
+			}
+			else
+			{
+				VR_ShutdownInternal();
+				eError = VRInitError_Init_InterfaceNotFound;
+			}
+		}
+
+		if ( peError )
+			*peError = eError;
+		return pVRSystem;
+	}
+
+	/** unloads vrclient.dll. Any interface pointers from the interface are
+	* invalid after this point */
+	inline void VR_Shutdown()
+	{
+		VR_ShutdownInternal();
+	}
+}

+ 5205 - 0
modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr_api.cs

@@ -0,0 +1,5205 @@
+//======= Copyright (c) Valve Corporation, All rights reserved. ===============
+//
+// Purpose: This file contains C#/managed code bindings for the OpenVR interfaces
+// This file is auto-generated, do not edit it.
+//
+//=============================================================================
+
+using System;
+using System.Runtime.InteropServices;
+using Valve.VR;
+
+namespace Valve.VR
+{
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRSystem
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetRecommendedRenderTargetSize(ref uint pnWidth, ref uint pnHeight);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetRecommendedRenderTargetSize GetRecommendedRenderTargetSize;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate HmdMatrix44_t _GetProjectionMatrix(EVREye eEye, float fNearZ, float fFarZ);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetProjectionMatrix GetProjectionMatrix;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetProjectionRaw(EVREye eEye, ref float pfLeft, ref float pfRight, ref float pfTop, ref float pfBottom);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetProjectionRaw GetProjectionRaw;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _ComputeDistortion(EVREye eEye, float fU, float fV, ref DistortionCoordinates_t pDistortionCoordinates);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ComputeDistortion ComputeDistortion;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate HmdMatrix34_t _GetEyeToHeadTransform(EVREye eEye);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetEyeToHeadTransform GetEyeToHeadTransform;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetTimeSinceLastVsync(ref float pfSecondsSinceLastVsync, ref ulong pulFrameCounter);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetTimeSinceLastVsync GetTimeSinceLastVsync;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate int _GetD3D9AdapterIndex();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetD3D9AdapterIndex GetD3D9AdapterIndex;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetDXGIOutputInfo(ref int pnAdapterIndex);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetDXGIOutputInfo GetDXGIOutputInfo;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetOutputDevice(ref ulong pnDevice, ETextureType textureType, IntPtr pInstance);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOutputDevice GetOutputDevice;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsDisplayOnDesktop();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsDisplayOnDesktop IsDisplayOnDesktop;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _SetDisplayVisibility(bool bIsVisibleOnDesktop);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetDisplayVisibility SetDisplayVisibility;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetDeviceToAbsoluteTrackingPose(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, [In, Out] TrackedDevicePose_t[] pTrackedDevicePoseArray, uint unTrackedDevicePoseArrayCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetDeviceToAbsoluteTrackingPose GetDeviceToAbsoluteTrackingPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ResetSeatedZeroPose();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ResetSeatedZeroPose ResetSeatedZeroPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate HmdMatrix34_t _GetSeatedZeroPoseToStandingAbsoluteTrackingPose();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetSeatedZeroPoseToStandingAbsoluteTrackingPose GetSeatedZeroPoseToStandingAbsoluteTrackingPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate HmdMatrix34_t _GetRawZeroPoseToStandingAbsoluteTrackingPose();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetRawZeroPoseToStandingAbsoluteTrackingPose GetRawZeroPoseToStandingAbsoluteTrackingPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetSortedTrackedDeviceIndicesOfClass(ETrackedDeviceClass eTrackedDeviceClass, [In, Out] uint[] punTrackedDeviceIndexArray, uint unTrackedDeviceIndexArrayCount, uint unRelativeToTrackedDeviceIndex);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetSortedTrackedDeviceIndicesOfClass GetSortedTrackedDeviceIndicesOfClass;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EDeviceActivityLevel _GetTrackedDeviceActivityLevel(uint unDeviceId);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetTrackedDeviceActivityLevel GetTrackedDeviceActivityLevel;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ApplyTransform(ref TrackedDevicePose_t pOutputPose, ref TrackedDevicePose_t pTrackedDevicePose, ref HmdMatrix34_t pTransform);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ApplyTransform ApplyTransform;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetTrackedDeviceIndexForControllerRole(ETrackedControllerRole unDeviceType);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetTrackedDeviceIndexForControllerRole GetTrackedDeviceIndexForControllerRole;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate ETrackedControllerRole _GetControllerRoleForTrackedDeviceIndex(uint unDeviceIndex);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetControllerRoleForTrackedDeviceIndex GetControllerRoleForTrackedDeviceIndex;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate ETrackedDeviceClass _GetTrackedDeviceClass(uint unDeviceIndex);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetTrackedDeviceClass GetTrackedDeviceClass;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsTrackedDeviceConnected(uint unDeviceIndex);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsTrackedDeviceConnected IsTrackedDeviceConnected;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetBoolTrackedDeviceProperty(uint unDeviceIndex, ETrackedDeviceProperty prop, ref ETrackedPropertyError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetBoolTrackedDeviceProperty GetBoolTrackedDeviceProperty;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate float _GetFloatTrackedDeviceProperty(uint unDeviceIndex, ETrackedDeviceProperty prop, ref ETrackedPropertyError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetFloatTrackedDeviceProperty GetFloatTrackedDeviceProperty;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate int _GetInt32TrackedDeviceProperty(uint unDeviceIndex, ETrackedDeviceProperty prop, ref ETrackedPropertyError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetInt32TrackedDeviceProperty GetInt32TrackedDeviceProperty;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate ulong _GetUint64TrackedDeviceProperty(uint unDeviceIndex, ETrackedDeviceProperty prop, ref ETrackedPropertyError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetUint64TrackedDeviceProperty GetUint64TrackedDeviceProperty;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate HmdMatrix34_t _GetMatrix34TrackedDeviceProperty(uint unDeviceIndex, ETrackedDeviceProperty prop, ref ETrackedPropertyError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetMatrix34TrackedDeviceProperty GetMatrix34TrackedDeviceProperty;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetArrayTrackedDeviceProperty(uint unDeviceIndex, ETrackedDeviceProperty prop, uint propType, IntPtr pBuffer, uint unBufferSize, ref ETrackedPropertyError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetArrayTrackedDeviceProperty GetArrayTrackedDeviceProperty;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetStringTrackedDeviceProperty(uint unDeviceIndex, ETrackedDeviceProperty prop, System.Text.StringBuilder pchValue, uint unBufferSize, ref ETrackedPropertyError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetStringTrackedDeviceProperty GetStringTrackedDeviceProperty;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate IntPtr _GetPropErrorNameFromEnum(ETrackedPropertyError error);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetPropErrorNameFromEnum GetPropErrorNameFromEnum;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _PollNextEvent(ref VREvent_t pEvent, uint uncbVREvent);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _PollNextEvent PollNextEvent;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _PollNextEventWithPose(ETrackingUniverseOrigin eOrigin, ref VREvent_t pEvent, uint uncbVREvent, ref TrackedDevicePose_t pTrackedDevicePose);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _PollNextEventWithPose PollNextEventWithPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate IntPtr _GetEventTypeNameFromEnum(EVREventType eType);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetEventTypeNameFromEnum GetEventTypeNameFromEnum;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate HiddenAreaMesh_t _GetHiddenAreaMesh(EVREye eEye, EHiddenAreaMeshType type);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetHiddenAreaMesh GetHiddenAreaMesh;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetControllerState(uint unControllerDeviceIndex, ref VRControllerState_t pControllerState, uint unControllerStateSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetControllerState GetControllerState;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetControllerStateWithPose(ETrackingUniverseOrigin eOrigin, uint unControllerDeviceIndex, ref VRControllerState_t pControllerState, uint unControllerStateSize, ref TrackedDevicePose_t pTrackedDevicePose);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetControllerStateWithPose GetControllerStateWithPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _TriggerHapticPulse(uint unControllerDeviceIndex, uint unAxisId, char usDurationMicroSec);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _TriggerHapticPulse TriggerHapticPulse;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate IntPtr _GetButtonIdNameFromEnum(EVRButtonId eButtonId);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetButtonIdNameFromEnum GetButtonIdNameFromEnum;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate IntPtr _GetControllerAxisTypeNameFromEnum(EVRControllerAxisType eAxisType);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetControllerAxisTypeNameFromEnum GetControllerAxisTypeNameFromEnum;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsInputAvailable();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsInputAvailable IsInputAvailable;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsSteamVRDrawingControllers();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsSteamVRDrawingControllers IsSteamVRDrawingControllers;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _ShouldApplicationPause();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ShouldApplicationPause ShouldApplicationPause;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _ShouldApplicationReduceRenderingWork();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ShouldApplicationReduceRenderingWork ShouldApplicationReduceRenderingWork;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _DriverDebugRequest(uint unDeviceIndex, string pchRequest, System.Text.StringBuilder pchResponseBuffer, uint unResponseBufferSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _DriverDebugRequest DriverDebugRequest;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRFirmwareError _PerformFirmwareUpdate(uint unDeviceIndex);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _PerformFirmwareUpdate PerformFirmwareUpdate;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _AcknowledgeQuit_Exiting();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _AcknowledgeQuit_Exiting AcknowledgeQuit_Exiting;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _AcknowledgeQuit_UserPrompt();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _AcknowledgeQuit_UserPrompt AcknowledgeQuit_UserPrompt;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRExtendedDisplay
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetWindowBounds(ref int pnX, ref int pnY, ref uint pnWidth, ref uint pnHeight);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetWindowBounds GetWindowBounds;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetEyeOutputViewport(EVREye eEye, ref uint pnX, ref uint pnY, ref uint pnWidth, ref uint pnHeight);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetEyeOutputViewport GetEyeOutputViewport;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetDXGIOutputInfo(ref int pnAdapterIndex, ref int pnAdapterOutputIndex);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetDXGIOutputInfo GetDXGIOutputInfo;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRTrackedCamera
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate IntPtr _GetCameraErrorNameFromEnum(EVRTrackedCameraError eCameraError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetCameraErrorNameFromEnum GetCameraErrorNameFromEnum;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _HasCamera(uint nDeviceIndex, ref bool pHasCamera);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _HasCamera HasCamera;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _GetCameraFrameSize(uint nDeviceIndex, EVRTrackedCameraFrameType eFrameType, ref uint pnWidth, ref uint pnHeight, ref uint pnFrameBufferSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetCameraFrameSize GetCameraFrameSize;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _GetCameraIntrinsics(uint nDeviceIndex, EVRTrackedCameraFrameType eFrameType, ref HmdVector2_t pFocalLength, ref HmdVector2_t pCenter);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetCameraIntrinsics GetCameraIntrinsics;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _GetCameraProjection(uint nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, ref HmdMatrix44_t pProjection);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetCameraProjection GetCameraProjection;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _AcquireVideoStreamingService(uint nDeviceIndex, ref ulong pHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _AcquireVideoStreamingService AcquireVideoStreamingService;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _ReleaseVideoStreamingService(ulong hTrackedCamera);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ReleaseVideoStreamingService ReleaseVideoStreamingService;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _GetVideoStreamFrameBuffer(ulong hTrackedCamera, EVRTrackedCameraFrameType eFrameType, IntPtr pFrameBuffer, uint nFrameBufferSize, ref CameraVideoStreamFrameHeader_t pFrameHeader, uint nFrameHeaderSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetVideoStreamFrameBuffer GetVideoStreamFrameBuffer;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _GetVideoStreamTextureSize(uint nDeviceIndex, EVRTrackedCameraFrameType eFrameType, ref VRTextureBounds_t pTextureBounds, ref uint pnWidth, ref uint pnHeight);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetVideoStreamTextureSize GetVideoStreamTextureSize;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _GetVideoStreamTextureD3D11(ulong hTrackedCamera, EVRTrackedCameraFrameType eFrameType, IntPtr pD3D11DeviceOrResource, ref IntPtr ppD3D11ShaderResourceView, ref CameraVideoStreamFrameHeader_t pFrameHeader, uint nFrameHeaderSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetVideoStreamTextureD3D11 GetVideoStreamTextureD3D11;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _GetVideoStreamTextureGL(ulong hTrackedCamera, EVRTrackedCameraFrameType eFrameType, ref uint pglTextureId, ref CameraVideoStreamFrameHeader_t pFrameHeader, uint nFrameHeaderSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetVideoStreamTextureGL GetVideoStreamTextureGL;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRTrackedCameraError _ReleaseVideoStreamTextureGL(ulong hTrackedCamera, uint glTextureId);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ReleaseVideoStreamTextureGL ReleaseVideoStreamTextureGL;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRApplications
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _AddApplicationManifest(string pchApplicationManifestFullPath, bool bTemporary);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _AddApplicationManifest AddApplicationManifest;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _RemoveApplicationManifest(string pchApplicationManifestFullPath);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _RemoveApplicationManifest RemoveApplicationManifest;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsApplicationInstalled(string pchAppKey);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsApplicationInstalled IsApplicationInstalled;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetApplicationCount();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationCount GetApplicationCount;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _GetApplicationKeyByIndex(uint unApplicationIndex, System.Text.StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationKeyByIndex GetApplicationKeyByIndex;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _GetApplicationKeyByProcessId(uint unProcessId, System.Text.StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationKeyByProcessId GetApplicationKeyByProcessId;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _LaunchApplication(string pchAppKey);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LaunchApplication LaunchApplication;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _LaunchTemplateApplication(string pchTemplateAppKey, string pchNewAppKey, [In, Out] AppOverrideKeys_t[] pKeys, uint unKeys);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LaunchTemplateApplication LaunchTemplateApplication;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _LaunchApplicationFromMimeType(string pchMimeType, string pchArgs);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LaunchApplicationFromMimeType LaunchApplicationFromMimeType;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _LaunchDashboardOverlay(string pchAppKey);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LaunchDashboardOverlay LaunchDashboardOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _CancelApplicationLaunch(string pchAppKey);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CancelApplicationLaunch CancelApplicationLaunch;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _IdentifyApplication(uint unProcessId, string pchAppKey);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IdentifyApplication IdentifyApplication;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetApplicationProcessId(string pchAppKey);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationProcessId GetApplicationProcessId;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate IntPtr _GetApplicationsErrorNameFromEnum(EVRApplicationError error);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationsErrorNameFromEnum GetApplicationsErrorNameFromEnum;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetApplicationPropertyString(string pchAppKey, EVRApplicationProperty eProperty, System.Text.StringBuilder pchPropertyValueBuffer, uint unPropertyValueBufferLen, ref EVRApplicationError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationPropertyString GetApplicationPropertyString;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetApplicationPropertyBool(string pchAppKey, EVRApplicationProperty eProperty, ref EVRApplicationError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationPropertyBool GetApplicationPropertyBool;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate ulong _GetApplicationPropertyUint64(string pchAppKey, EVRApplicationProperty eProperty, ref EVRApplicationError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationPropertyUint64 GetApplicationPropertyUint64;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _SetApplicationAutoLaunch(string pchAppKey, bool bAutoLaunch);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetApplicationAutoLaunch SetApplicationAutoLaunch;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetApplicationAutoLaunch(string pchAppKey);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationAutoLaunch GetApplicationAutoLaunch;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _SetDefaultApplicationForMimeType(string pchAppKey, string pchMimeType);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetDefaultApplicationForMimeType SetDefaultApplicationForMimeType;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetDefaultApplicationForMimeType(string pchMimeType, System.Text.StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetDefaultApplicationForMimeType GetDefaultApplicationForMimeType;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetApplicationSupportedMimeTypes(string pchAppKey, System.Text.StringBuilder pchMimeTypesBuffer, uint unMimeTypesBuffer);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationSupportedMimeTypes GetApplicationSupportedMimeTypes;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetApplicationsThatSupportMimeType(string pchMimeType, System.Text.StringBuilder pchAppKeysThatSupportBuffer, uint unAppKeysThatSupportBuffer);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationsThatSupportMimeType GetApplicationsThatSupportMimeType;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetApplicationLaunchArguments(uint unHandle, System.Text.StringBuilder pchArgs, uint unArgs);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationLaunchArguments GetApplicationLaunchArguments;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _GetStartingApplication(System.Text.StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetStartingApplication GetStartingApplication;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationTransitionState _GetTransitionState();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetTransitionState GetTransitionState;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _PerformApplicationPrelaunchCheck(string pchAppKey);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _PerformApplicationPrelaunchCheck PerformApplicationPrelaunchCheck;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate IntPtr _GetApplicationsTransitionStateNameFromEnum(EVRApplicationTransitionState state);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetApplicationsTransitionStateNameFromEnum GetApplicationsTransitionStateNameFromEnum;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsQuitUserPromptRequested();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsQuitUserPromptRequested IsQuitUserPromptRequested;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRApplicationError _LaunchInternalProcess(string pchBinaryPath, string pchArguments, string pchWorkingDirectory);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LaunchInternalProcess LaunchInternalProcess;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetCurrentSceneProcessId();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetCurrentSceneProcessId GetCurrentSceneProcessId;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRChaperone
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate ChaperoneCalibrationState _GetCalibrationState();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetCalibrationState GetCalibrationState;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetPlayAreaSize(ref float pSizeX, ref float pSizeZ);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetPlayAreaSize GetPlayAreaSize;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetPlayAreaRect(ref HmdQuad_t rect);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetPlayAreaRect GetPlayAreaRect;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ReloadInfo();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ReloadInfo ReloadInfo;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetSceneColor(HmdColor_t color);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetSceneColor SetSceneColor;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetBoundsColor(ref HmdColor_t pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, ref HmdColor_t pOutputCameraColor);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetBoundsColor GetBoundsColor;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _AreBoundsVisible();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _AreBoundsVisible AreBoundsVisible;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ForceBoundsVisible(bool bForce);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ForceBoundsVisible ForceBoundsVisible;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRChaperoneSetup
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _CommitWorkingCopy(EChaperoneConfigFile configFile);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CommitWorkingCopy CommitWorkingCopy;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _RevertWorkingCopy();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _RevertWorkingCopy RevertWorkingCopy;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetWorkingPlayAreaSize(ref float pSizeX, ref float pSizeZ);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetWorkingPlayAreaSize GetWorkingPlayAreaSize;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetWorkingPlayAreaRect(ref HmdQuad_t rect);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetWorkingPlayAreaRect GetWorkingPlayAreaRect;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetWorkingCollisionBoundsInfo([In, Out] HmdQuad_t[] pQuadsBuffer, ref uint punQuadsCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetWorkingCollisionBoundsInfo GetWorkingCollisionBoundsInfo;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetLiveCollisionBoundsInfo([In, Out] HmdQuad_t[] pQuadsBuffer, ref uint punQuadsCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetLiveCollisionBoundsInfo GetLiveCollisionBoundsInfo;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetWorkingSeatedZeroPoseToRawTrackingPose(ref HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetWorkingSeatedZeroPoseToRawTrackingPose GetWorkingSeatedZeroPoseToRawTrackingPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetWorkingStandingZeroPoseToRawTrackingPose(ref HmdMatrix34_t pmatStandingZeroPoseToRawTrackingPose);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetWorkingStandingZeroPoseToRawTrackingPose GetWorkingStandingZeroPoseToRawTrackingPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetWorkingPlayAreaSize(float sizeX, float sizeZ);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetWorkingPlayAreaSize SetWorkingPlayAreaSize;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetWorkingCollisionBoundsInfo([In, Out] HmdQuad_t[] pQuadsBuffer, uint unQuadsCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetWorkingCollisionBoundsInfo SetWorkingCollisionBoundsInfo;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetWorkingSeatedZeroPoseToRawTrackingPose(ref HmdMatrix34_t pMatSeatedZeroPoseToRawTrackingPose);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetWorkingSeatedZeroPoseToRawTrackingPose SetWorkingSeatedZeroPoseToRawTrackingPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetWorkingStandingZeroPoseToRawTrackingPose(ref HmdMatrix34_t pMatStandingZeroPoseToRawTrackingPose);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetWorkingStandingZeroPoseToRawTrackingPose SetWorkingStandingZeroPoseToRawTrackingPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ReloadFromDisk(EChaperoneConfigFile configFile);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ReloadFromDisk ReloadFromDisk;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetLiveSeatedZeroPoseToRawTrackingPose(ref HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetLiveSeatedZeroPoseToRawTrackingPose GetLiveSeatedZeroPoseToRawTrackingPose;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetWorkingCollisionBoundsTagsInfo([In, Out] byte[] pTagsBuffer, uint unTagCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetWorkingCollisionBoundsTagsInfo SetWorkingCollisionBoundsTagsInfo;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetLiveCollisionBoundsTagsInfo([In, Out] byte[] pTagsBuffer, ref uint punTagCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetLiveCollisionBoundsTagsInfo GetLiveCollisionBoundsTagsInfo;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _SetWorkingPhysicalBoundsInfo([In, Out] HmdQuad_t[] pQuadsBuffer, uint unQuadsCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetWorkingPhysicalBoundsInfo SetWorkingPhysicalBoundsInfo;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetLivePhysicalBoundsInfo([In, Out] HmdQuad_t[] pQuadsBuffer, ref uint punQuadsCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetLivePhysicalBoundsInfo GetLivePhysicalBoundsInfo;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _ExportLiveToBuffer(System.Text.StringBuilder pBuffer, ref uint pnBufferLength);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ExportLiveToBuffer ExportLiveToBuffer;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _ImportFromBufferToWorking(string pBuffer, uint nImportFlags);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ImportFromBufferToWorking ImportFromBufferToWorking;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRCompositor
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetTrackingSpace(ETrackingUniverseOrigin eOrigin);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetTrackingSpace SetTrackingSpace;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate ETrackingUniverseOrigin _GetTrackingSpace();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetTrackingSpace GetTrackingSpace;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRCompositorError _WaitGetPoses([In, Out] TrackedDevicePose_t[] pRenderPoseArray, uint unRenderPoseArrayCount, [In, Out] TrackedDevicePose_t[] pGamePoseArray, uint unGamePoseArrayCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _WaitGetPoses WaitGetPoses;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRCompositorError _GetLastPoses([In, Out] TrackedDevicePose_t[] pRenderPoseArray, uint unRenderPoseArrayCount, [In, Out] TrackedDevicePose_t[] pGamePoseArray, uint unGamePoseArrayCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetLastPoses GetLastPoses;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRCompositorError _GetLastPoseForTrackedDeviceIndex(uint unDeviceIndex, ref TrackedDevicePose_t pOutputPose, ref TrackedDevicePose_t pOutputGamePose);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetLastPoseForTrackedDeviceIndex GetLastPoseForTrackedDeviceIndex;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRCompositorError _Submit(EVREye eEye, ref Texture_t pTexture, ref VRTextureBounds_t pBounds, EVRSubmitFlags nSubmitFlags);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _Submit Submit;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ClearLastSubmittedFrame();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ClearLastSubmittedFrame ClearLastSubmittedFrame;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _PostPresentHandoff();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _PostPresentHandoff PostPresentHandoff;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetFrameTiming(ref Compositor_FrameTiming pTiming, uint unFramesAgo);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetFrameTiming GetFrameTiming;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetFrameTimings(ref Compositor_FrameTiming pTiming, uint nFrames);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetFrameTimings GetFrameTimings;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate float _GetFrameTimeRemaining();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetFrameTimeRemaining GetFrameTimeRemaining;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetCumulativeStats(ref Compositor_CumulativeStats pStats, uint nStatsSizeInBytes);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetCumulativeStats GetCumulativeStats;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _FadeToColor(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _FadeToColor FadeToColor;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate HmdColor_t _GetCurrentFadeColor(bool bBackground);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetCurrentFadeColor GetCurrentFadeColor;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _FadeGrid(float fSeconds, bool bFadeIn);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _FadeGrid FadeGrid;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate float _GetCurrentGridAlpha();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetCurrentGridAlpha GetCurrentGridAlpha;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRCompositorError _SetSkyboxOverride([In, Out] Texture_t[] pTextures, uint unTextureCount);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetSkyboxOverride SetSkyboxOverride;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ClearSkyboxOverride();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ClearSkyboxOverride ClearSkyboxOverride;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _CompositorBringToFront();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CompositorBringToFront CompositorBringToFront;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _CompositorGoToBack();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CompositorGoToBack CompositorGoToBack;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _CompositorQuit();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CompositorQuit CompositorQuit;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsFullscreen();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsFullscreen IsFullscreen;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetCurrentSceneFocusProcess();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetCurrentSceneFocusProcess GetCurrentSceneFocusProcess;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetLastFrameRenderer();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetLastFrameRenderer GetLastFrameRenderer;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _CanRenderScene();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CanRenderScene CanRenderScene;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ShowMirrorWindow();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ShowMirrorWindow ShowMirrorWindow;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _HideMirrorWindow();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _HideMirrorWindow HideMirrorWindow;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsMirrorWindowVisible();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsMirrorWindowVisible IsMirrorWindowVisible;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _CompositorDumpImages();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CompositorDumpImages CompositorDumpImages;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _ShouldAppRenderWithLowResources();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ShouldAppRenderWithLowResources ShouldAppRenderWithLowResources;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ForceInterleavedReprojectionOn(bool bOverride);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ForceInterleavedReprojectionOn ForceInterleavedReprojectionOn;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ForceReconnectProcess();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ForceReconnectProcess ForceReconnectProcess;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SuspendRendering(bool bSuspend);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SuspendRendering SuspendRendering;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRCompositorError _GetMirrorTextureD3D11(EVREye eEye, IntPtr pD3D11DeviceOrResource, ref IntPtr ppD3D11ShaderResourceView);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetMirrorTextureD3D11 GetMirrorTextureD3D11;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ReleaseMirrorTextureD3D11(IntPtr pD3D11ShaderResourceView);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ReleaseMirrorTextureD3D11 ReleaseMirrorTextureD3D11;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRCompositorError _GetMirrorTextureGL(EVREye eEye, ref uint pglTextureId, IntPtr pglSharedTextureHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetMirrorTextureGL GetMirrorTextureGL;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _ReleaseSharedGLTexture(uint glTextureId, IntPtr glSharedTextureHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ReleaseSharedGLTexture ReleaseSharedGLTexture;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _LockGLSharedTextureForAccess(IntPtr glSharedTextureHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LockGLSharedTextureForAccess LockGLSharedTextureForAccess;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _UnlockGLSharedTextureForAccess(IntPtr glSharedTextureHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _UnlockGLSharedTextureForAccess UnlockGLSharedTextureForAccess;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetVulkanInstanceExtensionsRequired(System.Text.StringBuilder pchValue, uint unBufferSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetVulkanInstanceExtensionsRequired GetVulkanInstanceExtensionsRequired;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetVulkanDeviceExtensionsRequired(IntPtr pPhysicalDevice, System.Text.StringBuilder pchValue, uint unBufferSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetVulkanDeviceExtensionsRequired GetVulkanDeviceExtensionsRequired;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetExplicitTimingMode(EVRCompositorTimingMode eTimingMode);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetExplicitTimingMode SetExplicitTimingMode;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRCompositorError _SubmitExplicitTimingData();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SubmitExplicitTimingData SubmitExplicitTimingData;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVROverlay
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _FindOverlay(string pchOverlayKey, ref ulong pOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _FindOverlay FindOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _CreateOverlay(string pchOverlayKey, string pchOverlayName, ref ulong pOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CreateOverlay CreateOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _DestroyOverlay(ulong ulOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _DestroyOverlay DestroyOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetHighQualityOverlay(ulong ulOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetHighQualityOverlay SetHighQualityOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate ulong _GetHighQualityOverlay();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetHighQualityOverlay GetHighQualityOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetOverlayKey(ulong ulOverlayHandle, System.Text.StringBuilder pchValue, uint unBufferSize, ref EVROverlayError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayKey GetOverlayKey;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetOverlayName(ulong ulOverlayHandle, System.Text.StringBuilder pchValue, uint unBufferSize, ref EVROverlayError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayName GetOverlayName;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayName(ulong ulOverlayHandle, string pchName);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayName SetOverlayName;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayImageData(ulong ulOverlayHandle, IntPtr pvBuffer, uint unBufferSize, ref uint punWidth, ref uint punHeight);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayImageData GetOverlayImageData;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate IntPtr _GetOverlayErrorNameFromEnum(EVROverlayError error);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayErrorNameFromEnum GetOverlayErrorNameFromEnum;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayRenderingPid(ulong ulOverlayHandle, uint unPID);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayRenderingPid SetOverlayRenderingPid;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetOverlayRenderingPid(ulong ulOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayRenderingPid GetOverlayRenderingPid;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayFlag(ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayFlag SetOverlayFlag;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayFlag(ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, ref bool pbEnabled);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayFlag GetOverlayFlag;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayColor(ulong ulOverlayHandle, float fRed, float fGreen, float fBlue);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayColor SetOverlayColor;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayColor(ulong ulOverlayHandle, ref float pfRed, ref float pfGreen, ref float pfBlue);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayColor GetOverlayColor;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayAlpha(ulong ulOverlayHandle, float fAlpha);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayAlpha SetOverlayAlpha;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayAlpha(ulong ulOverlayHandle, ref float pfAlpha);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayAlpha GetOverlayAlpha;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayTexelAspect(ulong ulOverlayHandle, float fTexelAspect);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayTexelAspect SetOverlayTexelAspect;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayTexelAspect(ulong ulOverlayHandle, ref float pfTexelAspect);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayTexelAspect GetOverlayTexelAspect;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlaySortOrder(ulong ulOverlayHandle, uint unSortOrder);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlaySortOrder SetOverlaySortOrder;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlaySortOrder(ulong ulOverlayHandle, ref uint punSortOrder);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlaySortOrder GetOverlaySortOrder;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayWidthInMeters(ulong ulOverlayHandle, float fWidthInMeters);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayWidthInMeters SetOverlayWidthInMeters;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayWidthInMeters(ulong ulOverlayHandle, ref float pfWidthInMeters);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayWidthInMeters GetOverlayWidthInMeters;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayAutoCurveDistanceRangeInMeters(ulong ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayAutoCurveDistanceRangeInMeters SetOverlayAutoCurveDistanceRangeInMeters;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayAutoCurveDistanceRangeInMeters(ulong ulOverlayHandle, ref float pfMinDistanceInMeters, ref float pfMaxDistanceInMeters);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayAutoCurveDistanceRangeInMeters GetOverlayAutoCurveDistanceRangeInMeters;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayTextureColorSpace(ulong ulOverlayHandle, EColorSpace eTextureColorSpace);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayTextureColorSpace SetOverlayTextureColorSpace;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayTextureColorSpace(ulong ulOverlayHandle, ref EColorSpace peTextureColorSpace);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayTextureColorSpace GetOverlayTextureColorSpace;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayTextureBounds(ulong ulOverlayHandle, ref VRTextureBounds_t pOverlayTextureBounds);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayTextureBounds SetOverlayTextureBounds;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayTextureBounds(ulong ulOverlayHandle, ref VRTextureBounds_t pOverlayTextureBounds);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayTextureBounds GetOverlayTextureBounds;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetOverlayRenderModel(ulong ulOverlayHandle, System.Text.StringBuilder pchValue, uint unBufferSize, ref HmdColor_t pColor, ref EVROverlayError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayRenderModel GetOverlayRenderModel;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayRenderModel(ulong ulOverlayHandle, string pchRenderModel, ref HmdColor_t pColor);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayRenderModel SetOverlayRenderModel;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayTransformType(ulong ulOverlayHandle, ref VROverlayTransformType peTransformType);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayTransformType GetOverlayTransformType;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayTransformAbsolute(ulong ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayTransformAbsolute SetOverlayTransformAbsolute;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayTransformAbsolute(ulong ulOverlayHandle, ref ETrackingUniverseOrigin peTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayTransformAbsolute GetOverlayTransformAbsolute;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayTransformTrackedDeviceRelative(ulong ulOverlayHandle, uint unTrackedDevice, ref HmdMatrix34_t pmatTrackedDeviceToOverlayTransform);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayTransformTrackedDeviceRelative SetOverlayTransformTrackedDeviceRelative;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayTransformTrackedDeviceRelative(ulong ulOverlayHandle, ref uint punTrackedDevice, ref HmdMatrix34_t pmatTrackedDeviceToOverlayTransform);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayTransformTrackedDeviceRelative GetOverlayTransformTrackedDeviceRelative;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayTransformTrackedDeviceComponent(ulong ulOverlayHandle, uint unDeviceIndex, string pchComponentName);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayTransformTrackedDeviceComponent SetOverlayTransformTrackedDeviceComponent;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayTransformTrackedDeviceComponent(ulong ulOverlayHandle, ref uint punDeviceIndex, System.Text.StringBuilder pchComponentName, uint unComponentNameSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayTransformTrackedDeviceComponent GetOverlayTransformTrackedDeviceComponent;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayTransformOverlayRelative(ulong ulOverlayHandle, ref ulong ulOverlayHandleParent, ref HmdMatrix34_t pmatParentOverlayToOverlayTransform);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayTransformOverlayRelative GetOverlayTransformOverlayRelative;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayTransformOverlayRelative(ulong ulOverlayHandle, ulong ulOverlayHandleParent, ref HmdMatrix34_t pmatParentOverlayToOverlayTransform);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayTransformOverlayRelative SetOverlayTransformOverlayRelative;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _ShowOverlay(ulong ulOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ShowOverlay ShowOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _HideOverlay(ulong ulOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _HideOverlay HideOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsOverlayVisible(ulong ulOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsOverlayVisible IsOverlayVisible;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetTransformForOverlayCoordinates(ulong ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, ref HmdMatrix34_t pmatTransform);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetTransformForOverlayCoordinates GetTransformForOverlayCoordinates;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _PollNextOverlayEvent(ulong ulOverlayHandle, ref VREvent_t pEvent, uint uncbVREvent);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _PollNextOverlayEvent PollNextOverlayEvent;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayInputMethod(ulong ulOverlayHandle, ref VROverlayInputMethod peInputMethod);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayInputMethod GetOverlayInputMethod;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayInputMethod(ulong ulOverlayHandle, VROverlayInputMethod eInputMethod);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayInputMethod SetOverlayInputMethod;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayMouseScale(ulong ulOverlayHandle, ref HmdVector2_t pvecMouseScale);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayMouseScale GetOverlayMouseScale;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayMouseScale(ulong ulOverlayHandle, ref HmdVector2_t pvecMouseScale);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayMouseScale SetOverlayMouseScale;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _ComputeOverlayIntersection(ulong ulOverlayHandle, ref VROverlayIntersectionParams_t pParams, ref VROverlayIntersectionResults_t pResults);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ComputeOverlayIntersection ComputeOverlayIntersection;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsHoverTargetOverlay(ulong ulOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsHoverTargetOverlay IsHoverTargetOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate ulong _GetGamepadFocusOverlay();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetGamepadFocusOverlay GetGamepadFocusOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetGamepadFocusOverlay(ulong ulNewFocusOverlay);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetGamepadFocusOverlay SetGamepadFocusOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayNeighbor(EOverlayDirection eDirection, ulong ulFrom, ulong ulTo);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayNeighbor SetOverlayNeighbor;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _MoveGamepadFocusToNeighbor(EOverlayDirection eDirection, ulong ulFrom);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _MoveGamepadFocusToNeighbor MoveGamepadFocusToNeighbor;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayDualAnalogTransform(ulong ulOverlay, EDualAnalogWhich eWhich, IntPtr vCenter, float fRadius);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayDualAnalogTransform SetOverlayDualAnalogTransform;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayDualAnalogTransform(ulong ulOverlay, EDualAnalogWhich eWhich, ref HmdVector2_t pvCenter, ref float pfRadius);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayDualAnalogTransform GetOverlayDualAnalogTransform;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayTexture(ulong ulOverlayHandle, ref Texture_t pTexture);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayTexture SetOverlayTexture;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _ClearOverlayTexture(ulong ulOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ClearOverlayTexture ClearOverlayTexture;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayRaw(ulong ulOverlayHandle, IntPtr pvBuffer, uint unWidth, uint unHeight, uint unDepth);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayRaw SetOverlayRaw;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayFromFile(ulong ulOverlayHandle, string pchFilePath);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayFromFile SetOverlayFromFile;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayTexture(ulong ulOverlayHandle, ref IntPtr pNativeTextureHandle, IntPtr pNativeTextureRef, ref uint pWidth, ref uint pHeight, ref uint pNativeFormat, ref ETextureType pAPIType, ref EColorSpace pColorSpace, ref VRTextureBounds_t pTextureBounds);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayTexture GetOverlayTexture;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _ReleaseNativeOverlayHandle(ulong ulOverlayHandle, IntPtr pNativeTextureHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ReleaseNativeOverlayHandle ReleaseNativeOverlayHandle;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayTextureSize(ulong ulOverlayHandle, ref uint pWidth, ref uint pHeight);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayTextureSize GetOverlayTextureSize;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _CreateDashboardOverlay(string pchOverlayKey, string pchOverlayFriendlyName, ref ulong pMainHandle, ref ulong pThumbnailHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CreateDashboardOverlay CreateDashboardOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsDashboardVisible();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsDashboardVisible IsDashboardVisible;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _IsActiveDashboardOverlay(ulong ulOverlayHandle);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _IsActiveDashboardOverlay IsActiveDashboardOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetDashboardOverlaySceneProcess(ulong ulOverlayHandle, uint unProcessId);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetDashboardOverlaySceneProcess SetDashboardOverlaySceneProcess;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetDashboardOverlaySceneProcess(ulong ulOverlayHandle, ref uint punProcessId);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetDashboardOverlaySceneProcess GetDashboardOverlaySceneProcess;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _ShowDashboard(string pchOverlayToShow);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ShowDashboard ShowDashboard;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetPrimaryDashboardDevice();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetPrimaryDashboardDevice GetPrimaryDashboardDevice;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _ShowKeyboard(int eInputMode, int eLineInputMode, string pchDescription, uint unCharMax, string pchExistingText, bool bUseMinimalMode, ulong uUserValue);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ShowKeyboard ShowKeyboard;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _ShowKeyboardForOverlay(ulong ulOverlayHandle, int eInputMode, int eLineInputMode, string pchDescription, uint unCharMax, string pchExistingText, bool bUseMinimalMode, ulong uUserValue);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ShowKeyboardForOverlay ShowKeyboardForOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetKeyboardText(System.Text.StringBuilder pchText, uint cchText);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetKeyboardText GetKeyboardText;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _HideKeyboard();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _HideKeyboard HideKeyboard;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetKeyboardTransformAbsolute(ETrackingUniverseOrigin eTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToKeyboardTransform);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetKeyboardTransformAbsolute SetKeyboardTransformAbsolute;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetKeyboardPositionForOverlay(ulong ulOverlayHandle, HmdRect2_t avoidRect);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetKeyboardPositionForOverlay SetKeyboardPositionForOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _SetOverlayIntersectionMask(ulong ulOverlayHandle, ref VROverlayIntersectionMaskPrimitive_t pMaskPrimitives, uint unNumMaskPrimitives, uint unPrimitiveSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetOverlayIntersectionMask SetOverlayIntersectionMask;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVROverlayError _GetOverlayFlags(ulong ulOverlayHandle, ref uint pFlags);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetOverlayFlags GetOverlayFlags;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate VRMessageOverlayResponse _ShowMessageOverlay(string pchText, string pchCaption, string pchButton0Text, string pchButton1Text, string pchButton2Text, string pchButton3Text);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _ShowMessageOverlay ShowMessageOverlay;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _CloseMessageOverlay();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CloseMessageOverlay CloseMessageOverlay;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRRenderModels
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRRenderModelError _LoadRenderModel_Async(string pchRenderModelName, ref IntPtr ppRenderModel);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LoadRenderModel_Async LoadRenderModel_Async;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _FreeRenderModel(IntPtr pRenderModel);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _FreeRenderModel FreeRenderModel;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRRenderModelError _LoadTexture_Async(int textureId, ref IntPtr ppTexture);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LoadTexture_Async LoadTexture_Async;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _FreeTexture(IntPtr pTexture);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _FreeTexture FreeTexture;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRRenderModelError _LoadTextureD3D11_Async(int textureId, IntPtr pD3D11Device, ref IntPtr ppD3D11Texture2D);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LoadTextureD3D11_Async LoadTextureD3D11_Async;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRRenderModelError _LoadIntoTextureD3D11_Async(int textureId, IntPtr pDstTexture);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LoadIntoTextureD3D11_Async LoadIntoTextureD3D11_Async;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _FreeTextureD3D11(IntPtr pD3D11Texture2D);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _FreeTextureD3D11 FreeTextureD3D11;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetRenderModelName(uint unRenderModelIndex, System.Text.StringBuilder pchRenderModelName, uint unRenderModelNameLen);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetRenderModelName GetRenderModelName;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetRenderModelCount();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetRenderModelCount GetRenderModelCount;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetComponentCount(string pchRenderModelName);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetComponentCount GetComponentCount;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetComponentName(string pchRenderModelName, uint unComponentIndex, System.Text.StringBuilder pchComponentName, uint unComponentNameLen);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetComponentName GetComponentName;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate ulong _GetComponentButtonMask(string pchRenderModelName, string pchComponentName);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetComponentButtonMask GetComponentButtonMask;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetComponentRenderModelName(string pchRenderModelName, string pchComponentName, System.Text.StringBuilder pchComponentRenderModelName, uint unComponentRenderModelNameLen);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetComponentRenderModelName GetComponentRenderModelName;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetComponentState(string pchRenderModelName, string pchComponentName, ref VRControllerState_t pControllerState, ref RenderModel_ControllerMode_State_t pState, ref RenderModel_ComponentState_t pComponentState);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetComponentState GetComponentState;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _RenderModelHasComponent(string pchRenderModelName, string pchComponentName);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _RenderModelHasComponent RenderModelHasComponent;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetRenderModelThumbnailURL(string pchRenderModelName, System.Text.StringBuilder pchThumbnailURL, uint unThumbnailURLLen, ref EVRRenderModelError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetRenderModelThumbnailURL GetRenderModelThumbnailURL;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetRenderModelOriginalPath(string pchRenderModelName, System.Text.StringBuilder pchOriginalPath, uint unOriginalPathLen, ref EVRRenderModelError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetRenderModelOriginalPath GetRenderModelOriginalPath;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate IntPtr _GetRenderModelErrorNameFromEnum(EVRRenderModelError error);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetRenderModelErrorNameFromEnum GetRenderModelErrorNameFromEnum;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRNotifications
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRNotificationError _CreateNotification(ulong ulOverlayHandle, ulong ulUserValue, EVRNotificationType type, string pchText, EVRNotificationStyle style, ref NotificationBitmap_t pImage, ref uint pNotificationId);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _CreateNotification CreateNotification;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRNotificationError _RemoveNotification(uint notificationId);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _RemoveNotification RemoveNotification;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRSettings
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate IntPtr _GetSettingsErrorNameFromEnum(EVRSettingsError eError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetSettingsErrorNameFromEnum GetSettingsErrorNameFromEnum;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _Sync(bool bForce, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _Sync Sync;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetBool(string pchSection, string pchSettingsKey, bool bValue, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetBool SetBool;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetInt32(string pchSection, string pchSettingsKey, int nValue, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetInt32 SetInt32;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetFloat(string pchSection, string pchSettingsKey, float flValue, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetFloat SetFloat;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _SetString(string pchSection, string pchSettingsKey, string pchValue, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SetString SetString;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetBool(string pchSection, string pchSettingsKey, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetBool GetBool;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate int _GetInt32(string pchSection, string pchSettingsKey, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetInt32 GetInt32;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate float _GetFloat(string pchSection, string pchSettingsKey, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetFloat GetFloat;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _GetString(string pchSection, string pchSettingsKey, System.Text.StringBuilder pchValue, uint unValueLen, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetString GetString;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _RemoveSection(string pchSection, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _RemoveSection RemoveSection;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate void _RemoveKeyInSection(string pchSection, string pchSettingsKey, ref EVRSettingsError peError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _RemoveKeyInSection RemoveKeyInSection;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRScreenshots
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRScreenshotError _RequestScreenshot(ref uint pOutScreenshotHandle, EVRScreenshotType type, string pchPreviewFilename, string pchVRFilename);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _RequestScreenshot RequestScreenshot;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRScreenshotError _HookScreenshot([In, Out] EVRScreenshotType[] pSupportedTypes, int numTypes);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _HookScreenshot HookScreenshot;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRScreenshotType _GetScreenshotPropertyType(uint screenshotHandle, ref EVRScreenshotError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetScreenshotPropertyType GetScreenshotPropertyType;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetScreenshotPropertyFilename(uint screenshotHandle, EVRScreenshotPropertyFilenames filenameType, System.Text.StringBuilder pchFilename, uint cchFilename, ref EVRScreenshotError pError);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetScreenshotPropertyFilename GetScreenshotPropertyFilename;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRScreenshotError _UpdateScreenshotProgress(uint screenshotHandle, float flProgress);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _UpdateScreenshotProgress UpdateScreenshotProgress;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRScreenshotError _TakeStereoScreenshot(ref uint pOutScreenshotHandle, string pchPreviewFilename, string pchVRFilename);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _TakeStereoScreenshot TakeStereoScreenshot;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate EVRScreenshotError _SubmitScreenshot(uint screenshotHandle, EVRScreenshotType type, string pchSourcePreviewFilename, string pchSourceVRFilename);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _SubmitScreenshot SubmitScreenshot;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRResources
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _LoadSharedResource(string pchResourceName, string pchBuffer, uint unBufferLen);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _LoadSharedResource LoadSharedResource;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetResourceFullPath(string pchResourceName, string pchResourceTypeDirectory, System.Text.StringBuilder pchPathBuffer, uint unBufferLen);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetResourceFullPath GetResourceFullPath;
+
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IVRDriverManager
+{
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetDriverCount();
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetDriverCount GetDriverCount;
+
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate uint _GetDriverName(uint nDriver, System.Text.StringBuilder pchValue, uint unBufferSize);
+	[MarshalAs(UnmanagedType.FunctionPtr)]
+	internal _GetDriverName GetDriverName;
+
+}
+
+
+public class CVRSystem
+{
+	IVRSystem FnTable;
+	internal CVRSystem(IntPtr pInterface)
+	{
+		FnTable = (IVRSystem)Marshal.PtrToStructure(pInterface, typeof(IVRSystem));
+	}
+	public void GetRecommendedRenderTargetSize(ref uint pnWidth,ref uint pnHeight)
+	{
+		pnWidth = 0;
+		pnHeight = 0;
+		FnTable.GetRecommendedRenderTargetSize(ref pnWidth,ref pnHeight);
+	}
+	public HmdMatrix44_t GetProjectionMatrix(EVREye eEye,float fNearZ,float fFarZ)
+	{
+		HmdMatrix44_t result = FnTable.GetProjectionMatrix(eEye,fNearZ,fFarZ);
+		return result;
+	}
+	public void GetProjectionRaw(EVREye eEye,ref float pfLeft,ref float pfRight,ref float pfTop,ref float pfBottom)
+	{
+		pfLeft = 0;
+		pfRight = 0;
+		pfTop = 0;
+		pfBottom = 0;
+		FnTable.GetProjectionRaw(eEye,ref pfLeft,ref pfRight,ref pfTop,ref pfBottom);
+	}
+	public bool ComputeDistortion(EVREye eEye,float fU,float fV,ref DistortionCoordinates_t pDistortionCoordinates)
+	{
+		bool result = FnTable.ComputeDistortion(eEye,fU,fV,ref pDistortionCoordinates);
+		return result;
+	}
+	public HmdMatrix34_t GetEyeToHeadTransform(EVREye eEye)
+	{
+		HmdMatrix34_t result = FnTable.GetEyeToHeadTransform(eEye);
+		return result;
+	}
+	public bool GetTimeSinceLastVsync(ref float pfSecondsSinceLastVsync,ref ulong pulFrameCounter)
+	{
+		pfSecondsSinceLastVsync = 0;
+		pulFrameCounter = 0;
+		bool result = FnTable.GetTimeSinceLastVsync(ref pfSecondsSinceLastVsync,ref pulFrameCounter);
+		return result;
+	}
+	public int GetD3D9AdapterIndex()
+	{
+		int result = FnTable.GetD3D9AdapterIndex();
+		return result;
+	}
+	public void GetDXGIOutputInfo(ref int pnAdapterIndex)
+	{
+		pnAdapterIndex = 0;
+		FnTable.GetDXGIOutputInfo(ref pnAdapterIndex);
+	}
+	public void GetOutputDevice(ref ulong pnDevice,ETextureType textureType,IntPtr pInstance)
+	{
+		pnDevice = 0;
+		FnTable.GetOutputDevice(ref pnDevice,textureType,pInstance);
+	}
+	public bool IsDisplayOnDesktop()
+	{
+		bool result = FnTable.IsDisplayOnDesktop();
+		return result;
+	}
+	public bool SetDisplayVisibility(bool bIsVisibleOnDesktop)
+	{
+		bool result = FnTable.SetDisplayVisibility(bIsVisibleOnDesktop);
+		return result;
+	}
+	public void GetDeviceToAbsoluteTrackingPose(ETrackingUniverseOrigin eOrigin,float fPredictedSecondsToPhotonsFromNow,TrackedDevicePose_t [] pTrackedDevicePoseArray)
+	{
+		FnTable.GetDeviceToAbsoluteTrackingPose(eOrigin,fPredictedSecondsToPhotonsFromNow,pTrackedDevicePoseArray,(uint) pTrackedDevicePoseArray.Length);
+	}
+	public void ResetSeatedZeroPose()
+	{
+		FnTable.ResetSeatedZeroPose();
+	}
+	public HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose()
+	{
+		HmdMatrix34_t result = FnTable.GetSeatedZeroPoseToStandingAbsoluteTrackingPose();
+		return result;
+	}
+	public HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose()
+	{
+		HmdMatrix34_t result = FnTable.GetRawZeroPoseToStandingAbsoluteTrackingPose();
+		return result;
+	}
+	public uint GetSortedTrackedDeviceIndicesOfClass(ETrackedDeviceClass eTrackedDeviceClass,uint [] punTrackedDeviceIndexArray,uint unRelativeToTrackedDeviceIndex)
+	{
+		uint result = FnTable.GetSortedTrackedDeviceIndicesOfClass(eTrackedDeviceClass,punTrackedDeviceIndexArray,(uint) punTrackedDeviceIndexArray.Length,unRelativeToTrackedDeviceIndex);
+		return result;
+	}
+	public EDeviceActivityLevel GetTrackedDeviceActivityLevel(uint unDeviceId)
+	{
+		EDeviceActivityLevel result = FnTable.GetTrackedDeviceActivityLevel(unDeviceId);
+		return result;
+	}
+	public void ApplyTransform(ref TrackedDevicePose_t pOutputPose,ref TrackedDevicePose_t pTrackedDevicePose,ref HmdMatrix34_t pTransform)
+	{
+		FnTable.ApplyTransform(ref pOutputPose,ref pTrackedDevicePose,ref pTransform);
+	}
+	public uint GetTrackedDeviceIndexForControllerRole(ETrackedControllerRole unDeviceType)
+	{
+		uint result = FnTable.GetTrackedDeviceIndexForControllerRole(unDeviceType);
+		return result;
+	}
+	public ETrackedControllerRole GetControllerRoleForTrackedDeviceIndex(uint unDeviceIndex)
+	{
+		ETrackedControllerRole result = FnTable.GetControllerRoleForTrackedDeviceIndex(unDeviceIndex);
+		return result;
+	}
+	public ETrackedDeviceClass GetTrackedDeviceClass(uint unDeviceIndex)
+	{
+		ETrackedDeviceClass result = FnTable.GetTrackedDeviceClass(unDeviceIndex);
+		return result;
+	}
+	public bool IsTrackedDeviceConnected(uint unDeviceIndex)
+	{
+		bool result = FnTable.IsTrackedDeviceConnected(unDeviceIndex);
+		return result;
+	}
+	public bool GetBoolTrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
+	{
+		bool result = FnTable.GetBoolTrackedDeviceProperty(unDeviceIndex,prop,ref pError);
+		return result;
+	}
+	public float GetFloatTrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
+	{
+		float result = FnTable.GetFloatTrackedDeviceProperty(unDeviceIndex,prop,ref pError);
+		return result;
+	}
+	public int GetInt32TrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
+	{
+		int result = FnTable.GetInt32TrackedDeviceProperty(unDeviceIndex,prop,ref pError);
+		return result;
+	}
+	public ulong GetUint64TrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
+	{
+		ulong result = FnTable.GetUint64TrackedDeviceProperty(unDeviceIndex,prop,ref pError);
+		return result;
+	}
+	public HmdMatrix34_t GetMatrix34TrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,ref ETrackedPropertyError pError)
+	{
+		HmdMatrix34_t result = FnTable.GetMatrix34TrackedDeviceProperty(unDeviceIndex,prop,ref pError);
+		return result;
+	}
+	public uint GetArrayTrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,uint propType,IntPtr pBuffer,uint unBufferSize,ref ETrackedPropertyError pError)
+	{
+		uint result = FnTable.GetArrayTrackedDeviceProperty(unDeviceIndex,prop,propType,pBuffer,unBufferSize,ref pError);
+		return result;
+	}
+	public uint GetStringTrackedDeviceProperty(uint unDeviceIndex,ETrackedDeviceProperty prop,System.Text.StringBuilder pchValue,uint unBufferSize,ref ETrackedPropertyError pError)
+	{
+		uint result = FnTable.GetStringTrackedDeviceProperty(unDeviceIndex,prop,pchValue,unBufferSize,ref pError);
+		return result;
+	}
+	public string GetPropErrorNameFromEnum(ETrackedPropertyError error)
+	{
+		IntPtr result = FnTable.GetPropErrorNameFromEnum(error);
+		return Marshal.PtrToStringAnsi(result);
+	}
+// This is a terrible hack to workaround the fact that VRControllerState_t and VREvent_t were
+// originally mis-compiled with the wrong packing for Linux and OSX.
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _PollNextEventPacked(ref VREvent_t_Packed pEvent,uint uncbVREvent);
+	[StructLayout(LayoutKind.Explicit)]
+	struct PollNextEventUnion
+	{
+		[FieldOffset(0)]
+		public IVRSystem._PollNextEvent pPollNextEvent;
+		[FieldOffset(0)]
+		public _PollNextEventPacked pPollNextEventPacked;
+	}
+	public bool PollNextEvent(ref VREvent_t pEvent,uint uncbVREvent)
+	{
+#if !UNITY_METRO
+		if ((System.Environment.OSVersion.Platform == System.PlatformID.MacOSX) ||
+				(System.Environment.OSVersion.Platform == System.PlatformID.Unix))
+		{
+			PollNextEventUnion u;
+			VREvent_t_Packed event_packed = new VREvent_t_Packed();
+			u.pPollNextEventPacked = null;
+			u.pPollNextEvent = FnTable.PollNextEvent;
+			bool packed_result = u.pPollNextEventPacked(ref event_packed,(uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(VREvent_t_Packed)));
+
+			event_packed.Unpack(ref pEvent);
+			return packed_result;
+		}
+#endif
+		bool result = FnTable.PollNextEvent(ref pEvent,uncbVREvent);
+		return result;
+	}
+	public bool PollNextEventWithPose(ETrackingUniverseOrigin eOrigin,ref VREvent_t pEvent,uint uncbVREvent,ref TrackedDevicePose_t pTrackedDevicePose)
+	{
+		bool result = FnTable.PollNextEventWithPose(eOrigin,ref pEvent,uncbVREvent,ref pTrackedDevicePose);
+		return result;
+	}
+	public string GetEventTypeNameFromEnum(EVREventType eType)
+	{
+		IntPtr result = FnTable.GetEventTypeNameFromEnum(eType);
+		return Marshal.PtrToStringAnsi(result);
+	}
+	public HiddenAreaMesh_t GetHiddenAreaMesh(EVREye eEye,EHiddenAreaMeshType type)
+	{
+		HiddenAreaMesh_t result = FnTable.GetHiddenAreaMesh(eEye,type);
+		return result;
+	}
+// This is a terrible hack to workaround the fact that VRControllerState_t and VREvent_t were
+// originally mis-compiled with the wrong packing for Linux and OSX.
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetControllerStatePacked(uint unControllerDeviceIndex,ref VRControllerState_t_Packed pControllerState,uint unControllerStateSize);
+	[StructLayout(LayoutKind.Explicit)]
+	struct GetControllerStateUnion
+	{
+		[FieldOffset(0)]
+		public IVRSystem._GetControllerState pGetControllerState;
+		[FieldOffset(0)]
+		public _GetControllerStatePacked pGetControllerStatePacked;
+	}
+	public bool GetControllerState(uint unControllerDeviceIndex,ref VRControllerState_t pControllerState,uint unControllerStateSize)
+	{
+#if !UNITY_METRO
+		if ((System.Environment.OSVersion.Platform == System.PlatformID.MacOSX) ||
+				(System.Environment.OSVersion.Platform == System.PlatformID.Unix))
+		{
+			GetControllerStateUnion u;
+			VRControllerState_t_Packed state_packed = new VRControllerState_t_Packed(pControllerState);
+			u.pGetControllerStatePacked = null;
+			u.pGetControllerState = FnTable.GetControllerState;
+			bool packed_result = u.pGetControllerStatePacked(unControllerDeviceIndex,ref state_packed,(uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(VRControllerState_t_Packed)));
+
+			state_packed.Unpack(ref pControllerState);
+			return packed_result;
+		}
+#endif
+		bool result = FnTable.GetControllerState(unControllerDeviceIndex,ref pControllerState,unControllerStateSize);
+		return result;
+	}
+// This is a terrible hack to workaround the fact that VRControllerState_t and VREvent_t were
+// originally mis-compiled with the wrong packing for Linux and OSX.
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetControllerStateWithPosePacked(ETrackingUniverseOrigin eOrigin,uint unControllerDeviceIndex,ref VRControllerState_t_Packed pControllerState,uint unControllerStateSize,ref TrackedDevicePose_t pTrackedDevicePose);
+	[StructLayout(LayoutKind.Explicit)]
+	struct GetControllerStateWithPoseUnion
+	{
+		[FieldOffset(0)]
+		public IVRSystem._GetControllerStateWithPose pGetControllerStateWithPose;
+		[FieldOffset(0)]
+		public _GetControllerStateWithPosePacked pGetControllerStateWithPosePacked;
+	}
+	public bool GetControllerStateWithPose(ETrackingUniverseOrigin eOrigin,uint unControllerDeviceIndex,ref VRControllerState_t pControllerState,uint unControllerStateSize,ref TrackedDevicePose_t pTrackedDevicePose)
+	{
+#if !UNITY_METRO
+		if ((System.Environment.OSVersion.Platform == System.PlatformID.MacOSX) ||
+				(System.Environment.OSVersion.Platform == System.PlatformID.Unix))
+		{
+			GetControllerStateWithPoseUnion u;
+			VRControllerState_t_Packed state_packed = new VRControllerState_t_Packed(pControllerState);
+			u.pGetControllerStateWithPosePacked = null;
+			u.pGetControllerStateWithPose = FnTable.GetControllerStateWithPose;
+			bool packed_result = u.pGetControllerStateWithPosePacked(eOrigin,unControllerDeviceIndex,ref state_packed,(uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(VRControllerState_t_Packed)),ref pTrackedDevicePose);
+
+			state_packed.Unpack(ref pControllerState);
+			return packed_result;
+		}
+#endif
+		bool result = FnTable.GetControllerStateWithPose(eOrigin,unControllerDeviceIndex,ref pControllerState,unControllerStateSize,ref pTrackedDevicePose);
+		return result;
+	}
+	public void TriggerHapticPulse(uint unControllerDeviceIndex,uint unAxisId,char usDurationMicroSec)
+	{
+		FnTable.TriggerHapticPulse(unControllerDeviceIndex,unAxisId,usDurationMicroSec);
+	}
+	public string GetButtonIdNameFromEnum(EVRButtonId eButtonId)
+	{
+		IntPtr result = FnTable.GetButtonIdNameFromEnum(eButtonId);
+		return Marshal.PtrToStringAnsi(result);
+	}
+	public string GetControllerAxisTypeNameFromEnum(EVRControllerAxisType eAxisType)
+	{
+		IntPtr result = FnTable.GetControllerAxisTypeNameFromEnum(eAxisType);
+		return Marshal.PtrToStringAnsi(result);
+	}
+	public bool IsInputAvailable()
+	{
+		bool result = FnTable.IsInputAvailable();
+		return result;
+	}
+	public bool IsSteamVRDrawingControllers()
+	{
+		bool result = FnTable.IsSteamVRDrawingControllers();
+		return result;
+	}
+	public bool ShouldApplicationPause()
+	{
+		bool result = FnTable.ShouldApplicationPause();
+		return result;
+	}
+	public bool ShouldApplicationReduceRenderingWork()
+	{
+		bool result = FnTable.ShouldApplicationReduceRenderingWork();
+		return result;
+	}
+	public uint DriverDebugRequest(uint unDeviceIndex,string pchRequest,System.Text.StringBuilder pchResponseBuffer,uint unResponseBufferSize)
+	{
+		uint result = FnTable.DriverDebugRequest(unDeviceIndex,pchRequest,pchResponseBuffer,unResponseBufferSize);
+		return result;
+	}
+	public EVRFirmwareError PerformFirmwareUpdate(uint unDeviceIndex)
+	{
+		EVRFirmwareError result = FnTable.PerformFirmwareUpdate(unDeviceIndex);
+		return result;
+	}
+	public void AcknowledgeQuit_Exiting()
+	{
+		FnTable.AcknowledgeQuit_Exiting();
+	}
+	public void AcknowledgeQuit_UserPrompt()
+	{
+		FnTable.AcknowledgeQuit_UserPrompt();
+	}
+}
+
+
+public class CVRExtendedDisplay
+{
+	IVRExtendedDisplay FnTable;
+	internal CVRExtendedDisplay(IntPtr pInterface)
+	{
+		FnTable = (IVRExtendedDisplay)Marshal.PtrToStructure(pInterface, typeof(IVRExtendedDisplay));
+	}
+	public void GetWindowBounds(ref int pnX,ref int pnY,ref uint pnWidth,ref uint pnHeight)
+	{
+		pnX = 0;
+		pnY = 0;
+		pnWidth = 0;
+		pnHeight = 0;
+		FnTable.GetWindowBounds(ref pnX,ref pnY,ref pnWidth,ref pnHeight);
+	}
+	public void GetEyeOutputViewport(EVREye eEye,ref uint pnX,ref uint pnY,ref uint pnWidth,ref uint pnHeight)
+	{
+		pnX = 0;
+		pnY = 0;
+		pnWidth = 0;
+		pnHeight = 0;
+		FnTable.GetEyeOutputViewport(eEye,ref pnX,ref pnY,ref pnWidth,ref pnHeight);
+	}
+	public void GetDXGIOutputInfo(ref int pnAdapterIndex,ref int pnAdapterOutputIndex)
+	{
+		pnAdapterIndex = 0;
+		pnAdapterOutputIndex = 0;
+		FnTable.GetDXGIOutputInfo(ref pnAdapterIndex,ref pnAdapterOutputIndex);
+	}
+}
+
+
+public class CVRTrackedCamera
+{
+	IVRTrackedCamera FnTable;
+	internal CVRTrackedCamera(IntPtr pInterface)
+	{
+		FnTable = (IVRTrackedCamera)Marshal.PtrToStructure(pInterface, typeof(IVRTrackedCamera));
+	}
+	public string GetCameraErrorNameFromEnum(EVRTrackedCameraError eCameraError)
+	{
+		IntPtr result = FnTable.GetCameraErrorNameFromEnum(eCameraError);
+		return Marshal.PtrToStringAnsi(result);
+	}
+	public EVRTrackedCameraError HasCamera(uint nDeviceIndex,ref bool pHasCamera)
+	{
+		pHasCamera = false;
+		EVRTrackedCameraError result = FnTable.HasCamera(nDeviceIndex,ref pHasCamera);
+		return result;
+	}
+	public EVRTrackedCameraError GetCameraFrameSize(uint nDeviceIndex,EVRTrackedCameraFrameType eFrameType,ref uint pnWidth,ref uint pnHeight,ref uint pnFrameBufferSize)
+	{
+		pnWidth = 0;
+		pnHeight = 0;
+		pnFrameBufferSize = 0;
+		EVRTrackedCameraError result = FnTable.GetCameraFrameSize(nDeviceIndex,eFrameType,ref pnWidth,ref pnHeight,ref pnFrameBufferSize);
+		return result;
+	}
+	public EVRTrackedCameraError GetCameraIntrinsics(uint nDeviceIndex,EVRTrackedCameraFrameType eFrameType,ref HmdVector2_t pFocalLength,ref HmdVector2_t pCenter)
+	{
+		EVRTrackedCameraError result = FnTable.GetCameraIntrinsics(nDeviceIndex,eFrameType,ref pFocalLength,ref pCenter);
+		return result;
+	}
+	public EVRTrackedCameraError GetCameraProjection(uint nDeviceIndex,EVRTrackedCameraFrameType eFrameType,float flZNear,float flZFar,ref HmdMatrix44_t pProjection)
+	{
+		EVRTrackedCameraError result = FnTable.GetCameraProjection(nDeviceIndex,eFrameType,flZNear,flZFar,ref pProjection);
+		return result;
+	}
+	public EVRTrackedCameraError AcquireVideoStreamingService(uint nDeviceIndex,ref ulong pHandle)
+	{
+		pHandle = 0;
+		EVRTrackedCameraError result = FnTable.AcquireVideoStreamingService(nDeviceIndex,ref pHandle);
+		return result;
+	}
+	public EVRTrackedCameraError ReleaseVideoStreamingService(ulong hTrackedCamera)
+	{
+		EVRTrackedCameraError result = FnTable.ReleaseVideoStreamingService(hTrackedCamera);
+		return result;
+	}
+	public EVRTrackedCameraError GetVideoStreamFrameBuffer(ulong hTrackedCamera,EVRTrackedCameraFrameType eFrameType,IntPtr pFrameBuffer,uint nFrameBufferSize,ref CameraVideoStreamFrameHeader_t pFrameHeader,uint nFrameHeaderSize)
+	{
+		EVRTrackedCameraError result = FnTable.GetVideoStreamFrameBuffer(hTrackedCamera,eFrameType,pFrameBuffer,nFrameBufferSize,ref pFrameHeader,nFrameHeaderSize);
+		return result;
+	}
+	public EVRTrackedCameraError GetVideoStreamTextureSize(uint nDeviceIndex,EVRTrackedCameraFrameType eFrameType,ref VRTextureBounds_t pTextureBounds,ref uint pnWidth,ref uint pnHeight)
+	{
+		pnWidth = 0;
+		pnHeight = 0;
+		EVRTrackedCameraError result = FnTable.GetVideoStreamTextureSize(nDeviceIndex,eFrameType,ref pTextureBounds,ref pnWidth,ref pnHeight);
+		return result;
+	}
+	public EVRTrackedCameraError GetVideoStreamTextureD3D11(ulong hTrackedCamera,EVRTrackedCameraFrameType eFrameType,IntPtr pD3D11DeviceOrResource,ref IntPtr ppD3D11ShaderResourceView,ref CameraVideoStreamFrameHeader_t pFrameHeader,uint nFrameHeaderSize)
+	{
+		EVRTrackedCameraError result = FnTable.GetVideoStreamTextureD3D11(hTrackedCamera,eFrameType,pD3D11DeviceOrResource,ref ppD3D11ShaderResourceView,ref pFrameHeader,nFrameHeaderSize);
+		return result;
+	}
+	public EVRTrackedCameraError GetVideoStreamTextureGL(ulong hTrackedCamera,EVRTrackedCameraFrameType eFrameType,ref uint pglTextureId,ref CameraVideoStreamFrameHeader_t pFrameHeader,uint nFrameHeaderSize)
+	{
+		pglTextureId = 0;
+		EVRTrackedCameraError result = FnTable.GetVideoStreamTextureGL(hTrackedCamera,eFrameType,ref pglTextureId,ref pFrameHeader,nFrameHeaderSize);
+		return result;
+	}
+	public EVRTrackedCameraError ReleaseVideoStreamTextureGL(ulong hTrackedCamera,uint glTextureId)
+	{
+		EVRTrackedCameraError result = FnTable.ReleaseVideoStreamTextureGL(hTrackedCamera,glTextureId);
+		return result;
+	}
+}
+
+
+public class CVRApplications
+{
+	IVRApplications FnTable;
+	internal CVRApplications(IntPtr pInterface)
+	{
+		FnTable = (IVRApplications)Marshal.PtrToStructure(pInterface, typeof(IVRApplications));
+	}
+	public EVRApplicationError AddApplicationManifest(string pchApplicationManifestFullPath,bool bTemporary)
+	{
+		EVRApplicationError result = FnTable.AddApplicationManifest(pchApplicationManifestFullPath,bTemporary);
+		return result;
+	}
+	public EVRApplicationError RemoveApplicationManifest(string pchApplicationManifestFullPath)
+	{
+		EVRApplicationError result = FnTable.RemoveApplicationManifest(pchApplicationManifestFullPath);
+		return result;
+	}
+	public bool IsApplicationInstalled(string pchAppKey)
+	{
+		bool result = FnTable.IsApplicationInstalled(pchAppKey);
+		return result;
+	}
+	public uint GetApplicationCount()
+	{
+		uint result = FnTable.GetApplicationCount();
+		return result;
+	}
+	public EVRApplicationError GetApplicationKeyByIndex(uint unApplicationIndex,System.Text.StringBuilder pchAppKeyBuffer,uint unAppKeyBufferLen)
+	{
+		EVRApplicationError result = FnTable.GetApplicationKeyByIndex(unApplicationIndex,pchAppKeyBuffer,unAppKeyBufferLen);
+		return result;
+	}
+	public EVRApplicationError GetApplicationKeyByProcessId(uint unProcessId,System.Text.StringBuilder pchAppKeyBuffer,uint unAppKeyBufferLen)
+	{
+		EVRApplicationError result = FnTable.GetApplicationKeyByProcessId(unProcessId,pchAppKeyBuffer,unAppKeyBufferLen);
+		return result;
+	}
+	public EVRApplicationError LaunchApplication(string pchAppKey)
+	{
+		EVRApplicationError result = FnTable.LaunchApplication(pchAppKey);
+		return result;
+	}
+	public EVRApplicationError LaunchTemplateApplication(string pchTemplateAppKey,string pchNewAppKey,AppOverrideKeys_t [] pKeys)
+	{
+		EVRApplicationError result = FnTable.LaunchTemplateApplication(pchTemplateAppKey,pchNewAppKey,pKeys,(uint) pKeys.Length);
+		return result;
+	}
+	public EVRApplicationError LaunchApplicationFromMimeType(string pchMimeType,string pchArgs)
+	{
+		EVRApplicationError result = FnTable.LaunchApplicationFromMimeType(pchMimeType,pchArgs);
+		return result;
+	}
+	public EVRApplicationError LaunchDashboardOverlay(string pchAppKey)
+	{
+		EVRApplicationError result = FnTable.LaunchDashboardOverlay(pchAppKey);
+		return result;
+	}
+	public bool CancelApplicationLaunch(string pchAppKey)
+	{
+		bool result = FnTable.CancelApplicationLaunch(pchAppKey);
+		return result;
+	}
+	public EVRApplicationError IdentifyApplication(uint unProcessId,string pchAppKey)
+	{
+		EVRApplicationError result = FnTable.IdentifyApplication(unProcessId,pchAppKey);
+		return result;
+	}
+	public uint GetApplicationProcessId(string pchAppKey)
+	{
+		uint result = FnTable.GetApplicationProcessId(pchAppKey);
+		return result;
+	}
+	public string GetApplicationsErrorNameFromEnum(EVRApplicationError error)
+	{
+		IntPtr result = FnTable.GetApplicationsErrorNameFromEnum(error);
+		return Marshal.PtrToStringAnsi(result);
+	}
+	public uint GetApplicationPropertyString(string pchAppKey,EVRApplicationProperty eProperty,System.Text.StringBuilder pchPropertyValueBuffer,uint unPropertyValueBufferLen,ref EVRApplicationError peError)
+	{
+		uint result = FnTable.GetApplicationPropertyString(pchAppKey,eProperty,pchPropertyValueBuffer,unPropertyValueBufferLen,ref peError);
+		return result;
+	}
+	public bool GetApplicationPropertyBool(string pchAppKey,EVRApplicationProperty eProperty,ref EVRApplicationError peError)
+	{
+		bool result = FnTable.GetApplicationPropertyBool(pchAppKey,eProperty,ref peError);
+		return result;
+	}
+	public ulong GetApplicationPropertyUint64(string pchAppKey,EVRApplicationProperty eProperty,ref EVRApplicationError peError)
+	{
+		ulong result = FnTable.GetApplicationPropertyUint64(pchAppKey,eProperty,ref peError);
+		return result;
+	}
+	public EVRApplicationError SetApplicationAutoLaunch(string pchAppKey,bool bAutoLaunch)
+	{
+		EVRApplicationError result = FnTable.SetApplicationAutoLaunch(pchAppKey,bAutoLaunch);
+		return result;
+	}
+	public bool GetApplicationAutoLaunch(string pchAppKey)
+	{
+		bool result = FnTable.GetApplicationAutoLaunch(pchAppKey);
+		return result;
+	}
+	public EVRApplicationError SetDefaultApplicationForMimeType(string pchAppKey,string pchMimeType)
+	{
+		EVRApplicationError result = FnTable.SetDefaultApplicationForMimeType(pchAppKey,pchMimeType);
+		return result;
+	}
+	public bool GetDefaultApplicationForMimeType(string pchMimeType,System.Text.StringBuilder pchAppKeyBuffer,uint unAppKeyBufferLen)
+	{
+		bool result = FnTable.GetDefaultApplicationForMimeType(pchMimeType,pchAppKeyBuffer,unAppKeyBufferLen);
+		return result;
+	}
+	public bool GetApplicationSupportedMimeTypes(string pchAppKey,System.Text.StringBuilder pchMimeTypesBuffer,uint unMimeTypesBuffer)
+	{
+		bool result = FnTable.GetApplicationSupportedMimeTypes(pchAppKey,pchMimeTypesBuffer,unMimeTypesBuffer);
+		return result;
+	}
+	public uint GetApplicationsThatSupportMimeType(string pchMimeType,System.Text.StringBuilder pchAppKeysThatSupportBuffer,uint unAppKeysThatSupportBuffer)
+	{
+		uint result = FnTable.GetApplicationsThatSupportMimeType(pchMimeType,pchAppKeysThatSupportBuffer,unAppKeysThatSupportBuffer);
+		return result;
+	}
+	public uint GetApplicationLaunchArguments(uint unHandle,System.Text.StringBuilder pchArgs,uint unArgs)
+	{
+		uint result = FnTable.GetApplicationLaunchArguments(unHandle,pchArgs,unArgs);
+		return result;
+	}
+	public EVRApplicationError GetStartingApplication(System.Text.StringBuilder pchAppKeyBuffer,uint unAppKeyBufferLen)
+	{
+		EVRApplicationError result = FnTable.GetStartingApplication(pchAppKeyBuffer,unAppKeyBufferLen);
+		return result;
+	}
+	public EVRApplicationTransitionState GetTransitionState()
+	{
+		EVRApplicationTransitionState result = FnTable.GetTransitionState();
+		return result;
+	}
+	public EVRApplicationError PerformApplicationPrelaunchCheck(string pchAppKey)
+	{
+		EVRApplicationError result = FnTable.PerformApplicationPrelaunchCheck(pchAppKey);
+		return result;
+	}
+	public string GetApplicationsTransitionStateNameFromEnum(EVRApplicationTransitionState state)
+	{
+		IntPtr result = FnTable.GetApplicationsTransitionStateNameFromEnum(state);
+		return Marshal.PtrToStringAnsi(result);
+	}
+	public bool IsQuitUserPromptRequested()
+	{
+		bool result = FnTable.IsQuitUserPromptRequested();
+		return result;
+	}
+	public EVRApplicationError LaunchInternalProcess(string pchBinaryPath,string pchArguments,string pchWorkingDirectory)
+	{
+		EVRApplicationError result = FnTable.LaunchInternalProcess(pchBinaryPath,pchArguments,pchWorkingDirectory);
+		return result;
+	}
+	public uint GetCurrentSceneProcessId()
+	{
+		uint result = FnTable.GetCurrentSceneProcessId();
+		return result;
+	}
+}
+
+
+public class CVRChaperone
+{
+	IVRChaperone FnTable;
+	internal CVRChaperone(IntPtr pInterface)
+	{
+		FnTable = (IVRChaperone)Marshal.PtrToStructure(pInterface, typeof(IVRChaperone));
+	}
+	public ChaperoneCalibrationState GetCalibrationState()
+	{
+		ChaperoneCalibrationState result = FnTable.GetCalibrationState();
+		return result;
+	}
+	public bool GetPlayAreaSize(ref float pSizeX,ref float pSizeZ)
+	{
+		pSizeX = 0;
+		pSizeZ = 0;
+		bool result = FnTable.GetPlayAreaSize(ref pSizeX,ref pSizeZ);
+		return result;
+	}
+	public bool GetPlayAreaRect(ref HmdQuad_t rect)
+	{
+		bool result = FnTable.GetPlayAreaRect(ref rect);
+		return result;
+	}
+	public void ReloadInfo()
+	{
+		FnTable.ReloadInfo();
+	}
+	public void SetSceneColor(HmdColor_t color)
+	{
+		FnTable.SetSceneColor(color);
+	}
+	public void GetBoundsColor(ref HmdColor_t pOutputColorArray,int nNumOutputColors,float flCollisionBoundsFadeDistance,ref HmdColor_t pOutputCameraColor)
+	{
+		FnTable.GetBoundsColor(ref pOutputColorArray,nNumOutputColors,flCollisionBoundsFadeDistance,ref pOutputCameraColor);
+	}
+	public bool AreBoundsVisible()
+	{
+		bool result = FnTable.AreBoundsVisible();
+		return result;
+	}
+	public void ForceBoundsVisible(bool bForce)
+	{
+		FnTable.ForceBoundsVisible(bForce);
+	}
+}
+
+
+public class CVRChaperoneSetup
+{
+	IVRChaperoneSetup FnTable;
+	internal CVRChaperoneSetup(IntPtr pInterface)
+	{
+		FnTable = (IVRChaperoneSetup)Marshal.PtrToStructure(pInterface, typeof(IVRChaperoneSetup));
+	}
+	public bool CommitWorkingCopy(EChaperoneConfigFile configFile)
+	{
+		bool result = FnTable.CommitWorkingCopy(configFile);
+		return result;
+	}
+	public void RevertWorkingCopy()
+	{
+		FnTable.RevertWorkingCopy();
+	}
+	public bool GetWorkingPlayAreaSize(ref float pSizeX,ref float pSizeZ)
+	{
+		pSizeX = 0;
+		pSizeZ = 0;
+		bool result = FnTable.GetWorkingPlayAreaSize(ref pSizeX,ref pSizeZ);
+		return result;
+	}
+	public bool GetWorkingPlayAreaRect(ref HmdQuad_t rect)
+	{
+		bool result = FnTable.GetWorkingPlayAreaRect(ref rect);
+		return result;
+	}
+	public bool GetWorkingCollisionBoundsInfo(out HmdQuad_t [] pQuadsBuffer)
+	{
+		uint punQuadsCount = 0;
+		bool result = FnTable.GetWorkingCollisionBoundsInfo(null,ref punQuadsCount);
+		pQuadsBuffer= new HmdQuad_t[punQuadsCount];
+		result = FnTable.GetWorkingCollisionBoundsInfo(pQuadsBuffer,ref punQuadsCount);
+		return result;
+	}
+	public bool GetLiveCollisionBoundsInfo(out HmdQuad_t [] pQuadsBuffer)
+	{
+		uint punQuadsCount = 0;
+		bool result = FnTable.GetLiveCollisionBoundsInfo(null,ref punQuadsCount);
+		pQuadsBuffer= new HmdQuad_t[punQuadsCount];
+		result = FnTable.GetLiveCollisionBoundsInfo(pQuadsBuffer,ref punQuadsCount);
+		return result;
+	}
+	public bool GetWorkingSeatedZeroPoseToRawTrackingPose(ref HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose)
+	{
+		bool result = FnTable.GetWorkingSeatedZeroPoseToRawTrackingPose(ref pmatSeatedZeroPoseToRawTrackingPose);
+		return result;
+	}
+	public bool GetWorkingStandingZeroPoseToRawTrackingPose(ref HmdMatrix34_t pmatStandingZeroPoseToRawTrackingPose)
+	{
+		bool result = FnTable.GetWorkingStandingZeroPoseToRawTrackingPose(ref pmatStandingZeroPoseToRawTrackingPose);
+		return result;
+	}
+	public void SetWorkingPlayAreaSize(float sizeX,float sizeZ)
+	{
+		FnTable.SetWorkingPlayAreaSize(sizeX,sizeZ);
+	}
+	public void SetWorkingCollisionBoundsInfo(HmdQuad_t [] pQuadsBuffer)
+	{
+		FnTable.SetWorkingCollisionBoundsInfo(pQuadsBuffer,(uint) pQuadsBuffer.Length);
+	}
+	public void SetWorkingSeatedZeroPoseToRawTrackingPose(ref HmdMatrix34_t pMatSeatedZeroPoseToRawTrackingPose)
+	{
+		FnTable.SetWorkingSeatedZeroPoseToRawTrackingPose(ref pMatSeatedZeroPoseToRawTrackingPose);
+	}
+	public void SetWorkingStandingZeroPoseToRawTrackingPose(ref HmdMatrix34_t pMatStandingZeroPoseToRawTrackingPose)
+	{
+		FnTable.SetWorkingStandingZeroPoseToRawTrackingPose(ref pMatStandingZeroPoseToRawTrackingPose);
+	}
+	public void ReloadFromDisk(EChaperoneConfigFile configFile)
+	{
+		FnTable.ReloadFromDisk(configFile);
+	}
+	public bool GetLiveSeatedZeroPoseToRawTrackingPose(ref HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose)
+	{
+		bool result = FnTable.GetLiveSeatedZeroPoseToRawTrackingPose(ref pmatSeatedZeroPoseToRawTrackingPose);
+		return result;
+	}
+	public void SetWorkingCollisionBoundsTagsInfo(byte [] pTagsBuffer)
+	{
+		FnTable.SetWorkingCollisionBoundsTagsInfo(pTagsBuffer,(uint) pTagsBuffer.Length);
+	}
+	public bool GetLiveCollisionBoundsTagsInfo(out byte [] pTagsBuffer)
+	{
+		uint punTagCount = 0;
+		bool result = FnTable.GetLiveCollisionBoundsTagsInfo(null,ref punTagCount);
+		pTagsBuffer= new byte[punTagCount];
+		result = FnTable.GetLiveCollisionBoundsTagsInfo(pTagsBuffer,ref punTagCount);
+		return result;
+	}
+	public bool SetWorkingPhysicalBoundsInfo(HmdQuad_t [] pQuadsBuffer)
+	{
+		bool result = FnTable.SetWorkingPhysicalBoundsInfo(pQuadsBuffer,(uint) pQuadsBuffer.Length);
+		return result;
+	}
+	public bool GetLivePhysicalBoundsInfo(out HmdQuad_t [] pQuadsBuffer)
+	{
+		uint punQuadsCount = 0;
+		bool result = FnTable.GetLivePhysicalBoundsInfo(null,ref punQuadsCount);
+		pQuadsBuffer= new HmdQuad_t[punQuadsCount];
+		result = FnTable.GetLivePhysicalBoundsInfo(pQuadsBuffer,ref punQuadsCount);
+		return result;
+	}
+	public bool ExportLiveToBuffer(System.Text.StringBuilder pBuffer,ref uint pnBufferLength)
+	{
+		pnBufferLength = 0;
+		bool result = FnTable.ExportLiveToBuffer(pBuffer,ref pnBufferLength);
+		return result;
+	}
+	public bool ImportFromBufferToWorking(string pBuffer,uint nImportFlags)
+	{
+		bool result = FnTable.ImportFromBufferToWorking(pBuffer,nImportFlags);
+		return result;
+	}
+}
+
+
+public class CVRCompositor
+{
+	IVRCompositor FnTable;
+	internal CVRCompositor(IntPtr pInterface)
+	{
+		FnTable = (IVRCompositor)Marshal.PtrToStructure(pInterface, typeof(IVRCompositor));
+	}
+	public void SetTrackingSpace(ETrackingUniverseOrigin eOrigin)
+	{
+		FnTable.SetTrackingSpace(eOrigin);
+	}
+	public ETrackingUniverseOrigin GetTrackingSpace()
+	{
+		ETrackingUniverseOrigin result = FnTable.GetTrackingSpace();
+		return result;
+	}
+	public EVRCompositorError WaitGetPoses(TrackedDevicePose_t [] pRenderPoseArray,TrackedDevicePose_t [] pGamePoseArray)
+	{
+		EVRCompositorError result = FnTable.WaitGetPoses(pRenderPoseArray,(uint) pRenderPoseArray.Length,pGamePoseArray,(uint) pGamePoseArray.Length);
+		return result;
+	}
+	public EVRCompositorError GetLastPoses(TrackedDevicePose_t [] pRenderPoseArray,TrackedDevicePose_t [] pGamePoseArray)
+	{
+		EVRCompositorError result = FnTable.GetLastPoses(pRenderPoseArray,(uint) pRenderPoseArray.Length,pGamePoseArray,(uint) pGamePoseArray.Length);
+		return result;
+	}
+	public EVRCompositorError GetLastPoseForTrackedDeviceIndex(uint unDeviceIndex,ref TrackedDevicePose_t pOutputPose,ref TrackedDevicePose_t pOutputGamePose)
+	{
+		EVRCompositorError result = FnTable.GetLastPoseForTrackedDeviceIndex(unDeviceIndex,ref pOutputPose,ref pOutputGamePose);
+		return result;
+	}
+	public EVRCompositorError Submit(EVREye eEye,ref Texture_t pTexture,ref VRTextureBounds_t pBounds,EVRSubmitFlags nSubmitFlags)
+	{
+		EVRCompositorError result = FnTable.Submit(eEye,ref pTexture,ref pBounds,nSubmitFlags);
+		return result;
+	}
+	public void ClearLastSubmittedFrame()
+	{
+		FnTable.ClearLastSubmittedFrame();
+	}
+	public void PostPresentHandoff()
+	{
+		FnTable.PostPresentHandoff();
+	}
+	public bool GetFrameTiming(ref Compositor_FrameTiming pTiming,uint unFramesAgo)
+	{
+		bool result = FnTable.GetFrameTiming(ref pTiming,unFramesAgo);
+		return result;
+	}
+	public uint GetFrameTimings(ref Compositor_FrameTiming pTiming,uint nFrames)
+	{
+		uint result = FnTable.GetFrameTimings(ref pTiming,nFrames);
+		return result;
+	}
+	public float GetFrameTimeRemaining()
+	{
+		float result = FnTable.GetFrameTimeRemaining();
+		return result;
+	}
+	public void GetCumulativeStats(ref Compositor_CumulativeStats pStats,uint nStatsSizeInBytes)
+	{
+		FnTable.GetCumulativeStats(ref pStats,nStatsSizeInBytes);
+	}
+	public void FadeToColor(float fSeconds,float fRed,float fGreen,float fBlue,float fAlpha,bool bBackground)
+	{
+		FnTable.FadeToColor(fSeconds,fRed,fGreen,fBlue,fAlpha,bBackground);
+	}
+	public HmdColor_t GetCurrentFadeColor(bool bBackground)
+	{
+		HmdColor_t result = FnTable.GetCurrentFadeColor(bBackground);
+		return result;
+	}
+	public void FadeGrid(float fSeconds,bool bFadeIn)
+	{
+		FnTable.FadeGrid(fSeconds,bFadeIn);
+	}
+	public float GetCurrentGridAlpha()
+	{
+		float result = FnTable.GetCurrentGridAlpha();
+		return result;
+	}
+	public EVRCompositorError SetSkyboxOverride(Texture_t [] pTextures)
+	{
+		EVRCompositorError result = FnTable.SetSkyboxOverride(pTextures,(uint) pTextures.Length);
+		return result;
+	}
+	public void ClearSkyboxOverride()
+	{
+		FnTable.ClearSkyboxOverride();
+	}
+	public void CompositorBringToFront()
+	{
+		FnTable.CompositorBringToFront();
+	}
+	public void CompositorGoToBack()
+	{
+		FnTable.CompositorGoToBack();
+	}
+	public void CompositorQuit()
+	{
+		FnTable.CompositorQuit();
+	}
+	public bool IsFullscreen()
+	{
+		bool result = FnTable.IsFullscreen();
+		return result;
+	}
+	public uint GetCurrentSceneFocusProcess()
+	{
+		uint result = FnTable.GetCurrentSceneFocusProcess();
+		return result;
+	}
+	public uint GetLastFrameRenderer()
+	{
+		uint result = FnTable.GetLastFrameRenderer();
+		return result;
+	}
+	public bool CanRenderScene()
+	{
+		bool result = FnTable.CanRenderScene();
+		return result;
+	}
+	public void ShowMirrorWindow()
+	{
+		FnTable.ShowMirrorWindow();
+	}
+	public void HideMirrorWindow()
+	{
+		FnTable.HideMirrorWindow();
+	}
+	public bool IsMirrorWindowVisible()
+	{
+		bool result = FnTable.IsMirrorWindowVisible();
+		return result;
+	}
+	public void CompositorDumpImages()
+	{
+		FnTable.CompositorDumpImages();
+	}
+	public bool ShouldAppRenderWithLowResources()
+	{
+		bool result = FnTable.ShouldAppRenderWithLowResources();
+		return result;
+	}
+	public void ForceInterleavedReprojectionOn(bool bOverride)
+	{
+		FnTable.ForceInterleavedReprojectionOn(bOverride);
+	}
+	public void ForceReconnectProcess()
+	{
+		FnTable.ForceReconnectProcess();
+	}
+	public void SuspendRendering(bool bSuspend)
+	{
+		FnTable.SuspendRendering(bSuspend);
+	}
+	public EVRCompositorError GetMirrorTextureD3D11(EVREye eEye,IntPtr pD3D11DeviceOrResource,ref IntPtr ppD3D11ShaderResourceView)
+	{
+		EVRCompositorError result = FnTable.GetMirrorTextureD3D11(eEye,pD3D11DeviceOrResource,ref ppD3D11ShaderResourceView);
+		return result;
+	}
+	public void ReleaseMirrorTextureD3D11(IntPtr pD3D11ShaderResourceView)
+	{
+		FnTable.ReleaseMirrorTextureD3D11(pD3D11ShaderResourceView);
+	}
+	public EVRCompositorError GetMirrorTextureGL(EVREye eEye,ref uint pglTextureId,IntPtr pglSharedTextureHandle)
+	{
+		pglTextureId = 0;
+		EVRCompositorError result = FnTable.GetMirrorTextureGL(eEye,ref pglTextureId,pglSharedTextureHandle);
+		return result;
+	}
+	public bool ReleaseSharedGLTexture(uint glTextureId,IntPtr glSharedTextureHandle)
+	{
+		bool result = FnTable.ReleaseSharedGLTexture(glTextureId,glSharedTextureHandle);
+		return result;
+	}
+	public void LockGLSharedTextureForAccess(IntPtr glSharedTextureHandle)
+	{
+		FnTable.LockGLSharedTextureForAccess(glSharedTextureHandle);
+	}
+	public void UnlockGLSharedTextureForAccess(IntPtr glSharedTextureHandle)
+	{
+		FnTable.UnlockGLSharedTextureForAccess(glSharedTextureHandle);
+	}
+	public uint GetVulkanInstanceExtensionsRequired(System.Text.StringBuilder pchValue,uint unBufferSize)
+	{
+		uint result = FnTable.GetVulkanInstanceExtensionsRequired(pchValue,unBufferSize);
+		return result;
+	}
+	public uint GetVulkanDeviceExtensionsRequired(IntPtr pPhysicalDevice,System.Text.StringBuilder pchValue,uint unBufferSize)
+	{
+		uint result = FnTable.GetVulkanDeviceExtensionsRequired(pPhysicalDevice,pchValue,unBufferSize);
+		return result;
+	}
+	public void SetExplicitTimingMode(EVRCompositorTimingMode eTimingMode)
+	{
+		FnTable.SetExplicitTimingMode(eTimingMode);
+	}
+	public EVRCompositorError SubmitExplicitTimingData()
+	{
+		EVRCompositorError result = FnTable.SubmitExplicitTimingData();
+		return result;
+	}
+}
+
+
+public class CVROverlay
+{
+	IVROverlay FnTable;
+	internal CVROverlay(IntPtr pInterface)
+	{
+		FnTable = (IVROverlay)Marshal.PtrToStructure(pInterface, typeof(IVROverlay));
+	}
+	public EVROverlayError FindOverlay(string pchOverlayKey,ref ulong pOverlayHandle)
+	{
+		pOverlayHandle = 0;
+		EVROverlayError result = FnTable.FindOverlay(pchOverlayKey,ref pOverlayHandle);
+		return result;
+	}
+	public EVROverlayError CreateOverlay(string pchOverlayKey,string pchOverlayName,ref ulong pOverlayHandle)
+	{
+		pOverlayHandle = 0;
+		EVROverlayError result = FnTable.CreateOverlay(pchOverlayKey,pchOverlayName,ref pOverlayHandle);
+		return result;
+	}
+	public EVROverlayError DestroyOverlay(ulong ulOverlayHandle)
+	{
+		EVROverlayError result = FnTable.DestroyOverlay(ulOverlayHandle);
+		return result;
+	}
+	public EVROverlayError SetHighQualityOverlay(ulong ulOverlayHandle)
+	{
+		EVROverlayError result = FnTable.SetHighQualityOverlay(ulOverlayHandle);
+		return result;
+	}
+	public ulong GetHighQualityOverlay()
+	{
+		ulong result = FnTable.GetHighQualityOverlay();
+		return result;
+	}
+	public uint GetOverlayKey(ulong ulOverlayHandle,System.Text.StringBuilder pchValue,uint unBufferSize,ref EVROverlayError pError)
+	{
+		uint result = FnTable.GetOverlayKey(ulOverlayHandle,pchValue,unBufferSize,ref pError);
+		return result;
+	}
+	public uint GetOverlayName(ulong ulOverlayHandle,System.Text.StringBuilder pchValue,uint unBufferSize,ref EVROverlayError pError)
+	{
+		uint result = FnTable.GetOverlayName(ulOverlayHandle,pchValue,unBufferSize,ref pError);
+		return result;
+	}
+	public EVROverlayError SetOverlayName(ulong ulOverlayHandle,string pchName)
+	{
+		EVROverlayError result = FnTable.SetOverlayName(ulOverlayHandle,pchName);
+		return result;
+	}
+	public EVROverlayError GetOverlayImageData(ulong ulOverlayHandle,IntPtr pvBuffer,uint unBufferSize,ref uint punWidth,ref uint punHeight)
+	{
+		punWidth = 0;
+		punHeight = 0;
+		EVROverlayError result = FnTable.GetOverlayImageData(ulOverlayHandle,pvBuffer,unBufferSize,ref punWidth,ref punHeight);
+		return result;
+	}
+	public string GetOverlayErrorNameFromEnum(EVROverlayError error)
+	{
+		IntPtr result = FnTable.GetOverlayErrorNameFromEnum(error);
+		return Marshal.PtrToStringAnsi(result);
+	}
+	public EVROverlayError SetOverlayRenderingPid(ulong ulOverlayHandle,uint unPID)
+	{
+		EVROverlayError result = FnTable.SetOverlayRenderingPid(ulOverlayHandle,unPID);
+		return result;
+	}
+	public uint GetOverlayRenderingPid(ulong ulOverlayHandle)
+	{
+		uint result = FnTable.GetOverlayRenderingPid(ulOverlayHandle);
+		return result;
+	}
+	public EVROverlayError SetOverlayFlag(ulong ulOverlayHandle,VROverlayFlags eOverlayFlag,bool bEnabled)
+	{
+		EVROverlayError result = FnTable.SetOverlayFlag(ulOverlayHandle,eOverlayFlag,bEnabled);
+		return result;
+	}
+	public EVROverlayError GetOverlayFlag(ulong ulOverlayHandle,VROverlayFlags eOverlayFlag,ref bool pbEnabled)
+	{
+		pbEnabled = false;
+		EVROverlayError result = FnTable.GetOverlayFlag(ulOverlayHandle,eOverlayFlag,ref pbEnabled);
+		return result;
+	}
+	public EVROverlayError SetOverlayColor(ulong ulOverlayHandle,float fRed,float fGreen,float fBlue)
+	{
+		EVROverlayError result = FnTable.SetOverlayColor(ulOverlayHandle,fRed,fGreen,fBlue);
+		return result;
+	}
+	public EVROverlayError GetOverlayColor(ulong ulOverlayHandle,ref float pfRed,ref float pfGreen,ref float pfBlue)
+	{
+		pfRed = 0;
+		pfGreen = 0;
+		pfBlue = 0;
+		EVROverlayError result = FnTable.GetOverlayColor(ulOverlayHandle,ref pfRed,ref pfGreen,ref pfBlue);
+		return result;
+	}
+	public EVROverlayError SetOverlayAlpha(ulong ulOverlayHandle,float fAlpha)
+	{
+		EVROverlayError result = FnTable.SetOverlayAlpha(ulOverlayHandle,fAlpha);
+		return result;
+	}
+	public EVROverlayError GetOverlayAlpha(ulong ulOverlayHandle,ref float pfAlpha)
+	{
+		pfAlpha = 0;
+		EVROverlayError result = FnTable.GetOverlayAlpha(ulOverlayHandle,ref pfAlpha);
+		return result;
+	}
+	public EVROverlayError SetOverlayTexelAspect(ulong ulOverlayHandle,float fTexelAspect)
+	{
+		EVROverlayError result = FnTable.SetOverlayTexelAspect(ulOverlayHandle,fTexelAspect);
+		return result;
+	}
+	public EVROverlayError GetOverlayTexelAspect(ulong ulOverlayHandle,ref float pfTexelAspect)
+	{
+		pfTexelAspect = 0;
+		EVROverlayError result = FnTable.GetOverlayTexelAspect(ulOverlayHandle,ref pfTexelAspect);
+		return result;
+	}
+	public EVROverlayError SetOverlaySortOrder(ulong ulOverlayHandle,uint unSortOrder)
+	{
+		EVROverlayError result = FnTable.SetOverlaySortOrder(ulOverlayHandle,unSortOrder);
+		return result;
+	}
+	public EVROverlayError GetOverlaySortOrder(ulong ulOverlayHandle,ref uint punSortOrder)
+	{
+		punSortOrder = 0;
+		EVROverlayError result = FnTable.GetOverlaySortOrder(ulOverlayHandle,ref punSortOrder);
+		return result;
+	}
+	public EVROverlayError SetOverlayWidthInMeters(ulong ulOverlayHandle,float fWidthInMeters)
+	{
+		EVROverlayError result = FnTable.SetOverlayWidthInMeters(ulOverlayHandle,fWidthInMeters);
+		return result;
+	}
+	public EVROverlayError GetOverlayWidthInMeters(ulong ulOverlayHandle,ref float pfWidthInMeters)
+	{
+		pfWidthInMeters = 0;
+		EVROverlayError result = FnTable.GetOverlayWidthInMeters(ulOverlayHandle,ref pfWidthInMeters);
+		return result;
+	}
+	public EVROverlayError SetOverlayAutoCurveDistanceRangeInMeters(ulong ulOverlayHandle,float fMinDistanceInMeters,float fMaxDistanceInMeters)
+	{
+		EVROverlayError result = FnTable.SetOverlayAutoCurveDistanceRangeInMeters(ulOverlayHandle,fMinDistanceInMeters,fMaxDistanceInMeters);
+		return result;
+	}
+	public EVROverlayError GetOverlayAutoCurveDistanceRangeInMeters(ulong ulOverlayHandle,ref float pfMinDistanceInMeters,ref float pfMaxDistanceInMeters)
+	{
+		pfMinDistanceInMeters = 0;
+		pfMaxDistanceInMeters = 0;
+		EVROverlayError result = FnTable.GetOverlayAutoCurveDistanceRangeInMeters(ulOverlayHandle,ref pfMinDistanceInMeters,ref pfMaxDistanceInMeters);
+		return result;
+	}
+	public EVROverlayError SetOverlayTextureColorSpace(ulong ulOverlayHandle,EColorSpace eTextureColorSpace)
+	{
+		EVROverlayError result = FnTable.SetOverlayTextureColorSpace(ulOverlayHandle,eTextureColorSpace);
+		return result;
+	}
+	public EVROverlayError GetOverlayTextureColorSpace(ulong ulOverlayHandle,ref EColorSpace peTextureColorSpace)
+	{
+		EVROverlayError result = FnTable.GetOverlayTextureColorSpace(ulOverlayHandle,ref peTextureColorSpace);
+		return result;
+	}
+	public EVROverlayError SetOverlayTextureBounds(ulong ulOverlayHandle,ref VRTextureBounds_t pOverlayTextureBounds)
+	{
+		EVROverlayError result = FnTable.SetOverlayTextureBounds(ulOverlayHandle,ref pOverlayTextureBounds);
+		return result;
+	}
+	public EVROverlayError GetOverlayTextureBounds(ulong ulOverlayHandle,ref VRTextureBounds_t pOverlayTextureBounds)
+	{
+		EVROverlayError result = FnTable.GetOverlayTextureBounds(ulOverlayHandle,ref pOverlayTextureBounds);
+		return result;
+	}
+	public uint GetOverlayRenderModel(ulong ulOverlayHandle,System.Text.StringBuilder pchValue,uint unBufferSize,ref HmdColor_t pColor,ref EVROverlayError pError)
+	{
+		uint result = FnTable.GetOverlayRenderModel(ulOverlayHandle,pchValue,unBufferSize,ref pColor,ref pError);
+		return result;
+	}
+	public EVROverlayError SetOverlayRenderModel(ulong ulOverlayHandle,string pchRenderModel,ref HmdColor_t pColor)
+	{
+		EVROverlayError result = FnTable.SetOverlayRenderModel(ulOverlayHandle,pchRenderModel,ref pColor);
+		return result;
+	}
+	public EVROverlayError GetOverlayTransformType(ulong ulOverlayHandle,ref VROverlayTransformType peTransformType)
+	{
+		EVROverlayError result = FnTable.GetOverlayTransformType(ulOverlayHandle,ref peTransformType);
+		return result;
+	}
+	public EVROverlayError SetOverlayTransformAbsolute(ulong ulOverlayHandle,ETrackingUniverseOrigin eTrackingOrigin,ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform)
+	{
+		EVROverlayError result = FnTable.SetOverlayTransformAbsolute(ulOverlayHandle,eTrackingOrigin,ref pmatTrackingOriginToOverlayTransform);
+		return result;
+	}
+	public EVROverlayError GetOverlayTransformAbsolute(ulong ulOverlayHandle,ref ETrackingUniverseOrigin peTrackingOrigin,ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform)
+	{
+		EVROverlayError result = FnTable.GetOverlayTransformAbsolute(ulOverlayHandle,ref peTrackingOrigin,ref pmatTrackingOriginToOverlayTransform);
+		return result;
+	}
+	public EVROverlayError SetOverlayTransformTrackedDeviceRelative(ulong ulOverlayHandle,uint unTrackedDevice,ref HmdMatrix34_t pmatTrackedDeviceToOverlayTransform)
+	{
+		EVROverlayError result = FnTable.SetOverlayTransformTrackedDeviceRelative(ulOverlayHandle,unTrackedDevice,ref pmatTrackedDeviceToOverlayTransform);
+		return result;
+	}
+	public EVROverlayError GetOverlayTransformTrackedDeviceRelative(ulong ulOverlayHandle,ref uint punTrackedDevice,ref HmdMatrix34_t pmatTrackedDeviceToOverlayTransform)
+	{
+		punTrackedDevice = 0;
+		EVROverlayError result = FnTable.GetOverlayTransformTrackedDeviceRelative(ulOverlayHandle,ref punTrackedDevice,ref pmatTrackedDeviceToOverlayTransform);
+		return result;
+	}
+	public EVROverlayError SetOverlayTransformTrackedDeviceComponent(ulong ulOverlayHandle,uint unDeviceIndex,string pchComponentName)
+	{
+		EVROverlayError result = FnTable.SetOverlayTransformTrackedDeviceComponent(ulOverlayHandle,unDeviceIndex,pchComponentName);
+		return result;
+	}
+	public EVROverlayError GetOverlayTransformTrackedDeviceComponent(ulong ulOverlayHandle,ref uint punDeviceIndex,System.Text.StringBuilder pchComponentName,uint unComponentNameSize)
+	{
+		punDeviceIndex = 0;
+		EVROverlayError result = FnTable.GetOverlayTransformTrackedDeviceComponent(ulOverlayHandle,ref punDeviceIndex,pchComponentName,unComponentNameSize);
+		return result;
+	}
+	public EVROverlayError GetOverlayTransformOverlayRelative(ulong ulOverlayHandle,ref ulong ulOverlayHandleParent,ref HmdMatrix34_t pmatParentOverlayToOverlayTransform)
+	{
+		ulOverlayHandleParent = 0;
+		EVROverlayError result = FnTable.GetOverlayTransformOverlayRelative(ulOverlayHandle,ref ulOverlayHandleParent,ref pmatParentOverlayToOverlayTransform);
+		return result;
+	}
+	public EVROverlayError SetOverlayTransformOverlayRelative(ulong ulOverlayHandle,ulong ulOverlayHandleParent,ref HmdMatrix34_t pmatParentOverlayToOverlayTransform)
+	{
+		EVROverlayError result = FnTable.SetOverlayTransformOverlayRelative(ulOverlayHandle,ulOverlayHandleParent,ref pmatParentOverlayToOverlayTransform);
+		return result;
+	}
+	public EVROverlayError ShowOverlay(ulong ulOverlayHandle)
+	{
+		EVROverlayError result = FnTable.ShowOverlay(ulOverlayHandle);
+		return result;
+	}
+	public EVROverlayError HideOverlay(ulong ulOverlayHandle)
+	{
+		EVROverlayError result = FnTable.HideOverlay(ulOverlayHandle);
+		return result;
+	}
+	public bool IsOverlayVisible(ulong ulOverlayHandle)
+	{
+		bool result = FnTable.IsOverlayVisible(ulOverlayHandle);
+		return result;
+	}
+	public EVROverlayError GetTransformForOverlayCoordinates(ulong ulOverlayHandle,ETrackingUniverseOrigin eTrackingOrigin,HmdVector2_t coordinatesInOverlay,ref HmdMatrix34_t pmatTransform)
+	{
+		EVROverlayError result = FnTable.GetTransformForOverlayCoordinates(ulOverlayHandle,eTrackingOrigin,coordinatesInOverlay,ref pmatTransform);
+		return result;
+	}
+// This is a terrible hack to workaround the fact that VRControllerState_t and VREvent_t were
+// originally mis-compiled with the wrong packing for Linux and OSX.
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _PollNextOverlayEventPacked(ulong ulOverlayHandle,ref VREvent_t_Packed pEvent,uint uncbVREvent);
+	[StructLayout(LayoutKind.Explicit)]
+	struct PollNextOverlayEventUnion
+	{
+		[FieldOffset(0)]
+		public IVROverlay._PollNextOverlayEvent pPollNextOverlayEvent;
+		[FieldOffset(0)]
+		public _PollNextOverlayEventPacked pPollNextOverlayEventPacked;
+	}
+	public bool PollNextOverlayEvent(ulong ulOverlayHandle,ref VREvent_t pEvent,uint uncbVREvent)
+	{
+#if !UNITY_METRO
+		if ((System.Environment.OSVersion.Platform == System.PlatformID.MacOSX) ||
+				(System.Environment.OSVersion.Platform == System.PlatformID.Unix))
+		{
+			PollNextOverlayEventUnion u;
+			VREvent_t_Packed event_packed = new VREvent_t_Packed();
+			u.pPollNextOverlayEventPacked = null;
+			u.pPollNextOverlayEvent = FnTable.PollNextOverlayEvent;
+			bool packed_result = u.pPollNextOverlayEventPacked(ulOverlayHandle,ref event_packed,(uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(VREvent_t_Packed)));
+
+			event_packed.Unpack(ref pEvent);
+			return packed_result;
+		}
+#endif
+		bool result = FnTable.PollNextOverlayEvent(ulOverlayHandle,ref pEvent,uncbVREvent);
+		return result;
+	}
+	public EVROverlayError GetOverlayInputMethod(ulong ulOverlayHandle,ref VROverlayInputMethod peInputMethod)
+	{
+		EVROverlayError result = FnTable.GetOverlayInputMethod(ulOverlayHandle,ref peInputMethod);
+		return result;
+	}
+	public EVROverlayError SetOverlayInputMethod(ulong ulOverlayHandle,VROverlayInputMethod eInputMethod)
+	{
+		EVROverlayError result = FnTable.SetOverlayInputMethod(ulOverlayHandle,eInputMethod);
+		return result;
+	}
+	public EVROverlayError GetOverlayMouseScale(ulong ulOverlayHandle,ref HmdVector2_t pvecMouseScale)
+	{
+		EVROverlayError result = FnTable.GetOverlayMouseScale(ulOverlayHandle,ref pvecMouseScale);
+		return result;
+	}
+	public EVROverlayError SetOverlayMouseScale(ulong ulOverlayHandle,ref HmdVector2_t pvecMouseScale)
+	{
+		EVROverlayError result = FnTable.SetOverlayMouseScale(ulOverlayHandle,ref pvecMouseScale);
+		return result;
+	}
+	public bool ComputeOverlayIntersection(ulong ulOverlayHandle,ref VROverlayIntersectionParams_t pParams,ref VROverlayIntersectionResults_t pResults)
+	{
+		bool result = FnTable.ComputeOverlayIntersection(ulOverlayHandle,ref pParams,ref pResults);
+		return result;
+	}
+	public bool IsHoverTargetOverlay(ulong ulOverlayHandle)
+	{
+		bool result = FnTable.IsHoverTargetOverlay(ulOverlayHandle);
+		return result;
+	}
+	public ulong GetGamepadFocusOverlay()
+	{
+		ulong result = FnTable.GetGamepadFocusOverlay();
+		return result;
+	}
+	public EVROverlayError SetGamepadFocusOverlay(ulong ulNewFocusOverlay)
+	{
+		EVROverlayError result = FnTable.SetGamepadFocusOverlay(ulNewFocusOverlay);
+		return result;
+	}
+	public EVROverlayError SetOverlayNeighbor(EOverlayDirection eDirection,ulong ulFrom,ulong ulTo)
+	{
+		EVROverlayError result = FnTable.SetOverlayNeighbor(eDirection,ulFrom,ulTo);
+		return result;
+	}
+	public EVROverlayError MoveGamepadFocusToNeighbor(EOverlayDirection eDirection,ulong ulFrom)
+	{
+		EVROverlayError result = FnTable.MoveGamepadFocusToNeighbor(eDirection,ulFrom);
+		return result;
+	}
+	public EVROverlayError SetOverlayDualAnalogTransform(ulong ulOverlay,EDualAnalogWhich eWhich,IntPtr vCenter,float fRadius)
+	{
+		EVROverlayError result = FnTable.SetOverlayDualAnalogTransform(ulOverlay,eWhich,vCenter,fRadius);
+		return result;
+	}
+	public EVROverlayError GetOverlayDualAnalogTransform(ulong ulOverlay,EDualAnalogWhich eWhich,ref HmdVector2_t pvCenter,ref float pfRadius)
+	{
+		pfRadius = 0;
+		EVROverlayError result = FnTable.GetOverlayDualAnalogTransform(ulOverlay,eWhich,ref pvCenter,ref pfRadius);
+		return result;
+	}
+	public EVROverlayError SetOverlayTexture(ulong ulOverlayHandle,ref Texture_t pTexture)
+	{
+		EVROverlayError result = FnTable.SetOverlayTexture(ulOverlayHandle,ref pTexture);
+		return result;
+	}
+	public EVROverlayError ClearOverlayTexture(ulong ulOverlayHandle)
+	{
+		EVROverlayError result = FnTable.ClearOverlayTexture(ulOverlayHandle);
+		return result;
+	}
+	public EVROverlayError SetOverlayRaw(ulong ulOverlayHandle,IntPtr pvBuffer,uint unWidth,uint unHeight,uint unDepth)
+	{
+		EVROverlayError result = FnTable.SetOverlayRaw(ulOverlayHandle,pvBuffer,unWidth,unHeight,unDepth);
+		return result;
+	}
+	public EVROverlayError SetOverlayFromFile(ulong ulOverlayHandle,string pchFilePath)
+	{
+		EVROverlayError result = FnTable.SetOverlayFromFile(ulOverlayHandle,pchFilePath);
+		return result;
+	}
+	public EVROverlayError GetOverlayTexture(ulong ulOverlayHandle,ref IntPtr pNativeTextureHandle,IntPtr pNativeTextureRef,ref uint pWidth,ref uint pHeight,ref uint pNativeFormat,ref ETextureType pAPIType,ref EColorSpace pColorSpace,ref VRTextureBounds_t pTextureBounds)
+	{
+		pWidth = 0;
+		pHeight = 0;
+		pNativeFormat = 0;
+		EVROverlayError result = FnTable.GetOverlayTexture(ulOverlayHandle,ref pNativeTextureHandle,pNativeTextureRef,ref pWidth,ref pHeight,ref pNativeFormat,ref pAPIType,ref pColorSpace,ref pTextureBounds);
+		return result;
+	}
+	public EVROverlayError ReleaseNativeOverlayHandle(ulong ulOverlayHandle,IntPtr pNativeTextureHandle)
+	{
+		EVROverlayError result = FnTable.ReleaseNativeOverlayHandle(ulOverlayHandle,pNativeTextureHandle);
+		return result;
+	}
+	public EVROverlayError GetOverlayTextureSize(ulong ulOverlayHandle,ref uint pWidth,ref uint pHeight)
+	{
+		pWidth = 0;
+		pHeight = 0;
+		EVROverlayError result = FnTable.GetOverlayTextureSize(ulOverlayHandle,ref pWidth,ref pHeight);
+		return result;
+	}
+	public EVROverlayError CreateDashboardOverlay(string pchOverlayKey,string pchOverlayFriendlyName,ref ulong pMainHandle,ref ulong pThumbnailHandle)
+	{
+		pMainHandle = 0;
+		pThumbnailHandle = 0;
+		EVROverlayError result = FnTable.CreateDashboardOverlay(pchOverlayKey,pchOverlayFriendlyName,ref pMainHandle,ref pThumbnailHandle);
+		return result;
+	}
+	public bool IsDashboardVisible()
+	{
+		bool result = FnTable.IsDashboardVisible();
+		return result;
+	}
+	public bool IsActiveDashboardOverlay(ulong ulOverlayHandle)
+	{
+		bool result = FnTable.IsActiveDashboardOverlay(ulOverlayHandle);
+		return result;
+	}
+	public EVROverlayError SetDashboardOverlaySceneProcess(ulong ulOverlayHandle,uint unProcessId)
+	{
+		EVROverlayError result = FnTable.SetDashboardOverlaySceneProcess(ulOverlayHandle,unProcessId);
+		return result;
+	}
+	public EVROverlayError GetDashboardOverlaySceneProcess(ulong ulOverlayHandle,ref uint punProcessId)
+	{
+		punProcessId = 0;
+		EVROverlayError result = FnTable.GetDashboardOverlaySceneProcess(ulOverlayHandle,ref punProcessId);
+		return result;
+	}
+	public void ShowDashboard(string pchOverlayToShow)
+	{
+		FnTable.ShowDashboard(pchOverlayToShow);
+	}
+	public uint GetPrimaryDashboardDevice()
+	{
+		uint result = FnTable.GetPrimaryDashboardDevice();
+		return result;
+	}
+	public EVROverlayError ShowKeyboard(int eInputMode,int eLineInputMode,string pchDescription,uint unCharMax,string pchExistingText,bool bUseMinimalMode,ulong uUserValue)
+	{
+		EVROverlayError result = FnTable.ShowKeyboard(eInputMode,eLineInputMode,pchDescription,unCharMax,pchExistingText,bUseMinimalMode,uUserValue);
+		return result;
+	}
+	public EVROverlayError ShowKeyboardForOverlay(ulong ulOverlayHandle,int eInputMode,int eLineInputMode,string pchDescription,uint unCharMax,string pchExistingText,bool bUseMinimalMode,ulong uUserValue)
+	{
+		EVROverlayError result = FnTable.ShowKeyboardForOverlay(ulOverlayHandle,eInputMode,eLineInputMode,pchDescription,unCharMax,pchExistingText,bUseMinimalMode,uUserValue);
+		return result;
+	}
+	public uint GetKeyboardText(System.Text.StringBuilder pchText,uint cchText)
+	{
+		uint result = FnTable.GetKeyboardText(pchText,cchText);
+		return result;
+	}
+	public void HideKeyboard()
+	{
+		FnTable.HideKeyboard();
+	}
+	public void SetKeyboardTransformAbsolute(ETrackingUniverseOrigin eTrackingOrigin,ref HmdMatrix34_t pmatTrackingOriginToKeyboardTransform)
+	{
+		FnTable.SetKeyboardTransformAbsolute(eTrackingOrigin,ref pmatTrackingOriginToKeyboardTransform);
+	}
+	public void SetKeyboardPositionForOverlay(ulong ulOverlayHandle,HmdRect2_t avoidRect)
+	{
+		FnTable.SetKeyboardPositionForOverlay(ulOverlayHandle,avoidRect);
+	}
+	public EVROverlayError SetOverlayIntersectionMask(ulong ulOverlayHandle,ref VROverlayIntersectionMaskPrimitive_t pMaskPrimitives,uint unNumMaskPrimitives,uint unPrimitiveSize)
+	{
+		EVROverlayError result = FnTable.SetOverlayIntersectionMask(ulOverlayHandle,ref pMaskPrimitives,unNumMaskPrimitives,unPrimitiveSize);
+		return result;
+	}
+	public EVROverlayError GetOverlayFlags(ulong ulOverlayHandle,ref uint pFlags)
+	{
+		pFlags = 0;
+		EVROverlayError result = FnTable.GetOverlayFlags(ulOverlayHandle,ref pFlags);
+		return result;
+	}
+	public VRMessageOverlayResponse ShowMessageOverlay(string pchText,string pchCaption,string pchButton0Text,string pchButton1Text,string pchButton2Text,string pchButton3Text)
+	{
+		VRMessageOverlayResponse result = FnTable.ShowMessageOverlay(pchText,pchCaption,pchButton0Text,pchButton1Text,pchButton2Text,pchButton3Text);
+		return result;
+	}
+	public void CloseMessageOverlay()
+	{
+		FnTable.CloseMessageOverlay();
+	}
+}
+
+
+public class CVRRenderModels
+{
+	IVRRenderModels FnTable;
+	internal CVRRenderModels(IntPtr pInterface)
+	{
+		FnTable = (IVRRenderModels)Marshal.PtrToStructure(pInterface, typeof(IVRRenderModels));
+	}
+	public EVRRenderModelError LoadRenderModel_Async(string pchRenderModelName,ref IntPtr ppRenderModel)
+	{
+		EVRRenderModelError result = FnTable.LoadRenderModel_Async(pchRenderModelName,ref ppRenderModel);
+		return result;
+	}
+	public void FreeRenderModel(IntPtr pRenderModel)
+	{
+		FnTable.FreeRenderModel(pRenderModel);
+	}
+	public EVRRenderModelError LoadTexture_Async(int textureId,ref IntPtr ppTexture)
+	{
+		EVRRenderModelError result = FnTable.LoadTexture_Async(textureId,ref ppTexture);
+		return result;
+	}
+	public void FreeTexture(IntPtr pTexture)
+	{
+		FnTable.FreeTexture(pTexture);
+	}
+	public EVRRenderModelError LoadTextureD3D11_Async(int textureId,IntPtr pD3D11Device,ref IntPtr ppD3D11Texture2D)
+	{
+		EVRRenderModelError result = FnTable.LoadTextureD3D11_Async(textureId,pD3D11Device,ref ppD3D11Texture2D);
+		return result;
+	}
+	public EVRRenderModelError LoadIntoTextureD3D11_Async(int textureId,IntPtr pDstTexture)
+	{
+		EVRRenderModelError result = FnTable.LoadIntoTextureD3D11_Async(textureId,pDstTexture);
+		return result;
+	}
+	public void FreeTextureD3D11(IntPtr pD3D11Texture2D)
+	{
+		FnTable.FreeTextureD3D11(pD3D11Texture2D);
+	}
+	public uint GetRenderModelName(uint unRenderModelIndex,System.Text.StringBuilder pchRenderModelName,uint unRenderModelNameLen)
+	{
+		uint result = FnTable.GetRenderModelName(unRenderModelIndex,pchRenderModelName,unRenderModelNameLen);
+		return result;
+	}
+	public uint GetRenderModelCount()
+	{
+		uint result = FnTable.GetRenderModelCount();
+		return result;
+	}
+	public uint GetComponentCount(string pchRenderModelName)
+	{
+		uint result = FnTable.GetComponentCount(pchRenderModelName);
+		return result;
+	}
+	public uint GetComponentName(string pchRenderModelName,uint unComponentIndex,System.Text.StringBuilder pchComponentName,uint unComponentNameLen)
+	{
+		uint result = FnTable.GetComponentName(pchRenderModelName,unComponentIndex,pchComponentName,unComponentNameLen);
+		return result;
+	}
+	public ulong GetComponentButtonMask(string pchRenderModelName,string pchComponentName)
+	{
+		ulong result = FnTable.GetComponentButtonMask(pchRenderModelName,pchComponentName);
+		return result;
+	}
+	public uint GetComponentRenderModelName(string pchRenderModelName,string pchComponentName,System.Text.StringBuilder pchComponentRenderModelName,uint unComponentRenderModelNameLen)
+	{
+		uint result = FnTable.GetComponentRenderModelName(pchRenderModelName,pchComponentName,pchComponentRenderModelName,unComponentRenderModelNameLen);
+		return result;
+	}
+// This is a terrible hack to workaround the fact that VRControllerState_t and VREvent_t were
+// originally mis-compiled with the wrong packing for Linux and OSX.
+	[UnmanagedFunctionPointer(CallingConvention.StdCall)]
+	internal delegate bool _GetComponentStatePacked(string pchRenderModelName,string pchComponentName,ref VRControllerState_t_Packed pControllerState,ref RenderModel_ControllerMode_State_t pState,ref RenderModel_ComponentState_t pComponentState);
+	[StructLayout(LayoutKind.Explicit)]
+	struct GetComponentStateUnion
+	{
+		[FieldOffset(0)]
+		public IVRRenderModels._GetComponentState pGetComponentState;
+		[FieldOffset(0)]
+		public _GetComponentStatePacked pGetComponentStatePacked;
+	}
+	public bool GetComponentState(string pchRenderModelName,string pchComponentName,ref VRControllerState_t pControllerState,ref RenderModel_ControllerMode_State_t pState,ref RenderModel_ComponentState_t pComponentState)
+	{
+#if !UNITY_METRO
+		if ((System.Environment.OSVersion.Platform == System.PlatformID.MacOSX) ||
+				(System.Environment.OSVersion.Platform == System.PlatformID.Unix))
+		{
+			GetComponentStateUnion u;
+			VRControllerState_t_Packed state_packed = new VRControllerState_t_Packed(pControllerState);
+			u.pGetComponentStatePacked = null;
+			u.pGetComponentState = FnTable.GetComponentState;
+			bool packed_result = u.pGetComponentStatePacked(pchRenderModelName,pchComponentName,ref state_packed,ref pState,ref pComponentState);
+
+			state_packed.Unpack(ref pControllerState);
+			return packed_result;
+		}
+#endif
+		bool result = FnTable.GetComponentState(pchRenderModelName,pchComponentName,ref pControllerState,ref pState,ref pComponentState);
+		return result;
+	}
+	public bool RenderModelHasComponent(string pchRenderModelName,string pchComponentName)
+	{
+		bool result = FnTable.RenderModelHasComponent(pchRenderModelName,pchComponentName);
+		return result;
+	}
+	public uint GetRenderModelThumbnailURL(string pchRenderModelName,System.Text.StringBuilder pchThumbnailURL,uint unThumbnailURLLen,ref EVRRenderModelError peError)
+	{
+		uint result = FnTable.GetRenderModelThumbnailURL(pchRenderModelName,pchThumbnailURL,unThumbnailURLLen,ref peError);
+		return result;
+	}
+	public uint GetRenderModelOriginalPath(string pchRenderModelName,System.Text.StringBuilder pchOriginalPath,uint unOriginalPathLen,ref EVRRenderModelError peError)
+	{
+		uint result = FnTable.GetRenderModelOriginalPath(pchRenderModelName,pchOriginalPath,unOriginalPathLen,ref peError);
+		return result;
+	}
+	public string GetRenderModelErrorNameFromEnum(EVRRenderModelError error)
+	{
+		IntPtr result = FnTable.GetRenderModelErrorNameFromEnum(error);
+		return Marshal.PtrToStringAnsi(result);
+	}
+}
+
+
+public class CVRNotifications
+{
+	IVRNotifications FnTable;
+	internal CVRNotifications(IntPtr pInterface)
+	{
+		FnTable = (IVRNotifications)Marshal.PtrToStructure(pInterface, typeof(IVRNotifications));
+	}
+	public EVRNotificationError CreateNotification(ulong ulOverlayHandle,ulong ulUserValue,EVRNotificationType type,string pchText,EVRNotificationStyle style,ref NotificationBitmap_t pImage,ref uint pNotificationId)
+	{
+		pNotificationId = 0;
+		EVRNotificationError result = FnTable.CreateNotification(ulOverlayHandle,ulUserValue,type,pchText,style,ref pImage,ref pNotificationId);
+		return result;
+	}
+	public EVRNotificationError RemoveNotification(uint notificationId)
+	{
+		EVRNotificationError result = FnTable.RemoveNotification(notificationId);
+		return result;
+	}
+}
+
+
+public class CVRSettings
+{
+	IVRSettings FnTable;
+	internal CVRSettings(IntPtr pInterface)
+	{
+		FnTable = (IVRSettings)Marshal.PtrToStructure(pInterface, typeof(IVRSettings));
+	}
+	public string GetSettingsErrorNameFromEnum(EVRSettingsError eError)
+	{
+		IntPtr result = FnTable.GetSettingsErrorNameFromEnum(eError);
+		return Marshal.PtrToStringAnsi(result);
+	}
+	public bool Sync(bool bForce,ref EVRSettingsError peError)
+	{
+		bool result = FnTable.Sync(bForce,ref peError);
+		return result;
+	}
+	public void SetBool(string pchSection,string pchSettingsKey,bool bValue,ref EVRSettingsError peError)
+	{
+		FnTable.SetBool(pchSection,pchSettingsKey,bValue,ref peError);
+	}
+	public void SetInt32(string pchSection,string pchSettingsKey,int nValue,ref EVRSettingsError peError)
+	{
+		FnTable.SetInt32(pchSection,pchSettingsKey,nValue,ref peError);
+	}
+	public void SetFloat(string pchSection,string pchSettingsKey,float flValue,ref EVRSettingsError peError)
+	{
+		FnTable.SetFloat(pchSection,pchSettingsKey,flValue,ref peError);
+	}
+	public void SetString(string pchSection,string pchSettingsKey,string pchValue,ref EVRSettingsError peError)
+	{
+		FnTable.SetString(pchSection,pchSettingsKey,pchValue,ref peError);
+	}
+	public bool GetBool(string pchSection,string pchSettingsKey,ref EVRSettingsError peError)
+	{
+		bool result = FnTable.GetBool(pchSection,pchSettingsKey,ref peError);
+		return result;
+	}
+	public int GetInt32(string pchSection,string pchSettingsKey,ref EVRSettingsError peError)
+	{
+		int result = FnTable.GetInt32(pchSection,pchSettingsKey,ref peError);
+		return result;
+	}
+	public float GetFloat(string pchSection,string pchSettingsKey,ref EVRSettingsError peError)
+	{
+		float result = FnTable.GetFloat(pchSection,pchSettingsKey,ref peError);
+		return result;
+	}
+	public void GetString(string pchSection,string pchSettingsKey,System.Text.StringBuilder pchValue,uint unValueLen,ref EVRSettingsError peError)
+	{
+		FnTable.GetString(pchSection,pchSettingsKey,pchValue,unValueLen,ref peError);
+	}
+	public void RemoveSection(string pchSection,ref EVRSettingsError peError)
+	{
+		FnTable.RemoveSection(pchSection,ref peError);
+	}
+	public void RemoveKeyInSection(string pchSection,string pchSettingsKey,ref EVRSettingsError peError)
+	{
+		FnTable.RemoveKeyInSection(pchSection,pchSettingsKey,ref peError);
+	}
+}
+
+
+public class CVRScreenshots
+{
+	IVRScreenshots FnTable;
+	internal CVRScreenshots(IntPtr pInterface)
+	{
+		FnTable = (IVRScreenshots)Marshal.PtrToStructure(pInterface, typeof(IVRScreenshots));
+	}
+	public EVRScreenshotError RequestScreenshot(ref uint pOutScreenshotHandle,EVRScreenshotType type,string pchPreviewFilename,string pchVRFilename)
+	{
+		pOutScreenshotHandle = 0;
+		EVRScreenshotError result = FnTable.RequestScreenshot(ref pOutScreenshotHandle,type,pchPreviewFilename,pchVRFilename);
+		return result;
+	}
+	public EVRScreenshotError HookScreenshot(EVRScreenshotType [] pSupportedTypes)
+	{
+		EVRScreenshotError result = FnTable.HookScreenshot(pSupportedTypes,(int) pSupportedTypes.Length);
+		return result;
+	}
+	public EVRScreenshotType GetScreenshotPropertyType(uint screenshotHandle,ref EVRScreenshotError pError)
+	{
+		EVRScreenshotType result = FnTable.GetScreenshotPropertyType(screenshotHandle,ref pError);
+		return result;
+	}
+	public uint GetScreenshotPropertyFilename(uint screenshotHandle,EVRScreenshotPropertyFilenames filenameType,System.Text.StringBuilder pchFilename,uint cchFilename,ref EVRScreenshotError pError)
+	{
+		uint result = FnTable.GetScreenshotPropertyFilename(screenshotHandle,filenameType,pchFilename,cchFilename,ref pError);
+		return result;
+	}
+	public EVRScreenshotError UpdateScreenshotProgress(uint screenshotHandle,float flProgress)
+	{
+		EVRScreenshotError result = FnTable.UpdateScreenshotProgress(screenshotHandle,flProgress);
+		return result;
+	}
+	public EVRScreenshotError TakeStereoScreenshot(ref uint pOutScreenshotHandle,string pchPreviewFilename,string pchVRFilename)
+	{
+		pOutScreenshotHandle = 0;
+		EVRScreenshotError result = FnTable.TakeStereoScreenshot(ref pOutScreenshotHandle,pchPreviewFilename,pchVRFilename);
+		return result;
+	}
+	public EVRScreenshotError SubmitScreenshot(uint screenshotHandle,EVRScreenshotType type,string pchSourcePreviewFilename,string pchSourceVRFilename)
+	{
+		EVRScreenshotError result = FnTable.SubmitScreenshot(screenshotHandle,type,pchSourcePreviewFilename,pchSourceVRFilename);
+		return result;
+	}
+}
+
+
+public class CVRResources
+{
+	IVRResources FnTable;
+	internal CVRResources(IntPtr pInterface)
+	{
+		FnTable = (IVRResources)Marshal.PtrToStructure(pInterface, typeof(IVRResources));
+	}
+	public uint LoadSharedResource(string pchResourceName,string pchBuffer,uint unBufferLen)
+	{
+		uint result = FnTable.LoadSharedResource(pchResourceName,pchBuffer,unBufferLen);
+		return result;
+	}
+	public uint GetResourceFullPath(string pchResourceName,string pchResourceTypeDirectory,System.Text.StringBuilder pchPathBuffer,uint unBufferLen)
+	{
+		uint result = FnTable.GetResourceFullPath(pchResourceName,pchResourceTypeDirectory,pchPathBuffer,unBufferLen);
+		return result;
+	}
+}
+
+
+public class CVRDriverManager
+{
+	IVRDriverManager FnTable;
+	internal CVRDriverManager(IntPtr pInterface)
+	{
+		FnTable = (IVRDriverManager)Marshal.PtrToStructure(pInterface, typeof(IVRDriverManager));
+	}
+	public uint GetDriverCount()
+	{
+		uint result = FnTable.GetDriverCount();
+		return result;
+	}
+	public uint GetDriverName(uint nDriver,System.Text.StringBuilder pchValue,uint unBufferSize)
+	{
+		uint result = FnTable.GetDriverName(nDriver,pchValue,unBufferSize);
+		return result;
+	}
+}
+
+
+public class OpenVRInterop
+{
+	[DllImportAttribute("openvr_api", EntryPoint = "VR_InitInternal", CallingConvention = CallingConvention.Cdecl)]
+	internal static extern uint InitInternal(ref EVRInitError peError, EVRApplicationType eApplicationType);
+	[DllImportAttribute("openvr_api", EntryPoint = "VR_ShutdownInternal", CallingConvention = CallingConvention.Cdecl)]
+	internal static extern void ShutdownInternal();
+	[DllImportAttribute("openvr_api", EntryPoint = "VR_IsHmdPresent", CallingConvention = CallingConvention.Cdecl)]
+	internal static extern bool IsHmdPresent();
+	[DllImportAttribute("openvr_api", EntryPoint = "VR_IsRuntimeInstalled", CallingConvention = CallingConvention.Cdecl)]
+	internal static extern bool IsRuntimeInstalled();
+	[DllImportAttribute("openvr_api", EntryPoint = "VR_GetStringForHmdError", CallingConvention = CallingConvention.Cdecl)]
+	internal static extern IntPtr GetStringForHmdError(EVRInitError error);
+	[DllImportAttribute("openvr_api", EntryPoint = "VR_GetGenericInterface", CallingConvention = CallingConvention.Cdecl)]
+	internal static extern IntPtr GetGenericInterface([In, MarshalAs(UnmanagedType.LPStr)] string pchInterfaceVersion, ref EVRInitError peError);
+	[DllImportAttribute("openvr_api", EntryPoint = "VR_IsInterfaceVersionValid", CallingConvention = CallingConvention.Cdecl)]
+	internal static extern bool IsInterfaceVersionValid([In, MarshalAs(UnmanagedType.LPStr)] string pchInterfaceVersion);
+	[DllImportAttribute("openvr_api", EntryPoint = "VR_GetInitToken", CallingConvention = CallingConvention.Cdecl)]
+	internal static extern uint GetInitToken();
+}
+
+
+public enum EVREye
+{
+	Eye_Left = 0,
+	Eye_Right = 1,
+}
+public enum ETextureType
+{
+	DirectX = 0,
+	OpenGL = 1,
+	Vulkan = 2,
+	IOSurface = 3,
+	DirectX12 = 4,
+}
+public enum EColorSpace
+{
+	Auto = 0,
+	Gamma = 1,
+	Linear = 2,
+}
+public enum ETrackingResult
+{
+	Uninitialized = 1,
+	Calibrating_InProgress = 100,
+	Calibrating_OutOfRange = 101,
+	Running_OK = 200,
+	Running_OutOfRange = 201,
+}
+public enum ETrackedDeviceClass
+{
+	Invalid = 0,
+	HMD = 1,
+	Controller = 2,
+	GenericTracker = 3,
+	TrackingReference = 4,
+	DisplayRedirect = 5,
+}
+public enum ETrackedControllerRole
+{
+	Invalid = 0,
+	LeftHand = 1,
+	RightHand = 2,
+}
+public enum ETrackingUniverseOrigin
+{
+	TrackingUniverseSeated = 0,
+	TrackingUniverseStanding = 1,
+	TrackingUniverseRawAndUncalibrated = 2,
+}
+public enum ETrackedDeviceProperty
+{
+	Prop_Invalid = 0,
+	Prop_TrackingSystemName_String = 1000,
+	Prop_ModelNumber_String = 1001,
+	Prop_SerialNumber_String = 1002,
+	Prop_RenderModelName_String = 1003,
+	Prop_WillDriftInYaw_Bool = 1004,
+	Prop_ManufacturerName_String = 1005,
+	Prop_TrackingFirmwareVersion_String = 1006,
+	Prop_HardwareRevision_String = 1007,
+	Prop_AllWirelessDongleDescriptions_String = 1008,
+	Prop_ConnectedWirelessDongle_String = 1009,
+	Prop_DeviceIsWireless_Bool = 1010,
+	Prop_DeviceIsCharging_Bool = 1011,
+	Prop_DeviceBatteryPercentage_Float = 1012,
+	Prop_StatusDisplayTransform_Matrix34 = 1013,
+	Prop_Firmware_UpdateAvailable_Bool = 1014,
+	Prop_Firmware_ManualUpdate_Bool = 1015,
+	Prop_Firmware_ManualUpdateURL_String = 1016,
+	Prop_HardwareRevision_Uint64 = 1017,
+	Prop_FirmwareVersion_Uint64 = 1018,
+	Prop_FPGAVersion_Uint64 = 1019,
+	Prop_VRCVersion_Uint64 = 1020,
+	Prop_RadioVersion_Uint64 = 1021,
+	Prop_DongleVersion_Uint64 = 1022,
+	Prop_BlockServerShutdown_Bool = 1023,
+	Prop_CanUnifyCoordinateSystemWithHmd_Bool = 1024,
+	Prop_ContainsProximitySensor_Bool = 1025,
+	Prop_DeviceProvidesBatteryStatus_Bool = 1026,
+	Prop_DeviceCanPowerOff_Bool = 1027,
+	Prop_Firmware_ProgrammingTarget_String = 1028,
+	Prop_DeviceClass_Int32 = 1029,
+	Prop_HasCamera_Bool = 1030,
+	Prop_DriverVersion_String = 1031,
+	Prop_Firmware_ForceUpdateRequired_Bool = 1032,
+	Prop_ViveSystemButtonFixRequired_Bool = 1033,
+	Prop_ParentDriver_Uint64 = 1034,
+	Prop_ResourceRoot_String = 1035,
+	Prop_RegisteredDeviceType_String = 1036,
+	Prop_InputProfilePath_String = 1037,
+	Prop_ReportsTimeSinceVSync_Bool = 2000,
+	Prop_SecondsFromVsyncToPhotons_Float = 2001,
+	Prop_DisplayFrequency_Float = 2002,
+	Prop_UserIpdMeters_Float = 2003,
+	Prop_CurrentUniverseId_Uint64 = 2004,
+	Prop_PreviousUniverseId_Uint64 = 2005,
+	Prop_DisplayFirmwareVersion_Uint64 = 2006,
+	Prop_IsOnDesktop_Bool = 2007,
+	Prop_DisplayMCType_Int32 = 2008,
+	Prop_DisplayMCOffset_Float = 2009,
+	Prop_DisplayMCScale_Float = 2010,
+	Prop_EdidVendorID_Int32 = 2011,
+	Prop_DisplayMCImageLeft_String = 2012,
+	Prop_DisplayMCImageRight_String = 2013,
+	Prop_DisplayGCBlackClamp_Float = 2014,
+	Prop_EdidProductID_Int32 = 2015,
+	Prop_CameraToHeadTransform_Matrix34 = 2016,
+	Prop_DisplayGCType_Int32 = 2017,
+	Prop_DisplayGCOffset_Float = 2018,
+	Prop_DisplayGCScale_Float = 2019,
+	Prop_DisplayGCPrescale_Float = 2020,
+	Prop_DisplayGCImage_String = 2021,
+	Prop_LensCenterLeftU_Float = 2022,
+	Prop_LensCenterLeftV_Float = 2023,
+	Prop_LensCenterRightU_Float = 2024,
+	Prop_LensCenterRightV_Float = 2025,
+	Prop_UserHeadToEyeDepthMeters_Float = 2026,
+	Prop_CameraFirmwareVersion_Uint64 = 2027,
+	Prop_CameraFirmwareDescription_String = 2028,
+	Prop_DisplayFPGAVersion_Uint64 = 2029,
+	Prop_DisplayBootloaderVersion_Uint64 = 2030,
+	Prop_DisplayHardwareVersion_Uint64 = 2031,
+	Prop_AudioFirmwareVersion_Uint64 = 2032,
+	Prop_CameraCompatibilityMode_Int32 = 2033,
+	Prop_ScreenshotHorizontalFieldOfViewDegrees_Float = 2034,
+	Prop_ScreenshotVerticalFieldOfViewDegrees_Float = 2035,
+	Prop_DisplaySuppressed_Bool = 2036,
+	Prop_DisplayAllowNightMode_Bool = 2037,
+	Prop_DisplayMCImageWidth_Int32 = 2038,
+	Prop_DisplayMCImageHeight_Int32 = 2039,
+	Prop_DisplayMCImageNumChannels_Int32 = 2040,
+	Prop_DisplayMCImageData_Binary = 2041,
+	Prop_SecondsFromPhotonsToVblank_Float = 2042,
+	Prop_DriverDirectModeSendsVsyncEvents_Bool = 2043,
+	Prop_DisplayDebugMode_Bool = 2044,
+	Prop_GraphicsAdapterLuid_Uint64 = 2045,
+	Prop_DriverProvidedChaperonePath_String = 2048,
+	Prop_ExpectedTrackingReferenceCount_Int32 = 2049,
+	Prop_ExpectedControllerCount_Int32 = 2050,
+	Prop_NamedIconPathControllerLeftDeviceOff_String = 2051,
+	Prop_NamedIconPathControllerRightDeviceOff_String = 2052,
+	Prop_NamedIconPathTrackingReferenceDeviceOff_String = 2053,
+	Prop_DoNotApplyPrediction_Bool = 2054,
+	Prop_CameraToHeadTransforms_Matrix34_Array = 2055,
+	Prop_DriverIsDrawingControllers_Bool = 2057,
+	Prop_DriverRequestsApplicationPause_Bool = 2058,
+	Prop_DriverRequestsReducedRendering_Bool = 2059,
+	Prop_AttachedDeviceId_String = 3000,
+	Prop_SupportedButtons_Uint64 = 3001,
+	Prop_Axis0Type_Int32 = 3002,
+	Prop_Axis1Type_Int32 = 3003,
+	Prop_Axis2Type_Int32 = 3004,
+	Prop_Axis3Type_Int32 = 3005,
+	Prop_Axis4Type_Int32 = 3006,
+	Prop_ControllerRoleHint_Int32 = 3007,
+	Prop_FieldOfViewLeftDegrees_Float = 4000,
+	Prop_FieldOfViewRightDegrees_Float = 4001,
+	Prop_FieldOfViewTopDegrees_Float = 4002,
+	Prop_FieldOfViewBottomDegrees_Float = 4003,
+	Prop_TrackingRangeMinimumMeters_Float = 4004,
+	Prop_TrackingRangeMaximumMeters_Float = 4005,
+	Prop_ModeLabel_String = 4006,
+	Prop_IconPathName_String = 5000,
+	Prop_NamedIconPathDeviceOff_String = 5001,
+	Prop_NamedIconPathDeviceSearching_String = 5002,
+	Prop_NamedIconPathDeviceSearchingAlert_String = 5003,
+	Prop_NamedIconPathDeviceReady_String = 5004,
+	Prop_NamedIconPathDeviceReadyAlert_String = 5005,
+	Prop_NamedIconPathDeviceNotReady_String = 5006,
+	Prop_NamedIconPathDeviceStandby_String = 5007,
+	Prop_NamedIconPathDeviceAlertLow_String = 5008,
+	Prop_DisplayHiddenArea_Binary_Start = 5100,
+	Prop_DisplayHiddenArea_Binary_End = 5150,
+	Prop_ParentContainer = 5151,
+	Prop_UserConfigPath_String = 6000,
+	Prop_InstallPath_String = 6001,
+	Prop_HasDisplayComponent_Bool = 6002,
+	Prop_HasControllerComponent_Bool = 6003,
+	Prop_HasCameraComponent_Bool = 6004,
+	Prop_HasDriverDirectModeComponent_Bool = 6005,
+	Prop_HasVirtualDisplayComponent_Bool = 6006,
+	Prop_ControllerType_String = 7000,
+	Prop_LegacyInputProfile_String = 7001,
+	Prop_VendorSpecific_Reserved_Start = 10000,
+	Prop_VendorSpecific_Reserved_End = 10999,
+	Prop_TrackedDeviceProperty_Max = 1000000,
+}
+public enum ETrackedPropertyError
+{
+	TrackedProp_Success = 0,
+	TrackedProp_WrongDataType = 1,
+	TrackedProp_WrongDeviceClass = 2,
+	TrackedProp_BufferTooSmall = 3,
+	TrackedProp_UnknownProperty = 4,
+	TrackedProp_InvalidDevice = 5,
+	TrackedProp_CouldNotContactServer = 6,
+	TrackedProp_ValueNotProvidedByDevice = 7,
+	TrackedProp_StringExceedsMaximumLength = 8,
+	TrackedProp_NotYetAvailable = 9,
+	TrackedProp_PermissionDenied = 10,
+	TrackedProp_InvalidOperation = 11,
+	TrackedProp_CannotWriteToWildcards = 12,
+}
+public enum EVRSubmitFlags
+{
+	Submit_Default = 0,
+	Submit_LensDistortionAlreadyApplied = 1,
+	Submit_GlRenderBuffer = 2,
+	Submit_Reserved = 4,
+	Submit_TextureWithPose = 8,
+	Submit_TextureWithDepth = 16,
+}
+public enum EVRState
+{
+	Undefined = -1,
+	Off = 0,
+	Searching = 1,
+	Searching_Alert = 2,
+	Ready = 3,
+	Ready_Alert = 4,
+	NotReady = 5,
+	Standby = 6,
+	Ready_Alert_Low = 7,
+}
+public enum EVREventType
+{
+	VREvent_None = 0,
+	VREvent_TrackedDeviceActivated = 100,
+	VREvent_TrackedDeviceDeactivated = 101,
+	VREvent_TrackedDeviceUpdated = 102,
+	VREvent_TrackedDeviceUserInteractionStarted = 103,
+	VREvent_TrackedDeviceUserInteractionEnded = 104,
+	VREvent_IpdChanged = 105,
+	VREvent_EnterStandbyMode = 106,
+	VREvent_LeaveStandbyMode = 107,
+	VREvent_TrackedDeviceRoleChanged = 108,
+	VREvent_WatchdogWakeUpRequested = 109,
+	VREvent_LensDistortionChanged = 110,
+	VREvent_PropertyChanged = 111,
+	VREvent_WirelessDisconnect = 112,
+	VREvent_WirelessReconnect = 113,
+	VREvent_ButtonPress = 200,
+	VREvent_ButtonUnpress = 201,
+	VREvent_ButtonTouch = 202,
+	VREvent_ButtonUntouch = 203,
+	VREvent_DualAnalog_Press = 250,
+	VREvent_DualAnalog_Unpress = 251,
+	VREvent_DualAnalog_Touch = 252,
+	VREvent_DualAnalog_Untouch = 253,
+	VREvent_DualAnalog_Move = 254,
+	VREvent_DualAnalog_ModeSwitch1 = 255,
+	VREvent_DualAnalog_ModeSwitch2 = 256,
+	VREvent_DualAnalog_Cancel = 257,
+	VREvent_MouseMove = 300,
+	VREvent_MouseButtonDown = 301,
+	VREvent_MouseButtonUp = 302,
+	VREvent_FocusEnter = 303,
+	VREvent_FocusLeave = 304,
+	VREvent_Scroll = 305,
+	VREvent_TouchPadMove = 306,
+	VREvent_OverlayFocusChanged = 307,
+	VREvent_InputFocusCaptured = 400,
+	VREvent_InputFocusReleased = 401,
+	VREvent_SceneFocusLost = 402,
+	VREvent_SceneFocusGained = 403,
+	VREvent_SceneApplicationChanged = 404,
+	VREvent_SceneFocusChanged = 405,
+	VREvent_InputFocusChanged = 406,
+	VREvent_SceneApplicationSecondaryRenderingStarted = 407,
+	VREvent_HideRenderModels = 410,
+	VREvent_ShowRenderModels = 411,
+	VREvent_ConsoleOpened = 420,
+	VREvent_ConsoleClosed = 421,
+	VREvent_OverlayShown = 500,
+	VREvent_OverlayHidden = 501,
+	VREvent_DashboardActivated = 502,
+	VREvent_DashboardDeactivated = 503,
+	VREvent_DashboardThumbSelected = 504,
+	VREvent_DashboardRequested = 505,
+	VREvent_ResetDashboard = 506,
+	VREvent_RenderToast = 507,
+	VREvent_ImageLoaded = 508,
+	VREvent_ShowKeyboard = 509,
+	VREvent_HideKeyboard = 510,
+	VREvent_OverlayGamepadFocusGained = 511,
+	VREvent_OverlayGamepadFocusLost = 512,
+	VREvent_OverlaySharedTextureChanged = 513,
+	VREvent_DashboardGuideButtonDown = 514,
+	VREvent_DashboardGuideButtonUp = 515,
+	VREvent_ScreenshotTriggered = 516,
+	VREvent_ImageFailed = 517,
+	VREvent_DashboardOverlayCreated = 518,
+	VREvent_RequestScreenshot = 520,
+	VREvent_ScreenshotTaken = 521,
+	VREvent_ScreenshotFailed = 522,
+	VREvent_SubmitScreenshotToDashboard = 523,
+	VREvent_ScreenshotProgressToDashboard = 524,
+	VREvent_PrimaryDashboardDeviceChanged = 525,
+	VREvent_Notification_Shown = 600,
+	VREvent_Notification_Hidden = 601,
+	VREvent_Notification_BeginInteraction = 602,
+	VREvent_Notification_Destroyed = 603,
+	VREvent_Quit = 700,
+	VREvent_ProcessQuit = 701,
+	VREvent_QuitAborted_UserPrompt = 702,
+	VREvent_QuitAcknowledged = 703,
+	VREvent_DriverRequestedQuit = 704,
+	VREvent_ChaperoneDataHasChanged = 800,
+	VREvent_ChaperoneUniverseHasChanged = 801,
+	VREvent_ChaperoneTempDataHasChanged = 802,
+	VREvent_ChaperoneSettingsHaveChanged = 803,
+	VREvent_SeatedZeroPoseReset = 804,
+	VREvent_AudioSettingsHaveChanged = 820,
+	VREvent_BackgroundSettingHasChanged = 850,
+	VREvent_CameraSettingsHaveChanged = 851,
+	VREvent_ReprojectionSettingHasChanged = 852,
+	VREvent_ModelSkinSettingsHaveChanged = 853,
+	VREvent_EnvironmentSettingsHaveChanged = 854,
+	VREvent_PowerSettingsHaveChanged = 855,
+	VREvent_EnableHomeAppSettingsHaveChanged = 856,
+	VREvent_SteamVRSectionSettingChanged = 857,
+	VREvent_LighthouseSectionSettingChanged = 858,
+	VREvent_NullSectionSettingChanged = 859,
+	VREvent_UserInterfaceSectionSettingChanged = 860,
+	VREvent_NotificationsSectionSettingChanged = 861,
+	VREvent_KeyboardSectionSettingChanged = 862,
+	VREvent_PerfSectionSettingChanged = 863,
+	VREvent_DashboardSectionSettingChanged = 864,
+	VREvent_WebInterfaceSectionSettingChanged = 865,
+	VREvent_StatusUpdate = 900,
+	VREvent_WebInterface_InstallDriverCompleted = 950,
+	VREvent_MCImageUpdated = 1000,
+	VREvent_FirmwareUpdateStarted = 1100,
+	VREvent_FirmwareUpdateFinished = 1101,
+	VREvent_KeyboardClosed = 1200,
+	VREvent_KeyboardCharInput = 1201,
+	VREvent_KeyboardDone = 1202,
+	VREvent_ApplicationTransitionStarted = 1300,
+	VREvent_ApplicationTransitionAborted = 1301,
+	VREvent_ApplicationTransitionNewAppStarted = 1302,
+	VREvent_ApplicationListUpdated = 1303,
+	VREvent_ApplicationMimeTypeLoad = 1304,
+	VREvent_ApplicationTransitionNewAppLaunchComplete = 1305,
+	VREvent_ProcessConnected = 1306,
+	VREvent_ProcessDisconnected = 1307,
+	VREvent_Compositor_MirrorWindowShown = 1400,
+	VREvent_Compositor_MirrorWindowHidden = 1401,
+	VREvent_Compositor_ChaperoneBoundsShown = 1410,
+	VREvent_Compositor_ChaperoneBoundsHidden = 1411,
+	VREvent_TrackedCamera_StartVideoStream = 1500,
+	VREvent_TrackedCamera_StopVideoStream = 1501,
+	VREvent_TrackedCamera_PauseVideoStream = 1502,
+	VREvent_TrackedCamera_ResumeVideoStream = 1503,
+	VREvent_TrackedCamera_EditingSurface = 1550,
+	VREvent_PerformanceTest_EnableCapture = 1600,
+	VREvent_PerformanceTest_DisableCapture = 1601,
+	VREvent_PerformanceTest_FidelityLevel = 1602,
+	VREvent_MessageOverlay_Closed = 1650,
+	VREvent_MessageOverlayCloseRequested = 1651,
+	VREvent_Input_HapticVibration = 1700,
+	VREvent_VendorSpecific_Reserved_Start = 10000,
+	VREvent_VendorSpecific_Reserved_End = 19999,
+}
+public enum EDeviceActivityLevel
+{
+	k_EDeviceActivityLevel_Unknown = -1,
+	k_EDeviceActivityLevel_Idle = 0,
+	k_EDeviceActivityLevel_UserInteraction = 1,
+	k_EDeviceActivityLevel_UserInteraction_Timeout = 2,
+	k_EDeviceActivityLevel_Standby = 3,
+}
+public enum EVRButtonId
+{
+	k_EButton_System = 0,
+	k_EButton_ApplicationMenu = 1,
+	k_EButton_Grip = 2,
+	k_EButton_DPad_Left = 3,
+	k_EButton_DPad_Up = 4,
+	k_EButton_DPad_Right = 5,
+	k_EButton_DPad_Down = 6,
+	k_EButton_A = 7,
+	k_EButton_ProximitySensor = 31,
+	k_EButton_Axis0 = 32,
+	k_EButton_Axis1 = 33,
+	k_EButton_Axis2 = 34,
+	k_EButton_Axis3 = 35,
+	k_EButton_Axis4 = 36,
+	k_EButton_SteamVR_Touchpad = 32,
+	k_EButton_SteamVR_Trigger = 33,
+	k_EButton_Dashboard_Back = 2,
+	k_EButton_Max = 64,
+}
+public enum EVRMouseButton
+{
+	Left = 1,
+	Right = 2,
+	Middle = 4,
+}
+public enum EDualAnalogWhich
+{
+	k_EDualAnalog_Left = 0,
+	k_EDualAnalog_Right = 1,
+}
+public enum EVRInputError
+{
+	None = 0,
+	NameNotFound = 1,
+	WrongType = 2,
+	InvalidHandle = 3,
+	InvalidParam = 4,
+	NoSteam = 5,
+	MaxCapacityReached = 6,
+	IPCError = 7,
+	NoActiveActionSet = 8,
+	InvalidDevice = 9,
+}
+public enum EHiddenAreaMeshType
+{
+	k_eHiddenAreaMesh_Standard = 0,
+	k_eHiddenAreaMesh_Inverse = 1,
+	k_eHiddenAreaMesh_LineLoop = 2,
+	k_eHiddenAreaMesh_Max = 3,
+}
+public enum EVRControllerAxisType
+{
+	k_eControllerAxis_None = 0,
+	k_eControllerAxis_TrackPad = 1,
+	k_eControllerAxis_Joystick = 2,
+	k_eControllerAxis_Trigger = 3,
+}
+public enum EVRControllerEventOutputType
+{
+	ControllerEventOutput_OSEvents = 0,
+	ControllerEventOutput_VREvents = 1,
+}
+public enum ECollisionBoundsStyle
+{
+	COLLISION_BOUNDS_STYLE_BEGINNER = 0,
+	COLLISION_BOUNDS_STYLE_INTERMEDIATE = 1,
+	COLLISION_BOUNDS_STYLE_SQUARES = 2,
+	COLLISION_BOUNDS_STYLE_ADVANCED = 3,
+	COLLISION_BOUNDS_STYLE_NONE = 4,
+	COLLISION_BOUNDS_STYLE_COUNT = 5,
+}
+public enum EVROverlayError
+{
+	None = 0,
+	UnknownOverlay = 10,
+	InvalidHandle = 11,
+	PermissionDenied = 12,
+	OverlayLimitExceeded = 13,
+	WrongVisibilityType = 14,
+	KeyTooLong = 15,
+	NameTooLong = 16,
+	KeyInUse = 17,
+	WrongTransformType = 18,
+	InvalidTrackedDevice = 19,
+	InvalidParameter = 20,
+	ThumbnailCantBeDestroyed = 21,
+	ArrayTooSmall = 22,
+	RequestFailed = 23,
+	InvalidTexture = 24,
+	UnableToLoadFile = 25,
+	KeyboardAlreadyInUse = 26,
+	NoNeighbor = 27,
+	TooManyMaskPrimitives = 29,
+	BadMaskPrimitive = 30,
+	TextureAlreadyLocked = 31,
+	TextureLockCapacityReached = 32,
+	TextureNotLocked = 33,
+}
+public enum EVRApplicationType
+{
+	VRApplication_Other = 0,
+	VRApplication_Scene = 1,
+	VRApplication_Overlay = 2,
+	VRApplication_Background = 3,
+	VRApplication_Utility = 4,
+	VRApplication_VRMonitor = 5,
+	VRApplication_SteamWatchdog = 6,
+	VRApplication_Bootstrapper = 7,
+	VRApplication_Max = 8,
+}
+public enum EVRFirmwareError
+{
+	None = 0,
+	Success = 1,
+	Fail = 2,
+}
+public enum EVRNotificationError
+{
+	OK = 0,
+	InvalidNotificationId = 100,
+	NotificationQueueFull = 101,
+	InvalidOverlayHandle = 102,
+	SystemWithUserValueAlreadyExists = 103,
+}
+public enum EVRInitError
+{
+	None = 0,
+	Unknown = 1,
+	Init_InstallationNotFound = 100,
+	Init_InstallationCorrupt = 101,
+	Init_VRClientDLLNotFound = 102,
+	Init_FileNotFound = 103,
+	Init_FactoryNotFound = 104,
+	Init_InterfaceNotFound = 105,
+	Init_InvalidInterface = 106,
+	Init_UserConfigDirectoryInvalid = 107,
+	Init_HmdNotFound = 108,
+	Init_NotInitialized = 109,
+	Init_PathRegistryNotFound = 110,
+	Init_NoConfigPath = 111,
+	Init_NoLogPath = 112,
+	Init_PathRegistryNotWritable = 113,
+	Init_AppInfoInitFailed = 114,
+	Init_Retry = 115,
+	Init_InitCanceledByUser = 116,
+	Init_AnotherAppLaunching = 117,
+	Init_SettingsInitFailed = 118,
+	Init_ShuttingDown = 119,
+	Init_TooManyObjects = 120,
+	Init_NoServerForBackgroundApp = 121,
+	Init_NotSupportedWithCompositor = 122,
+	Init_NotAvailableToUtilityApps = 123,
+	Init_Internal = 124,
+	Init_HmdDriverIdIsNone = 125,
+	Init_HmdNotFoundPresenceFailed = 126,
+	Init_VRMonitorNotFound = 127,
+	Init_VRMonitorStartupFailed = 128,
+	Init_LowPowerWatchdogNotSupported = 129,
+	Init_InvalidApplicationType = 130,
+	Init_NotAvailableToWatchdogApps = 131,
+	Init_WatchdogDisabledInSettings = 132,
+	Init_VRDashboardNotFound = 133,
+	Init_VRDashboardStartupFailed = 134,
+	Init_VRHomeNotFound = 135,
+	Init_VRHomeStartupFailed = 136,
+	Init_RebootingBusy = 137,
+	Init_FirmwareUpdateBusy = 138,
+	Init_FirmwareRecoveryBusy = 139,
+	Init_USBServiceBusy = 140,
+	Driver_Failed = 200,
+	Driver_Unknown = 201,
+	Driver_HmdUnknown = 202,
+	Driver_NotLoaded = 203,
+	Driver_RuntimeOutOfDate = 204,
+	Driver_HmdInUse = 205,
+	Driver_NotCalibrated = 206,
+	Driver_CalibrationInvalid = 207,
+	Driver_HmdDisplayNotFound = 208,
+	Driver_TrackedDeviceInterfaceUnknown = 209,
+	Driver_HmdDriverIdOutOfBounds = 211,
+	Driver_HmdDisplayMirrored = 212,
+	IPC_ServerInitFailed = 300,
+	IPC_ConnectFailed = 301,
+	IPC_SharedStateInitFailed = 302,
+	IPC_CompositorInitFailed = 303,
+	IPC_MutexInitFailed = 304,
+	IPC_Failed = 305,
+	IPC_CompositorConnectFailed = 306,
+	IPC_CompositorInvalidConnectResponse = 307,
+	IPC_ConnectFailedAfterMultipleAttempts = 308,
+	Compositor_Failed = 400,
+	Compositor_D3D11HardwareRequired = 401,
+	Compositor_FirmwareRequiresUpdate = 402,
+	Compositor_OverlayInitFailed = 403,
+	Compositor_ScreenshotsInitFailed = 404,
+	Compositor_UnableToCreateDevice = 405,
+	VendorSpecific_UnableToConnectToOculusRuntime = 1000,
+	VendorSpecific_WindowsNotInDevMode = 1001,
+	VendorSpecific_HmdFound_CantOpenDevice = 1101,
+	VendorSpecific_HmdFound_UnableToRequestConfigStart = 1102,
+	VendorSpecific_HmdFound_NoStoredConfig = 1103,
+	VendorSpecific_HmdFound_ConfigTooBig = 1104,
+	VendorSpecific_HmdFound_ConfigTooSmall = 1105,
+	VendorSpecific_HmdFound_UnableToInitZLib = 1106,
+	VendorSpecific_HmdFound_CantReadFirmwareVersion = 1107,
+	VendorSpecific_HmdFound_UnableToSendUserDataStart = 1108,
+	VendorSpecific_HmdFound_UnableToGetUserDataStart = 1109,
+	VendorSpecific_HmdFound_UnableToGetUserDataNext = 1110,
+	VendorSpecific_HmdFound_UserDataAddressRange = 1111,
+	VendorSpecific_HmdFound_UserDataError = 1112,
+	VendorSpecific_HmdFound_ConfigFailedSanityCheck = 1113,
+	Steam_SteamInstallationNotFound = 2000,
+}
+public enum EVRScreenshotType
+{
+	None = 0,
+	Mono = 1,
+	Stereo = 2,
+	Cubemap = 3,
+	MonoPanorama = 4,
+	StereoPanorama = 5,
+}
+public enum EVRScreenshotPropertyFilenames
+{
+	Preview = 0,
+	VR = 1,
+}
+public enum EVRTrackedCameraError
+{
+	None = 0,
+	OperationFailed = 100,
+	InvalidHandle = 101,
+	InvalidFrameHeaderVersion = 102,
+	OutOfHandles = 103,
+	IPCFailure = 104,
+	NotSupportedForThisDevice = 105,
+	SharedMemoryFailure = 106,
+	FrameBufferingFailure = 107,
+	StreamSetupFailure = 108,
+	InvalidGLTextureId = 109,
+	InvalidSharedTextureHandle = 110,
+	FailedToGetGLTextureId = 111,
+	SharedTextureFailure = 112,
+	NoFrameAvailable = 113,
+	InvalidArgument = 114,
+	InvalidFrameBufferSize = 115,
+}
+public enum EVRTrackedCameraFrameType
+{
+	Distorted = 0,
+	Undistorted = 1,
+	MaximumUndistorted = 2,
+	MAX_CAMERA_FRAME_TYPES = 3,
+}
+public enum EVRApplicationError
+{
+	None = 0,
+	AppKeyAlreadyExists = 100,
+	NoManifest = 101,
+	NoApplication = 102,
+	InvalidIndex = 103,
+	UnknownApplication = 104,
+	IPCFailed = 105,
+	ApplicationAlreadyRunning = 106,
+	InvalidManifest = 107,
+	InvalidApplication = 108,
+	LaunchFailed = 109,
+	ApplicationAlreadyStarting = 110,
+	LaunchInProgress = 111,
+	OldApplicationQuitting = 112,
+	TransitionAborted = 113,
+	IsTemplate = 114,
+	SteamVRIsExiting = 115,
+	BufferTooSmall = 200,
+	PropertyNotSet = 201,
+	UnknownProperty = 202,
+	InvalidParameter = 203,
+}
+public enum EVRApplicationProperty
+{
+	Name_String = 0,
+	LaunchType_String = 11,
+	WorkingDirectory_String = 12,
+	BinaryPath_String = 13,
+	Arguments_String = 14,
+	URL_String = 15,
+	Description_String = 50,
+	NewsURL_String = 51,
+	ImagePath_String = 52,
+	Source_String = 53,
+	ActionManifestURL_String = 54,
+	IsDashboardOverlay_Bool = 60,
+	IsTemplate_Bool = 61,
+	IsInstanced_Bool = 62,
+	IsInternal_Bool = 63,
+	WantsCompositorPauseInStandby_Bool = 64,
+	LastLaunchTime_Uint64 = 70,
+}
+public enum EVRApplicationTransitionState
+{
+	VRApplicationTransition_None = 0,
+	VRApplicationTransition_OldAppQuitSent = 10,
+	VRApplicationTransition_WaitingForExternalLaunch = 11,
+	VRApplicationTransition_NewAppLaunched = 20,
+}
+public enum ChaperoneCalibrationState
+{
+	OK = 1,
+	Warning = 100,
+	Warning_BaseStationMayHaveMoved = 101,
+	Warning_BaseStationRemoved = 102,
+	Warning_SeatedBoundsInvalid = 103,
+	Error = 200,
+	Error_BaseStationUninitialized = 201,
+	Error_BaseStationConflict = 202,
+	Error_PlayAreaInvalid = 203,
+	Error_CollisionBoundsInvalid = 204,
+}
+public enum EChaperoneConfigFile
+{
+	Live = 1,
+	Temp = 2,
+}
+public enum EChaperoneImportFlags
+{
+	EChaperoneImport_BoundsOnly = 1,
+}
+public enum EVRCompositorError
+{
+	None = 0,
+	RequestFailed = 1,
+	IncompatibleVersion = 100,
+	DoNotHaveFocus = 101,
+	InvalidTexture = 102,
+	IsNotSceneApplication = 103,
+	TextureIsOnWrongDevice = 104,
+	TextureUsesUnsupportedFormat = 105,
+	SharedTexturesNotSupported = 106,
+	IndexOutOfRange = 107,
+	AlreadySubmitted = 108,
+	InvalidBounds = 109,
+}
+public enum EVRCompositorTimingMode
+{
+	Implicit = 0,
+	Explicit_RuntimePerformsPostPresentHandoff = 1,
+	Explicit_ApplicationPerformsPostPresentHandoff = 2,
+}
+public enum VROverlayInputMethod
+{
+	None = 0,
+	Mouse = 1,
+	DualAnalog = 2,
+}
+public enum VROverlayTransformType
+{
+	VROverlayTransform_Absolute = 0,
+	VROverlayTransform_TrackedDeviceRelative = 1,
+	VROverlayTransform_SystemOverlay = 2,
+	VROverlayTransform_TrackedComponent = 3,
+}
+public enum VROverlayFlags
+{
+	None = 0,
+	Curved = 1,
+	RGSS4X = 2,
+	NoDashboardTab = 3,
+	AcceptsGamepadEvents = 4,
+	ShowGamepadFocus = 5,
+	SendVRScrollEvents = 6,
+	SendVRTouchpadEvents = 7,
+	ShowTouchPadScrollWheel = 8,
+	TransferOwnershipToInternalProcess = 9,
+	SideBySide_Parallel = 10,
+	SideBySide_Crossed = 11,
+	Panorama = 12,
+	StereoPanorama = 13,
+	SortWithNonSceneOverlays = 14,
+	VisibleInDashboard = 15,
+}
+public enum VRMessageOverlayResponse
+{
+	ButtonPress_0 = 0,
+	ButtonPress_1 = 1,
+	ButtonPress_2 = 2,
+	ButtonPress_3 = 3,
+	CouldntFindSystemOverlay = 4,
+	CouldntFindOrCreateClientOverlay = 5,
+	ApplicationQuit = 6,
+}
+public enum EGamepadTextInputMode
+{
+	k_EGamepadTextInputModeNormal = 0,
+	k_EGamepadTextInputModePassword = 1,
+	k_EGamepadTextInputModeSubmit = 2,
+}
+public enum EGamepadTextInputLineMode
+{
+	k_EGamepadTextInputLineModeSingleLine = 0,
+	k_EGamepadTextInputLineModeMultipleLines = 1,
+}
+public enum EOverlayDirection
+{
+	Up = 0,
+	Down = 1,
+	Left = 2,
+	Right = 3,
+	Count = 4,
+}
+public enum EVROverlayIntersectionMaskPrimitiveType
+{
+	OverlayIntersectionPrimitiveType_Rectangle = 0,
+	OverlayIntersectionPrimitiveType_Circle = 1,
+}
+public enum EVRRenderModelError
+{
+	None = 0,
+	Loading = 100,
+	NotSupported = 200,
+	InvalidArg = 300,
+	InvalidModel = 301,
+	NoShapes = 302,
+	MultipleShapes = 303,
+	TooManyVertices = 304,
+	MultipleTextures = 305,
+	BufferTooSmall = 306,
+	NotEnoughNormals = 307,
+	NotEnoughTexCoords = 308,
+	InvalidTexture = 400,
+}
+public enum EVRComponentProperty
+{
+	IsStatic = 1,
+	IsVisible = 2,
+	IsTouched = 4,
+	IsPressed = 8,
+	IsScrolled = 16,
+}
+public enum EVRNotificationType
+{
+	Transient = 0,
+	Persistent = 1,
+	Transient_SystemWithUserValue = 2,
+}
+public enum EVRNotificationStyle
+{
+	None = 0,
+	Application = 100,
+	Contact_Disabled = 200,
+	Contact_Enabled = 201,
+	Contact_Active = 202,
+}
+public enum EVRSettingsError
+{
+	None = 0,
+	IPCFailed = 1,
+	WriteFailed = 2,
+	ReadFailed = 3,
+	JsonParseFailed = 4,
+	UnsetSettingHasNoDefault = 5,
+}
+public enum EVRScreenshotError
+{
+	None = 0,
+	RequestFailed = 1,
+	IncompatibleVersion = 100,
+	NotFound = 101,
+	BufferTooSmall = 102,
+	ScreenshotAlreadyInProgress = 108,
+}
+
+[StructLayout(LayoutKind.Explicit)] public struct VREvent_Data_t
+{
+	[FieldOffset(0)] public VREvent_Reserved_t reserved;
+	[FieldOffset(0)] public VREvent_Controller_t controller;
+	[FieldOffset(0)] public VREvent_Mouse_t mouse;
+	[FieldOffset(0)] public VREvent_Scroll_t scroll;
+	[FieldOffset(0)] public VREvent_Process_t process;
+	[FieldOffset(0)] public VREvent_Notification_t notification;
+	[FieldOffset(0)] public VREvent_Overlay_t overlay;
+	[FieldOffset(0)] public VREvent_Status_t status;
+	[FieldOffset(0)] public VREvent_Ipd_t ipd;
+	[FieldOffset(0)] public VREvent_Chaperone_t chaperone;
+	[FieldOffset(0)] public VREvent_PerformanceTest_t performanceTest;
+	[FieldOffset(0)] public VREvent_TouchPadMove_t touchPadMove;
+	[FieldOffset(0)] public VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset;
+	[FieldOffset(0)] public VREvent_Screenshot_t screenshot;
+	[FieldOffset(0)] public VREvent_ScreenshotProgress_t screenshotProgress;
+	[FieldOffset(0)] public VREvent_ApplicationLaunch_t applicationLaunch;
+	[FieldOffset(0)] public VREvent_EditingCameraSurface_t cameraSurface;
+	[FieldOffset(0)] public VREvent_MessageOverlay_t messageOverlay;
+	[FieldOffset(0)] public VREvent_Property_t property;
+	[FieldOffset(0)] public VREvent_DualAnalog_t dualAnalog;
+	[FieldOffset(0)] public VREvent_HapticVibration_t hapticVibration;
+	[FieldOffset(0)] public VREvent_Keyboard_t keyboard; // This has to be at the end due to a mono bug
+}
+
+
+[StructLayout(LayoutKind.Explicit)] public struct VROverlayIntersectionMaskPrimitive_Data_t
+{
+	[FieldOffset(0)] public IntersectionMaskRectangle_t m_Rectangle;
+	[FieldOffset(0)] public IntersectionMaskCircle_t m_Circle;
+}
+
+[StructLayout(LayoutKind.Sequential)] public struct HmdMatrix34_t
+{
+	public float m0; //float[3][4]
+	public float m1;
+	public float m2;
+	public float m3;
+	public float m4;
+	public float m5;
+	public float m6;
+	public float m7;
+	public float m8;
+	public float m9;
+	public float m10;
+	public float m11;
+}
+[StructLayout(LayoutKind.Sequential)] public struct HmdMatrix44_t
+{
+	public float m0; //float[4][4]
+	public float m1;
+	public float m2;
+	public float m3;
+	public float m4;
+	public float m5;
+	public float m6;
+	public float m7;
+	public float m8;
+	public float m9;
+	public float m10;
+	public float m11;
+	public float m12;
+	public float m13;
+	public float m14;
+	public float m15;
+}
+[StructLayout(LayoutKind.Sequential)] public struct HmdVector3_t
+{
+	public float v0; //float[3]
+	public float v1;
+	public float v2;
+}
+[StructLayout(LayoutKind.Sequential)] public struct HmdVector4_t
+{
+	public float v0; //float[4]
+	public float v1;
+	public float v2;
+	public float v3;
+}
+[StructLayout(LayoutKind.Sequential)] public struct HmdVector3d_t
+{
+	public double v0; //double[3]
+	public double v1;
+	public double v2;
+}
+[StructLayout(LayoutKind.Sequential)] public struct HmdVector2_t
+{
+	public float v0; //float[2]
+	public float v1;
+}
+[StructLayout(LayoutKind.Sequential)] public struct HmdQuaternion_t
+{
+	public double w;
+	public double x;
+	public double y;
+	public double z;
+}
+[StructLayout(LayoutKind.Sequential)] public struct HmdColor_t
+{
+	public float r;
+	public float g;
+	public float b;
+	public float a;
+}
+[StructLayout(LayoutKind.Sequential)] public struct HmdQuad_t
+{
+	public HmdVector3_t vCorners0; //HmdVector3_t[4]
+	public HmdVector3_t vCorners1;
+	public HmdVector3_t vCorners2;
+	public HmdVector3_t vCorners3;
+}
+[StructLayout(LayoutKind.Sequential)] public struct HmdRect2_t
+{
+	public HmdVector2_t vTopLeft;
+	public HmdVector2_t vBottomRight;
+}
+[StructLayout(LayoutKind.Sequential)] public struct DistortionCoordinates_t
+{
+	public float rfRed0; //float[2]
+	public float rfRed1;
+	public float rfGreen0; //float[2]
+	public float rfGreen1;
+	public float rfBlue0; //float[2]
+	public float rfBlue1;
+}
+[StructLayout(LayoutKind.Sequential)] public struct Texture_t
+{
+	public IntPtr handle; // void *
+	public ETextureType eType;
+	public EColorSpace eColorSpace;
+}
+[StructLayout(LayoutKind.Sequential)] public struct TrackedDevicePose_t
+{
+	public HmdMatrix34_t mDeviceToAbsoluteTracking;
+	public HmdVector3_t vVelocity;
+	public HmdVector3_t vAngularVelocity;
+	public ETrackingResult eTrackingResult;
+	[MarshalAs(UnmanagedType.I1)]
+	public bool bPoseIsValid;
+	[MarshalAs(UnmanagedType.I1)]
+	public bool bDeviceIsConnected;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VRTextureBounds_t
+{
+	public float uMin;
+	public float vMin;
+	public float uMax;
+	public float vMax;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VRTextureWithPose_t
+{
+	public HmdMatrix34_t mDeviceToAbsoluteTracking;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VRTextureDepthInfo_t
+{
+	public IntPtr handle; // void *
+	public HmdMatrix44_t mProjection;
+	public HmdVector2_t vRange;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VRTextureWithDepth_t
+{
+	public VRTextureDepthInfo_t depth;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VRTextureWithPoseAndDepth_t
+{
+	public VRTextureDepthInfo_t depth;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VRVulkanTextureData_t
+{
+	public ulong m_nImage;
+	public IntPtr m_pDevice; // struct VkDevice_T *
+	public IntPtr m_pPhysicalDevice; // struct VkPhysicalDevice_T *
+	public IntPtr m_pInstance; // struct VkInstance_T *
+	public IntPtr m_pQueue; // struct VkQueue_T *
+	public uint m_nQueueFamilyIndex;
+	public uint m_nWidth;
+	public uint m_nHeight;
+	public uint m_nFormat;
+	public uint m_nSampleCount;
+}
+[StructLayout(LayoutKind.Sequential)] public struct D3D12TextureData_t
+{
+	public IntPtr m_pResource; // struct ID3D12Resource *
+	public IntPtr m_pCommandQueue; // struct ID3D12CommandQueue *
+	public uint m_nNodeMask;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Controller_t
+{
+	public uint button;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Mouse_t
+{
+	public float x;
+	public float y;
+	public uint button;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Scroll_t
+{
+	public float xdelta;
+	public float ydelta;
+	public uint repeatCount;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_TouchPadMove_t
+{
+	[MarshalAs(UnmanagedType.I1)]
+	public bool bFingerDown;
+	public float flSecondsFingerDown;
+	public float fValueXFirst;
+	public float fValueYFirst;
+	public float fValueXRaw;
+	public float fValueYRaw;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Notification_t
+{
+	public ulong ulUserValue;
+	public uint notificationId;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Process_t
+{
+	public uint pid;
+	public uint oldPid;
+	[MarshalAs(UnmanagedType.I1)]
+	public bool bForced;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Overlay_t
+{
+	public ulong overlayHandle;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Status_t
+{
+	public uint statusState;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Keyboard_t
+{
+	public byte cNewInput0,cNewInput1,cNewInput2,cNewInput3,cNewInput4,cNewInput5,cNewInput6,cNewInput7;
+	public ulong uUserValue;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Ipd_t
+{
+	public float ipdMeters;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Chaperone_t
+{
+	public ulong m_nPreviousUniverse;
+	public ulong m_nCurrentUniverse;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Reserved_t
+{
+	public ulong reserved0;
+	public ulong reserved1;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_PerformanceTest_t
+{
+	public uint m_nFidelityLevel;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_SeatedZeroPoseReset_t
+{
+	[MarshalAs(UnmanagedType.I1)]
+	public bool bResetBySystemMenu;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Screenshot_t
+{
+	public uint handle;
+	public uint type;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_ScreenshotProgress_t
+{
+	public float progress;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_ApplicationLaunch_t
+{
+	public uint pid;
+	public uint unArgsHandle;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_EditingCameraSurface_t
+{
+	public ulong overlayHandle;
+	public uint nVisualMode;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_MessageOverlay_t
+{
+	public uint unVRMessageOverlayResponse;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_Property_t
+{
+	public ulong container;
+	public ETrackedDeviceProperty prop;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_DualAnalog_t
+{
+	public float x;
+	public float y;
+	public float transformedX;
+	public float transformedY;
+	public EDualAnalogWhich which;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_HapticVibration_t
+{
+	public ulong containerHandle;
+	public ulong componentHandle;
+	public float fDurationSeconds;
+	public float fFrequency;
+	public float fAmplitude;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VREvent_t
+{
+	public uint eventType;
+	public uint trackedDeviceIndex;
+	public float eventAgeSeconds;
+	public VREvent_Data_t data;
+}
+// This structure is for backwards binary compatibility on Linux and OSX only
+[StructLayout(LayoutKind.Sequential, Pack = 4)] public struct VREvent_t_Packed
+{
+	public uint eventType;
+	public uint trackedDeviceIndex;
+	public float eventAgeSeconds;
+	public VREvent_Data_t data;
+	public VREvent_t_Packed(VREvent_t unpacked)
+	{
+		this.eventType = unpacked.eventType;
+		this.trackedDeviceIndex = unpacked.trackedDeviceIndex;
+		this.eventAgeSeconds = unpacked.eventAgeSeconds;
+		this.data = unpacked.data;
+	}
+	public void Unpack(ref VREvent_t unpacked)
+	{
+		unpacked.eventType = this.eventType;
+		unpacked.trackedDeviceIndex = this.trackedDeviceIndex;
+		unpacked.eventAgeSeconds = this.eventAgeSeconds;
+		unpacked.data = this.data;
+	}
+}
+[StructLayout(LayoutKind.Sequential)] public struct HiddenAreaMesh_t
+{
+	public IntPtr pVertexData; // const struct vr::HmdVector2_t *
+	public uint unTriangleCount;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VRControllerAxis_t
+{
+	public float x;
+	public float y;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VRControllerState_t
+{
+	public uint unPacketNum;
+	public ulong ulButtonPressed;
+	public ulong ulButtonTouched;
+	public VRControllerAxis_t rAxis0; //VRControllerAxis_t[5]
+	public VRControllerAxis_t rAxis1;
+	public VRControllerAxis_t rAxis2;
+	public VRControllerAxis_t rAxis3;
+	public VRControllerAxis_t rAxis4;
+}
+// This structure is for backwards binary compatibility on Linux and OSX only
+[StructLayout(LayoutKind.Sequential, Pack = 4)] public struct VRControllerState_t_Packed
+{
+	public uint unPacketNum;
+	public ulong ulButtonPressed;
+	public ulong ulButtonTouched;
+	public VRControllerAxis_t rAxis0; //VRControllerAxis_t[5]
+	public VRControllerAxis_t rAxis1;
+	public VRControllerAxis_t rAxis2;
+	public VRControllerAxis_t rAxis3;
+	public VRControllerAxis_t rAxis4;
+	public VRControllerState_t_Packed(VRControllerState_t unpacked)
+	{
+		this.unPacketNum = unpacked.unPacketNum;
+		this.ulButtonPressed = unpacked.ulButtonPressed;
+		this.ulButtonTouched = unpacked.ulButtonTouched;
+		this.rAxis0 = unpacked.rAxis0;
+		this.rAxis1 = unpacked.rAxis1;
+		this.rAxis2 = unpacked.rAxis2;
+		this.rAxis3 = unpacked.rAxis3;
+		this.rAxis4 = unpacked.rAxis4;
+	}
+	public void Unpack(ref VRControllerState_t unpacked)
+	{
+		unpacked.unPacketNum = this.unPacketNum;
+		unpacked.ulButtonPressed = this.ulButtonPressed;
+		unpacked.ulButtonTouched = this.ulButtonTouched;
+		unpacked.rAxis0 = this.rAxis0;
+		unpacked.rAxis1 = this.rAxis1;
+		unpacked.rAxis2 = this.rAxis2;
+		unpacked.rAxis3 = this.rAxis3;
+		unpacked.rAxis4 = this.rAxis4;
+	}
+}
+[StructLayout(LayoutKind.Sequential)] public struct Compositor_OverlaySettings
+{
+	public uint size;
+	[MarshalAs(UnmanagedType.I1)]
+	public bool curved;
+	[MarshalAs(UnmanagedType.I1)]
+	public bool antialias;
+	public float scale;
+	public float distance;
+	public float alpha;
+	public float uOffset;
+	public float vOffset;
+	public float uScale;
+	public float vScale;
+	public float gridDivs;
+	public float gridWidth;
+	public float gridScale;
+	public HmdMatrix44_t transform;
+}
+[StructLayout(LayoutKind.Sequential)] public struct CameraVideoStreamFrameHeader_t
+{
+	public EVRTrackedCameraFrameType eFrameType;
+	public uint nWidth;
+	public uint nHeight;
+	public uint nBytesPerPixel;
+	public uint nFrameSequence;
+	public TrackedDevicePose_t standingTrackedDevicePose;
+}
+[StructLayout(LayoutKind.Sequential)] public struct DriverDirectMode_FrameTiming
+{
+	public uint m_nSize;
+	public uint m_nNumFramePresents;
+	public uint m_nNumMisPresented;
+	public uint m_nNumDroppedFrames;
+	public uint m_nReprojectionFlags;
+}
+[StructLayout(LayoutKind.Sequential)] public struct AppOverrideKeys_t
+{
+	public IntPtr pchKey; // const char *
+	public IntPtr pchValue; // const char *
+}
+[StructLayout(LayoutKind.Sequential)] public struct Compositor_FrameTiming
+{
+	public uint m_nSize;
+	public uint m_nFrameIndex;
+	public uint m_nNumFramePresents;
+	public uint m_nNumMisPresented;
+	public uint m_nNumDroppedFrames;
+	public uint m_nReprojectionFlags;
+	public double m_flSystemTimeInSeconds;
+	public float m_flPreSubmitGpuMs;
+	public float m_flPostSubmitGpuMs;
+	public float m_flTotalRenderGpuMs;
+	public float m_flCompositorRenderGpuMs;
+	public float m_flCompositorRenderCpuMs;
+	public float m_flCompositorIdleCpuMs;
+	public float m_flClientFrameIntervalMs;
+	public float m_flPresentCallCpuMs;
+	public float m_flWaitForPresentCpuMs;
+	public float m_flSubmitFrameMs;
+	public float m_flWaitGetPosesCalledMs;
+	public float m_flNewPosesReadyMs;
+	public float m_flNewFrameReadyMs;
+	public float m_flCompositorUpdateStartMs;
+	public float m_flCompositorUpdateEndMs;
+	public float m_flCompositorRenderStartMs;
+	public TrackedDevicePose_t m_HmdPose;
+}
+[StructLayout(LayoutKind.Sequential)] public struct Compositor_CumulativeStats
+{
+	public uint m_nPid;
+	public uint m_nNumFramePresents;
+	public uint m_nNumDroppedFrames;
+	public uint m_nNumReprojectedFrames;
+	public uint m_nNumFramePresentsOnStartup;
+	public uint m_nNumDroppedFramesOnStartup;
+	public uint m_nNumReprojectedFramesOnStartup;
+	public uint m_nNumLoading;
+	public uint m_nNumFramePresentsLoading;
+	public uint m_nNumDroppedFramesLoading;
+	public uint m_nNumReprojectedFramesLoading;
+	public uint m_nNumTimedOut;
+	public uint m_nNumFramePresentsTimedOut;
+	public uint m_nNumDroppedFramesTimedOut;
+	public uint m_nNumReprojectedFramesTimedOut;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VROverlayIntersectionParams_t
+{
+	public HmdVector3_t vSource;
+	public HmdVector3_t vDirection;
+	public ETrackingUniverseOrigin eOrigin;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VROverlayIntersectionResults_t
+{
+	public HmdVector3_t vPoint;
+	public HmdVector3_t vNormal;
+	public HmdVector2_t vUVs;
+	public float fDistance;
+}
+[StructLayout(LayoutKind.Sequential)] public struct IntersectionMaskRectangle_t
+{
+	public float m_flTopLeftX;
+	public float m_flTopLeftY;
+	public float m_flWidth;
+	public float m_flHeight;
+}
+[StructLayout(LayoutKind.Sequential)] public struct IntersectionMaskCircle_t
+{
+	public float m_flCenterX;
+	public float m_flCenterY;
+	public float m_flRadius;
+}
+[StructLayout(LayoutKind.Sequential)] public struct VROverlayIntersectionMaskPrimitive_t
+{
+	public EVROverlayIntersectionMaskPrimitiveType m_nPrimitiveType;
+	public VROverlayIntersectionMaskPrimitive_Data_t m_Primitive;
+}
+[StructLayout(LayoutKind.Sequential)] public struct RenderModel_ComponentState_t
+{
+	public HmdMatrix34_t mTrackingToComponentRenderModel;
+	public HmdMatrix34_t mTrackingToComponentLocal;
+	public uint uProperties;
+}
+[StructLayout(LayoutKind.Sequential)] public struct RenderModel_Vertex_t
+{
+	public HmdVector3_t vPosition;
+	public HmdVector3_t vNormal;
+	public float rfTextureCoord0; //float[2]
+	public float rfTextureCoord1;
+}
+[StructLayout(LayoutKind.Sequential)] public struct RenderModel_TextureMap_t
+{
+	public char unWidth;
+	public char unHeight;
+	public IntPtr rubTextureMapData; // const uint8_t *
+}
+// This structure is for backwards binary compatibility on Linux and OSX only
+[StructLayout(LayoutKind.Sequential, Pack = 4)] public struct RenderModel_TextureMap_t_Packed
+{
+	public char unWidth;
+	public char unHeight;
+	public IntPtr rubTextureMapData; // const uint8_t *
+	public RenderModel_TextureMap_t_Packed(RenderModel_TextureMap_t unpacked)
+	{
+		this.unWidth = unpacked.unWidth;
+		this.unHeight = unpacked.unHeight;
+		this.rubTextureMapData = unpacked.rubTextureMapData;
+	}
+	public void Unpack(ref RenderModel_TextureMap_t unpacked)
+	{
+		unpacked.unWidth = this.unWidth;
+		unpacked.unHeight = this.unHeight;
+		unpacked.rubTextureMapData = this.rubTextureMapData;
+	}
+}
+[StructLayout(LayoutKind.Sequential)] public struct RenderModel_t
+{
+	public IntPtr rVertexData; // const struct vr::RenderModel_Vertex_t *
+	public uint unVertexCount;
+	public IntPtr rIndexData; // const uint16_t *
+	public uint unTriangleCount;
+	public int diffuseTextureId;
+}
+// This structure is for backwards binary compatibility on Linux and OSX only
+[StructLayout(LayoutKind.Sequential, Pack = 4)] public struct RenderModel_t_Packed
+{
+	public IntPtr rVertexData; // const struct vr::RenderModel_Vertex_t *
+	public uint unVertexCount;
+	public IntPtr rIndexData; // const uint16_t *
+	public uint unTriangleCount;
+	public int diffuseTextureId;
+	public RenderModel_t_Packed(RenderModel_t unpacked)
+	{
+		this.rVertexData = unpacked.rVertexData;
+		this.unVertexCount = unpacked.unVertexCount;
+		this.rIndexData = unpacked.rIndexData;
+		this.unTriangleCount = unpacked.unTriangleCount;
+		this.diffuseTextureId = unpacked.diffuseTextureId;
+	}
+	public void Unpack(ref RenderModel_t unpacked)
+	{
+		unpacked.rVertexData = this.rVertexData;
+		unpacked.unVertexCount = this.unVertexCount;
+		unpacked.rIndexData = this.rIndexData;
+		unpacked.unTriangleCount = this.unTriangleCount;
+		unpacked.diffuseTextureId = this.diffuseTextureId;
+	}
+}
+[StructLayout(LayoutKind.Sequential)] public struct RenderModel_ControllerMode_State_t
+{
+	[MarshalAs(UnmanagedType.I1)]
+	public bool bScrollWheelVisible;
+}
+[StructLayout(LayoutKind.Sequential)] public struct NotificationBitmap_t
+{
+	public IntPtr m_pImageData; // void *
+	public int m_nWidth;
+	public int m_nHeight;
+	public int m_nBytesPerPixel;
+}
+[StructLayout(LayoutKind.Sequential)] public struct COpenVRContext
+{
+	public IntPtr m_pVRSystem; // class vr::IVRSystem *
+	public IntPtr m_pVRChaperone; // class vr::IVRChaperone *
+	public IntPtr m_pVRChaperoneSetup; // class vr::IVRChaperoneSetup *
+	public IntPtr m_pVRCompositor; // class vr::IVRCompositor *
+	public IntPtr m_pVROverlay; // class vr::IVROverlay *
+	public IntPtr m_pVRResources; // class vr::IVRResources *
+	public IntPtr m_pVRRenderModels; // class vr::IVRRenderModels *
+	public IntPtr m_pVRExtendedDisplay; // class vr::IVRExtendedDisplay *
+	public IntPtr m_pVRSettings; // class vr::IVRSettings *
+	public IntPtr m_pVRApplications; // class vr::IVRApplications *
+	public IntPtr m_pVRTrackedCamera; // class vr::IVRTrackedCamera *
+	public IntPtr m_pVRScreenshots; // class vr::IVRScreenshots *
+	public IntPtr m_pVRDriverManager; // class vr::IVRDriverManager *
+}
+
+public class OpenVR
+{
+
+	public static uint InitInternal(ref EVRInitError peError, EVRApplicationType eApplicationType)
+	{
+		return OpenVRInterop.InitInternal(ref peError, eApplicationType);
+	}
+
+	public static void ShutdownInternal()
+	{
+		OpenVRInterop.ShutdownInternal();
+	}
+
+	public static bool IsHmdPresent()
+	{
+		return OpenVRInterop.IsHmdPresent();
+	}
+
+	public static bool IsRuntimeInstalled()
+	{
+		return OpenVRInterop.IsRuntimeInstalled();
+	}
+
+	public static string GetStringForHmdError(EVRInitError error)
+	{
+		return Marshal.PtrToStringAnsi(OpenVRInterop.GetStringForHmdError(error));
+	}
+
+	public static IntPtr GetGenericInterface(string pchInterfaceVersion, ref EVRInitError peError)
+	{
+		return OpenVRInterop.GetGenericInterface(pchInterfaceVersion, ref peError);
+	}
+
+	public static bool IsInterfaceVersionValid(string pchInterfaceVersion)
+	{
+		return OpenVRInterop.IsInterfaceVersionValid(pchInterfaceVersion);
+	}
+
+	public static uint GetInitToken()
+	{
+		return OpenVRInterop.GetInitToken();
+	}
+
+	public const uint k_nDriverNone = 4294967295;
+	public const uint k_unMaxDriverDebugResponseSize = 32768;
+	public const uint k_unTrackedDeviceIndex_Hmd = 0;
+	public const uint k_unMaxTrackedDeviceCount = 64;
+	public const uint k_unTrackedDeviceIndexOther = 4294967294;
+	public const uint k_unTrackedDeviceIndexInvalid = 4294967295;
+	public const ulong k_ulInvalidPropertyContainer = 0;
+	public const uint k_unInvalidPropertyTag = 0;
+	public const uint k_unFloatPropertyTag = 1;
+	public const uint k_unInt32PropertyTag = 2;
+	public const uint k_unUint64PropertyTag = 3;
+	public const uint k_unBoolPropertyTag = 4;
+	public const uint k_unStringPropertyTag = 5;
+	public const uint k_unHmdMatrix34PropertyTag = 20;
+	public const uint k_unHmdMatrix44PropertyTag = 21;
+	public const uint k_unHmdVector3PropertyTag = 22;
+	public const uint k_unHmdVector4PropertyTag = 23;
+	public const uint k_unHiddenAreaPropertyTag = 30;
+	public const uint k_unPathHandleInfoTag = 31;
+	public const uint k_unActionPropertyTag = 32;
+	public const uint k_unInputValuePropertyTag = 33;
+	public const uint k_unWildcardPropertyTag = 34;
+	public const uint k_unHapticVibrationPropertyTag = 35;
+	public const uint k_unOpenVRInternalReserved_Start = 1000;
+	public const uint k_unOpenVRInternalReserved_End = 10000;
+	public const uint k_unMaxPropertyStringSize = 32768;
+	public const uint k_unControllerStateAxisCount = 5;
+	public const ulong k_ulOverlayHandleInvalid = 0;
+	public const uint k_unScreenshotHandleInvalid = 0;
+	public const string IVRSystem_Version = "IVRSystem_019";
+	public const string IVRExtendedDisplay_Version = "IVRExtendedDisplay_001";
+	public const string IVRTrackedCamera_Version = "IVRTrackedCamera_003";
+	public const uint k_unMaxApplicationKeyLength = 128;
+	public const string k_pch_MimeType_HomeApp = "vr/home";
+	public const string k_pch_MimeType_GameTheater = "vr/game_theater";
+	public const string IVRApplications_Version = "IVRApplications_006";
+	public const string IVRChaperone_Version = "IVRChaperone_003";
+	public const string IVRChaperoneSetup_Version = "IVRChaperoneSetup_005";
+	public const string IVRCompositor_Version = "IVRCompositor_022";
+	public const uint k_unVROverlayMaxKeyLength = 128;
+	public const uint k_unVROverlayMaxNameLength = 128;
+	public const uint k_unMaxOverlayCount = 64;
+	public const uint k_unMaxOverlayIntersectionMaskPrimitivesCount = 32;
+	public const string IVROverlay_Version = "IVROverlay_018";
+	public const string k_pch_Controller_Component_GDC2015 = "gdc2015";
+	public const string k_pch_Controller_Component_Base = "base";
+	public const string k_pch_Controller_Component_Tip = "tip";
+	public const string k_pch_Controller_Component_HandGrip = "handgrip";
+	public const string k_pch_Controller_Component_Status = "status";
+	public const string IVRRenderModels_Version = "IVRRenderModels_005";
+	public const uint k_unNotificationTextMaxSize = 256;
+	public const string IVRNotifications_Version = "IVRNotifications_002";
+	public const uint k_unMaxSettingsKeyLength = 128;
+	public const string IVRSettings_Version = "IVRSettings_002";
+	public const string k_pch_SteamVR_Section = "steamvr";
+	public const string k_pch_SteamVR_RequireHmd_String = "requireHmd";
+	public const string k_pch_SteamVR_ForcedDriverKey_String = "forcedDriver";
+	public const string k_pch_SteamVR_ForcedHmdKey_String = "forcedHmd";
+	public const string k_pch_SteamVR_DisplayDebug_Bool = "displayDebug";
+	public const string k_pch_SteamVR_DebugProcessPipe_String = "debugProcessPipe";
+	public const string k_pch_SteamVR_DisplayDebugX_Int32 = "displayDebugX";
+	public const string k_pch_SteamVR_DisplayDebugY_Int32 = "displayDebugY";
+	public const string k_pch_SteamVR_SendSystemButtonToAllApps_Bool = "sendSystemButtonToAllApps";
+	public const string k_pch_SteamVR_LogLevel_Int32 = "loglevel";
+	public const string k_pch_SteamVR_IPD_Float = "ipd";
+	public const string k_pch_SteamVR_Background_String = "background";
+	public const string k_pch_SteamVR_BackgroundUseDomeProjection_Bool = "backgroundUseDomeProjection";
+	public const string k_pch_SteamVR_BackgroundCameraHeight_Float = "backgroundCameraHeight";
+	public const string k_pch_SteamVR_BackgroundDomeRadius_Float = "backgroundDomeRadius";
+	public const string k_pch_SteamVR_GridColor_String = "gridColor";
+	public const string k_pch_SteamVR_PlayAreaColor_String = "playAreaColor";
+	public const string k_pch_SteamVR_ShowStage_Bool = "showStage";
+	public const string k_pch_SteamVR_ActivateMultipleDrivers_Bool = "activateMultipleDrivers";
+	public const string k_pch_SteamVR_DirectMode_Bool = "directMode";
+	public const string k_pch_SteamVR_DirectModeEdidVid_Int32 = "directModeEdidVid";
+	public const string k_pch_SteamVR_DirectModeEdidPid_Int32 = "directModeEdidPid";
+	public const string k_pch_SteamVR_UsingSpeakers_Bool = "usingSpeakers";
+	public const string k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float = "speakersForwardYawOffsetDegrees";
+	public const string k_pch_SteamVR_BaseStationPowerManagement_Bool = "basestationPowerManagement";
+	public const string k_pch_SteamVR_NeverKillProcesses_Bool = "neverKillProcesses";
+	public const string k_pch_SteamVR_SupersampleScale_Float = "supersampleScale";
+	public const string k_pch_SteamVR_AllowAsyncReprojection_Bool = "allowAsyncReprojection";
+	public const string k_pch_SteamVR_AllowReprojection_Bool = "allowInterleavedReprojection";
+	public const string k_pch_SteamVR_ForceReprojection_Bool = "forceReprojection";
+	public const string k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
+	public const string k_pch_SteamVR_DefaultMirrorView_Int32 = "defaultMirrorView";
+	public const string k_pch_SteamVR_ShowMirrorView_Bool = "showMirrorView";
+	public const string k_pch_SteamVR_MirrorViewGeometry_String = "mirrorViewGeometry";
+	public const string k_pch_SteamVR_StartMonitorFromAppLaunch = "startMonitorFromAppLaunch";
+	public const string k_pch_SteamVR_StartCompositorFromAppLaunch_Bool = "startCompositorFromAppLaunch";
+	public const string k_pch_SteamVR_StartDashboardFromAppLaunch_Bool = "startDashboardFromAppLaunch";
+	public const string k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool = "startOverlayAppsFromDashboard";
+	public const string k_pch_SteamVR_EnableHomeApp = "enableHomeApp";
+	public const string k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32 = "CycleBackgroundImageTimeSec";
+	public const string k_pch_SteamVR_RetailDemo_Bool = "retailDemo";
+	public const string k_pch_SteamVR_IpdOffset_Float = "ipdOffset";
+	public const string k_pch_SteamVR_AllowSupersampleFiltering_Bool = "allowSupersampleFiltering";
+	public const string k_pch_SteamVR_EnableLinuxVulkanAsync_Bool = "enableLinuxVulkanAsync";
+	public const string k_pch_SteamVR_AllowDisplayLockedMode_Bool = "allowDisplayLockedMode";
+	public const string k_pch_SteamVR_HaveStartedTutorialForNativeChaperoneDriver_Bool = "haveStartedTutorialForNativeChaperoneDriver";
+	public const string k_pch_SteamVR_ForceWindows32bitVRMonitor = "forceWindows32BitVRMonitor";
+	public const string k_pch_Lighthouse_Section = "driver_lighthouse";
+	public const string k_pch_Lighthouse_DisableIMU_Bool = "disableimu";
+	public const string k_pch_Lighthouse_DisableIMUExceptHMD_Bool = "disableimuexcepthmd";
+	public const string k_pch_Lighthouse_UseDisambiguation_String = "usedisambiguation";
+	public const string k_pch_Lighthouse_DisambiguationDebug_Int32 = "disambiguationdebug";
+	public const string k_pch_Lighthouse_PrimaryBasestation_Int32 = "primarybasestation";
+	public const string k_pch_Lighthouse_DBHistory_Bool = "dbhistory";
+	public const string k_pch_Lighthouse_EnableBluetooth_Bool = "enableBluetooth";
+	public const string k_pch_Null_Section = "driver_null";
+	public const string k_pch_Null_SerialNumber_String = "serialNumber";
+	public const string k_pch_Null_ModelNumber_String = "modelNumber";
+	public const string k_pch_Null_WindowX_Int32 = "windowX";
+	public const string k_pch_Null_WindowY_Int32 = "windowY";
+	public const string k_pch_Null_WindowWidth_Int32 = "windowWidth";
+	public const string k_pch_Null_WindowHeight_Int32 = "windowHeight";
+	public const string k_pch_Null_RenderWidth_Int32 = "renderWidth";
+	public const string k_pch_Null_RenderHeight_Int32 = "renderHeight";
+	public const string k_pch_Null_SecondsFromVsyncToPhotons_Float = "secondsFromVsyncToPhotons";
+	public const string k_pch_Null_DisplayFrequency_Float = "displayFrequency";
+	public const string k_pch_UserInterface_Section = "userinterface";
+	public const string k_pch_UserInterface_StatusAlwaysOnTop_Bool = "StatusAlwaysOnTop";
+	public const string k_pch_UserInterface_MinimizeToTray_Bool = "MinimizeToTray";
+	public const string k_pch_UserInterface_Screenshots_Bool = "screenshots";
+	public const string k_pch_UserInterface_ScreenshotType_Int = "screenshotType";
+	public const string k_pch_Notifications_Section = "notifications";
+	public const string k_pch_Notifications_DoNotDisturb_Bool = "DoNotDisturb";
+	public const string k_pch_Keyboard_Section = "keyboard";
+	public const string k_pch_Keyboard_TutorialCompletions = "TutorialCompletions";
+	public const string k_pch_Keyboard_ScaleX = "ScaleX";
+	public const string k_pch_Keyboard_ScaleY = "ScaleY";
+	public const string k_pch_Keyboard_OffsetLeftX = "OffsetLeftX";
+	public const string k_pch_Keyboard_OffsetRightX = "OffsetRightX";
+	public const string k_pch_Keyboard_OffsetY = "OffsetY";
+	public const string k_pch_Keyboard_Smoothing = "Smoothing";
+	public const string k_pch_Perf_Section = "perfcheck";
+	public const string k_pch_Perf_HeuristicActive_Bool = "heuristicActive";
+	public const string k_pch_Perf_NotifyInHMD_Bool = "warnInHMD";
+	public const string k_pch_Perf_NotifyOnlyOnce_Bool = "warnOnlyOnce";
+	public const string k_pch_Perf_AllowTimingStore_Bool = "allowTimingStore";
+	public const string k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit";
+	public const string k_pch_Perf_TestData_Float = "perfTestData";
+	public const string k_pch_Perf_LinuxGPUProfiling_Bool = "linuxGPUProfiling";
+	public const string k_pch_CollisionBounds_Section = "collisionBounds";
+	public const string k_pch_CollisionBounds_Style_Int32 = "CollisionBoundsStyle";
+	public const string k_pch_CollisionBounds_GroundPerimeterOn_Bool = "CollisionBoundsGroundPerimeterOn";
+	public const string k_pch_CollisionBounds_CenterMarkerOn_Bool = "CollisionBoundsCenterMarkerOn";
+	public const string k_pch_CollisionBounds_PlaySpaceOn_Bool = "CollisionBoundsPlaySpaceOn";
+	public const string k_pch_CollisionBounds_FadeDistance_Float = "CollisionBoundsFadeDistance";
+	public const string k_pch_CollisionBounds_ColorGammaR_Int32 = "CollisionBoundsColorGammaR";
+	public const string k_pch_CollisionBounds_ColorGammaG_Int32 = "CollisionBoundsColorGammaG";
+	public const string k_pch_CollisionBounds_ColorGammaB_Int32 = "CollisionBoundsColorGammaB";
+	public const string k_pch_CollisionBounds_ColorGammaA_Int32 = "CollisionBoundsColorGammaA";
+	public const string k_pch_Camera_Section = "camera";
+	public const string k_pch_Camera_EnableCamera_Bool = "enableCamera";
+	public const string k_pch_Camera_EnableCameraInDashboard_Bool = "enableCameraInDashboard";
+	public const string k_pch_Camera_EnableCameraForCollisionBounds_Bool = "enableCameraForCollisionBounds";
+	public const string k_pch_Camera_EnableCameraForRoomView_Bool = "enableCameraForRoomView";
+	public const string k_pch_Camera_BoundsColorGammaR_Int32 = "cameraBoundsColorGammaR";
+	public const string k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGammaG";
+	public const string k_pch_Camera_BoundsColorGammaB_Int32 = "cameraBoundsColorGammaB";
+	public const string k_pch_Camera_BoundsColorGammaA_Int32 = "cameraBoundsColorGammaA";
+	public const string k_pch_Camera_BoundsStrength_Int32 = "cameraBoundsStrength";
+	public const string k_pch_audio_Section = "audio";
+	public const string k_pch_audio_OnPlaybackDevice_String = "onPlaybackDevice";
+	public const string k_pch_audio_OnRecordDevice_String = "onRecordDevice";
+	public const string k_pch_audio_OnPlaybackMirrorDevice_String = "onPlaybackMirrorDevice";
+	public const string k_pch_audio_OffPlaybackDevice_String = "offPlaybackDevice";
+	public const string k_pch_audio_OffRecordDevice_String = "offRecordDevice";
+	public const string k_pch_audio_VIVEHDMIGain = "viveHDMIGain";
+	public const string k_pch_Power_Section = "power";
+	public const string k_pch_Power_PowerOffOnExit_Bool = "powerOffOnExit";
+	public const string k_pch_Power_TurnOffScreensTimeout_Float = "turnOffScreensTimeout";
+	public const string k_pch_Power_TurnOffControllersTimeout_Float = "turnOffControllersTimeout";
+	public const string k_pch_Power_ReturnToWatchdogTimeout_Float = "returnToWatchdogTimeout";
+	public const string k_pch_Power_AutoLaunchSteamVROnButtonPress = "autoLaunchSteamVROnButtonPress";
+	public const string k_pch_Power_PauseCompositorOnStandby_Bool = "pauseCompositorOnStandby";
+	public const string k_pch_Dashboard_Section = "dashboard";
+	public const string k_pch_Dashboard_EnableDashboard_Bool = "enableDashboard";
+	public const string k_pch_Dashboard_ArcadeMode_Bool = "arcadeMode";
+	public const string k_pch_modelskin_Section = "modelskins";
+	public const string k_pch_Driver_Enable_Bool = "enable";
+	public const string IVRScreenshots_Version = "IVRScreenshots_001";
+	public const string IVRResources_Version = "IVRResources_001";
+	public const string IVRDriverManager_Version = "IVRDriverManager_001";
+
+	static uint VRToken { get; set; }
+
+	const string FnTable_Prefix = "FnTable:";
+
+	class COpenVRContext
+	{
+		public COpenVRContext() { Clear(); }
+
+		public void Clear()
+		{
+			m_pVRSystem = null;
+			m_pVRChaperone = null;
+			m_pVRChaperoneSetup = null;
+			m_pVRCompositor = null;
+			m_pVROverlay = null;
+			m_pVRRenderModels = null;
+			m_pVRExtendedDisplay = null;
+			m_pVRSettings = null;
+			m_pVRApplications = null;
+			m_pVRScreenshots = null;
+			m_pVRTrackedCamera = null;
+		}
+
+		void CheckClear()
+		{
+			if (VRToken != GetInitToken())
+			{
+				Clear();
+				VRToken = GetInitToken();
+			}
+		}
+
+		public CVRSystem VRSystem()
+		{
+			CheckClear();
+			if (m_pVRSystem == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVRSystem_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVRSystem = new CVRSystem(pInterface);
+			}
+			return m_pVRSystem;
+		}
+
+		public CVRChaperone VRChaperone()
+		{
+			CheckClear();
+			if (m_pVRChaperone == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVRChaperone_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVRChaperone = new CVRChaperone(pInterface);
+			}
+			return m_pVRChaperone;
+		}
+
+		public CVRChaperoneSetup VRChaperoneSetup()
+		{
+			CheckClear();
+			if (m_pVRChaperoneSetup == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVRChaperoneSetup_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVRChaperoneSetup = new CVRChaperoneSetup(pInterface);
+			}
+			return m_pVRChaperoneSetup;
+		}
+
+		public CVRCompositor VRCompositor()
+		{
+			CheckClear();
+			if (m_pVRCompositor == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVRCompositor_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVRCompositor = new CVRCompositor(pInterface);
+			}
+			return m_pVRCompositor;
+		}
+
+		public CVROverlay VROverlay()
+		{
+			CheckClear();
+			if (m_pVROverlay == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVROverlay_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVROverlay = new CVROverlay(pInterface);
+			}
+			return m_pVROverlay;
+		}
+
+		public CVRRenderModels VRRenderModels()
+		{
+			CheckClear();
+			if (m_pVRRenderModels == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVRRenderModels_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVRRenderModels = new CVRRenderModels(pInterface);
+			}
+			return m_pVRRenderModels;
+		}
+
+		public CVRExtendedDisplay VRExtendedDisplay()
+		{
+			CheckClear();
+			if (m_pVRExtendedDisplay == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVRExtendedDisplay_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVRExtendedDisplay = new CVRExtendedDisplay(pInterface);
+			}
+			return m_pVRExtendedDisplay;
+		}
+
+		public CVRSettings VRSettings()
+		{
+			CheckClear();
+			if (m_pVRSettings == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVRSettings_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVRSettings = new CVRSettings(pInterface);
+			}
+			return m_pVRSettings;
+		}
+
+		public CVRApplications VRApplications()
+		{
+			CheckClear();
+			if (m_pVRApplications == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVRApplications_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVRApplications = new CVRApplications(pInterface);
+			}
+			return m_pVRApplications;
+		}
+
+		public CVRScreenshots VRScreenshots()
+		{
+			CheckClear();
+			if (m_pVRScreenshots == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVRScreenshots_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVRScreenshots = new CVRScreenshots(pInterface);
+			}
+			return m_pVRScreenshots;
+		}
+
+		public CVRTrackedCamera VRTrackedCamera()
+		{
+			CheckClear();
+			if (m_pVRTrackedCamera == null)
+			{
+				var eError = EVRInitError.None;
+				var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix+IVRTrackedCamera_Version, ref eError);
+				if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
+					m_pVRTrackedCamera = new CVRTrackedCamera(pInterface);
+			}
+			return m_pVRTrackedCamera;
+		}
+
+		private CVRSystem m_pVRSystem;
+		private CVRChaperone m_pVRChaperone;
+		private CVRChaperoneSetup m_pVRChaperoneSetup;
+		private CVRCompositor m_pVRCompositor;
+		private CVROverlay m_pVROverlay;
+		private CVRRenderModels m_pVRRenderModels;
+		private CVRExtendedDisplay m_pVRExtendedDisplay;
+		private CVRSettings m_pVRSettings;
+		private CVRApplications m_pVRApplications;
+		private CVRScreenshots m_pVRScreenshots;
+		private CVRTrackedCamera m_pVRTrackedCamera;
+	};
+
+	private static COpenVRContext _OpenVRInternal_ModuleContext = null;
+	static COpenVRContext OpenVRInternal_ModuleContext
+	{
+		get
+		{
+			if (_OpenVRInternal_ModuleContext == null)
+				_OpenVRInternal_ModuleContext = new COpenVRContext();
+			return _OpenVRInternal_ModuleContext;
+		}
+	}
+
+	public static CVRSystem System { get { return OpenVRInternal_ModuleContext.VRSystem(); } }
+	public static CVRChaperone Chaperone { get { return OpenVRInternal_ModuleContext.VRChaperone(); } }
+	public static CVRChaperoneSetup ChaperoneSetup { get { return OpenVRInternal_ModuleContext.VRChaperoneSetup(); } }
+	public static CVRCompositor Compositor { get { return OpenVRInternal_ModuleContext.VRCompositor(); } }
+	public static CVROverlay Overlay { get { return OpenVRInternal_ModuleContext.VROverlay(); } }
+	public static CVRRenderModels RenderModels { get { return OpenVRInternal_ModuleContext.VRRenderModels(); } }
+	public static CVRExtendedDisplay ExtendedDisplay { get { return OpenVRInternal_ModuleContext.VRExtendedDisplay(); } }
+	public static CVRSettings Settings { get { return OpenVRInternal_ModuleContext.VRSettings(); } }
+	public static CVRApplications Applications { get { return OpenVRInternal_ModuleContext.VRApplications(); } }
+	public static CVRScreenshots Screenshots { get { return OpenVRInternal_ModuleContext.VRScreenshots(); } }
+	public static CVRTrackedCamera TrackedCamera { get { return OpenVRInternal_ModuleContext.VRTrackedCamera(); } }
+
+	/** Finds the active installation of vrclient.dll and initializes it */
+	public static CVRSystem Init(ref EVRInitError peError, EVRApplicationType eApplicationType = EVRApplicationType.VRApplication_Scene)
+	{
+		VRToken = InitInternal(ref peError, eApplicationType);
+		OpenVRInternal_ModuleContext.Clear();
+
+		if (peError != EVRInitError.None)
+			return null;
+
+		bool bInterfaceValid = IsInterfaceVersionValid(IVRSystem_Version);
+		if (!bInterfaceValid)
+		{
+			ShutdownInternal();
+			peError = EVRInitError.Init_InterfaceNotFound;
+			return null;
+		}
+
+		return OpenVR.System;
+	}
+
+	/** unloads vrclient.dll. Any interface pointers from the interface are
+	* invalid after this point */
+	public static void Shutdown()
+	{
+		ShutdownInternal();
+	}
+
+}
+
+
+
+}
+

+ 4069 - 0
modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr_api.json

@@ -0,0 +1,4069 @@
+{"typedefs":[{"typedef": "vr::glSharedTextureHandle_t","type": "void *"}
+,{"typedef": "vr::glInt_t","type": "int32_t"}
+,{"typedef": "vr::glUInt_t","type": "uint32_t"}
+,{"typedef": "vr::SharedTextureHandle_t","type": "uint64_t"}
+,{"typedef": "vr::DriverId_t","type": "uint32_t"}
+,{"typedef": "vr::TrackedDeviceIndex_t","type": "uint32_t"}
+,{"typedef": "vr::PropertyContainerHandle_t","type": "uint64_t"}
+,{"typedef": "vr::PropertyTypeTag_t","type": "uint32_t"}
+,{"typedef": "vr::VREvent_Data_t","type": "union VREvent_Data_t"}
+,{"typedef": "vr::VRControllerState_t","type": "struct vr::VRControllerState001_t"}
+,{"typedef": "vr::VROverlayHandle_t","type": "uint64_t"}
+,{"typedef": "vr::TrackedCameraHandle_t","type": "uint64_t"}
+,{"typedef": "vr::ScreenshotHandle_t","type": "uint32_t"}
+,{"typedef": "vr::VROverlayIntersectionMaskPrimitive_Data_t","type": "union VROverlayIntersectionMaskPrimitive_Data_t"}
+,{"typedef": "vr::VRComponentProperties","type": "uint32_t"}
+,{"typedef": "vr::TextureID_t","type": "int32_t"}
+,{"typedef": "vr::VRNotificationId","type": "uint32_t"}
+,{"typedef": "vr::HmdError","type": "enum vr::EVRInitError"}
+,{"typedef": "vr::Hmd_Eye","type": "enum vr::EVREye"}
+,{"typedef": "vr::ColorSpace","type": "enum vr::EColorSpace"}
+,{"typedef": "vr::HmdTrackingResult","type": "enum vr::ETrackingResult"}
+,{"typedef": "vr::TrackedDeviceClass","type": "enum vr::ETrackedDeviceClass"}
+,{"typedef": "vr::TrackingUniverseOrigin","type": "enum vr::ETrackingUniverseOrigin"}
+,{"typedef": "vr::TrackedDeviceProperty","type": "enum vr::ETrackedDeviceProperty"}
+,{"typedef": "vr::TrackedPropertyError","type": "enum vr::ETrackedPropertyError"}
+,{"typedef": "vr::VRSubmitFlags_t","type": "enum vr::EVRSubmitFlags"}
+,{"typedef": "vr::VRState_t","type": "enum vr::EVRState"}
+,{"typedef": "vr::CollisionBoundsStyle_t","type": "enum vr::ECollisionBoundsStyle"}
+,{"typedef": "vr::VROverlayError","type": "enum vr::EVROverlayError"}
+,{"typedef": "vr::VRFirmwareError","type": "enum vr::EVRFirmwareError"}
+,{"typedef": "vr::VRCompositorError","type": "enum vr::EVRCompositorError"}
+,{"typedef": "vr::VRScreenshotsError","type": "enum vr::EVRScreenshotError"}
+],
+"enums":[
+	{"enumname": "vr::EVREye","values": [ 
+	{"name": "Eye_Left","value": "0"}
+	,{"name": "Eye_Right","value": "1"}
+]}
+,	{"enumname": "vr::ETextureType","values": [ 
+	{"name": "TextureType_DirectX","value": "0"}
+	,{"name": "TextureType_OpenGL","value": "1"}
+	,{"name": "TextureType_Vulkan","value": "2"}
+	,{"name": "TextureType_IOSurface","value": "3"}
+	,{"name": "TextureType_DirectX12","value": "4"}
+]}
+,	{"enumname": "vr::EColorSpace","values": [ 
+	{"name": "ColorSpace_Auto","value": "0"}
+	,{"name": "ColorSpace_Gamma","value": "1"}
+	,{"name": "ColorSpace_Linear","value": "2"}
+]}
+,	{"enumname": "vr::ETrackingResult","values": [ 
+	{"name": "TrackingResult_Uninitialized","value": "1"}
+	,{"name": "TrackingResult_Calibrating_InProgress","value": "100"}
+	,{"name": "TrackingResult_Calibrating_OutOfRange","value": "101"}
+	,{"name": "TrackingResult_Running_OK","value": "200"}
+	,{"name": "TrackingResult_Running_OutOfRange","value": "201"}
+]}
+,	{"enumname": "vr::ETrackedDeviceClass","values": [ 
+	{"name": "TrackedDeviceClass_Invalid","value": "0"}
+	,{"name": "TrackedDeviceClass_HMD","value": "1"}
+	,{"name": "TrackedDeviceClass_Controller","value": "2"}
+	,{"name": "TrackedDeviceClass_GenericTracker","value": "3"}
+	,{"name": "TrackedDeviceClass_TrackingReference","value": "4"}
+	,{"name": "TrackedDeviceClass_DisplayRedirect","value": "5"}
+]}
+,	{"enumname": "vr::ETrackedControllerRole","values": [ 
+	{"name": "TrackedControllerRole_Invalid","value": "0"}
+	,{"name": "TrackedControllerRole_LeftHand","value": "1"}
+	,{"name": "TrackedControllerRole_RightHand","value": "2"}
+]}
+,	{"enumname": "vr::ETrackingUniverseOrigin","values": [ 
+	{"name": "TrackingUniverseSeated","value": "0"}
+	,{"name": "TrackingUniverseStanding","value": "1"}
+	,{"name": "TrackingUniverseRawAndUncalibrated","value": "2"}
+]}
+,	{"enumname": "vr::ETrackedDeviceProperty","values": [ 
+	{"name": "Prop_Invalid","value": "0"}
+	,{"name": "Prop_TrackingSystemName_String","value": "1000"}
+	,{"name": "Prop_ModelNumber_String","value": "1001"}
+	,{"name": "Prop_SerialNumber_String","value": "1002"}
+	,{"name": "Prop_RenderModelName_String","value": "1003"}
+	,{"name": "Prop_WillDriftInYaw_Bool","value": "1004"}
+	,{"name": "Prop_ManufacturerName_String","value": "1005"}
+	,{"name": "Prop_TrackingFirmwareVersion_String","value": "1006"}
+	,{"name": "Prop_HardwareRevision_String","value": "1007"}
+	,{"name": "Prop_AllWirelessDongleDescriptions_String","value": "1008"}
+	,{"name": "Prop_ConnectedWirelessDongle_String","value": "1009"}
+	,{"name": "Prop_DeviceIsWireless_Bool","value": "1010"}
+	,{"name": "Prop_DeviceIsCharging_Bool","value": "1011"}
+	,{"name": "Prop_DeviceBatteryPercentage_Float","value": "1012"}
+	,{"name": "Prop_StatusDisplayTransform_Matrix34","value": "1013"}
+	,{"name": "Prop_Firmware_UpdateAvailable_Bool","value": "1014"}
+	,{"name": "Prop_Firmware_ManualUpdate_Bool","value": "1015"}
+	,{"name": "Prop_Firmware_ManualUpdateURL_String","value": "1016"}
+	,{"name": "Prop_HardwareRevision_Uint64","value": "1017"}
+	,{"name": "Prop_FirmwareVersion_Uint64","value": "1018"}
+	,{"name": "Prop_FPGAVersion_Uint64","value": "1019"}
+	,{"name": "Prop_VRCVersion_Uint64","value": "1020"}
+	,{"name": "Prop_RadioVersion_Uint64","value": "1021"}
+	,{"name": "Prop_DongleVersion_Uint64","value": "1022"}
+	,{"name": "Prop_BlockServerShutdown_Bool","value": "1023"}
+	,{"name": "Prop_CanUnifyCoordinateSystemWithHmd_Bool","value": "1024"}
+	,{"name": "Prop_ContainsProximitySensor_Bool","value": "1025"}
+	,{"name": "Prop_DeviceProvidesBatteryStatus_Bool","value": "1026"}
+	,{"name": "Prop_DeviceCanPowerOff_Bool","value": "1027"}
+	,{"name": "Prop_Firmware_ProgrammingTarget_String","value": "1028"}
+	,{"name": "Prop_DeviceClass_Int32","value": "1029"}
+	,{"name": "Prop_HasCamera_Bool","value": "1030"}
+	,{"name": "Prop_DriverVersion_String","value": "1031"}
+	,{"name": "Prop_Firmware_ForceUpdateRequired_Bool","value": "1032"}
+	,{"name": "Prop_ViveSystemButtonFixRequired_Bool","value": "1033"}
+	,{"name": "Prop_ParentDriver_Uint64","value": "1034"}
+	,{"name": "Prop_ResourceRoot_String","value": "1035"}
+	,{"name": "Prop_RegisteredDeviceType_String","value": "1036"}
+	,{"name": "Prop_InputProfilePath_String","value": "1037"}
+	,{"name": "Prop_ReportsTimeSinceVSync_Bool","value": "2000"}
+	,{"name": "Prop_SecondsFromVsyncToPhotons_Float","value": "2001"}
+	,{"name": "Prop_DisplayFrequency_Float","value": "2002"}
+	,{"name": "Prop_UserIpdMeters_Float","value": "2003"}
+	,{"name": "Prop_CurrentUniverseId_Uint64","value": "2004"}
+	,{"name": "Prop_PreviousUniverseId_Uint64","value": "2005"}
+	,{"name": "Prop_DisplayFirmwareVersion_Uint64","value": "2006"}
+	,{"name": "Prop_IsOnDesktop_Bool","value": "2007"}
+	,{"name": "Prop_DisplayMCType_Int32","value": "2008"}
+	,{"name": "Prop_DisplayMCOffset_Float","value": "2009"}
+	,{"name": "Prop_DisplayMCScale_Float","value": "2010"}
+	,{"name": "Prop_EdidVendorID_Int32","value": "2011"}
+	,{"name": "Prop_DisplayMCImageLeft_String","value": "2012"}
+	,{"name": "Prop_DisplayMCImageRight_String","value": "2013"}
+	,{"name": "Prop_DisplayGCBlackClamp_Float","value": "2014"}
+	,{"name": "Prop_EdidProductID_Int32","value": "2015"}
+	,{"name": "Prop_CameraToHeadTransform_Matrix34","value": "2016"}
+	,{"name": "Prop_DisplayGCType_Int32","value": "2017"}
+	,{"name": "Prop_DisplayGCOffset_Float","value": "2018"}
+	,{"name": "Prop_DisplayGCScale_Float","value": "2019"}
+	,{"name": "Prop_DisplayGCPrescale_Float","value": "2020"}
+	,{"name": "Prop_DisplayGCImage_String","value": "2021"}
+	,{"name": "Prop_LensCenterLeftU_Float","value": "2022"}
+	,{"name": "Prop_LensCenterLeftV_Float","value": "2023"}
+	,{"name": "Prop_LensCenterRightU_Float","value": "2024"}
+	,{"name": "Prop_LensCenterRightV_Float","value": "2025"}
+	,{"name": "Prop_UserHeadToEyeDepthMeters_Float","value": "2026"}
+	,{"name": "Prop_CameraFirmwareVersion_Uint64","value": "2027"}
+	,{"name": "Prop_CameraFirmwareDescription_String","value": "2028"}
+	,{"name": "Prop_DisplayFPGAVersion_Uint64","value": "2029"}
+	,{"name": "Prop_DisplayBootloaderVersion_Uint64","value": "2030"}
+	,{"name": "Prop_DisplayHardwareVersion_Uint64","value": "2031"}
+	,{"name": "Prop_AudioFirmwareVersion_Uint64","value": "2032"}
+	,{"name": "Prop_CameraCompatibilityMode_Int32","value": "2033"}
+	,{"name": "Prop_ScreenshotHorizontalFieldOfViewDegrees_Float","value": "2034"}
+	,{"name": "Prop_ScreenshotVerticalFieldOfViewDegrees_Float","value": "2035"}
+	,{"name": "Prop_DisplaySuppressed_Bool","value": "2036"}
+	,{"name": "Prop_DisplayAllowNightMode_Bool","value": "2037"}
+	,{"name": "Prop_DisplayMCImageWidth_Int32","value": "2038"}
+	,{"name": "Prop_DisplayMCImageHeight_Int32","value": "2039"}
+	,{"name": "Prop_DisplayMCImageNumChannels_Int32","value": "2040"}
+	,{"name": "Prop_DisplayMCImageData_Binary","value": "2041"}
+	,{"name": "Prop_SecondsFromPhotonsToVblank_Float","value": "2042"}
+	,{"name": "Prop_DriverDirectModeSendsVsyncEvents_Bool","value": "2043"}
+	,{"name": "Prop_DisplayDebugMode_Bool","value": "2044"}
+	,{"name": "Prop_GraphicsAdapterLuid_Uint64","value": "2045"}
+	,{"name": "Prop_DriverProvidedChaperonePath_String","value": "2048"}
+	,{"name": "Prop_ExpectedTrackingReferenceCount_Int32","value": "2049"}
+	,{"name": "Prop_ExpectedControllerCount_Int32","value": "2050"}
+	,{"name": "Prop_NamedIconPathControllerLeftDeviceOff_String","value": "2051"}
+	,{"name": "Prop_NamedIconPathControllerRightDeviceOff_String","value": "2052"}
+	,{"name": "Prop_NamedIconPathTrackingReferenceDeviceOff_String","value": "2053"}
+	,{"name": "Prop_DoNotApplyPrediction_Bool","value": "2054"}
+	,{"name": "Prop_CameraToHeadTransforms_Matrix34_Array","value": "2055"}
+	,{"name": "Prop_DriverIsDrawingControllers_Bool","value": "2057"}
+	,{"name": "Prop_DriverRequestsApplicationPause_Bool","value": "2058"}
+	,{"name": "Prop_DriverRequestsReducedRendering_Bool","value": "2059"}
+	,{"name": "Prop_AttachedDeviceId_String","value": "3000"}
+	,{"name": "Prop_SupportedButtons_Uint64","value": "3001"}
+	,{"name": "Prop_Axis0Type_Int32","value": "3002"}
+	,{"name": "Prop_Axis1Type_Int32","value": "3003"}
+	,{"name": "Prop_Axis2Type_Int32","value": "3004"}
+	,{"name": "Prop_Axis3Type_Int32","value": "3005"}
+	,{"name": "Prop_Axis4Type_Int32","value": "3006"}
+	,{"name": "Prop_ControllerRoleHint_Int32","value": "3007"}
+	,{"name": "Prop_FieldOfViewLeftDegrees_Float","value": "4000"}
+	,{"name": "Prop_FieldOfViewRightDegrees_Float","value": "4001"}
+	,{"name": "Prop_FieldOfViewTopDegrees_Float","value": "4002"}
+	,{"name": "Prop_FieldOfViewBottomDegrees_Float","value": "4003"}
+	,{"name": "Prop_TrackingRangeMinimumMeters_Float","value": "4004"}
+	,{"name": "Prop_TrackingRangeMaximumMeters_Float","value": "4005"}
+	,{"name": "Prop_ModeLabel_String","value": "4006"}
+	,{"name": "Prop_IconPathName_String","value": "5000"}
+	,{"name": "Prop_NamedIconPathDeviceOff_String","value": "5001"}
+	,{"name": "Prop_NamedIconPathDeviceSearching_String","value": "5002"}
+	,{"name": "Prop_NamedIconPathDeviceSearchingAlert_String","value": "5003"}
+	,{"name": "Prop_NamedIconPathDeviceReady_String","value": "5004"}
+	,{"name": "Prop_NamedIconPathDeviceReadyAlert_String","value": "5005"}
+	,{"name": "Prop_NamedIconPathDeviceNotReady_String","value": "5006"}
+	,{"name": "Prop_NamedIconPathDeviceStandby_String","value": "5007"}
+	,{"name": "Prop_NamedIconPathDeviceAlertLow_String","value": "5008"}
+	,{"name": "Prop_DisplayHiddenArea_Binary_Start","value": "5100"}
+	,{"name": "Prop_DisplayHiddenArea_Binary_End","value": "5150"}
+	,{"name": "Prop_ParentContainer","value": "5151"}
+	,{"name": "Prop_UserConfigPath_String","value": "6000"}
+	,{"name": "Prop_InstallPath_String","value": "6001"}
+	,{"name": "Prop_HasDisplayComponent_Bool","value": "6002"}
+	,{"name": "Prop_HasControllerComponent_Bool","value": "6003"}
+	,{"name": "Prop_HasCameraComponent_Bool","value": "6004"}
+	,{"name": "Prop_HasDriverDirectModeComponent_Bool","value": "6005"}
+	,{"name": "Prop_HasVirtualDisplayComponent_Bool","value": "6006"}
+	,{"name": "Prop_ControllerType_String","value": "7000"}
+	,{"name": "Prop_LegacyInputProfile_String","value": "7001"}
+	,{"name": "Prop_VendorSpecific_Reserved_Start","value": "10000"}
+	,{"name": "Prop_VendorSpecific_Reserved_End","value": "10999"}
+	,{"name": "Prop_TrackedDeviceProperty_Max","value": "1000000"}
+]}
+,	{"enumname": "vr::ETrackedPropertyError","values": [ 
+	{"name": "TrackedProp_Success","value": "0"}
+	,{"name": "TrackedProp_WrongDataType","value": "1"}
+	,{"name": "TrackedProp_WrongDeviceClass","value": "2"}
+	,{"name": "TrackedProp_BufferTooSmall","value": "3"}
+	,{"name": "TrackedProp_UnknownProperty","value": "4"}
+	,{"name": "TrackedProp_InvalidDevice","value": "5"}
+	,{"name": "TrackedProp_CouldNotContactServer","value": "6"}
+	,{"name": "TrackedProp_ValueNotProvidedByDevice","value": "7"}
+	,{"name": "TrackedProp_StringExceedsMaximumLength","value": "8"}
+	,{"name": "TrackedProp_NotYetAvailable","value": "9"}
+	,{"name": "TrackedProp_PermissionDenied","value": "10"}
+	,{"name": "TrackedProp_InvalidOperation","value": "11"}
+	,{"name": "TrackedProp_CannotWriteToWildcards","value": "12"}
+]}
+,	{"enumname": "vr::EVRSubmitFlags","values": [ 
+	{"name": "Submit_Default","value": "0"}
+	,{"name": "Submit_LensDistortionAlreadyApplied","value": "1"}
+	,{"name": "Submit_GlRenderBuffer","value": "2"}
+	,{"name": "Submit_Reserved","value": "4"}
+	,{"name": "Submit_TextureWithPose","value": "8"}
+	,{"name": "Submit_TextureWithDepth","value": "16"}
+]}
+,	{"enumname": "vr::EVRState","values": [ 
+	{"name": "VRState_Undefined","value": "-1"}
+	,{"name": "VRState_Off","value": "0"}
+	,{"name": "VRState_Searching","value": "1"}
+	,{"name": "VRState_Searching_Alert","value": "2"}
+	,{"name": "VRState_Ready","value": "3"}
+	,{"name": "VRState_Ready_Alert","value": "4"}
+	,{"name": "VRState_NotReady","value": "5"}
+	,{"name": "VRState_Standby","value": "6"}
+	,{"name": "VRState_Ready_Alert_Low","value": "7"}
+]}
+,	{"enumname": "vr::EVREventType","values": [ 
+	{"name": "VREvent_None","value": "0"}
+	,{"name": "VREvent_TrackedDeviceActivated","value": "100"}
+	,{"name": "VREvent_TrackedDeviceDeactivated","value": "101"}
+	,{"name": "VREvent_TrackedDeviceUpdated","value": "102"}
+	,{"name": "VREvent_TrackedDeviceUserInteractionStarted","value": "103"}
+	,{"name": "VREvent_TrackedDeviceUserInteractionEnded","value": "104"}
+	,{"name": "VREvent_IpdChanged","value": "105"}
+	,{"name": "VREvent_EnterStandbyMode","value": "106"}
+	,{"name": "VREvent_LeaveStandbyMode","value": "107"}
+	,{"name": "VREvent_TrackedDeviceRoleChanged","value": "108"}
+	,{"name": "VREvent_WatchdogWakeUpRequested","value": "109"}
+	,{"name": "VREvent_LensDistortionChanged","value": "110"}
+	,{"name": "VREvent_PropertyChanged","value": "111"}
+	,{"name": "VREvent_WirelessDisconnect","value": "112"}
+	,{"name": "VREvent_WirelessReconnect","value": "113"}
+	,{"name": "VREvent_ButtonPress","value": "200"}
+	,{"name": "VREvent_ButtonUnpress","value": "201"}
+	,{"name": "VREvent_ButtonTouch","value": "202"}
+	,{"name": "VREvent_ButtonUntouch","value": "203"}
+	,{"name": "VREvent_DualAnalog_Press","value": "250"}
+	,{"name": "VREvent_DualAnalog_Unpress","value": "251"}
+	,{"name": "VREvent_DualAnalog_Touch","value": "252"}
+	,{"name": "VREvent_DualAnalog_Untouch","value": "253"}
+	,{"name": "VREvent_DualAnalog_Move","value": "254"}
+	,{"name": "VREvent_DualAnalog_ModeSwitch1","value": "255"}
+	,{"name": "VREvent_DualAnalog_ModeSwitch2","value": "256"}
+	,{"name": "VREvent_DualAnalog_Cancel","value": "257"}
+	,{"name": "VREvent_MouseMove","value": "300"}
+	,{"name": "VREvent_MouseButtonDown","value": "301"}
+	,{"name": "VREvent_MouseButtonUp","value": "302"}
+	,{"name": "VREvent_FocusEnter","value": "303"}
+	,{"name": "VREvent_FocusLeave","value": "304"}
+	,{"name": "VREvent_Scroll","value": "305"}
+	,{"name": "VREvent_TouchPadMove","value": "306"}
+	,{"name": "VREvent_OverlayFocusChanged","value": "307"}
+	,{"name": "VREvent_InputFocusCaptured","value": "400"}
+	,{"name": "VREvent_InputFocusReleased","value": "401"}
+	,{"name": "VREvent_SceneFocusLost","value": "402"}
+	,{"name": "VREvent_SceneFocusGained","value": "403"}
+	,{"name": "VREvent_SceneApplicationChanged","value": "404"}
+	,{"name": "VREvent_SceneFocusChanged","value": "405"}
+	,{"name": "VREvent_InputFocusChanged","value": "406"}
+	,{"name": "VREvent_SceneApplicationSecondaryRenderingStarted","value": "407"}
+	,{"name": "VREvent_HideRenderModels","value": "410"}
+	,{"name": "VREvent_ShowRenderModels","value": "411"}
+	,{"name": "VREvent_ConsoleOpened","value": "420"}
+	,{"name": "VREvent_ConsoleClosed","value": "421"}
+	,{"name": "VREvent_OverlayShown","value": "500"}
+	,{"name": "VREvent_OverlayHidden","value": "501"}
+	,{"name": "VREvent_DashboardActivated","value": "502"}
+	,{"name": "VREvent_DashboardDeactivated","value": "503"}
+	,{"name": "VREvent_DashboardThumbSelected","value": "504"}
+	,{"name": "VREvent_DashboardRequested","value": "505"}
+	,{"name": "VREvent_ResetDashboard","value": "506"}
+	,{"name": "VREvent_RenderToast","value": "507"}
+	,{"name": "VREvent_ImageLoaded","value": "508"}
+	,{"name": "VREvent_ShowKeyboard","value": "509"}
+	,{"name": "VREvent_HideKeyboard","value": "510"}
+	,{"name": "VREvent_OverlayGamepadFocusGained","value": "511"}
+	,{"name": "VREvent_OverlayGamepadFocusLost","value": "512"}
+	,{"name": "VREvent_OverlaySharedTextureChanged","value": "513"}
+	,{"name": "VREvent_DashboardGuideButtonDown","value": "514"}
+	,{"name": "VREvent_DashboardGuideButtonUp","value": "515"}
+	,{"name": "VREvent_ScreenshotTriggered","value": "516"}
+	,{"name": "VREvent_ImageFailed","value": "517"}
+	,{"name": "VREvent_DashboardOverlayCreated","value": "518"}
+	,{"name": "VREvent_RequestScreenshot","value": "520"}
+	,{"name": "VREvent_ScreenshotTaken","value": "521"}
+	,{"name": "VREvent_ScreenshotFailed","value": "522"}
+	,{"name": "VREvent_SubmitScreenshotToDashboard","value": "523"}
+	,{"name": "VREvent_ScreenshotProgressToDashboard","value": "524"}
+	,{"name": "VREvent_PrimaryDashboardDeviceChanged","value": "525"}
+	,{"name": "VREvent_Notification_Shown","value": "600"}
+	,{"name": "VREvent_Notification_Hidden","value": "601"}
+	,{"name": "VREvent_Notification_BeginInteraction","value": "602"}
+	,{"name": "VREvent_Notification_Destroyed","value": "603"}
+	,{"name": "VREvent_Quit","value": "700"}
+	,{"name": "VREvent_ProcessQuit","value": "701"}
+	,{"name": "VREvent_QuitAborted_UserPrompt","value": "702"}
+	,{"name": "VREvent_QuitAcknowledged","value": "703"}
+	,{"name": "VREvent_DriverRequestedQuit","value": "704"}
+	,{"name": "VREvent_ChaperoneDataHasChanged","value": "800"}
+	,{"name": "VREvent_ChaperoneUniverseHasChanged","value": "801"}
+	,{"name": "VREvent_ChaperoneTempDataHasChanged","value": "802"}
+	,{"name": "VREvent_ChaperoneSettingsHaveChanged","value": "803"}
+	,{"name": "VREvent_SeatedZeroPoseReset","value": "804"}
+	,{"name": "VREvent_AudioSettingsHaveChanged","value": "820"}
+	,{"name": "VREvent_BackgroundSettingHasChanged","value": "850"}
+	,{"name": "VREvent_CameraSettingsHaveChanged","value": "851"}
+	,{"name": "VREvent_ReprojectionSettingHasChanged","value": "852"}
+	,{"name": "VREvent_ModelSkinSettingsHaveChanged","value": "853"}
+	,{"name": "VREvent_EnvironmentSettingsHaveChanged","value": "854"}
+	,{"name": "VREvent_PowerSettingsHaveChanged","value": "855"}
+	,{"name": "VREvent_EnableHomeAppSettingsHaveChanged","value": "856"}
+	,{"name": "VREvent_SteamVRSectionSettingChanged","value": "857"}
+	,{"name": "VREvent_LighthouseSectionSettingChanged","value": "858"}
+	,{"name": "VREvent_NullSectionSettingChanged","value": "859"}
+	,{"name": "VREvent_UserInterfaceSectionSettingChanged","value": "860"}
+	,{"name": "VREvent_NotificationsSectionSettingChanged","value": "861"}
+	,{"name": "VREvent_KeyboardSectionSettingChanged","value": "862"}
+	,{"name": "VREvent_PerfSectionSettingChanged","value": "863"}
+	,{"name": "VREvent_DashboardSectionSettingChanged","value": "864"}
+	,{"name": "VREvent_WebInterfaceSectionSettingChanged","value": "865"}
+	,{"name": "VREvent_StatusUpdate","value": "900"}
+	,{"name": "VREvent_WebInterface_InstallDriverCompleted","value": "950"}
+	,{"name": "VREvent_MCImageUpdated","value": "1000"}
+	,{"name": "VREvent_FirmwareUpdateStarted","value": "1100"}
+	,{"name": "VREvent_FirmwareUpdateFinished","value": "1101"}
+	,{"name": "VREvent_KeyboardClosed","value": "1200"}
+	,{"name": "VREvent_KeyboardCharInput","value": "1201"}
+	,{"name": "VREvent_KeyboardDone","value": "1202"}
+	,{"name": "VREvent_ApplicationTransitionStarted","value": "1300"}
+	,{"name": "VREvent_ApplicationTransitionAborted","value": "1301"}
+	,{"name": "VREvent_ApplicationTransitionNewAppStarted","value": "1302"}
+	,{"name": "VREvent_ApplicationListUpdated","value": "1303"}
+	,{"name": "VREvent_ApplicationMimeTypeLoad","value": "1304"}
+	,{"name": "VREvent_ApplicationTransitionNewAppLaunchComplete","value": "1305"}
+	,{"name": "VREvent_ProcessConnected","value": "1306"}
+	,{"name": "VREvent_ProcessDisconnected","value": "1307"}
+	,{"name": "VREvent_Compositor_MirrorWindowShown","value": "1400"}
+	,{"name": "VREvent_Compositor_MirrorWindowHidden","value": "1401"}
+	,{"name": "VREvent_Compositor_ChaperoneBoundsShown","value": "1410"}
+	,{"name": "VREvent_Compositor_ChaperoneBoundsHidden","value": "1411"}
+	,{"name": "VREvent_TrackedCamera_StartVideoStream","value": "1500"}
+	,{"name": "VREvent_TrackedCamera_StopVideoStream","value": "1501"}
+	,{"name": "VREvent_TrackedCamera_PauseVideoStream","value": "1502"}
+	,{"name": "VREvent_TrackedCamera_ResumeVideoStream","value": "1503"}
+	,{"name": "VREvent_TrackedCamera_EditingSurface","value": "1550"}
+	,{"name": "VREvent_PerformanceTest_EnableCapture","value": "1600"}
+	,{"name": "VREvent_PerformanceTest_DisableCapture","value": "1601"}
+	,{"name": "VREvent_PerformanceTest_FidelityLevel","value": "1602"}
+	,{"name": "VREvent_MessageOverlay_Closed","value": "1650"}
+	,{"name": "VREvent_MessageOverlayCloseRequested","value": "1651"}
+	,{"name": "VREvent_Input_HapticVibration","value": "1700"}
+	,{"name": "VREvent_VendorSpecific_Reserved_Start","value": "10000"}
+	,{"name": "VREvent_VendorSpecific_Reserved_End","value": "19999"}
+]}
+,	{"enumname": "vr::EDeviceActivityLevel","values": [ 
+	{"name": "k_EDeviceActivityLevel_Unknown","value": "-1"}
+	,{"name": "k_EDeviceActivityLevel_Idle","value": "0"}
+	,{"name": "k_EDeviceActivityLevel_UserInteraction","value": "1"}
+	,{"name": "k_EDeviceActivityLevel_UserInteraction_Timeout","value": "2"}
+	,{"name": "k_EDeviceActivityLevel_Standby","value": "3"}
+]}
+,	{"enumname": "vr::EVRButtonId","values": [ 
+	{"name": "k_EButton_System","value": "0"}
+	,{"name": "k_EButton_ApplicationMenu","value": "1"}
+	,{"name": "k_EButton_Grip","value": "2"}
+	,{"name": "k_EButton_DPad_Left","value": "3"}
+	,{"name": "k_EButton_DPad_Up","value": "4"}
+	,{"name": "k_EButton_DPad_Right","value": "5"}
+	,{"name": "k_EButton_DPad_Down","value": "6"}
+	,{"name": "k_EButton_A","value": "7"}
+	,{"name": "k_EButton_ProximitySensor","value": "31"}
+	,{"name": "k_EButton_Axis0","value": "32"}
+	,{"name": "k_EButton_Axis1","value": "33"}
+	,{"name": "k_EButton_Axis2","value": "34"}
+	,{"name": "k_EButton_Axis3","value": "35"}
+	,{"name": "k_EButton_Axis4","value": "36"}
+	,{"name": "k_EButton_SteamVR_Touchpad","value": "32"}
+	,{"name": "k_EButton_SteamVR_Trigger","value": "33"}
+	,{"name": "k_EButton_Dashboard_Back","value": "2"}
+	,{"name": "k_EButton_Max","value": "64"}
+]}
+,	{"enumname": "vr::EVRMouseButton","values": [ 
+	{"name": "VRMouseButton_Left","value": "1"}
+	,{"name": "VRMouseButton_Right","value": "2"}
+	,{"name": "VRMouseButton_Middle","value": "4"}
+]}
+,	{"enumname": "vr::EDualAnalogWhich","values": [ 
+	{"name": "k_EDualAnalog_Left","value": "0"}
+	,{"name": "k_EDualAnalog_Right","value": "1"}
+]}
+,	{"enumname": "vr::EVRInputError","values": [ 
+	{"name": "VRInputError_None","value": "0"}
+	,{"name": "VRInputError_NameNotFound","value": "1"}
+	,{"name": "VRInputError_WrongType","value": "2"}
+	,{"name": "VRInputError_InvalidHandle","value": "3"}
+	,{"name": "VRInputError_InvalidParam","value": "4"}
+	,{"name": "VRInputError_NoSteam","value": "5"}
+	,{"name": "VRInputError_MaxCapacityReached","value": "6"}
+	,{"name": "VRInputError_IPCError","value": "7"}
+	,{"name": "VRInputError_NoActiveActionSet","value": "8"}
+	,{"name": "VRInputError_InvalidDevice","value": "9"}
+]}
+,	{"enumname": "vr::EHiddenAreaMeshType","values": [ 
+	{"name": "k_eHiddenAreaMesh_Standard","value": "0"}
+	,{"name": "k_eHiddenAreaMesh_Inverse","value": "1"}
+	,{"name": "k_eHiddenAreaMesh_LineLoop","value": "2"}
+	,{"name": "k_eHiddenAreaMesh_Max","value": "3"}
+]}
+,	{"enumname": "vr::EVRControllerAxisType","values": [ 
+	{"name": "k_eControllerAxis_None","value": "0"}
+	,{"name": "k_eControllerAxis_TrackPad","value": "1"}
+	,{"name": "k_eControllerAxis_Joystick","value": "2"}
+	,{"name": "k_eControllerAxis_Trigger","value": "3"}
+]}
+,	{"enumname": "vr::EVRControllerEventOutputType","values": [ 
+	{"name": "ControllerEventOutput_OSEvents","value": "0"}
+	,{"name": "ControllerEventOutput_VREvents","value": "1"}
+]}
+,	{"enumname": "vr::ECollisionBoundsStyle","values": [ 
+	{"name": "COLLISION_BOUNDS_STYLE_BEGINNER","value": "0"}
+	,{"name": "COLLISION_BOUNDS_STYLE_INTERMEDIATE","value": "1"}
+	,{"name": "COLLISION_BOUNDS_STYLE_SQUARES","value": "2"}
+	,{"name": "COLLISION_BOUNDS_STYLE_ADVANCED","value": "3"}
+	,{"name": "COLLISION_BOUNDS_STYLE_NONE","value": "4"}
+	,{"name": "COLLISION_BOUNDS_STYLE_COUNT","value": "5"}
+]}
+,	{"enumname": "vr::EVROverlayError","values": [ 
+	{"name": "VROverlayError_None","value": "0"}
+	,{"name": "VROverlayError_UnknownOverlay","value": "10"}
+	,{"name": "VROverlayError_InvalidHandle","value": "11"}
+	,{"name": "VROverlayError_PermissionDenied","value": "12"}
+	,{"name": "VROverlayError_OverlayLimitExceeded","value": "13"}
+	,{"name": "VROverlayError_WrongVisibilityType","value": "14"}
+	,{"name": "VROverlayError_KeyTooLong","value": "15"}
+	,{"name": "VROverlayError_NameTooLong","value": "16"}
+	,{"name": "VROverlayError_KeyInUse","value": "17"}
+	,{"name": "VROverlayError_WrongTransformType","value": "18"}
+	,{"name": "VROverlayError_InvalidTrackedDevice","value": "19"}
+	,{"name": "VROverlayError_InvalidParameter","value": "20"}
+	,{"name": "VROverlayError_ThumbnailCantBeDestroyed","value": "21"}
+	,{"name": "VROverlayError_ArrayTooSmall","value": "22"}
+	,{"name": "VROverlayError_RequestFailed","value": "23"}
+	,{"name": "VROverlayError_InvalidTexture","value": "24"}
+	,{"name": "VROverlayError_UnableToLoadFile","value": "25"}
+	,{"name": "VROverlayError_KeyboardAlreadyInUse","value": "26"}
+	,{"name": "VROverlayError_NoNeighbor","value": "27"}
+	,{"name": "VROverlayError_TooManyMaskPrimitives","value": "29"}
+	,{"name": "VROverlayError_BadMaskPrimitive","value": "30"}
+	,{"name": "VROverlayError_TextureAlreadyLocked","value": "31"}
+	,{"name": "VROverlayError_TextureLockCapacityReached","value": "32"}
+	,{"name": "VROverlayError_TextureNotLocked","value": "33"}
+]}
+,	{"enumname": "vr::EVRApplicationType","values": [ 
+	{"name": "VRApplication_Other","value": "0"}
+	,{"name": "VRApplication_Scene","value": "1"}
+	,{"name": "VRApplication_Overlay","value": "2"}
+	,{"name": "VRApplication_Background","value": "3"}
+	,{"name": "VRApplication_Utility","value": "4"}
+	,{"name": "VRApplication_VRMonitor","value": "5"}
+	,{"name": "VRApplication_SteamWatchdog","value": "6"}
+	,{"name": "VRApplication_Bootstrapper","value": "7"}
+	,{"name": "VRApplication_Max","value": "8"}
+]}
+,	{"enumname": "vr::EVRFirmwareError","values": [ 
+	{"name": "VRFirmwareError_None","value": "0"}
+	,{"name": "VRFirmwareError_Success","value": "1"}
+	,{"name": "VRFirmwareError_Fail","value": "2"}
+]}
+,	{"enumname": "vr::EVRNotificationError","values": [ 
+	{"name": "VRNotificationError_OK","value": "0"}
+	,{"name": "VRNotificationError_InvalidNotificationId","value": "100"}
+	,{"name": "VRNotificationError_NotificationQueueFull","value": "101"}
+	,{"name": "VRNotificationError_InvalidOverlayHandle","value": "102"}
+	,{"name": "VRNotificationError_SystemWithUserValueAlreadyExists","value": "103"}
+]}
+,	{"enumname": "vr::EVRInitError","values": [ 
+	{"name": "VRInitError_None","value": "0"}
+	,{"name": "VRInitError_Unknown","value": "1"}
+	,{"name": "VRInitError_Init_InstallationNotFound","value": "100"}
+	,{"name": "VRInitError_Init_InstallationCorrupt","value": "101"}
+	,{"name": "VRInitError_Init_VRClientDLLNotFound","value": "102"}
+	,{"name": "VRInitError_Init_FileNotFound","value": "103"}
+	,{"name": "VRInitError_Init_FactoryNotFound","value": "104"}
+	,{"name": "VRInitError_Init_InterfaceNotFound","value": "105"}
+	,{"name": "VRInitError_Init_InvalidInterface","value": "106"}
+	,{"name": "VRInitError_Init_UserConfigDirectoryInvalid","value": "107"}
+	,{"name": "VRInitError_Init_HmdNotFound","value": "108"}
+	,{"name": "VRInitError_Init_NotInitialized","value": "109"}
+	,{"name": "VRInitError_Init_PathRegistryNotFound","value": "110"}
+	,{"name": "VRInitError_Init_NoConfigPath","value": "111"}
+	,{"name": "VRInitError_Init_NoLogPath","value": "112"}
+	,{"name": "VRInitError_Init_PathRegistryNotWritable","value": "113"}
+	,{"name": "VRInitError_Init_AppInfoInitFailed","value": "114"}
+	,{"name": "VRInitError_Init_Retry","value": "115"}
+	,{"name": "VRInitError_Init_InitCanceledByUser","value": "116"}
+	,{"name": "VRInitError_Init_AnotherAppLaunching","value": "117"}
+	,{"name": "VRInitError_Init_SettingsInitFailed","value": "118"}
+	,{"name": "VRInitError_Init_ShuttingDown","value": "119"}
+	,{"name": "VRInitError_Init_TooManyObjects","value": "120"}
+	,{"name": "VRInitError_Init_NoServerForBackgroundApp","value": "121"}
+	,{"name": "VRInitError_Init_NotSupportedWithCompositor","value": "122"}
+	,{"name": "VRInitError_Init_NotAvailableToUtilityApps","value": "123"}
+	,{"name": "VRInitError_Init_Internal","value": "124"}
+	,{"name": "VRInitError_Init_HmdDriverIdIsNone","value": "125"}
+	,{"name": "VRInitError_Init_HmdNotFoundPresenceFailed","value": "126"}
+	,{"name": "VRInitError_Init_VRMonitorNotFound","value": "127"}
+	,{"name": "VRInitError_Init_VRMonitorStartupFailed","value": "128"}
+	,{"name": "VRInitError_Init_LowPowerWatchdogNotSupported","value": "129"}
+	,{"name": "VRInitError_Init_InvalidApplicationType","value": "130"}
+	,{"name": "VRInitError_Init_NotAvailableToWatchdogApps","value": "131"}
+	,{"name": "VRInitError_Init_WatchdogDisabledInSettings","value": "132"}
+	,{"name": "VRInitError_Init_VRDashboardNotFound","value": "133"}
+	,{"name": "VRInitError_Init_VRDashboardStartupFailed","value": "134"}
+	,{"name": "VRInitError_Init_VRHomeNotFound","value": "135"}
+	,{"name": "VRInitError_Init_VRHomeStartupFailed","value": "136"}
+	,{"name": "VRInitError_Init_RebootingBusy","value": "137"}
+	,{"name": "VRInitError_Init_FirmwareUpdateBusy","value": "138"}
+	,{"name": "VRInitError_Init_FirmwareRecoveryBusy","value": "139"}
+	,{"name": "VRInitError_Init_USBServiceBusy","value": "140"}
+	,{"name": "VRInitError_Driver_Failed","value": "200"}
+	,{"name": "VRInitError_Driver_Unknown","value": "201"}
+	,{"name": "VRInitError_Driver_HmdUnknown","value": "202"}
+	,{"name": "VRInitError_Driver_NotLoaded","value": "203"}
+	,{"name": "VRInitError_Driver_RuntimeOutOfDate","value": "204"}
+	,{"name": "VRInitError_Driver_HmdInUse","value": "205"}
+	,{"name": "VRInitError_Driver_NotCalibrated","value": "206"}
+	,{"name": "VRInitError_Driver_CalibrationInvalid","value": "207"}
+	,{"name": "VRInitError_Driver_HmdDisplayNotFound","value": "208"}
+	,{"name": "VRInitError_Driver_TrackedDeviceInterfaceUnknown","value": "209"}
+	,{"name": "VRInitError_Driver_HmdDriverIdOutOfBounds","value": "211"}
+	,{"name": "VRInitError_Driver_HmdDisplayMirrored","value": "212"}
+	,{"name": "VRInitError_IPC_ServerInitFailed","value": "300"}
+	,{"name": "VRInitError_IPC_ConnectFailed","value": "301"}
+	,{"name": "VRInitError_IPC_SharedStateInitFailed","value": "302"}
+	,{"name": "VRInitError_IPC_CompositorInitFailed","value": "303"}
+	,{"name": "VRInitError_IPC_MutexInitFailed","value": "304"}
+	,{"name": "VRInitError_IPC_Failed","value": "305"}
+	,{"name": "VRInitError_IPC_CompositorConnectFailed","value": "306"}
+	,{"name": "VRInitError_IPC_CompositorInvalidConnectResponse","value": "307"}
+	,{"name": "VRInitError_IPC_ConnectFailedAfterMultipleAttempts","value": "308"}
+	,{"name": "VRInitError_Compositor_Failed","value": "400"}
+	,{"name": "VRInitError_Compositor_D3D11HardwareRequired","value": "401"}
+	,{"name": "VRInitError_Compositor_FirmwareRequiresUpdate","value": "402"}
+	,{"name": "VRInitError_Compositor_OverlayInitFailed","value": "403"}
+	,{"name": "VRInitError_Compositor_ScreenshotsInitFailed","value": "404"}
+	,{"name": "VRInitError_Compositor_UnableToCreateDevice","value": "405"}
+	,{"name": "VRInitError_VendorSpecific_UnableToConnectToOculusRuntime","value": "1000"}
+	,{"name": "VRInitError_VendorSpecific_WindowsNotInDevMode","value": "1001"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_CantOpenDevice","value": "1101"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart","value": "1102"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_NoStoredConfig","value": "1103"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_ConfigTooBig","value": "1104"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_ConfigTooSmall","value": "1105"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_UnableToInitZLib","value": "1106"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion","value": "1107"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart","value": "1108"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart","value": "1109"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext","value": "1110"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_UserDataAddressRange","value": "1111"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_UserDataError","value": "1112"}
+	,{"name": "VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck","value": "1113"}
+	,{"name": "VRInitError_Steam_SteamInstallationNotFound","value": "2000"}
+]}
+,	{"enumname": "vr::EVRScreenshotType","values": [ 
+	{"name": "VRScreenshotType_None","value": "0"}
+	,{"name": "VRScreenshotType_Mono","value": "1"}
+	,{"name": "VRScreenshotType_Stereo","value": "2"}
+	,{"name": "VRScreenshotType_Cubemap","value": "3"}
+	,{"name": "VRScreenshotType_MonoPanorama","value": "4"}
+	,{"name": "VRScreenshotType_StereoPanorama","value": "5"}
+]}
+,	{"enumname": "vr::EVRScreenshotPropertyFilenames","values": [ 
+	{"name": "VRScreenshotPropertyFilenames_Preview","value": "0"}
+	,{"name": "VRScreenshotPropertyFilenames_VR","value": "1"}
+]}
+,	{"enumname": "vr::EVRTrackedCameraError","values": [ 
+	{"name": "VRTrackedCameraError_None","value": "0"}
+	,{"name": "VRTrackedCameraError_OperationFailed","value": "100"}
+	,{"name": "VRTrackedCameraError_InvalidHandle","value": "101"}
+	,{"name": "VRTrackedCameraError_InvalidFrameHeaderVersion","value": "102"}
+	,{"name": "VRTrackedCameraError_OutOfHandles","value": "103"}
+	,{"name": "VRTrackedCameraError_IPCFailure","value": "104"}
+	,{"name": "VRTrackedCameraError_NotSupportedForThisDevice","value": "105"}
+	,{"name": "VRTrackedCameraError_SharedMemoryFailure","value": "106"}
+	,{"name": "VRTrackedCameraError_FrameBufferingFailure","value": "107"}
+	,{"name": "VRTrackedCameraError_StreamSetupFailure","value": "108"}
+	,{"name": "VRTrackedCameraError_InvalidGLTextureId","value": "109"}
+	,{"name": "VRTrackedCameraError_InvalidSharedTextureHandle","value": "110"}
+	,{"name": "VRTrackedCameraError_FailedToGetGLTextureId","value": "111"}
+	,{"name": "VRTrackedCameraError_SharedTextureFailure","value": "112"}
+	,{"name": "VRTrackedCameraError_NoFrameAvailable","value": "113"}
+	,{"name": "VRTrackedCameraError_InvalidArgument","value": "114"}
+	,{"name": "VRTrackedCameraError_InvalidFrameBufferSize","value": "115"}
+]}
+,	{"enumname": "vr::EVRTrackedCameraFrameType","values": [ 
+	{"name": "VRTrackedCameraFrameType_Distorted","value": "0"}
+	,{"name": "VRTrackedCameraFrameType_Undistorted","value": "1"}
+	,{"name": "VRTrackedCameraFrameType_MaximumUndistorted","value": "2"}
+	,{"name": "MAX_CAMERA_FRAME_TYPES","value": "3"}
+]}
+,	{"enumname": "vr::EVRApplicationError","values": [ 
+	{"name": "VRApplicationError_None","value": "0"}
+	,{"name": "VRApplicationError_AppKeyAlreadyExists","value": "100"}
+	,{"name": "VRApplicationError_NoManifest","value": "101"}
+	,{"name": "VRApplicationError_NoApplication","value": "102"}
+	,{"name": "VRApplicationError_InvalidIndex","value": "103"}
+	,{"name": "VRApplicationError_UnknownApplication","value": "104"}
+	,{"name": "VRApplicationError_IPCFailed","value": "105"}
+	,{"name": "VRApplicationError_ApplicationAlreadyRunning","value": "106"}
+	,{"name": "VRApplicationError_InvalidManifest","value": "107"}
+	,{"name": "VRApplicationError_InvalidApplication","value": "108"}
+	,{"name": "VRApplicationError_LaunchFailed","value": "109"}
+	,{"name": "VRApplicationError_ApplicationAlreadyStarting","value": "110"}
+	,{"name": "VRApplicationError_LaunchInProgress","value": "111"}
+	,{"name": "VRApplicationError_OldApplicationQuitting","value": "112"}
+	,{"name": "VRApplicationError_TransitionAborted","value": "113"}
+	,{"name": "VRApplicationError_IsTemplate","value": "114"}
+	,{"name": "VRApplicationError_SteamVRIsExiting","value": "115"}
+	,{"name": "VRApplicationError_BufferTooSmall","value": "200"}
+	,{"name": "VRApplicationError_PropertyNotSet","value": "201"}
+	,{"name": "VRApplicationError_UnknownProperty","value": "202"}
+	,{"name": "VRApplicationError_InvalidParameter","value": "203"}
+]}
+,	{"enumname": "vr::EVRApplicationProperty","values": [ 
+	{"name": "VRApplicationProperty_Name_String","value": "0"}
+	,{"name": "VRApplicationProperty_LaunchType_String","value": "11"}
+	,{"name": "VRApplicationProperty_WorkingDirectory_String","value": "12"}
+	,{"name": "VRApplicationProperty_BinaryPath_String","value": "13"}
+	,{"name": "VRApplicationProperty_Arguments_String","value": "14"}
+	,{"name": "VRApplicationProperty_URL_String","value": "15"}
+	,{"name": "VRApplicationProperty_Description_String","value": "50"}
+	,{"name": "VRApplicationProperty_NewsURL_String","value": "51"}
+	,{"name": "VRApplicationProperty_ImagePath_String","value": "52"}
+	,{"name": "VRApplicationProperty_Source_String","value": "53"}
+	,{"name": "VRApplicationProperty_ActionManifestURL_String","value": "54"}
+	,{"name": "VRApplicationProperty_IsDashboardOverlay_Bool","value": "60"}
+	,{"name": "VRApplicationProperty_IsTemplate_Bool","value": "61"}
+	,{"name": "VRApplicationProperty_IsInstanced_Bool","value": "62"}
+	,{"name": "VRApplicationProperty_IsInternal_Bool","value": "63"}
+	,{"name": "VRApplicationProperty_WantsCompositorPauseInStandby_Bool","value": "64"}
+	,{"name": "VRApplicationProperty_LastLaunchTime_Uint64","value": "70"}
+]}
+,	{"enumname": "vr::EVRApplicationTransitionState","values": [ 
+	{"name": "VRApplicationTransition_None","value": "0"}
+	,{"name": "VRApplicationTransition_OldAppQuitSent","value": "10"}
+	,{"name": "VRApplicationTransition_WaitingForExternalLaunch","value": "11"}
+	,{"name": "VRApplicationTransition_NewAppLaunched","value": "20"}
+]}
+,	{"enumname": "vr::ChaperoneCalibrationState","values": [ 
+	{"name": "ChaperoneCalibrationState_OK","value": "1"}
+	,{"name": "ChaperoneCalibrationState_Warning","value": "100"}
+	,{"name": "ChaperoneCalibrationState_Warning_BaseStationMayHaveMoved","value": "101"}
+	,{"name": "ChaperoneCalibrationState_Warning_BaseStationRemoved","value": "102"}
+	,{"name": "ChaperoneCalibrationState_Warning_SeatedBoundsInvalid","value": "103"}
+	,{"name": "ChaperoneCalibrationState_Error","value": "200"}
+	,{"name": "ChaperoneCalibrationState_Error_BaseStationUninitialized","value": "201"}
+	,{"name": "ChaperoneCalibrationState_Error_BaseStationConflict","value": "202"}
+	,{"name": "ChaperoneCalibrationState_Error_PlayAreaInvalid","value": "203"}
+	,{"name": "ChaperoneCalibrationState_Error_CollisionBoundsInvalid","value": "204"}
+]}
+,	{"enumname": "vr::EChaperoneConfigFile","values": [ 
+	{"name": "EChaperoneConfigFile_Live","value": "1"}
+	,{"name": "EChaperoneConfigFile_Temp","value": "2"}
+]}
+,	{"enumname": "vr::EChaperoneImportFlags","values": [ 
+	{"name": "EChaperoneImport_BoundsOnly","value": "1"}
+]}
+,	{"enumname": "vr::EVRCompositorError","values": [ 
+	{"name": "VRCompositorError_None","value": "0"}
+	,{"name": "VRCompositorError_RequestFailed","value": "1"}
+	,{"name": "VRCompositorError_IncompatibleVersion","value": "100"}
+	,{"name": "VRCompositorError_DoNotHaveFocus","value": "101"}
+	,{"name": "VRCompositorError_InvalidTexture","value": "102"}
+	,{"name": "VRCompositorError_IsNotSceneApplication","value": "103"}
+	,{"name": "VRCompositorError_TextureIsOnWrongDevice","value": "104"}
+	,{"name": "VRCompositorError_TextureUsesUnsupportedFormat","value": "105"}
+	,{"name": "VRCompositorError_SharedTexturesNotSupported","value": "106"}
+	,{"name": "VRCompositorError_IndexOutOfRange","value": "107"}
+	,{"name": "VRCompositorError_AlreadySubmitted","value": "108"}
+	,{"name": "VRCompositorError_InvalidBounds","value": "109"}
+]}
+,	{"enumname": "vr::EVRCompositorTimingMode","values": [ 
+	{"name": "VRCompositorTimingMode_Implicit","value": "0"}
+	,{"name": "VRCompositorTimingMode_Explicit_RuntimePerformsPostPresentHandoff","value": "1"}
+	,{"name": "VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff","value": "2"}
+]}
+,	{"enumname": "vr::VROverlayInputMethod","values": [ 
+	{"name": "VROverlayInputMethod_None","value": "0"}
+	,{"name": "VROverlayInputMethod_Mouse","value": "1"}
+	,{"name": "VROverlayInputMethod_DualAnalog","value": "2"}
+]}
+,	{"enumname": "vr::VROverlayTransformType","values": [ 
+	{"name": "VROverlayTransform_Absolute","value": "0"}
+	,{"name": "VROverlayTransform_TrackedDeviceRelative","value": "1"}
+	,{"name": "VROverlayTransform_SystemOverlay","value": "2"}
+	,{"name": "VROverlayTransform_TrackedComponent","value": "3"}
+]}
+,	{"enumname": "vr::VROverlayFlags","values": [ 
+	{"name": "VROverlayFlags_None","value": "0"}
+	,{"name": "VROverlayFlags_Curved","value": "1"}
+	,{"name": "VROverlayFlags_RGSS4X","value": "2"}
+	,{"name": "VROverlayFlags_NoDashboardTab","value": "3"}
+	,{"name": "VROverlayFlags_AcceptsGamepadEvents","value": "4"}
+	,{"name": "VROverlayFlags_ShowGamepadFocus","value": "5"}
+	,{"name": "VROverlayFlags_SendVRScrollEvents","value": "6"}
+	,{"name": "VROverlayFlags_SendVRTouchpadEvents","value": "7"}
+	,{"name": "VROverlayFlags_ShowTouchPadScrollWheel","value": "8"}
+	,{"name": "VROverlayFlags_TransferOwnershipToInternalProcess","value": "9"}
+	,{"name": "VROverlayFlags_SideBySide_Parallel","value": "10"}
+	,{"name": "VROverlayFlags_SideBySide_Crossed","value": "11"}
+	,{"name": "VROverlayFlags_Panorama","value": "12"}
+	,{"name": "VROverlayFlags_StereoPanorama","value": "13"}
+	,{"name": "VROverlayFlags_SortWithNonSceneOverlays","value": "14"}
+	,{"name": "VROverlayFlags_VisibleInDashboard","value": "15"}
+]}
+,	{"enumname": "vr::VRMessageOverlayResponse","values": [ 
+	{"name": "VRMessageOverlayResponse_ButtonPress_0","value": "0"}
+	,{"name": "VRMessageOverlayResponse_ButtonPress_1","value": "1"}
+	,{"name": "VRMessageOverlayResponse_ButtonPress_2","value": "2"}
+	,{"name": "VRMessageOverlayResponse_ButtonPress_3","value": "3"}
+	,{"name": "VRMessageOverlayResponse_CouldntFindSystemOverlay","value": "4"}
+	,{"name": "VRMessageOverlayResponse_CouldntFindOrCreateClientOverlay","value": "5"}
+	,{"name": "VRMessageOverlayResponse_ApplicationQuit","value": "6"}
+]}
+,	{"enumname": "vr::EGamepadTextInputMode","values": [ 
+	{"name": "k_EGamepadTextInputModeNormal","value": "0"}
+	,{"name": "k_EGamepadTextInputModePassword","value": "1"}
+	,{"name": "k_EGamepadTextInputModeSubmit","value": "2"}
+]}
+,	{"enumname": "vr::EGamepadTextInputLineMode","values": [ 
+	{"name": "k_EGamepadTextInputLineModeSingleLine","value": "0"}
+	,{"name": "k_EGamepadTextInputLineModeMultipleLines","value": "1"}
+]}
+,	{"enumname": "vr::EOverlayDirection","values": [ 
+	{"name": "OverlayDirection_Up","value": "0"}
+	,{"name": "OverlayDirection_Down","value": "1"}
+	,{"name": "OverlayDirection_Left","value": "2"}
+	,{"name": "OverlayDirection_Right","value": "3"}
+	,{"name": "OverlayDirection_Count","value": "4"}
+]}
+,	{"enumname": "vr::EVROverlayIntersectionMaskPrimitiveType","values": [ 
+	{"name": "OverlayIntersectionPrimitiveType_Rectangle","value": "0"}
+	,{"name": "OverlayIntersectionPrimitiveType_Circle","value": "1"}
+]}
+,	{"enumname": "vr::EVRRenderModelError","values": [ 
+	{"name": "VRRenderModelError_None","value": "0"}
+	,{"name": "VRRenderModelError_Loading","value": "100"}
+	,{"name": "VRRenderModelError_NotSupported","value": "200"}
+	,{"name": "VRRenderModelError_InvalidArg","value": "300"}
+	,{"name": "VRRenderModelError_InvalidModel","value": "301"}
+	,{"name": "VRRenderModelError_NoShapes","value": "302"}
+	,{"name": "VRRenderModelError_MultipleShapes","value": "303"}
+	,{"name": "VRRenderModelError_TooManyVertices","value": "304"}
+	,{"name": "VRRenderModelError_MultipleTextures","value": "305"}
+	,{"name": "VRRenderModelError_BufferTooSmall","value": "306"}
+	,{"name": "VRRenderModelError_NotEnoughNormals","value": "307"}
+	,{"name": "VRRenderModelError_NotEnoughTexCoords","value": "308"}
+	,{"name": "VRRenderModelError_InvalidTexture","value": "400"}
+]}
+,	{"enumname": "vr::EVRComponentProperty","values": [ 
+	{"name": "VRComponentProperty_IsStatic","value": "1"}
+	,{"name": "VRComponentProperty_IsVisible","value": "2"}
+	,{"name": "VRComponentProperty_IsTouched","value": "4"}
+	,{"name": "VRComponentProperty_IsPressed","value": "8"}
+	,{"name": "VRComponentProperty_IsScrolled","value": "16"}
+]}
+,	{"enumname": "vr::EVRNotificationType","values": [ 
+	{"name": "EVRNotificationType_Transient","value": "0"}
+	,{"name": "EVRNotificationType_Persistent","value": "1"}
+	,{"name": "EVRNotificationType_Transient_SystemWithUserValue","value": "2"}
+]}
+,	{"enumname": "vr::EVRNotificationStyle","values": [ 
+	{"name": "EVRNotificationStyle_None","value": "0"}
+	,{"name": "EVRNotificationStyle_Application","value": "100"}
+	,{"name": "EVRNotificationStyle_Contact_Disabled","value": "200"}
+	,{"name": "EVRNotificationStyle_Contact_Enabled","value": "201"}
+	,{"name": "EVRNotificationStyle_Contact_Active","value": "202"}
+]}
+,	{"enumname": "vr::EVRSettingsError","values": [ 
+	{"name": "VRSettingsError_None","value": "0"}
+	,{"name": "VRSettingsError_IPCFailed","value": "1"}
+	,{"name": "VRSettingsError_WriteFailed","value": "2"}
+	,{"name": "VRSettingsError_ReadFailed","value": "3"}
+	,{"name": "VRSettingsError_JsonParseFailed","value": "4"}
+	,{"name": "VRSettingsError_UnsetSettingHasNoDefault","value": "5"}
+]}
+,	{"enumname": "vr::EVRScreenshotError","values": [ 
+	{"name": "VRScreenshotError_None","value": "0"}
+	,{"name": "VRScreenshotError_RequestFailed","value": "1"}
+	,{"name": "VRScreenshotError_IncompatibleVersion","value": "100"}
+	,{"name": "VRScreenshotError_NotFound","value": "101"}
+	,{"name": "VRScreenshotError_BufferTooSmall","value": "102"}
+	,{"name": "VRScreenshotError_ScreenshotAlreadyInProgress","value": "108"}
+]}
+],
+"consts":[{
+	"constname": "k_nDriverNone","consttype": "const uint32_t", "constval": "4294967295"}
+,{
+	"constname": "k_unMaxDriverDebugResponseSize","consttype": "const uint32_t", "constval": "32768"}
+,{
+	"constname": "k_unTrackedDeviceIndex_Hmd","consttype": "const uint32_t", "constval": "0"}
+,{
+	"constname": "k_unMaxTrackedDeviceCount","consttype": "const uint32_t", "constval": "64"}
+,{
+	"constname": "k_unTrackedDeviceIndexOther","consttype": "const uint32_t", "constval": "4294967294"}
+,{
+	"constname": "k_unTrackedDeviceIndexInvalid","consttype": "const uint32_t", "constval": "4294967295"}
+,{
+	"constname": "k_ulInvalidPropertyContainer","consttype": "const PropertyContainerHandle_t", "constval": "0"}
+,{
+	"constname": "k_unInvalidPropertyTag","consttype": "const PropertyTypeTag_t", "constval": "0"}
+,{
+	"constname": "k_unFloatPropertyTag","consttype": "const PropertyTypeTag_t", "constval": "1"}
+,{
+	"constname": "k_unInt32PropertyTag","consttype": "const PropertyTypeTag_t", "constval": "2"}
+,{
+	"constname": "k_unUint64PropertyTag","consttype": "const PropertyTypeTag_t", "constval": "3"}
+,{
+	"constname": "k_unBoolPropertyTag","consttype": "const PropertyTypeTag_t", "constval": "4"}
+,{
+	"constname": "k_unStringPropertyTag","consttype": "const PropertyTypeTag_t", "constval": "5"}
+,{
+	"constname": "k_unHmdMatrix34PropertyTag","consttype": "const PropertyTypeTag_t", "constval": "20"}
+,{
+	"constname": "k_unHmdMatrix44PropertyTag","consttype": "const PropertyTypeTag_t", "constval": "21"}
+,{
+	"constname": "k_unHmdVector3PropertyTag","consttype": "const PropertyTypeTag_t", "constval": "22"}
+,{
+	"constname": "k_unHmdVector4PropertyTag","consttype": "const PropertyTypeTag_t", "constval": "23"}
+,{
+	"constname": "k_unHiddenAreaPropertyTag","consttype": "const PropertyTypeTag_t", "constval": "30"}
+,{
+	"constname": "k_unPathHandleInfoTag","consttype": "const PropertyTypeTag_t", "constval": "31"}
+,{
+	"constname": "k_unActionPropertyTag","consttype": "const PropertyTypeTag_t", "constval": "32"}
+,{
+	"constname": "k_unInputValuePropertyTag","consttype": "const PropertyTypeTag_t", "constval": "33"}
+,{
+	"constname": "k_unWildcardPropertyTag","consttype": "const PropertyTypeTag_t", "constval": "34"}
+,{
+	"constname": "k_unHapticVibrationPropertyTag","consttype": "const PropertyTypeTag_t", "constval": "35"}
+,{
+	"constname": "k_unOpenVRInternalReserved_Start","consttype": "const PropertyTypeTag_t", "constval": "1000"}
+,{
+	"constname": "k_unOpenVRInternalReserved_End","consttype": "const PropertyTypeTag_t", "constval": "10000"}
+,{
+	"constname": "k_unMaxPropertyStringSize","consttype": "const uint32_t", "constval": "32768"}
+,{
+	"constname": "k_unControllerStateAxisCount","consttype": "const uint32_t", "constval": "5"}
+,{
+	"constname": "k_ulOverlayHandleInvalid","consttype": "const VROverlayHandle_t", "constval": "0"}
+,{
+	"constname": "k_unScreenshotHandleInvalid","consttype": "const uint32_t", "constval": "0"}
+,{
+	"constname": "IVRSystem_Version","consttype": "const char *const", "constval": "IVRSystem_019"}
+,{
+	"constname": "IVRExtendedDisplay_Version","consttype": "const char *const", "constval": "IVRExtendedDisplay_001"}
+,{
+	"constname": "IVRTrackedCamera_Version","consttype": "const char *const", "constval": "IVRTrackedCamera_003"}
+,{
+	"constname": "k_unMaxApplicationKeyLength","consttype": "const uint32_t", "constval": "128"}
+,{
+	"constname": "k_pch_MimeType_HomeApp","consttype": "const char *const", "constval": "vr/home"}
+,{
+	"constname": "k_pch_MimeType_GameTheater","consttype": "const char *const", "constval": "vr/game_theater"}
+,{
+	"constname": "IVRApplications_Version","consttype": "const char *const", "constval": "IVRApplications_006"}
+,{
+	"constname": "IVRChaperone_Version","consttype": "const char *const", "constval": "IVRChaperone_003"}
+,{
+	"constname": "IVRChaperoneSetup_Version","consttype": "const char *const", "constval": "IVRChaperoneSetup_005"}
+,{
+	"constname": "IVRCompositor_Version","consttype": "const char *const", "constval": "IVRCompositor_022"}
+,{
+	"constname": "k_unVROverlayMaxKeyLength","consttype": "const uint32_t", "constval": "128"}
+,{
+	"constname": "k_unVROverlayMaxNameLength","consttype": "const uint32_t", "constval": "128"}
+,{
+	"constname": "k_unMaxOverlayCount","consttype": "const uint32_t", "constval": "64"}
+,{
+	"constname": "k_unMaxOverlayIntersectionMaskPrimitivesCount","consttype": "const uint32_t", "constval": "32"}
+,{
+	"constname": "IVROverlay_Version","consttype": "const char *const", "constval": "IVROverlay_018"}
+,{
+	"constname": "k_pch_Controller_Component_GDC2015","consttype": "const char *const", "constval": "gdc2015"}
+,{
+	"constname": "k_pch_Controller_Component_Base","consttype": "const char *const", "constval": "base"}
+,{
+	"constname": "k_pch_Controller_Component_Tip","consttype": "const char *const", "constval": "tip"}
+,{
+	"constname": "k_pch_Controller_Component_HandGrip","consttype": "const char *const", "constval": "handgrip"}
+,{
+	"constname": "k_pch_Controller_Component_Status","consttype": "const char *const", "constval": "status"}
+,{
+	"constname": "IVRRenderModels_Version","consttype": "const char *const", "constval": "IVRRenderModels_005"}
+,{
+	"constname": "k_unNotificationTextMaxSize","consttype": "const uint32_t", "constval": "256"}
+,{
+	"constname": "IVRNotifications_Version","consttype": "const char *const", "constval": "IVRNotifications_002"}
+,{
+	"constname": "k_unMaxSettingsKeyLength","consttype": "const uint32_t", "constval": "128"}
+,{
+	"constname": "IVRSettings_Version","consttype": "const char *const", "constval": "IVRSettings_002"}
+,{
+	"constname": "k_pch_SteamVR_Section","consttype": "const char *const", "constval": "steamvr"}
+,{
+	"constname": "k_pch_SteamVR_RequireHmd_String","consttype": "const char *const", "constval": "requireHmd"}
+,{
+	"constname": "k_pch_SteamVR_ForcedDriverKey_String","consttype": "const char *const", "constval": "forcedDriver"}
+,{
+	"constname": "k_pch_SteamVR_ForcedHmdKey_String","consttype": "const char *const", "constval": "forcedHmd"}
+,{
+	"constname": "k_pch_SteamVR_DisplayDebug_Bool","consttype": "const char *const", "constval": "displayDebug"}
+,{
+	"constname": "k_pch_SteamVR_DebugProcessPipe_String","consttype": "const char *const", "constval": "debugProcessPipe"}
+,{
+	"constname": "k_pch_SteamVR_DisplayDebugX_Int32","consttype": "const char *const", "constval": "displayDebugX"}
+,{
+	"constname": "k_pch_SteamVR_DisplayDebugY_Int32","consttype": "const char *const", "constval": "displayDebugY"}
+,{
+	"constname": "k_pch_SteamVR_SendSystemButtonToAllApps_Bool","consttype": "const char *const", "constval": "sendSystemButtonToAllApps"}
+,{
+	"constname": "k_pch_SteamVR_LogLevel_Int32","consttype": "const char *const", "constval": "loglevel"}
+,{
+	"constname": "k_pch_SteamVR_IPD_Float","consttype": "const char *const", "constval": "ipd"}
+,{
+	"constname": "k_pch_SteamVR_Background_String","consttype": "const char *const", "constval": "background"}
+,{
+	"constname": "k_pch_SteamVR_BackgroundUseDomeProjection_Bool","consttype": "const char *const", "constval": "backgroundUseDomeProjection"}
+,{
+	"constname": "k_pch_SteamVR_BackgroundCameraHeight_Float","consttype": "const char *const", "constval": "backgroundCameraHeight"}
+,{
+	"constname": "k_pch_SteamVR_BackgroundDomeRadius_Float","consttype": "const char *const", "constval": "backgroundDomeRadius"}
+,{
+	"constname": "k_pch_SteamVR_GridColor_String","consttype": "const char *const", "constval": "gridColor"}
+,{
+	"constname": "k_pch_SteamVR_PlayAreaColor_String","consttype": "const char *const", "constval": "playAreaColor"}
+,{
+	"constname": "k_pch_SteamVR_ShowStage_Bool","consttype": "const char *const", "constval": "showStage"}
+,{
+	"constname": "k_pch_SteamVR_ActivateMultipleDrivers_Bool","consttype": "const char *const", "constval": "activateMultipleDrivers"}
+,{
+	"constname": "k_pch_SteamVR_DirectMode_Bool","consttype": "const char *const", "constval": "directMode"}
+,{
+	"constname": "k_pch_SteamVR_DirectModeEdidVid_Int32","consttype": "const char *const", "constval": "directModeEdidVid"}
+,{
+	"constname": "k_pch_SteamVR_DirectModeEdidPid_Int32","consttype": "const char *const", "constval": "directModeEdidPid"}
+,{
+	"constname": "k_pch_SteamVR_UsingSpeakers_Bool","consttype": "const char *const", "constval": "usingSpeakers"}
+,{
+	"constname": "k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float","consttype": "const char *const", "constval": "speakersForwardYawOffsetDegrees"}
+,{
+	"constname": "k_pch_SteamVR_BaseStationPowerManagement_Bool","consttype": "const char *const", "constval": "basestationPowerManagement"}
+,{
+	"constname": "k_pch_SteamVR_NeverKillProcesses_Bool","consttype": "const char *const", "constval": "neverKillProcesses"}
+,{
+	"constname": "k_pch_SteamVR_SupersampleScale_Float","consttype": "const char *const", "constval": "supersampleScale"}
+,{
+	"constname": "k_pch_SteamVR_AllowAsyncReprojection_Bool","consttype": "const char *const", "constval": "allowAsyncReprojection"}
+,{
+	"constname": "k_pch_SteamVR_AllowReprojection_Bool","consttype": "const char *const", "constval": "allowInterleavedReprojection"}
+,{
+	"constname": "k_pch_SteamVR_ForceReprojection_Bool","consttype": "const char *const", "constval": "forceReprojection"}
+,{
+	"constname": "k_pch_SteamVR_ForceFadeOnBadTracking_Bool","consttype": "const char *const", "constval": "forceFadeOnBadTracking"}
+,{
+	"constname": "k_pch_SteamVR_DefaultMirrorView_Int32","consttype": "const char *const", "constval": "defaultMirrorView"}
+,{
+	"constname": "k_pch_SteamVR_ShowMirrorView_Bool","consttype": "const char *const", "constval": "showMirrorView"}
+,{
+	"constname": "k_pch_SteamVR_MirrorViewGeometry_String","consttype": "const char *const", "constval": "mirrorViewGeometry"}
+,{
+	"constname": "k_pch_SteamVR_StartMonitorFromAppLaunch","consttype": "const char *const", "constval": "startMonitorFromAppLaunch"}
+,{
+	"constname": "k_pch_SteamVR_StartCompositorFromAppLaunch_Bool","consttype": "const char *const", "constval": "startCompositorFromAppLaunch"}
+,{
+	"constname": "k_pch_SteamVR_StartDashboardFromAppLaunch_Bool","consttype": "const char *const", "constval": "startDashboardFromAppLaunch"}
+,{
+	"constname": "k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool","consttype": "const char *const", "constval": "startOverlayAppsFromDashboard"}
+,{
+	"constname": "k_pch_SteamVR_EnableHomeApp","consttype": "const char *const", "constval": "enableHomeApp"}
+,{
+	"constname": "k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32","consttype": "const char *const", "constval": "CycleBackgroundImageTimeSec"}
+,{
+	"constname": "k_pch_SteamVR_RetailDemo_Bool","consttype": "const char *const", "constval": "retailDemo"}
+,{
+	"constname": "k_pch_SteamVR_IpdOffset_Float","consttype": "const char *const", "constval": "ipdOffset"}
+,{
+	"constname": "k_pch_SteamVR_AllowSupersampleFiltering_Bool","consttype": "const char *const", "constval": "allowSupersampleFiltering"}
+,{
+	"constname": "k_pch_SteamVR_EnableLinuxVulkanAsync_Bool","consttype": "const char *const", "constval": "enableLinuxVulkanAsync"}
+,{
+	"constname": "k_pch_SteamVR_AllowDisplayLockedMode_Bool","consttype": "const char *const", "constval": "allowDisplayLockedMode"}
+,{
+	"constname": "k_pch_SteamVR_HaveStartedTutorialForNativeChaperoneDriver_Bool","consttype": "const char *const", "constval": "haveStartedTutorialForNativeChaperoneDriver"}
+,{
+	"constname": "k_pch_SteamVR_ForceWindows32bitVRMonitor","consttype": "const char *const", "constval": "forceWindows32BitVRMonitor"}
+,{
+	"constname": "k_pch_Lighthouse_Section","consttype": "const char *const", "constval": "driver_lighthouse"}
+,{
+	"constname": "k_pch_Lighthouse_DisableIMU_Bool","consttype": "const char *const", "constval": "disableimu"}
+,{
+	"constname": "k_pch_Lighthouse_DisableIMUExceptHMD_Bool","consttype": "const char *const", "constval": "disableimuexcepthmd"}
+,{
+	"constname": "k_pch_Lighthouse_UseDisambiguation_String","consttype": "const char *const", "constval": "usedisambiguation"}
+,{
+	"constname": "k_pch_Lighthouse_DisambiguationDebug_Int32","consttype": "const char *const", "constval": "disambiguationdebug"}
+,{
+	"constname": "k_pch_Lighthouse_PrimaryBasestation_Int32","consttype": "const char *const", "constval": "primarybasestation"}
+,{
+	"constname": "k_pch_Lighthouse_DBHistory_Bool","consttype": "const char *const", "constval": "dbhistory"}
+,{
+	"constname": "k_pch_Lighthouse_EnableBluetooth_Bool","consttype": "const char *const", "constval": "enableBluetooth"}
+,{
+	"constname": "k_pch_Null_Section","consttype": "const char *const", "constval": "driver_null"}
+,{
+	"constname": "k_pch_Null_SerialNumber_String","consttype": "const char *const", "constval": "serialNumber"}
+,{
+	"constname": "k_pch_Null_ModelNumber_String","consttype": "const char *const", "constval": "modelNumber"}
+,{
+	"constname": "k_pch_Null_WindowX_Int32","consttype": "const char *const", "constval": "windowX"}
+,{
+	"constname": "k_pch_Null_WindowY_Int32","consttype": "const char *const", "constval": "windowY"}
+,{
+	"constname": "k_pch_Null_WindowWidth_Int32","consttype": "const char *const", "constval": "windowWidth"}
+,{
+	"constname": "k_pch_Null_WindowHeight_Int32","consttype": "const char *const", "constval": "windowHeight"}
+,{
+	"constname": "k_pch_Null_RenderWidth_Int32","consttype": "const char *const", "constval": "renderWidth"}
+,{
+	"constname": "k_pch_Null_RenderHeight_Int32","consttype": "const char *const", "constval": "renderHeight"}
+,{
+	"constname": "k_pch_Null_SecondsFromVsyncToPhotons_Float","consttype": "const char *const", "constval": "secondsFromVsyncToPhotons"}
+,{
+	"constname": "k_pch_Null_DisplayFrequency_Float","consttype": "const char *const", "constval": "displayFrequency"}
+,{
+	"constname": "k_pch_UserInterface_Section","consttype": "const char *const", "constval": "userinterface"}
+,{
+	"constname": "k_pch_UserInterface_StatusAlwaysOnTop_Bool","consttype": "const char *const", "constval": "StatusAlwaysOnTop"}
+,{
+	"constname": "k_pch_UserInterface_MinimizeToTray_Bool","consttype": "const char *const", "constval": "MinimizeToTray"}
+,{
+	"constname": "k_pch_UserInterface_Screenshots_Bool","consttype": "const char *const", "constval": "screenshots"}
+,{
+	"constname": "k_pch_UserInterface_ScreenshotType_Int","consttype": "const char *const", "constval": "screenshotType"}
+,{
+	"constname": "k_pch_Notifications_Section","consttype": "const char *const", "constval": "notifications"}
+,{
+	"constname": "k_pch_Notifications_DoNotDisturb_Bool","consttype": "const char *const", "constval": "DoNotDisturb"}
+,{
+	"constname": "k_pch_Keyboard_Section","consttype": "const char *const", "constval": "keyboard"}
+,{
+	"constname": "k_pch_Keyboard_TutorialCompletions","consttype": "const char *const", "constval": "TutorialCompletions"}
+,{
+	"constname": "k_pch_Keyboard_ScaleX","consttype": "const char *const", "constval": "ScaleX"}
+,{
+	"constname": "k_pch_Keyboard_ScaleY","consttype": "const char *const", "constval": "ScaleY"}
+,{
+	"constname": "k_pch_Keyboard_OffsetLeftX","consttype": "const char *const", "constval": "OffsetLeftX"}
+,{
+	"constname": "k_pch_Keyboard_OffsetRightX","consttype": "const char *const", "constval": "OffsetRightX"}
+,{
+	"constname": "k_pch_Keyboard_OffsetY","consttype": "const char *const", "constval": "OffsetY"}
+,{
+	"constname": "k_pch_Keyboard_Smoothing","consttype": "const char *const", "constval": "Smoothing"}
+,{
+	"constname": "k_pch_Perf_Section","consttype": "const char *const", "constval": "perfcheck"}
+,{
+	"constname": "k_pch_Perf_HeuristicActive_Bool","consttype": "const char *const", "constval": "heuristicActive"}
+,{
+	"constname": "k_pch_Perf_NotifyInHMD_Bool","consttype": "const char *const", "constval": "warnInHMD"}
+,{
+	"constname": "k_pch_Perf_NotifyOnlyOnce_Bool","consttype": "const char *const", "constval": "warnOnlyOnce"}
+,{
+	"constname": "k_pch_Perf_AllowTimingStore_Bool","consttype": "const char *const", "constval": "allowTimingStore"}
+,{
+	"constname": "k_pch_Perf_SaveTimingsOnExit_Bool","consttype": "const char *const", "constval": "saveTimingsOnExit"}
+,{
+	"constname": "k_pch_Perf_TestData_Float","consttype": "const char *const", "constval": "perfTestData"}
+,{
+	"constname": "k_pch_Perf_LinuxGPUProfiling_Bool","consttype": "const char *const", "constval": "linuxGPUProfiling"}
+,{
+	"constname": "k_pch_CollisionBounds_Section","consttype": "const char *const", "constval": "collisionBounds"}
+,{
+	"constname": "k_pch_CollisionBounds_Style_Int32","consttype": "const char *const", "constval": "CollisionBoundsStyle"}
+,{
+	"constname": "k_pch_CollisionBounds_GroundPerimeterOn_Bool","consttype": "const char *const", "constval": "CollisionBoundsGroundPerimeterOn"}
+,{
+	"constname": "k_pch_CollisionBounds_CenterMarkerOn_Bool","consttype": "const char *const", "constval": "CollisionBoundsCenterMarkerOn"}
+,{
+	"constname": "k_pch_CollisionBounds_PlaySpaceOn_Bool","consttype": "const char *const", "constval": "CollisionBoundsPlaySpaceOn"}
+,{
+	"constname": "k_pch_CollisionBounds_FadeDistance_Float","consttype": "const char *const", "constval": "CollisionBoundsFadeDistance"}
+,{
+	"constname": "k_pch_CollisionBounds_ColorGammaR_Int32","consttype": "const char *const", "constval": "CollisionBoundsColorGammaR"}
+,{
+	"constname": "k_pch_CollisionBounds_ColorGammaG_Int32","consttype": "const char *const", "constval": "CollisionBoundsColorGammaG"}
+,{
+	"constname": "k_pch_CollisionBounds_ColorGammaB_Int32","consttype": "const char *const", "constval": "CollisionBoundsColorGammaB"}
+,{
+	"constname": "k_pch_CollisionBounds_ColorGammaA_Int32","consttype": "const char *const", "constval": "CollisionBoundsColorGammaA"}
+,{
+	"constname": "k_pch_Camera_Section","consttype": "const char *const", "constval": "camera"}
+,{
+	"constname": "k_pch_Camera_EnableCamera_Bool","consttype": "const char *const", "constval": "enableCamera"}
+,{
+	"constname": "k_pch_Camera_EnableCameraInDashboard_Bool","consttype": "const char *const", "constval": "enableCameraInDashboard"}
+,{
+	"constname": "k_pch_Camera_EnableCameraForCollisionBounds_Bool","consttype": "const char *const", "constval": "enableCameraForCollisionBounds"}
+,{
+	"constname": "k_pch_Camera_EnableCameraForRoomView_Bool","consttype": "const char *const", "constval": "enableCameraForRoomView"}
+,{
+	"constname": "k_pch_Camera_BoundsColorGammaR_Int32","consttype": "const char *const", "constval": "cameraBoundsColorGammaR"}
+,{
+	"constname": "k_pch_Camera_BoundsColorGammaG_Int32","consttype": "const char *const", "constval": "cameraBoundsColorGammaG"}
+,{
+	"constname": "k_pch_Camera_BoundsColorGammaB_Int32","consttype": "const char *const", "constval": "cameraBoundsColorGammaB"}
+,{
+	"constname": "k_pch_Camera_BoundsColorGammaA_Int32","consttype": "const char *const", "constval": "cameraBoundsColorGammaA"}
+,{
+	"constname": "k_pch_Camera_BoundsStrength_Int32","consttype": "const char *const", "constval": "cameraBoundsStrength"}
+,{
+	"constname": "k_pch_audio_Section","consttype": "const char *const", "constval": "audio"}
+,{
+	"constname": "k_pch_audio_OnPlaybackDevice_String","consttype": "const char *const", "constval": "onPlaybackDevice"}
+,{
+	"constname": "k_pch_audio_OnRecordDevice_String","consttype": "const char *const", "constval": "onRecordDevice"}
+,{
+	"constname": "k_pch_audio_OnPlaybackMirrorDevice_String","consttype": "const char *const", "constval": "onPlaybackMirrorDevice"}
+,{
+	"constname": "k_pch_audio_OffPlaybackDevice_String","consttype": "const char *const", "constval": "offPlaybackDevice"}
+,{
+	"constname": "k_pch_audio_OffRecordDevice_String","consttype": "const char *const", "constval": "offRecordDevice"}
+,{
+	"constname": "k_pch_audio_VIVEHDMIGain","consttype": "const char *const", "constval": "viveHDMIGain"}
+,{
+	"constname": "k_pch_Power_Section","consttype": "const char *const", "constval": "power"}
+,{
+	"constname": "k_pch_Power_PowerOffOnExit_Bool","consttype": "const char *const", "constval": "powerOffOnExit"}
+,{
+	"constname": "k_pch_Power_TurnOffScreensTimeout_Float","consttype": "const char *const", "constval": "turnOffScreensTimeout"}
+,{
+	"constname": "k_pch_Power_TurnOffControllersTimeout_Float","consttype": "const char *const", "constval": "turnOffControllersTimeout"}
+,{
+	"constname": "k_pch_Power_ReturnToWatchdogTimeout_Float","consttype": "const char *const", "constval": "returnToWatchdogTimeout"}
+,{
+	"constname": "k_pch_Power_AutoLaunchSteamVROnButtonPress","consttype": "const char *const", "constval": "autoLaunchSteamVROnButtonPress"}
+,{
+	"constname": "k_pch_Power_PauseCompositorOnStandby_Bool","consttype": "const char *const", "constval": "pauseCompositorOnStandby"}
+,{
+	"constname": "k_pch_Dashboard_Section","consttype": "const char *const", "constval": "dashboard"}
+,{
+	"constname": "k_pch_Dashboard_EnableDashboard_Bool","consttype": "const char *const", "constval": "enableDashboard"}
+,{
+	"constname": "k_pch_Dashboard_ArcadeMode_Bool","consttype": "const char *const", "constval": "arcadeMode"}
+,{
+	"constname": "k_pch_modelskin_Section","consttype": "const char *const", "constval": "modelskins"}
+,{
+	"constname": "k_pch_Driver_Enable_Bool","consttype": "const char *const", "constval": "enable"}
+,{
+	"constname": "IVRScreenshots_Version","consttype": "const char *const", "constval": "IVRScreenshots_001"}
+,{
+	"constname": "IVRResources_Version","consttype": "const char *const", "constval": "IVRResources_001"}
+,{
+	"constname": "IVRDriverManager_Version","consttype": "const char *const", "constval": "IVRDriverManager_001"}
+],
+"structs":[{"struct": "vr::HmdMatrix34_t","fields": [
+{ "fieldname": "m", "fieldtype": "float [3][4]"}]}
+,{"struct": "vr::HmdMatrix44_t","fields": [
+{ "fieldname": "m", "fieldtype": "float [4][4]"}]}
+,{"struct": "vr::HmdVector3_t","fields": [
+{ "fieldname": "v", "fieldtype": "float [3]"}]}
+,{"struct": "vr::HmdVector4_t","fields": [
+{ "fieldname": "v", "fieldtype": "float [4]"}]}
+,{"struct": "vr::HmdVector3d_t","fields": [
+{ "fieldname": "v", "fieldtype": "double [3]"}]}
+,{"struct": "vr::HmdVector2_t","fields": [
+{ "fieldname": "v", "fieldtype": "float [2]"}]}
+,{"struct": "vr::HmdQuaternion_t","fields": [
+{ "fieldname": "w", "fieldtype": "double"},
+{ "fieldname": "x", "fieldtype": "double"},
+{ "fieldname": "y", "fieldtype": "double"},
+{ "fieldname": "z", "fieldtype": "double"}]}
+,{"struct": "vr::HmdColor_t","fields": [
+{ "fieldname": "r", "fieldtype": "float"},
+{ "fieldname": "g", "fieldtype": "float"},
+{ "fieldname": "b", "fieldtype": "float"},
+{ "fieldname": "a", "fieldtype": "float"}]}
+,{"struct": "vr::HmdQuad_t","fields": [
+{ "fieldname": "vCorners", "fieldtype": "struct vr::HmdVector3_t [4]"}]}
+,{"struct": "vr::HmdRect2_t","fields": [
+{ "fieldname": "vTopLeft", "fieldtype": "struct vr::HmdVector2_t"},
+{ "fieldname": "vBottomRight", "fieldtype": "struct vr::HmdVector2_t"}]}
+,{"struct": "vr::DistortionCoordinates_t","fields": [
+{ "fieldname": "rfRed", "fieldtype": "float [2]"},
+{ "fieldname": "rfGreen", "fieldtype": "float [2]"},
+{ "fieldname": "rfBlue", "fieldtype": "float [2]"}]}
+,{"struct": "vr::Texture_t","fields": [
+{ "fieldname": "handle", "fieldtype": "void *"},
+{ "fieldname": "eType", "fieldtype": "enum vr::ETextureType"},
+{ "fieldname": "eColorSpace", "fieldtype": "enum vr::EColorSpace"}]}
+,{"struct": "vr::TrackedDevicePose_t","fields": [
+{ "fieldname": "mDeviceToAbsoluteTracking", "fieldtype": "struct vr::HmdMatrix34_t"},
+{ "fieldname": "vVelocity", "fieldtype": "struct vr::HmdVector3_t"},
+{ "fieldname": "vAngularVelocity", "fieldtype": "struct vr::HmdVector3_t"},
+{ "fieldname": "eTrackingResult", "fieldtype": "enum vr::ETrackingResult"},
+{ "fieldname": "bPoseIsValid", "fieldtype": "_Bool"},
+{ "fieldname": "bDeviceIsConnected", "fieldtype": "_Bool"}]}
+,{"struct": "vr::VRTextureBounds_t","fields": [
+{ "fieldname": "uMin", "fieldtype": "float"},
+{ "fieldname": "vMin", "fieldtype": "float"},
+{ "fieldname": "uMax", "fieldtype": "float"},
+{ "fieldname": "vMax", "fieldtype": "float"}]}
+,{"struct": "vr::VRTextureWithPose_t","fields": [
+{ "fieldname": "mDeviceToAbsoluteTracking", "fieldtype": "struct vr::HmdMatrix34_t"}]}
+,{"struct": "vr::VRTextureDepthInfo_t","fields": [
+{ "fieldname": "handle", "fieldtype": "void *"},
+{ "fieldname": "mProjection", "fieldtype": "struct vr::HmdMatrix44_t"},
+{ "fieldname": "vRange", "fieldtype": "struct vr::HmdVector2_t"}]}
+,{"struct": "vr::VRTextureWithDepth_t","fields": [
+{ "fieldname": "depth", "fieldtype": "struct vr::VRTextureDepthInfo_t"}]}
+,{"struct": "vr::VRTextureWithPoseAndDepth_t","fields": [
+{ "fieldname": "depth", "fieldtype": "struct vr::VRTextureDepthInfo_t"}]}
+,{"struct": "vr::VRVulkanTextureData_t","fields": [
+{ "fieldname": "m_nImage", "fieldtype": "uint64_t"},
+{ "fieldname": "m_pDevice", "fieldtype": "struct VkDevice_T *"},
+{ "fieldname": "m_pPhysicalDevice", "fieldtype": "struct VkPhysicalDevice_T *"},
+{ "fieldname": "m_pInstance", "fieldtype": "struct VkInstance_T *"},
+{ "fieldname": "m_pQueue", "fieldtype": "struct VkQueue_T *"},
+{ "fieldname": "m_nQueueFamilyIndex", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nWidth", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nHeight", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nFormat", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nSampleCount", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::D3D12TextureData_t","fields": [
+{ "fieldname": "m_pResource", "fieldtype": "struct ID3D12Resource *"},
+{ "fieldname": "m_pCommandQueue", "fieldtype": "struct ID3D12CommandQueue *"},
+{ "fieldname": "m_nNodeMask", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_Controller_t","fields": [
+{ "fieldname": "button", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_Mouse_t","fields": [
+{ "fieldname": "x", "fieldtype": "float"},
+{ "fieldname": "y", "fieldtype": "float"},
+{ "fieldname": "button", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_Scroll_t","fields": [
+{ "fieldname": "xdelta", "fieldtype": "float"},
+{ "fieldname": "ydelta", "fieldtype": "float"},
+{ "fieldname": "repeatCount", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_TouchPadMove_t","fields": [
+{ "fieldname": "bFingerDown", "fieldtype": "_Bool"},
+{ "fieldname": "flSecondsFingerDown", "fieldtype": "float"},
+{ "fieldname": "fValueXFirst", "fieldtype": "float"},
+{ "fieldname": "fValueYFirst", "fieldtype": "float"},
+{ "fieldname": "fValueXRaw", "fieldtype": "float"},
+{ "fieldname": "fValueYRaw", "fieldtype": "float"}]}
+,{"struct": "vr::VREvent_Notification_t","fields": [
+{ "fieldname": "ulUserValue", "fieldtype": "uint64_t"},
+{ "fieldname": "notificationId", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_Process_t","fields": [
+{ "fieldname": "pid", "fieldtype": "uint32_t"},
+{ "fieldname": "oldPid", "fieldtype": "uint32_t"},
+{ "fieldname": "bForced", "fieldtype": "_Bool"}]}
+,{"struct": "vr::VREvent_Overlay_t","fields": [
+{ "fieldname": "overlayHandle", "fieldtype": "uint64_t"}]}
+,{"struct": "vr::VREvent_Status_t","fields": [
+{ "fieldname": "statusState", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_Keyboard_t","fields": [
+{ "fieldname": "cNewInput", "fieldtype": "char [8]"},
+{ "fieldname": "uUserValue", "fieldtype": "uint64_t"}]}
+,{"struct": "vr::VREvent_Ipd_t","fields": [
+{ "fieldname": "ipdMeters", "fieldtype": "float"}]}
+,{"struct": "vr::VREvent_Chaperone_t","fields": [
+{ "fieldname": "m_nPreviousUniverse", "fieldtype": "uint64_t"},
+{ "fieldname": "m_nCurrentUniverse", "fieldtype": "uint64_t"}]}
+,{"struct": "vr::VREvent_Reserved_t","fields": [
+{ "fieldname": "reserved0", "fieldtype": "uint64_t"},
+{ "fieldname": "reserved1", "fieldtype": "uint64_t"}]}
+,{"struct": "vr::VREvent_PerformanceTest_t","fields": [
+{ "fieldname": "m_nFidelityLevel", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_SeatedZeroPoseReset_t","fields": [
+{ "fieldname": "bResetBySystemMenu", "fieldtype": "_Bool"}]}
+,{"struct": "vr::VREvent_Screenshot_t","fields": [
+{ "fieldname": "handle", "fieldtype": "uint32_t"},
+{ "fieldname": "type", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_ScreenshotProgress_t","fields": [
+{ "fieldname": "progress", "fieldtype": "float"}]}
+,{"struct": "vr::VREvent_ApplicationLaunch_t","fields": [
+{ "fieldname": "pid", "fieldtype": "uint32_t"},
+{ "fieldname": "unArgsHandle", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_EditingCameraSurface_t","fields": [
+{ "fieldname": "overlayHandle", "fieldtype": "uint64_t"},
+{ "fieldname": "nVisualMode", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_MessageOverlay_t","fields": [
+{ "fieldname": "unVRMessageOverlayResponse", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VREvent_Property_t","fields": [
+{ "fieldname": "container", "fieldtype": "PropertyContainerHandle_t"},
+{ "fieldname": "prop", "fieldtype": "enum vr::ETrackedDeviceProperty"}]}
+,{"struct": "vr::VREvent_DualAnalog_t","fields": [
+{ "fieldname": "x", "fieldtype": "float"},
+{ "fieldname": "y", "fieldtype": "float"},
+{ "fieldname": "transformedX", "fieldtype": "float"},
+{ "fieldname": "transformedY", "fieldtype": "float"},
+{ "fieldname": "which", "fieldtype": "enum vr::EDualAnalogWhich"}]}
+,{"struct": "vr::VREvent_HapticVibration_t","fields": [
+{ "fieldname": "containerHandle", "fieldtype": "uint64_t"},
+{ "fieldname": "componentHandle", "fieldtype": "uint64_t"},
+{ "fieldname": "fDurationSeconds", "fieldtype": "float"},
+{ "fieldname": "fFrequency", "fieldtype": "float"},
+{ "fieldname": "fAmplitude", "fieldtype": "float"}]}
+,{"struct": "vr::(anonymous)","fields": [
+{ "fieldname": "reserved", "fieldtype": "struct vr::VREvent_Reserved_t"},
+{ "fieldname": "controller", "fieldtype": "struct vr::VREvent_Controller_t"},
+{ "fieldname": "mouse", "fieldtype": "struct vr::VREvent_Mouse_t"},
+{ "fieldname": "scroll", "fieldtype": "struct vr::VREvent_Scroll_t"},
+{ "fieldname": "process", "fieldtype": "struct vr::VREvent_Process_t"},
+{ "fieldname": "notification", "fieldtype": "struct vr::VREvent_Notification_t"},
+{ "fieldname": "overlay", "fieldtype": "struct vr::VREvent_Overlay_t"},
+{ "fieldname": "status", "fieldtype": "struct vr::VREvent_Status_t"},
+{ "fieldname": "keyboard", "fieldtype": "struct vr::VREvent_Keyboard_t"},
+{ "fieldname": "ipd", "fieldtype": "struct vr::VREvent_Ipd_t"},
+{ "fieldname": "chaperone", "fieldtype": "struct vr::VREvent_Chaperone_t"},
+{ "fieldname": "performanceTest", "fieldtype": "struct vr::VREvent_PerformanceTest_t"},
+{ "fieldname": "touchPadMove", "fieldtype": "struct vr::VREvent_TouchPadMove_t"},
+{ "fieldname": "seatedZeroPoseReset", "fieldtype": "struct vr::VREvent_SeatedZeroPoseReset_t"},
+{ "fieldname": "screenshot", "fieldtype": "struct vr::VREvent_Screenshot_t"},
+{ "fieldname": "screenshotProgress", "fieldtype": "struct vr::VREvent_ScreenshotProgress_t"},
+{ "fieldname": "applicationLaunch", "fieldtype": "struct vr::VREvent_ApplicationLaunch_t"},
+{ "fieldname": "cameraSurface", "fieldtype": "struct vr::VREvent_EditingCameraSurface_t"},
+{ "fieldname": "messageOverlay", "fieldtype": "struct vr::VREvent_MessageOverlay_t"},
+{ "fieldname": "property", "fieldtype": "struct vr::VREvent_Property_t"},
+{ "fieldname": "dualAnalog", "fieldtype": "struct vr::VREvent_DualAnalog_t"},
+{ "fieldname": "hapticVibration", "fieldtype": "struct vr::VREvent_HapticVibration_t"}]}
+,{"struct": "vr::VREvent_t","fields": [
+{ "fieldname": "eventType", "fieldtype": "uint32_t"},
+{ "fieldname": "trackedDeviceIndex", "fieldtype": "TrackedDeviceIndex_t"},
+{ "fieldname": "eventAgeSeconds", "fieldtype": "float"},
+{ "fieldname": "data", "fieldtype": "VREvent_Data_t"}]}
+,{"struct": "vr::HiddenAreaMesh_t","fields": [
+{ "fieldname": "pVertexData", "fieldtype": "const struct vr::HmdVector2_t *"},
+{ "fieldname": "unTriangleCount", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VRControllerAxis_t","fields": [
+{ "fieldname": "x", "fieldtype": "float"},
+{ "fieldname": "y", "fieldtype": "float"}]}
+,{"struct": "vr::VRControllerState001_t","fields": [
+{ "fieldname": "unPacketNum", "fieldtype": "uint32_t"},
+{ "fieldname": "ulButtonPressed", "fieldtype": "uint64_t"},
+{ "fieldname": "ulButtonTouched", "fieldtype": "uint64_t"},
+{ "fieldname": "rAxis", "fieldtype": "struct vr::VRControllerAxis_t [5]"}]}
+,{"struct": "vr::Compositor_OverlaySettings","fields": [
+{ "fieldname": "size", "fieldtype": "uint32_t"},
+{ "fieldname": "curved", "fieldtype": "_Bool"},
+{ "fieldname": "antialias", "fieldtype": "_Bool"},
+{ "fieldname": "scale", "fieldtype": "float"},
+{ "fieldname": "distance", "fieldtype": "float"},
+{ "fieldname": "alpha", "fieldtype": "float"},
+{ "fieldname": "uOffset", "fieldtype": "float"},
+{ "fieldname": "vOffset", "fieldtype": "float"},
+{ "fieldname": "uScale", "fieldtype": "float"},
+{ "fieldname": "vScale", "fieldtype": "float"},
+{ "fieldname": "gridDivs", "fieldtype": "float"},
+{ "fieldname": "gridWidth", "fieldtype": "float"},
+{ "fieldname": "gridScale", "fieldtype": "float"},
+{ "fieldname": "transform", "fieldtype": "struct vr::HmdMatrix44_t"}]}
+,{"struct": "vr::CameraVideoStreamFrameHeader_t","fields": [
+{ "fieldname": "eFrameType", "fieldtype": "enum vr::EVRTrackedCameraFrameType"},
+{ "fieldname": "nWidth", "fieldtype": "uint32_t"},
+{ "fieldname": "nHeight", "fieldtype": "uint32_t"},
+{ "fieldname": "nBytesPerPixel", "fieldtype": "uint32_t"},
+{ "fieldname": "nFrameSequence", "fieldtype": "uint32_t"},
+{ "fieldname": "standingTrackedDevicePose", "fieldtype": "struct vr::TrackedDevicePose_t"}]}
+,{"struct": "vr::DriverDirectMode_FrameTiming","fields": [
+{ "fieldname": "m_nSize", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumFramePresents", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumMisPresented", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumDroppedFrames", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nReprojectionFlags", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::AppOverrideKeys_t","fields": [
+{ "fieldname": "pchKey", "fieldtype": "const char *"},
+{ "fieldname": "pchValue", "fieldtype": "const char *"}]}
+,{"struct": "vr::Compositor_FrameTiming","fields": [
+{ "fieldname": "m_nSize", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nFrameIndex", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumFramePresents", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumMisPresented", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumDroppedFrames", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nReprojectionFlags", "fieldtype": "uint32_t"},
+{ "fieldname": "m_flSystemTimeInSeconds", "fieldtype": "double"},
+{ "fieldname": "m_flPreSubmitGpuMs", "fieldtype": "float"},
+{ "fieldname": "m_flPostSubmitGpuMs", "fieldtype": "float"},
+{ "fieldname": "m_flTotalRenderGpuMs", "fieldtype": "float"},
+{ "fieldname": "m_flCompositorRenderGpuMs", "fieldtype": "float"},
+{ "fieldname": "m_flCompositorRenderCpuMs", "fieldtype": "float"},
+{ "fieldname": "m_flCompositorIdleCpuMs", "fieldtype": "float"},
+{ "fieldname": "m_flClientFrameIntervalMs", "fieldtype": "float"},
+{ "fieldname": "m_flPresentCallCpuMs", "fieldtype": "float"},
+{ "fieldname": "m_flWaitForPresentCpuMs", "fieldtype": "float"},
+{ "fieldname": "m_flSubmitFrameMs", "fieldtype": "float"},
+{ "fieldname": "m_flWaitGetPosesCalledMs", "fieldtype": "float"},
+{ "fieldname": "m_flNewPosesReadyMs", "fieldtype": "float"},
+{ "fieldname": "m_flNewFrameReadyMs", "fieldtype": "float"},
+{ "fieldname": "m_flCompositorUpdateStartMs", "fieldtype": "float"},
+{ "fieldname": "m_flCompositorUpdateEndMs", "fieldtype": "float"},
+{ "fieldname": "m_flCompositorRenderStartMs", "fieldtype": "float"},
+{ "fieldname": "m_HmdPose", "fieldtype": "vr::TrackedDevicePose_t"}]}
+,{"struct": "vr::Compositor_CumulativeStats","fields": [
+{ "fieldname": "m_nPid", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumFramePresents", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumDroppedFrames", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumReprojectedFrames", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumFramePresentsOnStartup", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumDroppedFramesOnStartup", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumReprojectedFramesOnStartup", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumLoading", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumFramePresentsLoading", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumDroppedFramesLoading", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumReprojectedFramesLoading", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumTimedOut", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumFramePresentsTimedOut", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumDroppedFramesTimedOut", "fieldtype": "uint32_t"},
+{ "fieldname": "m_nNumReprojectedFramesTimedOut", "fieldtype": "uint32_t"}]}
+,{"struct": "vr::VROverlayIntersectionParams_t","fields": [
+{ "fieldname": "vSource", "fieldtype": "struct vr::HmdVector3_t"},
+{ "fieldname": "vDirection", "fieldtype": "struct vr::HmdVector3_t"},
+{ "fieldname": "eOrigin", "fieldtype": "enum vr::ETrackingUniverseOrigin"}]}
+,{"struct": "vr::VROverlayIntersectionResults_t","fields": [
+{ "fieldname": "vPoint", "fieldtype": "struct vr::HmdVector3_t"},
+{ "fieldname": "vNormal", "fieldtype": "struct vr::HmdVector3_t"},
+{ "fieldname": "vUVs", "fieldtype": "struct vr::HmdVector2_t"},
+{ "fieldname": "fDistance", "fieldtype": "float"}]}
+,{"struct": "vr::IntersectionMaskRectangle_t","fields": [
+{ "fieldname": "m_flTopLeftX", "fieldtype": "float"},
+{ "fieldname": "m_flTopLeftY", "fieldtype": "float"},
+{ "fieldname": "m_flWidth", "fieldtype": "float"},
+{ "fieldname": "m_flHeight", "fieldtype": "float"}]}
+,{"struct": "vr::IntersectionMaskCircle_t","fields": [
+{ "fieldname": "m_flCenterX", "fieldtype": "float"},
+{ "fieldname": "m_flCenterY", "fieldtype": "float"},
+{ "fieldname": "m_flRadius", "fieldtype": "float"}]}
+,{"struct": "vr::(anonymous)","fields": [
+{ "fieldname": "m_Rectangle", "fieldtype": "struct vr::IntersectionMaskRectangle_t"},
+{ "fieldname": "m_Circle", "fieldtype": "struct vr::IntersectionMaskCircle_t"}]}
+,{"struct": "vr::VROverlayIntersectionMaskPrimitive_t","fields": [
+{ "fieldname": "m_nPrimitiveType", "fieldtype": "enum vr::EVROverlayIntersectionMaskPrimitiveType"},
+{ "fieldname": "m_Primitive", "fieldtype": "VROverlayIntersectionMaskPrimitive_Data_t"}]}
+,{"struct": "vr::RenderModel_ComponentState_t","fields": [
+{ "fieldname": "mTrackingToComponentRenderModel", "fieldtype": "struct vr::HmdMatrix34_t"},
+{ "fieldname": "mTrackingToComponentLocal", "fieldtype": "struct vr::HmdMatrix34_t"},
+{ "fieldname": "uProperties", "fieldtype": "VRComponentProperties"}]}
+,{"struct": "vr::RenderModel_Vertex_t","fields": [
+{ "fieldname": "vPosition", "fieldtype": "struct vr::HmdVector3_t"},
+{ "fieldname": "vNormal", "fieldtype": "struct vr::HmdVector3_t"},
+{ "fieldname": "rfTextureCoord", "fieldtype": "float [2]"}]}
+,{"struct": "vr::RenderModel_TextureMap_t","fields": [
+{ "fieldname": "unWidth", "fieldtype": "uint16_t"},
+{ "fieldname": "unHeight", "fieldtype": "uint16_t"},
+{ "fieldname": "rubTextureMapData", "fieldtype": "const uint8_t *"}]}
+,{"struct": "vr::RenderModel_t","fields": [
+{ "fieldname": "rVertexData", "fieldtype": "const struct vr::RenderModel_Vertex_t *"},
+{ "fieldname": "unVertexCount", "fieldtype": "uint32_t"},
+{ "fieldname": "rIndexData", "fieldtype": "const uint16_t *"},
+{ "fieldname": "unTriangleCount", "fieldtype": "uint32_t"},
+{ "fieldname": "diffuseTextureId", "fieldtype": "TextureID_t"}]}
+,{"struct": "vr::RenderModel_ControllerMode_State_t","fields": [
+{ "fieldname": "bScrollWheelVisible", "fieldtype": "_Bool"}]}
+,{"struct": "vr::NotificationBitmap_t","fields": [
+{ "fieldname": "m_pImageData", "fieldtype": "void *"},
+{ "fieldname": "m_nWidth", "fieldtype": "int32_t"},
+{ "fieldname": "m_nHeight", "fieldtype": "int32_t"},
+{ "fieldname": "m_nBytesPerPixel", "fieldtype": "int32_t"}]}
+,{"struct": "vr::COpenVRContext","fields": [
+{ "fieldname": "m_pVRSystem", "fieldtype": "class vr::IVRSystem *"},
+{ "fieldname": "m_pVRChaperone", "fieldtype": "class vr::IVRChaperone *"},
+{ "fieldname": "m_pVRChaperoneSetup", "fieldtype": "class vr::IVRChaperoneSetup *"},
+{ "fieldname": "m_pVRCompositor", "fieldtype": "class vr::IVRCompositor *"},
+{ "fieldname": "m_pVROverlay", "fieldtype": "class vr::IVROverlay *"},
+{ "fieldname": "m_pVRResources", "fieldtype": "class vr::IVRResources *"},
+{ "fieldname": "m_pVRRenderModels", "fieldtype": "class vr::IVRRenderModels *"},
+{ "fieldname": "m_pVRExtendedDisplay", "fieldtype": "class vr::IVRExtendedDisplay *"},
+{ "fieldname": "m_pVRSettings", "fieldtype": "class vr::IVRSettings *"},
+{ "fieldname": "m_pVRApplications", "fieldtype": "class vr::IVRApplications *"},
+{ "fieldname": "m_pVRTrackedCamera", "fieldtype": "class vr::IVRTrackedCamera *"},
+{ "fieldname": "m_pVRScreenshots", "fieldtype": "class vr::IVRScreenshots *"},
+{ "fieldname": "m_pVRDriverManager", "fieldtype": "class vr::IVRDriverManager *"}]}
+],
+"methods":[{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetRecommendedRenderTargetSize",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pnWidth" ,"paramtype": "uint32_t *"},
+{	"paramname": "pnHeight" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetProjectionMatrix",
+	"returntype": "struct vr::HmdMatrix44_t",
+	"params": [ 
+{	"paramname": "eEye" ,"paramtype": "vr::EVREye"},
+{	"paramname": "fNearZ" ,"paramtype": "float"},
+{	"paramname": "fFarZ" ,"paramtype": "float"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetProjectionRaw",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "eEye" ,"paramtype": "vr::EVREye"},
+{	"paramname": "pfLeft" ,"paramtype": "float *"},
+{	"paramname": "pfRight" ,"paramtype": "float *"},
+{	"paramname": "pfTop" ,"paramtype": "float *"},
+{	"paramname": "pfBottom" ,"paramtype": "float *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "ComputeDistortion",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "eEye" ,"paramtype": "vr::EVREye"},
+{	"paramname": "fU" ,"paramtype": "float"},
+{	"paramname": "fV" ,"paramtype": "float"},
+{	"paramname": "pDistortionCoordinates" ,"paramtype": "struct vr::DistortionCoordinates_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetEyeToHeadTransform",
+	"returntype": "struct vr::HmdMatrix34_t",
+	"params": [ 
+{	"paramname": "eEye" ,"paramtype": "vr::EVREye"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetTimeSinceLastVsync",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pfSecondsSinceLastVsync" ,"paramtype": "float *"},
+{	"paramname": "pulFrameCounter" ,"paramtype": "uint64_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetD3D9AdapterIndex",
+	"returntype": "int32_t"
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetDXGIOutputInfo",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pnAdapterIndex" ,"paramtype": "int32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetOutputDevice",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pnDevice" ,"paramtype": "uint64_t *"},
+{	"paramname": "textureType" ,"paramtype": "vr::ETextureType"},
+{	"paramname": "pInstance" ,"paramtype": "struct VkInstance_T *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "IsDisplayOnDesktop",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "SetDisplayVisibility",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "bIsVisibleOnDesktop" ,"paramtype": "bool"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetDeviceToAbsoluteTrackingPose",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "eOrigin" ,"paramtype": "vr::ETrackingUniverseOrigin"},
+{	"paramname": "fPredictedSecondsToPhotonsFromNow" ,"paramtype": "float"},
+{	"paramname": "pTrackedDevicePoseArray" ,"array_count": "unTrackedDevicePoseArrayCount" ,"paramtype": "struct vr::TrackedDevicePose_t *"},
+{	"paramname": "unTrackedDevicePoseArrayCount" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "ResetSeatedZeroPose",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetSeatedZeroPoseToStandingAbsoluteTrackingPose",
+	"returntype": "struct vr::HmdMatrix34_t"
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetRawZeroPoseToStandingAbsoluteTrackingPose",
+	"returntype": "struct vr::HmdMatrix34_t"
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetSortedTrackedDeviceIndicesOfClass",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "eTrackedDeviceClass" ,"paramtype": "vr::ETrackedDeviceClass"},
+{	"paramname": "punTrackedDeviceIndexArray" ,"array_count": "unTrackedDeviceIndexArrayCount" ,"paramtype": "vr::TrackedDeviceIndex_t *"},
+{	"paramname": "unTrackedDeviceIndexArrayCount" ,"paramtype": "uint32_t"},
+{	"paramname": "unRelativeToTrackedDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetTrackedDeviceActivityLevel",
+	"returntype": "vr::EDeviceActivityLevel",
+	"params": [ 
+{	"paramname": "unDeviceId" ,"paramtype": "vr::TrackedDeviceIndex_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "ApplyTransform",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pOutputPose" ,"paramtype": "struct vr::TrackedDevicePose_t *"},
+{	"paramname": "pTrackedDevicePose" ,"paramtype": "const struct vr::TrackedDevicePose_t *"},
+{	"paramname": "pTransform" ,"paramtype": "const struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetTrackedDeviceIndexForControllerRole",
+	"returntype": "vr::TrackedDeviceIndex_t",
+	"params": [ 
+{	"paramname": "unDeviceType" ,"paramtype": "vr::ETrackedControllerRole"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetControllerRoleForTrackedDeviceIndex",
+	"returntype": "vr::ETrackedControllerRole",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetTrackedDeviceClass",
+	"returntype": "vr::ETrackedDeviceClass",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "IsTrackedDeviceConnected",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetBoolTrackedDeviceProperty",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "prop" ,"paramtype": "vr::ETrackedDeviceProperty"},
+{	"paramname": "pError" ,"paramtype": "vr::ETrackedPropertyError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetFloatTrackedDeviceProperty",
+	"returntype": "float",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "prop" ,"paramtype": "vr::ETrackedDeviceProperty"},
+{	"paramname": "pError" ,"paramtype": "vr::ETrackedPropertyError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetInt32TrackedDeviceProperty",
+	"returntype": "int32_t",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "prop" ,"paramtype": "vr::ETrackedDeviceProperty"},
+{	"paramname": "pError" ,"paramtype": "vr::ETrackedPropertyError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetUint64TrackedDeviceProperty",
+	"returntype": "uint64_t",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "prop" ,"paramtype": "vr::ETrackedDeviceProperty"},
+{	"paramname": "pError" ,"paramtype": "vr::ETrackedPropertyError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetMatrix34TrackedDeviceProperty",
+	"returntype": "struct vr::HmdMatrix34_t",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "prop" ,"paramtype": "vr::ETrackedDeviceProperty"},
+{	"paramname": "pError" ,"paramtype": "vr::ETrackedPropertyError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetArrayTrackedDeviceProperty",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "prop" ,"paramtype": "vr::ETrackedDeviceProperty"},
+{	"paramname": "propType" ,"paramtype": "vr::PropertyTypeTag_t"},
+{	"paramname": "pBuffer" ,"paramtype": "void *"},
+{	"paramname": "unBufferSize" ,"paramtype": "uint32_t"},
+{	"paramname": "pError" ,"paramtype": "vr::ETrackedPropertyError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetStringTrackedDeviceProperty",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "prop" ,"paramtype": "vr::ETrackedDeviceProperty"},
+{	"paramname": "pchValue" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unBufferSize" ,"paramtype": "uint32_t"},
+{	"paramname": "pError" ,"paramtype": "vr::ETrackedPropertyError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetPropErrorNameFromEnum",
+	"returntype": "const char *",
+	"params": [ 
+{	"paramname": "error" ,"paramtype": "vr::ETrackedPropertyError"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "PollNextEvent",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pEvent" ,"paramtype": "struct vr::VREvent_t *"},
+{	"paramname": "uncbVREvent" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "PollNextEventWithPose",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "eOrigin" ,"paramtype": "vr::ETrackingUniverseOrigin"},
+{	"paramname": "pEvent" ,"paramtype": "struct vr::VREvent_t *"},
+{	"paramname": "uncbVREvent" ,"paramtype": "uint32_t"},
+{	"paramname": "pTrackedDevicePose" ,"paramtype": "vr::TrackedDevicePose_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetEventTypeNameFromEnum",
+	"returntype": "const char *",
+	"params": [ 
+{	"paramname": "eType" ,"paramtype": "vr::EVREventType"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetHiddenAreaMesh",
+	"returntype": "struct vr::HiddenAreaMesh_t",
+	"params": [ 
+{	"paramname": "eEye" ,"paramtype": "vr::EVREye"},
+{	"paramname": "type" ,"paramtype": "vr::EHiddenAreaMeshType"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetControllerState",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "unControllerDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "pControllerState" ,"paramtype": "vr::VRControllerState_t *"},
+{	"paramname": "unControllerStateSize" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetControllerStateWithPose",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "eOrigin" ,"paramtype": "vr::ETrackingUniverseOrigin"},
+{	"paramname": "unControllerDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "pControllerState" ,"paramtype": "vr::VRControllerState_t *"},
+{	"paramname": "unControllerStateSize" ,"paramtype": "uint32_t"},
+{	"paramname": "pTrackedDevicePose" ,"paramtype": "struct vr::TrackedDevicePose_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "TriggerHapticPulse",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "unControllerDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "unAxisId" ,"paramtype": "uint32_t"},
+{	"paramname": "usDurationMicroSec" ,"paramtype": "unsigned short"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetButtonIdNameFromEnum",
+	"returntype": "const char *",
+	"params": [ 
+{	"paramname": "eButtonId" ,"paramtype": "vr::EVRButtonId"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "GetControllerAxisTypeNameFromEnum",
+	"returntype": "const char *",
+	"params": [ 
+{	"paramname": "eAxisType" ,"paramtype": "vr::EVRControllerAxisType"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "IsInputAvailable",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "IsSteamVRDrawingControllers",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "ShouldApplicationPause",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "ShouldApplicationReduceRenderingWork",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "DriverDebugRequest",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "pchRequest" ,"paramtype": "const char *"},
+{	"paramname": "pchResponseBuffer" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unResponseBufferSize" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "PerformFirmwareUpdate",
+	"returntype": "vr::EVRFirmwareError",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "AcknowledgeQuit_Exiting",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRSystem",
+	"methodname": "AcknowledgeQuit_UserPrompt",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRExtendedDisplay",
+	"methodname": "GetWindowBounds",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pnX" ,"paramtype": "int32_t *"},
+{	"paramname": "pnY" ,"paramtype": "int32_t *"},
+{	"paramname": "pnWidth" ,"paramtype": "uint32_t *"},
+{	"paramname": "pnHeight" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRExtendedDisplay",
+	"methodname": "GetEyeOutputViewport",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "eEye" ,"paramtype": "vr::EVREye"},
+{	"paramname": "pnX" ,"paramtype": "uint32_t *"},
+{	"paramname": "pnY" ,"paramtype": "uint32_t *"},
+{	"paramname": "pnWidth" ,"paramtype": "uint32_t *"},
+{	"paramname": "pnHeight" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRExtendedDisplay",
+	"methodname": "GetDXGIOutputInfo",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pnAdapterIndex" ,"paramtype": "int32_t *"},
+{	"paramname": "pnAdapterOutputIndex" ,"paramtype": "int32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "GetCameraErrorNameFromEnum",
+	"returntype": "const char *",
+	"params": [ 
+{	"paramname": "eCameraError" ,"paramtype": "vr::EVRTrackedCameraError"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "HasCamera",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "nDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "pHasCamera" ,"paramtype": "bool *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "GetCameraFrameSize",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "nDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "eFrameType" ,"paramtype": "vr::EVRTrackedCameraFrameType"},
+{	"paramname": "pnWidth" ,"paramtype": "uint32_t *"},
+{	"paramname": "pnHeight" ,"paramtype": "uint32_t *"},
+{	"paramname": "pnFrameBufferSize" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "GetCameraIntrinsics",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "nDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "eFrameType" ,"paramtype": "vr::EVRTrackedCameraFrameType"},
+{	"paramname": "pFocalLength" ,"paramtype": "vr::HmdVector2_t *"},
+{	"paramname": "pCenter" ,"paramtype": "vr::HmdVector2_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "GetCameraProjection",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "nDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "eFrameType" ,"paramtype": "vr::EVRTrackedCameraFrameType"},
+{	"paramname": "flZNear" ,"paramtype": "float"},
+{	"paramname": "flZFar" ,"paramtype": "float"},
+{	"paramname": "pProjection" ,"paramtype": "vr::HmdMatrix44_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "AcquireVideoStreamingService",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "nDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "pHandle" ,"paramtype": "vr::TrackedCameraHandle_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "ReleaseVideoStreamingService",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "hTrackedCamera" ,"paramtype": "vr::TrackedCameraHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "GetVideoStreamFrameBuffer",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "hTrackedCamera" ,"paramtype": "vr::TrackedCameraHandle_t"},
+{	"paramname": "eFrameType" ,"paramtype": "vr::EVRTrackedCameraFrameType"},
+{	"paramname": "pFrameBuffer" ,"paramtype": "void *"},
+{	"paramname": "nFrameBufferSize" ,"paramtype": "uint32_t"},
+{	"paramname": "pFrameHeader" ,"paramtype": "vr::CameraVideoStreamFrameHeader_t *"},
+{	"paramname": "nFrameHeaderSize" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "GetVideoStreamTextureSize",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "nDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "eFrameType" ,"paramtype": "vr::EVRTrackedCameraFrameType"},
+{	"paramname": "pTextureBounds" ,"paramtype": "vr::VRTextureBounds_t *"},
+{	"paramname": "pnWidth" ,"paramtype": "uint32_t *"},
+{	"paramname": "pnHeight" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "GetVideoStreamTextureD3D11",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "hTrackedCamera" ,"paramtype": "vr::TrackedCameraHandle_t"},
+{	"paramname": "eFrameType" ,"paramtype": "vr::EVRTrackedCameraFrameType"},
+{	"paramname": "pD3D11DeviceOrResource" ,"paramtype": "void *"},
+{	"paramname": "ppD3D11ShaderResourceView" ,"paramtype": "void **"},
+{	"paramname": "pFrameHeader" ,"paramtype": "vr::CameraVideoStreamFrameHeader_t *"},
+{	"paramname": "nFrameHeaderSize" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "GetVideoStreamTextureGL",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "hTrackedCamera" ,"paramtype": "vr::TrackedCameraHandle_t"},
+{	"paramname": "eFrameType" ,"paramtype": "vr::EVRTrackedCameraFrameType"},
+{	"paramname": "pglTextureId" ,"paramtype": "vr::glUInt_t *"},
+{	"paramname": "pFrameHeader" ,"paramtype": "vr::CameraVideoStreamFrameHeader_t *"},
+{	"paramname": "nFrameHeaderSize" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRTrackedCamera",
+	"methodname": "ReleaseVideoStreamTextureGL",
+	"returntype": "vr::EVRTrackedCameraError",
+	"params": [ 
+{	"paramname": "hTrackedCamera" ,"paramtype": "vr::TrackedCameraHandle_t"},
+{	"paramname": "glTextureId" ,"paramtype": "vr::glUInt_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "AddApplicationManifest",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchApplicationManifestFullPath" ,"paramtype": "const char *"},
+{	"paramname": "bTemporary" ,"paramtype": "bool"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "RemoveApplicationManifest",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchApplicationManifestFullPath" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "IsApplicationInstalled",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationCount",
+	"returntype": "uint32_t"
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationKeyByIndex",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "unApplicationIndex" ,"paramtype": "uint32_t"},
+{	"paramname": "pchAppKeyBuffer" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unAppKeyBufferLen" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationKeyByProcessId",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "unProcessId" ,"paramtype": "uint32_t"},
+{	"paramname": "pchAppKeyBuffer" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unAppKeyBufferLen" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "LaunchApplication",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "LaunchTemplateApplication",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchTemplateAppKey" ,"paramtype": "const char *"},
+{	"paramname": "pchNewAppKey" ,"paramtype": "const char *"},
+{	"paramname": "pKeys" ,"array_count": "unKeys" ,"paramtype": "const struct vr::AppOverrideKeys_t *"},
+{	"paramname": "unKeys" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "LaunchApplicationFromMimeType",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchMimeType" ,"paramtype": "const char *"},
+{	"paramname": "pchArgs" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "LaunchDashboardOverlay",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "CancelApplicationLaunch",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "IdentifyApplication",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "unProcessId" ,"paramtype": "uint32_t"},
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationProcessId",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationsErrorNameFromEnum",
+	"returntype": "const char *",
+	"params": [ 
+{	"paramname": "error" ,"paramtype": "vr::EVRApplicationError"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationPropertyString",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"},
+{	"paramname": "eProperty" ,"paramtype": "vr::EVRApplicationProperty"},
+{	"paramname": "pchPropertyValueBuffer" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unPropertyValueBufferLen" ,"paramtype": "uint32_t"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRApplicationError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationPropertyBool",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"},
+{	"paramname": "eProperty" ,"paramtype": "vr::EVRApplicationProperty"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRApplicationError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationPropertyUint64",
+	"returntype": "uint64_t",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"},
+{	"paramname": "eProperty" ,"paramtype": "vr::EVRApplicationProperty"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRApplicationError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "SetApplicationAutoLaunch",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"},
+{	"paramname": "bAutoLaunch" ,"paramtype": "bool"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationAutoLaunch",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "SetDefaultApplicationForMimeType",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"},
+{	"paramname": "pchMimeType" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetDefaultApplicationForMimeType",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pchMimeType" ,"paramtype": "const char *"},
+{	"paramname": "pchAppKeyBuffer" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unAppKeyBufferLen" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationSupportedMimeTypes",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"},
+{	"paramname": "pchMimeTypesBuffer" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unMimeTypesBuffer" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationsThatSupportMimeType",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchMimeType" ,"paramtype": "const char *"},
+{	"paramname": "pchAppKeysThatSupportBuffer" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unAppKeysThatSupportBuffer" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationLaunchArguments",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "unHandle" ,"paramtype": "uint32_t"},
+{	"paramname": "pchArgs" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unArgs" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetStartingApplication",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchAppKeyBuffer" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unAppKeyBufferLen" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetTransitionState",
+	"returntype": "vr::EVRApplicationTransitionState"
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "PerformApplicationPrelaunchCheck",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchAppKey" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetApplicationsTransitionStateNameFromEnum",
+	"returntype": "const char *",
+	"params": [ 
+{	"paramname": "state" ,"paramtype": "vr::EVRApplicationTransitionState"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "IsQuitUserPromptRequested",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "LaunchInternalProcess",
+	"returntype": "vr::EVRApplicationError",
+	"params": [ 
+{	"paramname": "pchBinaryPath" ,"paramtype": "const char *"},
+{	"paramname": "pchArguments" ,"paramtype": "const char *"},
+{	"paramname": "pchWorkingDirectory" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRApplications",
+	"methodname": "GetCurrentSceneProcessId",
+	"returntype": "uint32_t"
+}
+,{
+	"classname": "vr::IVRChaperone",
+	"methodname": "GetCalibrationState",
+	"returntype": "vr::ChaperoneCalibrationState"
+}
+,{
+	"classname": "vr::IVRChaperone",
+	"methodname": "GetPlayAreaSize",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pSizeX" ,"paramtype": "float *"},
+{	"paramname": "pSizeZ" ,"paramtype": "float *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperone",
+	"methodname": "GetPlayAreaRect",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "rect" ,"paramtype": "struct vr::HmdQuad_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperone",
+	"methodname": "ReloadInfo",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRChaperone",
+	"methodname": "SetSceneColor",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "color" ,"paramtype": "struct vr::HmdColor_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperone",
+	"methodname": "GetBoundsColor",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pOutputColorArray" ,"paramtype": "struct vr::HmdColor_t *"},
+{	"paramname": "nNumOutputColors" ,"paramtype": "int"},
+{	"paramname": "flCollisionBoundsFadeDistance" ,"paramtype": "float"},
+{	"paramname": "pOutputCameraColor" ,"paramtype": "struct vr::HmdColor_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperone",
+	"methodname": "AreBoundsVisible",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRChaperone",
+	"methodname": "ForceBoundsVisible",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "bForce" ,"paramtype": "bool"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "CommitWorkingCopy",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "configFile" ,"paramtype": "vr::EChaperoneConfigFile"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "RevertWorkingCopy",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "GetWorkingPlayAreaSize",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pSizeX" ,"paramtype": "float *"},
+{	"paramname": "pSizeZ" ,"paramtype": "float *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "GetWorkingPlayAreaRect",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "rect" ,"paramtype": "struct vr::HmdQuad_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "GetWorkingCollisionBoundsInfo",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pQuadsBuffer" ,"out_array_count": "punQuadsCount" ,"paramtype": "struct vr::HmdQuad_t *"},
+{	"paramname": "punQuadsCount" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "GetLiveCollisionBoundsInfo",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pQuadsBuffer" ,"out_array_count": "punQuadsCount" ,"paramtype": "struct vr::HmdQuad_t *"},
+{	"paramname": "punQuadsCount" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "GetWorkingSeatedZeroPoseToRawTrackingPose",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pmatSeatedZeroPoseToRawTrackingPose" ,"paramtype": "struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "GetWorkingStandingZeroPoseToRawTrackingPose",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pmatStandingZeroPoseToRawTrackingPose" ,"paramtype": "struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "SetWorkingPlayAreaSize",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "sizeX" ,"paramtype": "float"},
+{	"paramname": "sizeZ" ,"paramtype": "float"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "SetWorkingCollisionBoundsInfo",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pQuadsBuffer" ,"array_count": "unQuadsCount" ,"paramtype": "struct vr::HmdQuad_t *"},
+{	"paramname": "unQuadsCount" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "SetWorkingSeatedZeroPoseToRawTrackingPose",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pMatSeatedZeroPoseToRawTrackingPose" ,"paramtype": "const struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "SetWorkingStandingZeroPoseToRawTrackingPose",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pMatStandingZeroPoseToRawTrackingPose" ,"paramtype": "const struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "ReloadFromDisk",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "configFile" ,"paramtype": "vr::EChaperoneConfigFile"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "GetLiveSeatedZeroPoseToRawTrackingPose",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pmatSeatedZeroPoseToRawTrackingPose" ,"paramtype": "struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "SetWorkingCollisionBoundsTagsInfo",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pTagsBuffer" ,"array_count": "unTagCount" ,"paramtype": "uint8_t *"},
+{	"paramname": "unTagCount" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "GetLiveCollisionBoundsTagsInfo",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pTagsBuffer" ,"out_array_count": "punTagCount" ,"paramtype": "uint8_t *"},
+{	"paramname": "punTagCount" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "SetWorkingPhysicalBoundsInfo",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pQuadsBuffer" ,"array_count": "unQuadsCount" ,"paramtype": "struct vr::HmdQuad_t *"},
+{	"paramname": "unQuadsCount" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "GetLivePhysicalBoundsInfo",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pQuadsBuffer" ,"out_array_count": "punQuadsCount" ,"paramtype": "struct vr::HmdQuad_t *"},
+{	"paramname": "punQuadsCount" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "ExportLiveToBuffer",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pBuffer" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "pnBufferLength" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRChaperoneSetup",
+	"methodname": "ImportFromBufferToWorking",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pBuffer" ,"paramtype": "const char *"},
+{	"paramname": "nImportFlags" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "SetTrackingSpace",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "eOrigin" ,"paramtype": "vr::ETrackingUniverseOrigin"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetTrackingSpace",
+	"returntype": "vr::ETrackingUniverseOrigin"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "WaitGetPoses",
+	"returntype": "vr::EVRCompositorError",
+	"params": [ 
+{	"paramname": "pRenderPoseArray" ,"array_count": "unRenderPoseArrayCount" ,"paramtype": "struct vr::TrackedDevicePose_t *"},
+{	"paramname": "unRenderPoseArrayCount" ,"paramtype": "uint32_t"},
+{	"paramname": "pGamePoseArray" ,"array_count": "unGamePoseArrayCount" ,"paramtype": "struct vr::TrackedDevicePose_t *"},
+{	"paramname": "unGamePoseArrayCount" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetLastPoses",
+	"returntype": "vr::EVRCompositorError",
+	"params": [ 
+{	"paramname": "pRenderPoseArray" ,"array_count": "unRenderPoseArrayCount" ,"paramtype": "struct vr::TrackedDevicePose_t *"},
+{	"paramname": "unRenderPoseArrayCount" ,"paramtype": "uint32_t"},
+{	"paramname": "pGamePoseArray" ,"array_count": "unGamePoseArrayCount" ,"paramtype": "struct vr::TrackedDevicePose_t *"},
+{	"paramname": "unGamePoseArrayCount" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetLastPoseForTrackedDeviceIndex",
+	"returntype": "vr::EVRCompositorError",
+	"params": [ 
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "pOutputPose" ,"paramtype": "struct vr::TrackedDevicePose_t *"},
+{	"paramname": "pOutputGamePose" ,"paramtype": "struct vr::TrackedDevicePose_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "Submit",
+	"returntype": "vr::EVRCompositorError",
+	"params": [ 
+{	"paramname": "eEye" ,"paramtype": "vr::EVREye"},
+{	"paramname": "pTexture" ,"paramtype": "const struct vr::Texture_t *"},
+{	"paramname": "pBounds" ,"paramtype": "const struct vr::VRTextureBounds_t *"},
+{	"paramname": "nSubmitFlags" ,"paramtype": "vr::EVRSubmitFlags"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "ClearLastSubmittedFrame",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "PostPresentHandoff",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetFrameTiming",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pTiming" ,"paramtype": "struct vr::Compositor_FrameTiming *"},
+{	"paramname": "unFramesAgo" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetFrameTimings",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pTiming" ,"paramtype": "struct vr::Compositor_FrameTiming *"},
+{	"paramname": "nFrames" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetFrameTimeRemaining",
+	"returntype": "float"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetCumulativeStats",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pStats" ,"paramtype": "struct vr::Compositor_CumulativeStats *"},
+{	"paramname": "nStatsSizeInBytes" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "FadeToColor",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "fSeconds" ,"paramtype": "float"},
+{	"paramname": "fRed" ,"paramtype": "float"},
+{	"paramname": "fGreen" ,"paramtype": "float"},
+{	"paramname": "fBlue" ,"paramtype": "float"},
+{	"paramname": "fAlpha" ,"paramtype": "float"},
+{	"paramname": "bBackground" ,"paramtype": "bool"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetCurrentFadeColor",
+	"returntype": "struct vr::HmdColor_t",
+	"params": [ 
+{	"paramname": "bBackground" ,"paramtype": "bool"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "FadeGrid",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "fSeconds" ,"paramtype": "float"},
+{	"paramname": "bFadeIn" ,"paramtype": "bool"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetCurrentGridAlpha",
+	"returntype": "float"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "SetSkyboxOverride",
+	"returntype": "vr::EVRCompositorError",
+	"params": [ 
+{	"paramname": "pTextures" ,"array_count": "unTextureCount" ,"paramtype": "const struct vr::Texture_t *"},
+{	"paramname": "unTextureCount" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "ClearSkyboxOverride",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "CompositorBringToFront",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "CompositorGoToBack",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "CompositorQuit",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "IsFullscreen",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetCurrentSceneFocusProcess",
+	"returntype": "uint32_t"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetLastFrameRenderer",
+	"returntype": "uint32_t"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "CanRenderScene",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "ShowMirrorWindow",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "HideMirrorWindow",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "IsMirrorWindowVisible",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "CompositorDumpImages",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "ShouldAppRenderWithLowResources",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "ForceInterleavedReprojectionOn",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "bOverride" ,"paramtype": "bool"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "ForceReconnectProcess",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "SuspendRendering",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "bSuspend" ,"paramtype": "bool"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetMirrorTextureD3D11",
+	"returntype": "vr::EVRCompositorError",
+	"params": [ 
+{	"paramname": "eEye" ,"paramtype": "vr::EVREye"},
+{	"paramname": "pD3D11DeviceOrResource" ,"paramtype": "void *"},
+{	"paramname": "ppD3D11ShaderResourceView" ,"paramtype": "void **"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "ReleaseMirrorTextureD3D11",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pD3D11ShaderResourceView" ,"paramtype": "void *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetMirrorTextureGL",
+	"returntype": "vr::EVRCompositorError",
+	"params": [ 
+{	"paramname": "eEye" ,"paramtype": "vr::EVREye"},
+{	"paramname": "pglTextureId" ,"paramtype": "vr::glUInt_t *"},
+{	"paramname": "pglSharedTextureHandle" ,"paramtype": "vr::glSharedTextureHandle_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "ReleaseSharedGLTexture",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "glTextureId" ,"paramtype": "vr::glUInt_t"},
+{	"paramname": "glSharedTextureHandle" ,"paramtype": "vr::glSharedTextureHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "LockGLSharedTextureForAccess",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "glSharedTextureHandle" ,"paramtype": "vr::glSharedTextureHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "UnlockGLSharedTextureForAccess",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "glSharedTextureHandle" ,"paramtype": "vr::glSharedTextureHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetVulkanInstanceExtensionsRequired",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchValue" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unBufferSize" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "GetVulkanDeviceExtensionsRequired",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pPhysicalDevice" ,"paramtype": "struct VkPhysicalDevice_T *"},
+{	"paramname": "pchValue" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unBufferSize" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "SetExplicitTimingMode",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "eTimingMode" ,"paramtype": "vr::EVRCompositorTimingMode"}
+	 ]
+}
+,{
+	"classname": "vr::IVRCompositor",
+	"methodname": "SubmitExplicitTimingData",
+	"returntype": "vr::EVRCompositorError"
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "FindOverlay",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "pchOverlayKey" ,"paramtype": "const char *"},
+{	"paramname": "pOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "CreateOverlay",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "pchOverlayKey" ,"paramtype": "const char *"},
+{	"paramname": "pchOverlayName" ,"paramtype": "const char *"},
+{	"paramname": "pOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "DestroyOverlay",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetHighQualityOverlay",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetHighQualityOverlay",
+	"returntype": "vr::VROverlayHandle_t"
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayKey",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pchValue" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unBufferSize" ,"paramtype": "uint32_t"},
+{	"paramname": "pError" ,"paramtype": "vr::EVROverlayError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayName",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pchValue" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unBufferSize" ,"paramtype": "uint32_t"},
+{	"paramname": "pError" ,"paramtype": "vr::EVROverlayError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayName",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pchName" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayImageData",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pvBuffer" ,"paramtype": "void *"},
+{	"paramname": "unBufferSize" ,"paramtype": "uint32_t"},
+{	"paramname": "punWidth" ,"paramtype": "uint32_t *"},
+{	"paramname": "punHeight" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayErrorNameFromEnum",
+	"returntype": "const char *",
+	"params": [ 
+{	"paramname": "error" ,"paramtype": "vr::EVROverlayError"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayRenderingPid",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "unPID" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayRenderingPid",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayFlag",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "eOverlayFlag" ,"paramtype": "vr::VROverlayFlags"},
+{	"paramname": "bEnabled" ,"paramtype": "bool"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayFlag",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "eOverlayFlag" ,"paramtype": "vr::VROverlayFlags"},
+{	"paramname": "pbEnabled" ,"paramtype": "bool *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayColor",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "fRed" ,"paramtype": "float"},
+{	"paramname": "fGreen" ,"paramtype": "float"},
+{	"paramname": "fBlue" ,"paramtype": "float"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayColor",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pfRed" ,"paramtype": "float *"},
+{	"paramname": "pfGreen" ,"paramtype": "float *"},
+{	"paramname": "pfBlue" ,"paramtype": "float *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayAlpha",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "fAlpha" ,"paramtype": "float"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayAlpha",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pfAlpha" ,"paramtype": "float *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayTexelAspect",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "fTexelAspect" ,"paramtype": "float"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayTexelAspect",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pfTexelAspect" ,"paramtype": "float *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlaySortOrder",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "unSortOrder" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlaySortOrder",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "punSortOrder" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayWidthInMeters",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "fWidthInMeters" ,"paramtype": "float"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayWidthInMeters",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pfWidthInMeters" ,"paramtype": "float *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayAutoCurveDistanceRangeInMeters",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "fMinDistanceInMeters" ,"paramtype": "float"},
+{	"paramname": "fMaxDistanceInMeters" ,"paramtype": "float"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayAutoCurveDistanceRangeInMeters",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pfMinDistanceInMeters" ,"paramtype": "float *"},
+{	"paramname": "pfMaxDistanceInMeters" ,"paramtype": "float *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayTextureColorSpace",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "eTextureColorSpace" ,"paramtype": "vr::EColorSpace"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayTextureColorSpace",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "peTextureColorSpace" ,"paramtype": "vr::EColorSpace *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayTextureBounds",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pOverlayTextureBounds" ,"paramtype": "const struct vr::VRTextureBounds_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayTextureBounds",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pOverlayTextureBounds" ,"paramtype": "struct vr::VRTextureBounds_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayRenderModel",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pchValue" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unBufferSize" ,"paramtype": "uint32_t"},
+{	"paramname": "pColor" ,"paramtype": "struct vr::HmdColor_t *"},
+{	"paramname": "pError" ,"paramtype": "vr::EVROverlayError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayRenderModel",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pchRenderModel" ,"paramtype": "const char *"},
+{	"paramname": "pColor" ,"paramtype": "const struct vr::HmdColor_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayTransformType",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "peTransformType" ,"paramtype": "vr::VROverlayTransformType *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayTransformAbsolute",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "eTrackingOrigin" ,"paramtype": "vr::ETrackingUniverseOrigin"},
+{	"paramname": "pmatTrackingOriginToOverlayTransform" ,"paramtype": "const struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayTransformAbsolute",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "peTrackingOrigin" ,"paramtype": "vr::ETrackingUniverseOrigin *"},
+{	"paramname": "pmatTrackingOriginToOverlayTransform" ,"paramtype": "struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayTransformTrackedDeviceRelative",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "unTrackedDevice" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "pmatTrackedDeviceToOverlayTransform" ,"paramtype": "const struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayTransformTrackedDeviceRelative",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "punTrackedDevice" ,"paramtype": "vr::TrackedDeviceIndex_t *"},
+{	"paramname": "pmatTrackedDeviceToOverlayTransform" ,"paramtype": "struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayTransformTrackedDeviceComponent",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
+{	"paramname": "pchComponentName" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayTransformTrackedDeviceComponent",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "punDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t *"},
+{	"paramname": "pchComponentName" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unComponentNameSize" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayTransformOverlayRelative",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "ulOverlayHandleParent" ,"paramtype": "vr::VROverlayHandle_t *"},
+{	"paramname": "pmatParentOverlayToOverlayTransform" ,"paramtype": "struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayTransformOverlayRelative",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "ulOverlayHandleParent" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pmatParentOverlayToOverlayTransform" ,"paramtype": "const struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "ShowOverlay",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "HideOverlay",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "IsOverlayVisible",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetTransformForOverlayCoordinates",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "eTrackingOrigin" ,"paramtype": "vr::ETrackingUniverseOrigin"},
+{	"paramname": "coordinatesInOverlay" ,"paramtype": "struct vr::HmdVector2_t"},
+{	"paramname": "pmatTransform" ,"paramtype": "struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "PollNextOverlayEvent",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pEvent" ,"paramtype": "struct vr::VREvent_t *"},
+{	"paramname": "uncbVREvent" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayInputMethod",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "peInputMethod" ,"paramtype": "vr::VROverlayInputMethod *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayInputMethod",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "eInputMethod" ,"paramtype": "vr::VROverlayInputMethod"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayMouseScale",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pvecMouseScale" ,"paramtype": "struct vr::HmdVector2_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayMouseScale",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pvecMouseScale" ,"paramtype": "const struct vr::HmdVector2_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "ComputeOverlayIntersection",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pParams" ,"paramtype": "const struct vr::VROverlayIntersectionParams_t *"},
+{	"paramname": "pResults" ,"paramtype": "struct vr::VROverlayIntersectionResults_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "IsHoverTargetOverlay",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetGamepadFocusOverlay",
+	"returntype": "vr::VROverlayHandle_t"
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetGamepadFocusOverlay",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulNewFocusOverlay" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayNeighbor",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "eDirection" ,"paramtype": "vr::EOverlayDirection"},
+{	"paramname": "ulFrom" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "ulTo" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "MoveGamepadFocusToNeighbor",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "eDirection" ,"paramtype": "vr::EOverlayDirection"},
+{	"paramname": "ulFrom" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayDualAnalogTransform",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlay" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "eWhich" ,"paramtype": "vr::EDualAnalogWhich"},
+{	"paramname": "vCenter" ,"paramtype": "const struct vr::HmdVector2_t &"},
+{	"paramname": "fRadius" ,"paramtype": "float"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayDualAnalogTransform",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlay" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "eWhich" ,"paramtype": "vr::EDualAnalogWhich"},
+{	"paramname": "pvCenter" ,"paramtype": "struct vr::HmdVector2_t *"},
+{	"paramname": "pfRadius" ,"paramtype": "float *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayTexture",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pTexture" ,"paramtype": "const struct vr::Texture_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "ClearOverlayTexture",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayRaw",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pvBuffer" ,"paramtype": "void *"},
+{	"paramname": "unWidth" ,"paramtype": "uint32_t"},
+{	"paramname": "unHeight" ,"paramtype": "uint32_t"},
+{	"paramname": "unDepth" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayFromFile",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pchFilePath" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayTexture",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pNativeTextureHandle" ,"paramtype": "void **"},
+{	"paramname": "pNativeTextureRef" ,"paramtype": "void *"},
+{	"paramname": "pWidth" ,"paramtype": "uint32_t *"},
+{	"paramname": "pHeight" ,"paramtype": "uint32_t *"},
+{	"paramname": "pNativeFormat" ,"paramtype": "uint32_t *"},
+{	"paramname": "pAPIType" ,"paramtype": "vr::ETextureType *"},
+{	"paramname": "pColorSpace" ,"paramtype": "vr::EColorSpace *"},
+{	"paramname": "pTextureBounds" ,"paramtype": "struct vr::VRTextureBounds_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "ReleaseNativeOverlayHandle",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pNativeTextureHandle" ,"paramtype": "void *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayTextureSize",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pWidth" ,"paramtype": "uint32_t *"},
+{	"paramname": "pHeight" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "CreateDashboardOverlay",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "pchOverlayKey" ,"paramtype": "const char *"},
+{	"paramname": "pchOverlayFriendlyName" ,"paramtype": "const char *"},
+{	"paramname": "pMainHandle" ,"paramtype": "vr::VROverlayHandle_t *"},
+{	"paramname": "pThumbnailHandle" ,"paramtype": "vr::VROverlayHandle_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "IsDashboardVisible",
+	"returntype": "bool"
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "IsActiveDashboardOverlay",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetDashboardOverlaySceneProcess",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "unProcessId" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetDashboardOverlaySceneProcess",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "punProcessId" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "ShowDashboard",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pchOverlayToShow" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetPrimaryDashboardDevice",
+	"returntype": "vr::TrackedDeviceIndex_t"
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "ShowKeyboard",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "eInputMode" ,"paramtype": "vr::EGamepadTextInputMode"},
+{	"paramname": "eLineInputMode" ,"paramtype": "vr::EGamepadTextInputLineMode"},
+{	"paramname": "pchDescription" ,"paramtype": "const char *"},
+{	"paramname": "unCharMax" ,"paramtype": "uint32_t"},
+{	"paramname": "pchExistingText" ,"paramtype": "const char *"},
+{	"paramname": "bUseMinimalMode" ,"paramtype": "bool"},
+{	"paramname": "uUserValue" ,"paramtype": "uint64_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "ShowKeyboardForOverlay",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "eInputMode" ,"paramtype": "vr::EGamepadTextInputMode"},
+{	"paramname": "eLineInputMode" ,"paramtype": "vr::EGamepadTextInputLineMode"},
+{	"paramname": "pchDescription" ,"paramtype": "const char *"},
+{	"paramname": "unCharMax" ,"paramtype": "uint32_t"},
+{	"paramname": "pchExistingText" ,"paramtype": "const char *"},
+{	"paramname": "bUseMinimalMode" ,"paramtype": "bool"},
+{	"paramname": "uUserValue" ,"paramtype": "uint64_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetKeyboardText",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchText" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "cchText" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "HideKeyboard",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetKeyboardTransformAbsolute",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "eTrackingOrigin" ,"paramtype": "vr::ETrackingUniverseOrigin"},
+{	"paramname": "pmatTrackingOriginToKeyboardTransform" ,"paramtype": "const struct vr::HmdMatrix34_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetKeyboardPositionForOverlay",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "avoidRect" ,"paramtype": "struct vr::HmdRect2_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "SetOverlayIntersectionMask",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pMaskPrimitives" ,"paramtype": "struct vr::VROverlayIntersectionMaskPrimitive_t *"},
+{	"paramname": "unNumMaskPrimitives" ,"paramtype": "uint32_t"},
+{	"paramname": "unPrimitiveSize" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "GetOverlayFlags",
+	"returntype": "vr::EVROverlayError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "pFlags" ,"paramtype": "uint32_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "ShowMessageOverlay",
+	"returntype": "vr::VRMessageOverlayResponse",
+	"params": [ 
+{	"paramname": "pchText" ,"paramtype": "const char *"},
+{	"paramname": "pchCaption" ,"paramtype": "const char *"},
+{	"paramname": "pchButton0Text" ,"paramtype": "const char *"},
+{	"paramname": "pchButton1Text" ,"paramtype": "const char *"},
+{	"paramname": "pchButton2Text" ,"paramtype": "const char *"},
+{	"paramname": "pchButton3Text" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVROverlay",
+	"methodname": "CloseMessageOverlay",
+	"returntype": "void"
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "LoadRenderModel_Async",
+	"returntype": "vr::EVRRenderModelError",
+	"params": [ 
+{	"paramname": "pchRenderModelName" ,"paramtype": "const char *"},
+{	"paramname": "ppRenderModel" ,"paramtype": "struct vr::RenderModel_t **"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "FreeRenderModel",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pRenderModel" ,"paramtype": "struct vr::RenderModel_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "LoadTexture_Async",
+	"returntype": "vr::EVRRenderModelError",
+	"params": [ 
+{	"paramname": "textureId" ,"paramtype": "vr::TextureID_t"},
+{	"paramname": "ppTexture" ,"paramtype": "struct vr::RenderModel_TextureMap_t **"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "FreeTexture",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pTexture" ,"paramtype": "struct vr::RenderModel_TextureMap_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "LoadTextureD3D11_Async",
+	"returntype": "vr::EVRRenderModelError",
+	"params": [ 
+{	"paramname": "textureId" ,"paramtype": "vr::TextureID_t"},
+{	"paramname": "pD3D11Device" ,"paramtype": "void *"},
+{	"paramname": "ppD3D11Texture2D" ,"paramtype": "void **"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "LoadIntoTextureD3D11_Async",
+	"returntype": "vr::EVRRenderModelError",
+	"params": [ 
+{	"paramname": "textureId" ,"paramtype": "vr::TextureID_t"},
+{	"paramname": "pDstTexture" ,"paramtype": "void *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "FreeTextureD3D11",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pD3D11Texture2D" ,"paramtype": "void *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "GetRenderModelName",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "unRenderModelIndex" ,"paramtype": "uint32_t"},
+{	"paramname": "pchRenderModelName" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unRenderModelNameLen" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "GetRenderModelCount",
+	"returntype": "uint32_t"
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "GetComponentCount",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchRenderModelName" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "GetComponentName",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchRenderModelName" ,"paramtype": "const char *"},
+{	"paramname": "unComponentIndex" ,"paramtype": "uint32_t"},
+{	"paramname": "pchComponentName" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unComponentNameLen" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "GetComponentButtonMask",
+	"returntype": "uint64_t",
+	"params": [ 
+{	"paramname": "pchRenderModelName" ,"paramtype": "const char *"},
+{	"paramname": "pchComponentName" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "GetComponentRenderModelName",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchRenderModelName" ,"paramtype": "const char *"},
+{	"paramname": "pchComponentName" ,"paramtype": "const char *"},
+{	"paramname": "pchComponentRenderModelName" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unComponentRenderModelNameLen" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "GetComponentState",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pchRenderModelName" ,"paramtype": "const char *"},
+{	"paramname": "pchComponentName" ,"paramtype": "const char *"},
+{	"paramname": "pControllerState" ,"paramtype": "const vr::VRControllerState_t *"},
+{	"paramname": "pState" ,"paramtype": "const struct vr::RenderModel_ControllerMode_State_t *"},
+{	"paramname": "pComponentState" ,"paramtype": "struct vr::RenderModel_ComponentState_t *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "RenderModelHasComponent",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pchRenderModelName" ,"paramtype": "const char *"},
+{	"paramname": "pchComponentName" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "GetRenderModelThumbnailURL",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchRenderModelName" ,"paramtype": "const char *"},
+{	"paramname": "pchThumbnailURL" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unThumbnailURLLen" ,"paramtype": "uint32_t"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRRenderModelError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "GetRenderModelOriginalPath",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchRenderModelName" ,"paramtype": "const char *"},
+{	"paramname": "pchOriginalPath" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unOriginalPathLen" ,"paramtype": "uint32_t"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRRenderModelError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRRenderModels",
+	"methodname": "GetRenderModelErrorNameFromEnum",
+	"returntype": "const char *",
+	"params": [ 
+{	"paramname": "error" ,"paramtype": "vr::EVRRenderModelError"}
+	 ]
+}
+,{
+	"classname": "vr::IVRNotifications",
+	"methodname": "CreateNotification",
+	"returntype": "vr::EVRNotificationError",
+	"params": [ 
+{	"paramname": "ulOverlayHandle" ,"paramtype": "vr::VROverlayHandle_t"},
+{	"paramname": "ulUserValue" ,"paramtype": "uint64_t"},
+{	"paramname": "type" ,"paramtype": "vr::EVRNotificationType"},
+{	"paramname": "pchText" ,"paramtype": "const char *"},
+{	"paramname": "style" ,"paramtype": "vr::EVRNotificationStyle"},
+{	"paramname": "pImage" ,"paramtype": "const struct vr::NotificationBitmap_t *"},
+{	"paramname": "pNotificationId" ,"paramtype": "vr::VRNotificationId *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRNotifications",
+	"methodname": "RemoveNotification",
+	"returntype": "vr::EVRNotificationError",
+	"params": [ 
+{	"paramname": "notificationId" ,"paramtype": "vr::VRNotificationId"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "GetSettingsErrorNameFromEnum",
+	"returntype": "const char *",
+	"params": [ 
+{	"paramname": "eError" ,"paramtype": "vr::EVRSettingsError"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "Sync",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "bForce" ,"paramtype": "bool"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "SetBool",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pchSection" ,"paramtype": "const char *"},
+{	"paramname": "pchSettingsKey" ,"paramtype": "const char *"},
+{	"paramname": "bValue" ,"paramtype": "bool"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "SetInt32",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pchSection" ,"paramtype": "const char *"},
+{	"paramname": "pchSettingsKey" ,"paramtype": "const char *"},
+{	"paramname": "nValue" ,"paramtype": "int32_t"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "SetFloat",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pchSection" ,"paramtype": "const char *"},
+{	"paramname": "pchSettingsKey" ,"paramtype": "const char *"},
+{	"paramname": "flValue" ,"paramtype": "float"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "SetString",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pchSection" ,"paramtype": "const char *"},
+{	"paramname": "pchSettingsKey" ,"paramtype": "const char *"},
+{	"paramname": "pchValue" ,"paramtype": "const char *"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "GetBool",
+	"returntype": "bool",
+	"params": [ 
+{	"paramname": "pchSection" ,"paramtype": "const char *"},
+{	"paramname": "pchSettingsKey" ,"paramtype": "const char *"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "GetInt32",
+	"returntype": "int32_t",
+	"params": [ 
+{	"paramname": "pchSection" ,"paramtype": "const char *"},
+{	"paramname": "pchSettingsKey" ,"paramtype": "const char *"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "GetFloat",
+	"returntype": "float",
+	"params": [ 
+{	"paramname": "pchSection" ,"paramtype": "const char *"},
+{	"paramname": "pchSettingsKey" ,"paramtype": "const char *"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "GetString",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pchSection" ,"paramtype": "const char *"},
+{	"paramname": "pchSettingsKey" ,"paramtype": "const char *"},
+{	"paramname": "pchValue" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unValueLen" ,"paramtype": "uint32_t"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "RemoveSection",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pchSection" ,"paramtype": "const char *"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRSettings",
+	"methodname": "RemoveKeyInSection",
+	"returntype": "void",
+	"params": [ 
+{	"paramname": "pchSection" ,"paramtype": "const char *"},
+{	"paramname": "pchSettingsKey" ,"paramtype": "const char *"},
+{	"paramname": "peError" ,"paramtype": "vr::EVRSettingsError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRScreenshots",
+	"methodname": "RequestScreenshot",
+	"returntype": "vr::EVRScreenshotError",
+	"params": [ 
+{	"paramname": "pOutScreenshotHandle" ,"paramtype": "vr::ScreenshotHandle_t *"},
+{	"paramname": "type" ,"paramtype": "vr::EVRScreenshotType"},
+{	"paramname": "pchPreviewFilename" ,"paramtype": "const char *"},
+{	"paramname": "pchVRFilename" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRScreenshots",
+	"methodname": "HookScreenshot",
+	"returntype": "vr::EVRScreenshotError",
+	"params": [ 
+{	"paramname": "pSupportedTypes" ,"array_count": "numTypes" ,"paramtype": "const vr::EVRScreenshotType *"},
+{	"paramname": "numTypes" ,"paramtype": "int"}
+	 ]
+}
+,{
+	"classname": "vr::IVRScreenshots",
+	"methodname": "GetScreenshotPropertyType",
+	"returntype": "vr::EVRScreenshotType",
+	"params": [ 
+{	"paramname": "screenshotHandle" ,"paramtype": "vr::ScreenshotHandle_t"},
+{	"paramname": "pError" ,"paramtype": "vr::EVRScreenshotError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRScreenshots",
+	"methodname": "GetScreenshotPropertyFilename",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "screenshotHandle" ,"paramtype": "vr::ScreenshotHandle_t"},
+{	"paramname": "filenameType" ,"paramtype": "vr::EVRScreenshotPropertyFilenames"},
+{	"paramname": "pchFilename" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "cchFilename" ,"paramtype": "uint32_t"},
+{	"paramname": "pError" ,"paramtype": "vr::EVRScreenshotError *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRScreenshots",
+	"methodname": "UpdateScreenshotProgress",
+	"returntype": "vr::EVRScreenshotError",
+	"params": [ 
+{	"paramname": "screenshotHandle" ,"paramtype": "vr::ScreenshotHandle_t"},
+{	"paramname": "flProgress" ,"paramtype": "float"}
+	 ]
+}
+,{
+	"classname": "vr::IVRScreenshots",
+	"methodname": "TakeStereoScreenshot",
+	"returntype": "vr::EVRScreenshotError",
+	"params": [ 
+{	"paramname": "pOutScreenshotHandle" ,"paramtype": "vr::ScreenshotHandle_t *"},
+{	"paramname": "pchPreviewFilename" ,"paramtype": "const char *"},
+{	"paramname": "pchVRFilename" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRScreenshots",
+	"methodname": "SubmitScreenshot",
+	"returntype": "vr::EVRScreenshotError",
+	"params": [ 
+{	"paramname": "screenshotHandle" ,"paramtype": "vr::ScreenshotHandle_t"},
+{	"paramname": "type" ,"paramtype": "vr::EVRScreenshotType"},
+{	"paramname": "pchSourcePreviewFilename" ,"paramtype": "const char *"},
+{	"paramname": "pchSourceVRFilename" ,"paramtype": "const char *"}
+	 ]
+}
+,{
+	"classname": "vr::IVRResources",
+	"methodname": "LoadSharedResource",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchResourceName" ,"paramtype": "const char *"},
+{	"paramname": "pchBuffer" ,"paramtype": "char *"},
+{	"paramname": "unBufferLen" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRResources",
+	"methodname": "GetResourceFullPath",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "pchResourceName" ,"paramtype": "const char *"},
+{	"paramname": "pchResourceTypeDirectory" ,"paramtype": "const char *"},
+{	"paramname": "pchPathBuffer" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unBufferLen" ,"paramtype": "uint32_t"}
+	 ]
+}
+,{
+	"classname": "vr::IVRDriverManager",
+	"methodname": "GetDriverCount",
+	"returntype": "uint32_t"
+}
+,{
+	"classname": "vr::IVRDriverManager",
+	"methodname": "GetDriverName",
+	"returntype": "uint32_t",
+	"params": [ 
+{	"paramname": "nDriver" ,"paramtype": "vr::DriverId_t"},
+{	"paramname": "pchValue" ,"out_string": " " ,"paramtype": "char *"},
+{	"paramname": "unBufferSize" ,"paramtype": "uint32_t"}
+	 ]
+}
+]
+}

+ 2072 - 0
modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr_capi.h

@@ -0,0 +1,2072 @@
+//======= Copyright (c) Valve Corporation, All rights reserved. ===============
+//
+// Purpose: Header for flatted SteamAPI. Use this for binding to other languages.
+// This file is auto-generated, do not edit it.
+//
+//=============================================================================
+
+#ifndef __OPENVR_API_FLAT_H__
+#define __OPENVR_API_FLAT_H__
+#if defined( _WIN32 ) || defined( __clang__ )
+#pragma once
+#endif
+
+#ifdef __cplusplus
+#define EXTERN_C extern "C"
+#else
+#define EXTERN_C
+#endif
+
+#if defined( _WIN32 )
+#define OPENVR_FNTABLE_CALLTYPE __stdcall
+#else
+#define OPENVR_FNTABLE_CALLTYPE 
+#endif
+
+// OPENVR API export macro
+#if defined( _WIN32 ) && !defined( _X360 )
+	#if defined( OPENVR_API_EXPORTS )
+	#define S_API EXTERN_C __declspec( dllexport )
+	#elif defined( OPENVR_API_NODLL )
+	#define S_API EXTERN_C
+	#else
+	#define S_API extern "C" __declspec( dllimport ) 
+	#endif // OPENVR_API_EXPORTS
+#elif defined( __GNUC__ )
+	#if defined( OPENVR_API_EXPORTS )
+	#define S_API EXTERN_C __attribute__ ((visibility("default")))
+	#else
+	#define S_API EXTERN_C
+	#endif // OPENVR_API_EXPORTS
+#else // !WIN32
+	#if defined( OPENVR_API_EXPORTS )
+	#define S_API EXTERN_C
+	#else
+	#define S_API EXTERN_C
+	#endif // OPENVR_API_EXPORTS
+#endif
+
+#include <stdint.h>
+
+#if defined( __WIN32 )
+typedef char bool;
+#else
+#include <stdbool.h>
+#endif
+
+typedef uint64_t PropertyContainerHandle_t;
+typedef uint32_t PropertyTypeTag_t;
+typedef uint64_t VRActionHandle_t;
+typedef uint64_t VRActionSetHandle_t;
+typedef uint64_t VRInputValueHandle_t;
+
+
+// OpenVR Constants
+
+static const unsigned int k_nDriverNone = 4294967295;
+static const unsigned int k_unMaxDriverDebugResponseSize = 32768;
+static const unsigned int k_unTrackedDeviceIndex_Hmd = 0;
+static const unsigned int k_unMaxTrackedDeviceCount = 64;
+static const unsigned int k_unTrackedDeviceIndexOther = 4294967294;
+static const unsigned int k_unTrackedDeviceIndexInvalid = 4294967295;
+static const unsigned long k_ulInvalidPropertyContainer = 0;
+static const unsigned int k_unInvalidPropertyTag = 0;
+static const unsigned int k_unFloatPropertyTag = 1;
+static const unsigned int k_unInt32PropertyTag = 2;
+static const unsigned int k_unUint64PropertyTag = 3;
+static const unsigned int k_unBoolPropertyTag = 4;
+static const unsigned int k_unStringPropertyTag = 5;
+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_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_unOpenVRInternalReserved_Start = 1000;
+static const unsigned int k_unOpenVRInternalReserved_End = 10000;
+static const unsigned int k_unMaxPropertyStringSize = 32768;
+static const unsigned int k_unControllerStateAxisCount = 5;
+static const unsigned long k_ulOverlayHandleInvalid = 0;
+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 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 * 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 * 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 unsigned int k_unNotificationTextMaxSize = 256;
+static const char * IVRNotifications_Version = "IVRNotifications_002";
+static const unsigned int k_unMaxSettingsKeyLength = 128;
+static const char * IVRSettings_Version = "IVRSettings_002";
+static const char * k_pch_SteamVR_Section = "steamvr";
+static const char * k_pch_SteamVR_RequireHmd_String = "requireHmd";
+static const char * k_pch_SteamVR_ForcedDriverKey_String = "forcedDriver";
+static const char * k_pch_SteamVR_ForcedHmdKey_String = "forcedHmd";
+static const char * k_pch_SteamVR_DisplayDebug_Bool = "displayDebug";
+static const char * k_pch_SteamVR_DebugProcessPipe_String = "debugProcessPipe";
+static const char * k_pch_SteamVR_DisplayDebugX_Int32 = "displayDebugX";
+static const char * k_pch_SteamVR_DisplayDebugY_Int32 = "displayDebugY";
+static const char * k_pch_SteamVR_SendSystemButtonToAllApps_Bool = "sendSystemButtonToAllApps";
+static const char * k_pch_SteamVR_LogLevel_Int32 = "loglevel";
+static const char * k_pch_SteamVR_IPD_Float = "ipd";
+static const char * k_pch_SteamVR_Background_String = "background";
+static const char * k_pch_SteamVR_BackgroundUseDomeProjection_Bool = "backgroundUseDomeProjection";
+static const char * k_pch_SteamVR_BackgroundCameraHeight_Float = "backgroundCameraHeight";
+static const char * k_pch_SteamVR_BackgroundDomeRadius_Float = "backgroundDomeRadius";
+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_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
+static const char * k_pch_SteamVR_DefaultMirrorView_Int32 = "defaultMirrorView";
+static const char * k_pch_SteamVR_ShowMirrorView_Bool = "showMirrorView";
+static const char * k_pch_SteamVR_MirrorViewGeometry_String = "mirrorViewGeometry";
+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";
+static const char * k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool = "startOverlayAppsFromDashboard";
+static const char * k_pch_SteamVR_EnableHomeApp = "enableHomeApp";
+static const char * k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32 = "CycleBackgroundImageTimeSec";
+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_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_Lighthouse_Section = "driver_lighthouse";
+static const char * k_pch_Lighthouse_DisableIMU_Bool = "disableimu";
+static const char * k_pch_Lighthouse_DisableIMUExceptHMD_Bool = "disableimuexcepthmd";
+static const char * k_pch_Lighthouse_UseDisambiguation_String = "usedisambiguation";
+static const char * k_pch_Lighthouse_DisambiguationDebug_Int32 = "disambiguationdebug";
+static const char * k_pch_Lighthouse_PrimaryBasestation_Int32 = "primarybasestation";
+static const char * k_pch_Lighthouse_DBHistory_Bool = "dbhistory";
+static const char * k_pch_Lighthouse_EnableBluetooth_Bool = "enableBluetooth";
+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";
+static const char * k_pch_Null_WindowX_Int32 = "windowX";
+static const char * k_pch_Null_WindowY_Int32 = "windowY";
+static const char * k_pch_Null_WindowWidth_Int32 = "windowWidth";
+static const char * k_pch_Null_WindowHeight_Int32 = "windowHeight";
+static const char * k_pch_Null_RenderWidth_Int32 = "renderWidth";
+static const char * k_pch_Null_RenderHeight_Int32 = "renderHeight";
+static const char * k_pch_Null_SecondsFromVsyncToPhotons_Float = "secondsFromVsyncToPhotons";
+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_Screenshots_Bool = "screenshots";
+static const char * k_pch_UserInterface_ScreenshotType_Int = "screenshotType";
+static const char * k_pch_Notifications_Section = "notifications";
+static const char * k_pch_Notifications_DoNotDisturb_Bool = "DoNotDisturb";
+static const char * k_pch_Keyboard_Section = "keyboard";
+static const char * k_pch_Keyboard_TutorialCompletions = "TutorialCompletions";
+static const char * k_pch_Keyboard_ScaleX = "ScaleX";
+static const char * k_pch_Keyboard_ScaleY = "ScaleY";
+static const char * k_pch_Keyboard_OffsetLeftX = "OffsetLeftX";
+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_AllowTimingStore_Bool = "allowTimingStore";
+static const char * k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit";
+static const char * k_pch_Perf_TestData_Float = "perfTestData";
+static const char * k_pch_Perf_LinuxGPUProfiling_Bool = "linuxGPUProfiling";
+static const char * k_pch_CollisionBounds_Section = "collisionBounds";
+static const char * k_pch_CollisionBounds_Style_Int32 = "CollisionBoundsStyle";
+static const char * k_pch_CollisionBounds_GroundPerimeterOn_Bool = "CollisionBoundsGroundPerimeterOn";
+static const char * k_pch_CollisionBounds_CenterMarkerOn_Bool = "CollisionBoundsCenterMarkerOn";
+static const char * k_pch_CollisionBounds_PlaySpaceOn_Bool = "CollisionBoundsPlaySpaceOn";
+static const char * k_pch_CollisionBounds_FadeDistance_Float = "CollisionBoundsFadeDistance";
+static const char * k_pch_CollisionBounds_ColorGammaR_Int32 = "CollisionBoundsColorGammaR";
+static const char * k_pch_CollisionBounds_ColorGammaG_Int32 = "CollisionBoundsColorGammaG";
+static const char * k_pch_CollisionBounds_ColorGammaB_Int32 = "CollisionBoundsColorGammaB";
+static const char * k_pch_CollisionBounds_ColorGammaA_Int32 = "CollisionBoundsColorGammaA";
+static const char * k_pch_Camera_Section = "camera";
+static const char * k_pch_Camera_EnableCamera_Bool = "enableCamera";
+static const char * k_pch_Camera_EnableCameraInDashboard_Bool = "enableCameraInDashboard";
+static const char * k_pch_Camera_EnableCameraForCollisionBounds_Bool = "enableCameraForCollisionBounds";
+static const char * k_pch_Camera_EnableCameraForRoomView_Bool = "enableCameraForRoomView";
+static const char * k_pch_Camera_BoundsColorGammaR_Int32 = "cameraBoundsColorGammaR";
+static const char * k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGammaG";
+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_audio_Section = "audio";
+static const char * k_pch_audio_OnPlaybackDevice_String = "onPlaybackDevice";
+static const char * k_pch_audio_OnRecordDevice_String = "onRecordDevice";
+static const char * k_pch_audio_OnPlaybackMirrorDevice_String = "onPlaybackMirrorDevice";
+static const char * k_pch_audio_OffPlaybackDevice_String = "offPlaybackDevice";
+static const char * k_pch_audio_OffRecordDevice_String = "offRecordDevice";
+static const char * k_pch_audio_VIVEHDMIGain = "viveHDMIGain";
+static const char * k_pch_Power_Section = "power";
+static const char * k_pch_Power_PowerOffOnExit_Bool = "powerOffOnExit";
+static const char * k_pch_Power_TurnOffScreensTimeout_Float = "turnOffScreensTimeout";
+static const char * k_pch_Power_TurnOffControllersTimeout_Float = "turnOffControllersTimeout";
+static const char * k_pch_Power_ReturnToWatchdogTimeout_Float = "returnToWatchdogTimeout";
+static const char * k_pch_Power_AutoLaunchSteamVROnButtonPress = "autoLaunchSteamVROnButtonPress";
+static const char * k_pch_Power_PauseCompositorOnStandby_Bool = "pauseCompositorOnStandby";
+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_modelskin_Section = "modelskins";
+static const char * k_pch_Driver_Enable_Bool = "enable";
+static const char * IVRScreenshots_Version = "IVRScreenshots_001";
+static const char * IVRResources_Version = "IVRResources_001";
+static const char * IVRDriverManager_Version = "IVRDriverManager_001";
+
+// OpenVR Enums
+
+typedef enum EVREye
+{
+	EVREye_Eye_Left = 0,
+	EVREye_Eye_Right = 1,
+} EVREye;
+
+typedef enum ETextureType
+{
+	ETextureType_TextureType_DirectX = 0,
+	ETextureType_TextureType_OpenGL = 1,
+	ETextureType_TextureType_Vulkan = 2,
+	ETextureType_TextureType_IOSurface = 3,
+	ETextureType_TextureType_DirectX12 = 4,
+} ETextureType;
+
+typedef enum EColorSpace
+{
+	EColorSpace_ColorSpace_Auto = 0,
+	EColorSpace_ColorSpace_Gamma = 1,
+	EColorSpace_ColorSpace_Linear = 2,
+} EColorSpace;
+
+typedef enum ETrackingResult
+{
+	ETrackingResult_TrackingResult_Uninitialized = 1,
+	ETrackingResult_TrackingResult_Calibrating_InProgress = 100,
+	ETrackingResult_TrackingResult_Calibrating_OutOfRange = 101,
+	ETrackingResult_TrackingResult_Running_OK = 200,
+	ETrackingResult_TrackingResult_Running_OutOfRange = 201,
+} ETrackingResult;
+
+typedef enum ETrackedDeviceClass
+{
+	ETrackedDeviceClass_TrackedDeviceClass_Invalid = 0,
+	ETrackedDeviceClass_TrackedDeviceClass_HMD = 1,
+	ETrackedDeviceClass_TrackedDeviceClass_Controller = 2,
+	ETrackedDeviceClass_TrackedDeviceClass_GenericTracker = 3,
+	ETrackedDeviceClass_TrackedDeviceClass_TrackingReference = 4,
+	ETrackedDeviceClass_TrackedDeviceClass_DisplayRedirect = 5,
+} ETrackedDeviceClass;
+
+typedef enum ETrackedControllerRole
+{
+	ETrackedControllerRole_TrackedControllerRole_Invalid = 0,
+	ETrackedControllerRole_TrackedControllerRole_LeftHand = 1,
+	ETrackedControllerRole_TrackedControllerRole_RightHand = 2,
+} ETrackedControllerRole;
+
+typedef enum ETrackingUniverseOrigin
+{
+	ETrackingUniverseOrigin_TrackingUniverseSeated = 0,
+	ETrackingUniverseOrigin_TrackingUniverseStanding = 1,
+	ETrackingUniverseOrigin_TrackingUniverseRawAndUncalibrated = 2,
+} ETrackingUniverseOrigin;
+
+typedef enum ETrackedDeviceProperty
+{
+	ETrackedDeviceProperty_Prop_Invalid = 0,
+	ETrackedDeviceProperty_Prop_TrackingSystemName_String = 1000,
+	ETrackedDeviceProperty_Prop_ModelNumber_String = 1001,
+	ETrackedDeviceProperty_Prop_SerialNumber_String = 1002,
+	ETrackedDeviceProperty_Prop_RenderModelName_String = 1003,
+	ETrackedDeviceProperty_Prop_WillDriftInYaw_Bool = 1004,
+	ETrackedDeviceProperty_Prop_ManufacturerName_String = 1005,
+	ETrackedDeviceProperty_Prop_TrackingFirmwareVersion_String = 1006,
+	ETrackedDeviceProperty_Prop_HardwareRevision_String = 1007,
+	ETrackedDeviceProperty_Prop_AllWirelessDongleDescriptions_String = 1008,
+	ETrackedDeviceProperty_Prop_ConnectedWirelessDongle_String = 1009,
+	ETrackedDeviceProperty_Prop_DeviceIsWireless_Bool = 1010,
+	ETrackedDeviceProperty_Prop_DeviceIsCharging_Bool = 1011,
+	ETrackedDeviceProperty_Prop_DeviceBatteryPercentage_Float = 1012,
+	ETrackedDeviceProperty_Prop_StatusDisplayTransform_Matrix34 = 1013,
+	ETrackedDeviceProperty_Prop_Firmware_UpdateAvailable_Bool = 1014,
+	ETrackedDeviceProperty_Prop_Firmware_ManualUpdate_Bool = 1015,
+	ETrackedDeviceProperty_Prop_Firmware_ManualUpdateURL_String = 1016,
+	ETrackedDeviceProperty_Prop_HardwareRevision_Uint64 = 1017,
+	ETrackedDeviceProperty_Prop_FirmwareVersion_Uint64 = 1018,
+	ETrackedDeviceProperty_Prop_FPGAVersion_Uint64 = 1019,
+	ETrackedDeviceProperty_Prop_VRCVersion_Uint64 = 1020,
+	ETrackedDeviceProperty_Prop_RadioVersion_Uint64 = 1021,
+	ETrackedDeviceProperty_Prop_DongleVersion_Uint64 = 1022,
+	ETrackedDeviceProperty_Prop_BlockServerShutdown_Bool = 1023,
+	ETrackedDeviceProperty_Prop_CanUnifyCoordinateSystemWithHmd_Bool = 1024,
+	ETrackedDeviceProperty_Prop_ContainsProximitySensor_Bool = 1025,
+	ETrackedDeviceProperty_Prop_DeviceProvidesBatteryStatus_Bool = 1026,
+	ETrackedDeviceProperty_Prop_DeviceCanPowerOff_Bool = 1027,
+	ETrackedDeviceProperty_Prop_Firmware_ProgrammingTarget_String = 1028,
+	ETrackedDeviceProperty_Prop_DeviceClass_Int32 = 1029,
+	ETrackedDeviceProperty_Prop_HasCamera_Bool = 1030,
+	ETrackedDeviceProperty_Prop_DriverVersion_String = 1031,
+	ETrackedDeviceProperty_Prop_Firmware_ForceUpdateRequired_Bool = 1032,
+	ETrackedDeviceProperty_Prop_ViveSystemButtonFixRequired_Bool = 1033,
+	ETrackedDeviceProperty_Prop_ParentDriver_Uint64 = 1034,
+	ETrackedDeviceProperty_Prop_ResourceRoot_String = 1035,
+	ETrackedDeviceProperty_Prop_RegisteredDeviceType_String = 1036,
+	ETrackedDeviceProperty_Prop_InputProfilePath_String = 1037,
+	ETrackedDeviceProperty_Prop_ReportsTimeSinceVSync_Bool = 2000,
+	ETrackedDeviceProperty_Prop_SecondsFromVsyncToPhotons_Float = 2001,
+	ETrackedDeviceProperty_Prop_DisplayFrequency_Float = 2002,
+	ETrackedDeviceProperty_Prop_UserIpdMeters_Float = 2003,
+	ETrackedDeviceProperty_Prop_CurrentUniverseId_Uint64 = 2004,
+	ETrackedDeviceProperty_Prop_PreviousUniverseId_Uint64 = 2005,
+	ETrackedDeviceProperty_Prop_DisplayFirmwareVersion_Uint64 = 2006,
+	ETrackedDeviceProperty_Prop_IsOnDesktop_Bool = 2007,
+	ETrackedDeviceProperty_Prop_DisplayMCType_Int32 = 2008,
+	ETrackedDeviceProperty_Prop_DisplayMCOffset_Float = 2009,
+	ETrackedDeviceProperty_Prop_DisplayMCScale_Float = 2010,
+	ETrackedDeviceProperty_Prop_EdidVendorID_Int32 = 2011,
+	ETrackedDeviceProperty_Prop_DisplayMCImageLeft_String = 2012,
+	ETrackedDeviceProperty_Prop_DisplayMCImageRight_String = 2013,
+	ETrackedDeviceProperty_Prop_DisplayGCBlackClamp_Float = 2014,
+	ETrackedDeviceProperty_Prop_EdidProductID_Int32 = 2015,
+	ETrackedDeviceProperty_Prop_CameraToHeadTransform_Matrix34 = 2016,
+	ETrackedDeviceProperty_Prop_DisplayGCType_Int32 = 2017,
+	ETrackedDeviceProperty_Prop_DisplayGCOffset_Float = 2018,
+	ETrackedDeviceProperty_Prop_DisplayGCScale_Float = 2019,
+	ETrackedDeviceProperty_Prop_DisplayGCPrescale_Float = 2020,
+	ETrackedDeviceProperty_Prop_DisplayGCImage_String = 2021,
+	ETrackedDeviceProperty_Prop_LensCenterLeftU_Float = 2022,
+	ETrackedDeviceProperty_Prop_LensCenterLeftV_Float = 2023,
+	ETrackedDeviceProperty_Prop_LensCenterRightU_Float = 2024,
+	ETrackedDeviceProperty_Prop_LensCenterRightV_Float = 2025,
+	ETrackedDeviceProperty_Prop_UserHeadToEyeDepthMeters_Float = 2026,
+	ETrackedDeviceProperty_Prop_CameraFirmwareVersion_Uint64 = 2027,
+	ETrackedDeviceProperty_Prop_CameraFirmwareDescription_String = 2028,
+	ETrackedDeviceProperty_Prop_DisplayFPGAVersion_Uint64 = 2029,
+	ETrackedDeviceProperty_Prop_DisplayBootloaderVersion_Uint64 = 2030,
+	ETrackedDeviceProperty_Prop_DisplayHardwareVersion_Uint64 = 2031,
+	ETrackedDeviceProperty_Prop_AudioFirmwareVersion_Uint64 = 2032,
+	ETrackedDeviceProperty_Prop_CameraCompatibilityMode_Int32 = 2033,
+	ETrackedDeviceProperty_Prop_ScreenshotHorizontalFieldOfViewDegrees_Float = 2034,
+	ETrackedDeviceProperty_Prop_ScreenshotVerticalFieldOfViewDegrees_Float = 2035,
+	ETrackedDeviceProperty_Prop_DisplaySuppressed_Bool = 2036,
+	ETrackedDeviceProperty_Prop_DisplayAllowNightMode_Bool = 2037,
+	ETrackedDeviceProperty_Prop_DisplayMCImageWidth_Int32 = 2038,
+	ETrackedDeviceProperty_Prop_DisplayMCImageHeight_Int32 = 2039,
+	ETrackedDeviceProperty_Prop_DisplayMCImageNumChannels_Int32 = 2040,
+	ETrackedDeviceProperty_Prop_DisplayMCImageData_Binary = 2041,
+	ETrackedDeviceProperty_Prop_SecondsFromPhotonsToVblank_Float = 2042,
+	ETrackedDeviceProperty_Prop_DriverDirectModeSendsVsyncEvents_Bool = 2043,
+	ETrackedDeviceProperty_Prop_DisplayDebugMode_Bool = 2044,
+	ETrackedDeviceProperty_Prop_GraphicsAdapterLuid_Uint64 = 2045,
+	ETrackedDeviceProperty_Prop_DriverProvidedChaperonePath_String = 2048,
+	ETrackedDeviceProperty_Prop_ExpectedTrackingReferenceCount_Int32 = 2049,
+	ETrackedDeviceProperty_Prop_ExpectedControllerCount_Int32 = 2050,
+	ETrackedDeviceProperty_Prop_NamedIconPathControllerLeftDeviceOff_String = 2051,
+	ETrackedDeviceProperty_Prop_NamedIconPathControllerRightDeviceOff_String = 2052,
+	ETrackedDeviceProperty_Prop_NamedIconPathTrackingReferenceDeviceOff_String = 2053,
+	ETrackedDeviceProperty_Prop_DoNotApplyPrediction_Bool = 2054,
+	ETrackedDeviceProperty_Prop_CameraToHeadTransforms_Matrix34_Array = 2055,
+	ETrackedDeviceProperty_Prop_DriverIsDrawingControllers_Bool = 2057,
+	ETrackedDeviceProperty_Prop_DriverRequestsApplicationPause_Bool = 2058,
+	ETrackedDeviceProperty_Prop_DriverRequestsReducedRendering_Bool = 2059,
+	ETrackedDeviceProperty_Prop_AttachedDeviceId_String = 3000,
+	ETrackedDeviceProperty_Prop_SupportedButtons_Uint64 = 3001,
+	ETrackedDeviceProperty_Prop_Axis0Type_Int32 = 3002,
+	ETrackedDeviceProperty_Prop_Axis1Type_Int32 = 3003,
+	ETrackedDeviceProperty_Prop_Axis2Type_Int32 = 3004,
+	ETrackedDeviceProperty_Prop_Axis3Type_Int32 = 3005,
+	ETrackedDeviceProperty_Prop_Axis4Type_Int32 = 3006,
+	ETrackedDeviceProperty_Prop_ControllerRoleHint_Int32 = 3007,
+	ETrackedDeviceProperty_Prop_FieldOfViewLeftDegrees_Float = 4000,
+	ETrackedDeviceProperty_Prop_FieldOfViewRightDegrees_Float = 4001,
+	ETrackedDeviceProperty_Prop_FieldOfViewTopDegrees_Float = 4002,
+	ETrackedDeviceProperty_Prop_FieldOfViewBottomDegrees_Float = 4003,
+	ETrackedDeviceProperty_Prop_TrackingRangeMinimumMeters_Float = 4004,
+	ETrackedDeviceProperty_Prop_TrackingRangeMaximumMeters_Float = 4005,
+	ETrackedDeviceProperty_Prop_ModeLabel_String = 4006,
+	ETrackedDeviceProperty_Prop_IconPathName_String = 5000,
+	ETrackedDeviceProperty_Prop_NamedIconPathDeviceOff_String = 5001,
+	ETrackedDeviceProperty_Prop_NamedIconPathDeviceSearching_String = 5002,
+	ETrackedDeviceProperty_Prop_NamedIconPathDeviceSearchingAlert_String = 5003,
+	ETrackedDeviceProperty_Prop_NamedIconPathDeviceReady_String = 5004,
+	ETrackedDeviceProperty_Prop_NamedIconPathDeviceReadyAlert_String = 5005,
+	ETrackedDeviceProperty_Prop_NamedIconPathDeviceNotReady_String = 5006,
+	ETrackedDeviceProperty_Prop_NamedIconPathDeviceStandby_String = 5007,
+	ETrackedDeviceProperty_Prop_NamedIconPathDeviceAlertLow_String = 5008,
+	ETrackedDeviceProperty_Prop_DisplayHiddenArea_Binary_Start = 5100,
+	ETrackedDeviceProperty_Prop_DisplayHiddenArea_Binary_End = 5150,
+	ETrackedDeviceProperty_Prop_ParentContainer = 5151,
+	ETrackedDeviceProperty_Prop_UserConfigPath_String = 6000,
+	ETrackedDeviceProperty_Prop_InstallPath_String = 6001,
+	ETrackedDeviceProperty_Prop_HasDisplayComponent_Bool = 6002,
+	ETrackedDeviceProperty_Prop_HasControllerComponent_Bool = 6003,
+	ETrackedDeviceProperty_Prop_HasCameraComponent_Bool = 6004,
+	ETrackedDeviceProperty_Prop_HasDriverDirectModeComponent_Bool = 6005,
+	ETrackedDeviceProperty_Prop_HasVirtualDisplayComponent_Bool = 6006,
+	ETrackedDeviceProperty_Prop_ControllerType_String = 7000,
+	ETrackedDeviceProperty_Prop_LegacyInputProfile_String = 7001,
+	ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_Start = 10000,
+	ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_End = 10999,
+	ETrackedDeviceProperty_Prop_TrackedDeviceProperty_Max = 1000000,
+} ETrackedDeviceProperty;
+
+typedef enum ETrackedPropertyError
+{
+	ETrackedPropertyError_TrackedProp_Success = 0,
+	ETrackedPropertyError_TrackedProp_WrongDataType = 1,
+	ETrackedPropertyError_TrackedProp_WrongDeviceClass = 2,
+	ETrackedPropertyError_TrackedProp_BufferTooSmall = 3,
+	ETrackedPropertyError_TrackedProp_UnknownProperty = 4,
+	ETrackedPropertyError_TrackedProp_InvalidDevice = 5,
+	ETrackedPropertyError_TrackedProp_CouldNotContactServer = 6,
+	ETrackedPropertyError_TrackedProp_ValueNotProvidedByDevice = 7,
+	ETrackedPropertyError_TrackedProp_StringExceedsMaximumLength = 8,
+	ETrackedPropertyError_TrackedProp_NotYetAvailable = 9,
+	ETrackedPropertyError_TrackedProp_PermissionDenied = 10,
+	ETrackedPropertyError_TrackedProp_InvalidOperation = 11,
+	ETrackedPropertyError_TrackedProp_CannotWriteToWildcards = 12,
+} ETrackedPropertyError;
+
+typedef enum EVRSubmitFlags
+{
+	EVRSubmitFlags_Submit_Default = 0,
+	EVRSubmitFlags_Submit_LensDistortionAlreadyApplied = 1,
+	EVRSubmitFlags_Submit_GlRenderBuffer = 2,
+	EVRSubmitFlags_Submit_Reserved = 4,
+	EVRSubmitFlags_Submit_TextureWithPose = 8,
+	EVRSubmitFlags_Submit_TextureWithDepth = 16,
+} EVRSubmitFlags;
+
+typedef enum EVRState
+{
+	EVRState_VRState_Undefined = -1,
+	EVRState_VRState_Off = 0,
+	EVRState_VRState_Searching = 1,
+	EVRState_VRState_Searching_Alert = 2,
+	EVRState_VRState_Ready = 3,
+	EVRState_VRState_Ready_Alert = 4,
+	EVRState_VRState_NotReady = 5,
+	EVRState_VRState_Standby = 6,
+	EVRState_VRState_Ready_Alert_Low = 7,
+} EVRState;
+
+typedef enum EVREventType
+{
+	EVREventType_VREvent_None = 0,
+	EVREventType_VREvent_TrackedDeviceActivated = 100,
+	EVREventType_VREvent_TrackedDeviceDeactivated = 101,
+	EVREventType_VREvent_TrackedDeviceUpdated = 102,
+	EVREventType_VREvent_TrackedDeviceUserInteractionStarted = 103,
+	EVREventType_VREvent_TrackedDeviceUserInteractionEnded = 104,
+	EVREventType_VREvent_IpdChanged = 105,
+	EVREventType_VREvent_EnterStandbyMode = 106,
+	EVREventType_VREvent_LeaveStandbyMode = 107,
+	EVREventType_VREvent_TrackedDeviceRoleChanged = 108,
+	EVREventType_VREvent_WatchdogWakeUpRequested = 109,
+	EVREventType_VREvent_LensDistortionChanged = 110,
+	EVREventType_VREvent_PropertyChanged = 111,
+	EVREventType_VREvent_WirelessDisconnect = 112,
+	EVREventType_VREvent_WirelessReconnect = 113,
+	EVREventType_VREvent_ButtonPress = 200,
+	EVREventType_VREvent_ButtonUnpress = 201,
+	EVREventType_VREvent_ButtonTouch = 202,
+	EVREventType_VREvent_ButtonUntouch = 203,
+	EVREventType_VREvent_DualAnalog_Press = 250,
+	EVREventType_VREvent_DualAnalog_Unpress = 251,
+	EVREventType_VREvent_DualAnalog_Touch = 252,
+	EVREventType_VREvent_DualAnalog_Untouch = 253,
+	EVREventType_VREvent_DualAnalog_Move = 254,
+	EVREventType_VREvent_DualAnalog_ModeSwitch1 = 255,
+	EVREventType_VREvent_DualAnalog_ModeSwitch2 = 256,
+	EVREventType_VREvent_DualAnalog_Cancel = 257,
+	EVREventType_VREvent_MouseMove = 300,
+	EVREventType_VREvent_MouseButtonDown = 301,
+	EVREventType_VREvent_MouseButtonUp = 302,
+	EVREventType_VREvent_FocusEnter = 303,
+	EVREventType_VREvent_FocusLeave = 304,
+	EVREventType_VREvent_Scroll = 305,
+	EVREventType_VREvent_TouchPadMove = 306,
+	EVREventType_VREvent_OverlayFocusChanged = 307,
+	EVREventType_VREvent_InputFocusCaptured = 400,
+	EVREventType_VREvent_InputFocusReleased = 401,
+	EVREventType_VREvent_SceneFocusLost = 402,
+	EVREventType_VREvent_SceneFocusGained = 403,
+	EVREventType_VREvent_SceneApplicationChanged = 404,
+	EVREventType_VREvent_SceneFocusChanged = 405,
+	EVREventType_VREvent_InputFocusChanged = 406,
+	EVREventType_VREvent_SceneApplicationSecondaryRenderingStarted = 407,
+	EVREventType_VREvent_HideRenderModels = 410,
+	EVREventType_VREvent_ShowRenderModels = 411,
+	EVREventType_VREvent_ConsoleOpened = 420,
+	EVREventType_VREvent_ConsoleClosed = 421,
+	EVREventType_VREvent_OverlayShown = 500,
+	EVREventType_VREvent_OverlayHidden = 501,
+	EVREventType_VREvent_DashboardActivated = 502,
+	EVREventType_VREvent_DashboardDeactivated = 503,
+	EVREventType_VREvent_DashboardThumbSelected = 504,
+	EVREventType_VREvent_DashboardRequested = 505,
+	EVREventType_VREvent_ResetDashboard = 506,
+	EVREventType_VREvent_RenderToast = 507,
+	EVREventType_VREvent_ImageLoaded = 508,
+	EVREventType_VREvent_ShowKeyboard = 509,
+	EVREventType_VREvent_HideKeyboard = 510,
+	EVREventType_VREvent_OverlayGamepadFocusGained = 511,
+	EVREventType_VREvent_OverlayGamepadFocusLost = 512,
+	EVREventType_VREvent_OverlaySharedTextureChanged = 513,
+	EVREventType_VREvent_DashboardGuideButtonDown = 514,
+	EVREventType_VREvent_DashboardGuideButtonUp = 515,
+	EVREventType_VREvent_ScreenshotTriggered = 516,
+	EVREventType_VREvent_ImageFailed = 517,
+	EVREventType_VREvent_DashboardOverlayCreated = 518,
+	EVREventType_VREvent_RequestScreenshot = 520,
+	EVREventType_VREvent_ScreenshotTaken = 521,
+	EVREventType_VREvent_ScreenshotFailed = 522,
+	EVREventType_VREvent_SubmitScreenshotToDashboard = 523,
+	EVREventType_VREvent_ScreenshotProgressToDashboard = 524,
+	EVREventType_VREvent_PrimaryDashboardDeviceChanged = 525,
+	EVREventType_VREvent_Notification_Shown = 600,
+	EVREventType_VREvent_Notification_Hidden = 601,
+	EVREventType_VREvent_Notification_BeginInteraction = 602,
+	EVREventType_VREvent_Notification_Destroyed = 603,
+	EVREventType_VREvent_Quit = 700,
+	EVREventType_VREvent_ProcessQuit = 701,
+	EVREventType_VREvent_QuitAborted_UserPrompt = 702,
+	EVREventType_VREvent_QuitAcknowledged = 703,
+	EVREventType_VREvent_DriverRequestedQuit = 704,
+	EVREventType_VREvent_ChaperoneDataHasChanged = 800,
+	EVREventType_VREvent_ChaperoneUniverseHasChanged = 801,
+	EVREventType_VREvent_ChaperoneTempDataHasChanged = 802,
+	EVREventType_VREvent_ChaperoneSettingsHaveChanged = 803,
+	EVREventType_VREvent_SeatedZeroPoseReset = 804,
+	EVREventType_VREvent_AudioSettingsHaveChanged = 820,
+	EVREventType_VREvent_BackgroundSettingHasChanged = 850,
+	EVREventType_VREvent_CameraSettingsHaveChanged = 851,
+	EVREventType_VREvent_ReprojectionSettingHasChanged = 852,
+	EVREventType_VREvent_ModelSkinSettingsHaveChanged = 853,
+	EVREventType_VREvent_EnvironmentSettingsHaveChanged = 854,
+	EVREventType_VREvent_PowerSettingsHaveChanged = 855,
+	EVREventType_VREvent_EnableHomeAppSettingsHaveChanged = 856,
+	EVREventType_VREvent_SteamVRSectionSettingChanged = 857,
+	EVREventType_VREvent_LighthouseSectionSettingChanged = 858,
+	EVREventType_VREvent_NullSectionSettingChanged = 859,
+	EVREventType_VREvent_UserInterfaceSectionSettingChanged = 860,
+	EVREventType_VREvent_NotificationsSectionSettingChanged = 861,
+	EVREventType_VREvent_KeyboardSectionSettingChanged = 862,
+	EVREventType_VREvent_PerfSectionSettingChanged = 863,
+	EVREventType_VREvent_DashboardSectionSettingChanged = 864,
+	EVREventType_VREvent_WebInterfaceSectionSettingChanged = 865,
+	EVREventType_VREvent_StatusUpdate = 900,
+	EVREventType_VREvent_WebInterface_InstallDriverCompleted = 950,
+	EVREventType_VREvent_MCImageUpdated = 1000,
+	EVREventType_VREvent_FirmwareUpdateStarted = 1100,
+	EVREventType_VREvent_FirmwareUpdateFinished = 1101,
+	EVREventType_VREvent_KeyboardClosed = 1200,
+	EVREventType_VREvent_KeyboardCharInput = 1201,
+	EVREventType_VREvent_KeyboardDone = 1202,
+	EVREventType_VREvent_ApplicationTransitionStarted = 1300,
+	EVREventType_VREvent_ApplicationTransitionAborted = 1301,
+	EVREventType_VREvent_ApplicationTransitionNewAppStarted = 1302,
+	EVREventType_VREvent_ApplicationListUpdated = 1303,
+	EVREventType_VREvent_ApplicationMimeTypeLoad = 1304,
+	EVREventType_VREvent_ApplicationTransitionNewAppLaunchComplete = 1305,
+	EVREventType_VREvent_ProcessConnected = 1306,
+	EVREventType_VREvent_ProcessDisconnected = 1307,
+	EVREventType_VREvent_Compositor_MirrorWindowShown = 1400,
+	EVREventType_VREvent_Compositor_MirrorWindowHidden = 1401,
+	EVREventType_VREvent_Compositor_ChaperoneBoundsShown = 1410,
+	EVREventType_VREvent_Compositor_ChaperoneBoundsHidden = 1411,
+	EVREventType_VREvent_TrackedCamera_StartVideoStream = 1500,
+	EVREventType_VREvent_TrackedCamera_StopVideoStream = 1501,
+	EVREventType_VREvent_TrackedCamera_PauseVideoStream = 1502,
+	EVREventType_VREvent_TrackedCamera_ResumeVideoStream = 1503,
+	EVREventType_VREvent_TrackedCamera_EditingSurface = 1550,
+	EVREventType_VREvent_PerformanceTest_EnableCapture = 1600,
+	EVREventType_VREvent_PerformanceTest_DisableCapture = 1601,
+	EVREventType_VREvent_PerformanceTest_FidelityLevel = 1602,
+	EVREventType_VREvent_MessageOverlay_Closed = 1650,
+	EVREventType_VREvent_MessageOverlayCloseRequested = 1651,
+	EVREventType_VREvent_Input_HapticVibration = 1700,
+	EVREventType_VREvent_VendorSpecific_Reserved_Start = 10000,
+	EVREventType_VREvent_VendorSpecific_Reserved_End = 19999,
+} EVREventType;
+
+typedef enum EDeviceActivityLevel
+{
+	EDeviceActivityLevel_k_EDeviceActivityLevel_Unknown = -1,
+	EDeviceActivityLevel_k_EDeviceActivityLevel_Idle = 0,
+	EDeviceActivityLevel_k_EDeviceActivityLevel_UserInteraction = 1,
+	EDeviceActivityLevel_k_EDeviceActivityLevel_UserInteraction_Timeout = 2,
+	EDeviceActivityLevel_k_EDeviceActivityLevel_Standby = 3,
+} EDeviceActivityLevel;
+
+typedef enum EVRButtonId
+{
+	EVRButtonId_k_EButton_System = 0,
+	EVRButtonId_k_EButton_ApplicationMenu = 1,
+	EVRButtonId_k_EButton_Grip = 2,
+	EVRButtonId_k_EButton_DPad_Left = 3,
+	EVRButtonId_k_EButton_DPad_Up = 4,
+	EVRButtonId_k_EButton_DPad_Right = 5,
+	EVRButtonId_k_EButton_DPad_Down = 6,
+	EVRButtonId_k_EButton_A = 7,
+	EVRButtonId_k_EButton_ProximitySensor = 31,
+	EVRButtonId_k_EButton_Axis0 = 32,
+	EVRButtonId_k_EButton_Axis1 = 33,
+	EVRButtonId_k_EButton_Axis2 = 34,
+	EVRButtonId_k_EButton_Axis3 = 35,
+	EVRButtonId_k_EButton_Axis4 = 36,
+	EVRButtonId_k_EButton_SteamVR_Touchpad = 32,
+	EVRButtonId_k_EButton_SteamVR_Trigger = 33,
+	EVRButtonId_k_EButton_Dashboard_Back = 2,
+	EVRButtonId_k_EButton_Max = 64,
+} EVRButtonId;
+
+typedef enum EVRMouseButton
+{
+	EVRMouseButton_VRMouseButton_Left = 1,
+	EVRMouseButton_VRMouseButton_Right = 2,
+	EVRMouseButton_VRMouseButton_Middle = 4,
+} EVRMouseButton;
+
+typedef enum EDualAnalogWhich
+{
+	EDualAnalogWhich_k_EDualAnalog_Left = 0,
+	EDualAnalogWhich_k_EDualAnalog_Right = 1,
+} EDualAnalogWhich;
+
+typedef enum EVRInputError
+{
+	EVRInputError_VRInputError_None = 0,
+	EVRInputError_VRInputError_NameNotFound = 1,
+	EVRInputError_VRInputError_WrongType = 2,
+	EVRInputError_VRInputError_InvalidHandle = 3,
+	EVRInputError_VRInputError_InvalidParam = 4,
+	EVRInputError_VRInputError_NoSteam = 5,
+	EVRInputError_VRInputError_MaxCapacityReached = 6,
+	EVRInputError_VRInputError_IPCError = 7,
+	EVRInputError_VRInputError_NoActiveActionSet = 8,
+	EVRInputError_VRInputError_InvalidDevice = 9,
+} EVRInputError;
+
+typedef enum EHiddenAreaMeshType
+{
+	EHiddenAreaMeshType_k_eHiddenAreaMesh_Standard = 0,
+	EHiddenAreaMeshType_k_eHiddenAreaMesh_Inverse = 1,
+	EHiddenAreaMeshType_k_eHiddenAreaMesh_LineLoop = 2,
+	EHiddenAreaMeshType_k_eHiddenAreaMesh_Max = 3,
+} EHiddenAreaMeshType;
+
+typedef enum EVRControllerAxisType
+{
+	EVRControllerAxisType_k_eControllerAxis_None = 0,
+	EVRControllerAxisType_k_eControllerAxis_TrackPad = 1,
+	EVRControllerAxisType_k_eControllerAxis_Joystick = 2,
+	EVRControllerAxisType_k_eControllerAxis_Trigger = 3,
+} EVRControllerAxisType;
+
+typedef enum EVRControllerEventOutputType
+{
+	EVRControllerEventOutputType_ControllerEventOutput_OSEvents = 0,
+	EVRControllerEventOutputType_ControllerEventOutput_VREvents = 1,
+} EVRControllerEventOutputType;
+
+typedef enum ECollisionBoundsStyle
+{
+	ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_BEGINNER = 0,
+	ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_INTERMEDIATE = 1,
+	ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_SQUARES = 2,
+	ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_ADVANCED = 3,
+	ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_NONE = 4,
+	ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_COUNT = 5,
+} ECollisionBoundsStyle;
+
+typedef enum EVROverlayError
+{
+	EVROverlayError_VROverlayError_None = 0,
+	EVROverlayError_VROverlayError_UnknownOverlay = 10,
+	EVROverlayError_VROverlayError_InvalidHandle = 11,
+	EVROverlayError_VROverlayError_PermissionDenied = 12,
+	EVROverlayError_VROverlayError_OverlayLimitExceeded = 13,
+	EVROverlayError_VROverlayError_WrongVisibilityType = 14,
+	EVROverlayError_VROverlayError_KeyTooLong = 15,
+	EVROverlayError_VROverlayError_NameTooLong = 16,
+	EVROverlayError_VROverlayError_KeyInUse = 17,
+	EVROverlayError_VROverlayError_WrongTransformType = 18,
+	EVROverlayError_VROverlayError_InvalidTrackedDevice = 19,
+	EVROverlayError_VROverlayError_InvalidParameter = 20,
+	EVROverlayError_VROverlayError_ThumbnailCantBeDestroyed = 21,
+	EVROverlayError_VROverlayError_ArrayTooSmall = 22,
+	EVROverlayError_VROverlayError_RequestFailed = 23,
+	EVROverlayError_VROverlayError_InvalidTexture = 24,
+	EVROverlayError_VROverlayError_UnableToLoadFile = 25,
+	EVROverlayError_VROverlayError_KeyboardAlreadyInUse = 26,
+	EVROverlayError_VROverlayError_NoNeighbor = 27,
+	EVROverlayError_VROverlayError_TooManyMaskPrimitives = 29,
+	EVROverlayError_VROverlayError_BadMaskPrimitive = 30,
+	EVROverlayError_VROverlayError_TextureAlreadyLocked = 31,
+	EVROverlayError_VROverlayError_TextureLockCapacityReached = 32,
+	EVROverlayError_VROverlayError_TextureNotLocked = 33,
+} EVROverlayError;
+
+typedef enum EVRApplicationType
+{
+	EVRApplicationType_VRApplication_Other = 0,
+	EVRApplicationType_VRApplication_Scene = 1,
+	EVRApplicationType_VRApplication_Overlay = 2,
+	EVRApplicationType_VRApplication_Background = 3,
+	EVRApplicationType_VRApplication_Utility = 4,
+	EVRApplicationType_VRApplication_VRMonitor = 5,
+	EVRApplicationType_VRApplication_SteamWatchdog = 6,
+	EVRApplicationType_VRApplication_Bootstrapper = 7,
+	EVRApplicationType_VRApplication_Max = 8,
+} EVRApplicationType;
+
+typedef enum EVRFirmwareError
+{
+	EVRFirmwareError_VRFirmwareError_None = 0,
+	EVRFirmwareError_VRFirmwareError_Success = 1,
+	EVRFirmwareError_VRFirmwareError_Fail = 2,
+} EVRFirmwareError;
+
+typedef enum EVRNotificationError
+{
+	EVRNotificationError_VRNotificationError_OK = 0,
+	EVRNotificationError_VRNotificationError_InvalidNotificationId = 100,
+	EVRNotificationError_VRNotificationError_NotificationQueueFull = 101,
+	EVRNotificationError_VRNotificationError_InvalidOverlayHandle = 102,
+	EVRNotificationError_VRNotificationError_SystemWithUserValueAlreadyExists = 103,
+} EVRNotificationError;
+
+typedef enum EVRInitError
+{
+	EVRInitError_VRInitError_None = 0,
+	EVRInitError_VRInitError_Unknown = 1,
+	EVRInitError_VRInitError_Init_InstallationNotFound = 100,
+	EVRInitError_VRInitError_Init_InstallationCorrupt = 101,
+	EVRInitError_VRInitError_Init_VRClientDLLNotFound = 102,
+	EVRInitError_VRInitError_Init_FileNotFound = 103,
+	EVRInitError_VRInitError_Init_FactoryNotFound = 104,
+	EVRInitError_VRInitError_Init_InterfaceNotFound = 105,
+	EVRInitError_VRInitError_Init_InvalidInterface = 106,
+	EVRInitError_VRInitError_Init_UserConfigDirectoryInvalid = 107,
+	EVRInitError_VRInitError_Init_HmdNotFound = 108,
+	EVRInitError_VRInitError_Init_NotInitialized = 109,
+	EVRInitError_VRInitError_Init_PathRegistryNotFound = 110,
+	EVRInitError_VRInitError_Init_NoConfigPath = 111,
+	EVRInitError_VRInitError_Init_NoLogPath = 112,
+	EVRInitError_VRInitError_Init_PathRegistryNotWritable = 113,
+	EVRInitError_VRInitError_Init_AppInfoInitFailed = 114,
+	EVRInitError_VRInitError_Init_Retry = 115,
+	EVRInitError_VRInitError_Init_InitCanceledByUser = 116,
+	EVRInitError_VRInitError_Init_AnotherAppLaunching = 117,
+	EVRInitError_VRInitError_Init_SettingsInitFailed = 118,
+	EVRInitError_VRInitError_Init_ShuttingDown = 119,
+	EVRInitError_VRInitError_Init_TooManyObjects = 120,
+	EVRInitError_VRInitError_Init_NoServerForBackgroundApp = 121,
+	EVRInitError_VRInitError_Init_NotSupportedWithCompositor = 122,
+	EVRInitError_VRInitError_Init_NotAvailableToUtilityApps = 123,
+	EVRInitError_VRInitError_Init_Internal = 124,
+	EVRInitError_VRInitError_Init_HmdDriverIdIsNone = 125,
+	EVRInitError_VRInitError_Init_HmdNotFoundPresenceFailed = 126,
+	EVRInitError_VRInitError_Init_VRMonitorNotFound = 127,
+	EVRInitError_VRInitError_Init_VRMonitorStartupFailed = 128,
+	EVRInitError_VRInitError_Init_LowPowerWatchdogNotSupported = 129,
+	EVRInitError_VRInitError_Init_InvalidApplicationType = 130,
+	EVRInitError_VRInitError_Init_NotAvailableToWatchdogApps = 131,
+	EVRInitError_VRInitError_Init_WatchdogDisabledInSettings = 132,
+	EVRInitError_VRInitError_Init_VRDashboardNotFound = 133,
+	EVRInitError_VRInitError_Init_VRDashboardStartupFailed = 134,
+	EVRInitError_VRInitError_Init_VRHomeNotFound = 135,
+	EVRInitError_VRInitError_Init_VRHomeStartupFailed = 136,
+	EVRInitError_VRInitError_Init_RebootingBusy = 137,
+	EVRInitError_VRInitError_Init_FirmwareUpdateBusy = 138,
+	EVRInitError_VRInitError_Init_FirmwareRecoveryBusy = 139,
+	EVRInitError_VRInitError_Init_USBServiceBusy = 140,
+	EVRInitError_VRInitError_Driver_Failed = 200,
+	EVRInitError_VRInitError_Driver_Unknown = 201,
+	EVRInitError_VRInitError_Driver_HmdUnknown = 202,
+	EVRInitError_VRInitError_Driver_NotLoaded = 203,
+	EVRInitError_VRInitError_Driver_RuntimeOutOfDate = 204,
+	EVRInitError_VRInitError_Driver_HmdInUse = 205,
+	EVRInitError_VRInitError_Driver_NotCalibrated = 206,
+	EVRInitError_VRInitError_Driver_CalibrationInvalid = 207,
+	EVRInitError_VRInitError_Driver_HmdDisplayNotFound = 208,
+	EVRInitError_VRInitError_Driver_TrackedDeviceInterfaceUnknown = 209,
+	EVRInitError_VRInitError_Driver_HmdDriverIdOutOfBounds = 211,
+	EVRInitError_VRInitError_Driver_HmdDisplayMirrored = 212,
+	EVRInitError_VRInitError_IPC_ServerInitFailed = 300,
+	EVRInitError_VRInitError_IPC_ConnectFailed = 301,
+	EVRInitError_VRInitError_IPC_SharedStateInitFailed = 302,
+	EVRInitError_VRInitError_IPC_CompositorInitFailed = 303,
+	EVRInitError_VRInitError_IPC_MutexInitFailed = 304,
+	EVRInitError_VRInitError_IPC_Failed = 305,
+	EVRInitError_VRInitError_IPC_CompositorConnectFailed = 306,
+	EVRInitError_VRInitError_IPC_CompositorInvalidConnectResponse = 307,
+	EVRInitError_VRInitError_IPC_ConnectFailedAfterMultipleAttempts = 308,
+	EVRInitError_VRInitError_Compositor_Failed = 400,
+	EVRInitError_VRInitError_Compositor_D3D11HardwareRequired = 401,
+	EVRInitError_VRInitError_Compositor_FirmwareRequiresUpdate = 402,
+	EVRInitError_VRInitError_Compositor_OverlayInitFailed = 403,
+	EVRInitError_VRInitError_Compositor_ScreenshotsInitFailed = 404,
+	EVRInitError_VRInitError_Compositor_UnableToCreateDevice = 405,
+	EVRInitError_VRInitError_VendorSpecific_UnableToConnectToOculusRuntime = 1000,
+	EVRInitError_VRInitError_VendorSpecific_WindowsNotInDevMode = 1001,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_CantOpenDevice = 1101,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart = 1102,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_NoStoredConfig = 1103,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_ConfigTooBig = 1104,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_ConfigTooSmall = 1105,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToInitZLib = 1106,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion = 1107,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart = 1108,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart = 1109,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext = 1110,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_UserDataAddressRange = 1111,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_UserDataError = 1112,
+	EVRInitError_VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck = 1113,
+	EVRInitError_VRInitError_Steam_SteamInstallationNotFound = 2000,
+} EVRInitError;
+
+typedef enum EVRScreenshotType
+{
+	EVRScreenshotType_VRScreenshotType_None = 0,
+	EVRScreenshotType_VRScreenshotType_Mono = 1,
+	EVRScreenshotType_VRScreenshotType_Stereo = 2,
+	EVRScreenshotType_VRScreenshotType_Cubemap = 3,
+	EVRScreenshotType_VRScreenshotType_MonoPanorama = 4,
+	EVRScreenshotType_VRScreenshotType_StereoPanorama = 5,
+} EVRScreenshotType;
+
+typedef enum EVRScreenshotPropertyFilenames
+{
+	EVRScreenshotPropertyFilenames_VRScreenshotPropertyFilenames_Preview = 0,
+	EVRScreenshotPropertyFilenames_VRScreenshotPropertyFilenames_VR = 1,
+} EVRScreenshotPropertyFilenames;
+
+typedef enum EVRTrackedCameraError
+{
+	EVRTrackedCameraError_VRTrackedCameraError_None = 0,
+	EVRTrackedCameraError_VRTrackedCameraError_OperationFailed = 100,
+	EVRTrackedCameraError_VRTrackedCameraError_InvalidHandle = 101,
+	EVRTrackedCameraError_VRTrackedCameraError_InvalidFrameHeaderVersion = 102,
+	EVRTrackedCameraError_VRTrackedCameraError_OutOfHandles = 103,
+	EVRTrackedCameraError_VRTrackedCameraError_IPCFailure = 104,
+	EVRTrackedCameraError_VRTrackedCameraError_NotSupportedForThisDevice = 105,
+	EVRTrackedCameraError_VRTrackedCameraError_SharedMemoryFailure = 106,
+	EVRTrackedCameraError_VRTrackedCameraError_FrameBufferingFailure = 107,
+	EVRTrackedCameraError_VRTrackedCameraError_StreamSetupFailure = 108,
+	EVRTrackedCameraError_VRTrackedCameraError_InvalidGLTextureId = 109,
+	EVRTrackedCameraError_VRTrackedCameraError_InvalidSharedTextureHandle = 110,
+	EVRTrackedCameraError_VRTrackedCameraError_FailedToGetGLTextureId = 111,
+	EVRTrackedCameraError_VRTrackedCameraError_SharedTextureFailure = 112,
+	EVRTrackedCameraError_VRTrackedCameraError_NoFrameAvailable = 113,
+	EVRTrackedCameraError_VRTrackedCameraError_InvalidArgument = 114,
+	EVRTrackedCameraError_VRTrackedCameraError_InvalidFrameBufferSize = 115,
+} EVRTrackedCameraError;
+
+typedef enum EVRTrackedCameraFrameType
+{
+	EVRTrackedCameraFrameType_VRTrackedCameraFrameType_Distorted = 0,
+	EVRTrackedCameraFrameType_VRTrackedCameraFrameType_Undistorted = 1,
+	EVRTrackedCameraFrameType_VRTrackedCameraFrameType_MaximumUndistorted = 2,
+	EVRTrackedCameraFrameType_MAX_CAMERA_FRAME_TYPES = 3,
+} EVRTrackedCameraFrameType;
+
+typedef enum EVRApplicationError
+{
+	EVRApplicationError_VRApplicationError_None = 0,
+	EVRApplicationError_VRApplicationError_AppKeyAlreadyExists = 100,
+	EVRApplicationError_VRApplicationError_NoManifest = 101,
+	EVRApplicationError_VRApplicationError_NoApplication = 102,
+	EVRApplicationError_VRApplicationError_InvalidIndex = 103,
+	EVRApplicationError_VRApplicationError_UnknownApplication = 104,
+	EVRApplicationError_VRApplicationError_IPCFailed = 105,
+	EVRApplicationError_VRApplicationError_ApplicationAlreadyRunning = 106,
+	EVRApplicationError_VRApplicationError_InvalidManifest = 107,
+	EVRApplicationError_VRApplicationError_InvalidApplication = 108,
+	EVRApplicationError_VRApplicationError_LaunchFailed = 109,
+	EVRApplicationError_VRApplicationError_ApplicationAlreadyStarting = 110,
+	EVRApplicationError_VRApplicationError_LaunchInProgress = 111,
+	EVRApplicationError_VRApplicationError_OldApplicationQuitting = 112,
+	EVRApplicationError_VRApplicationError_TransitionAborted = 113,
+	EVRApplicationError_VRApplicationError_IsTemplate = 114,
+	EVRApplicationError_VRApplicationError_SteamVRIsExiting = 115,
+	EVRApplicationError_VRApplicationError_BufferTooSmall = 200,
+	EVRApplicationError_VRApplicationError_PropertyNotSet = 201,
+	EVRApplicationError_VRApplicationError_UnknownProperty = 202,
+	EVRApplicationError_VRApplicationError_InvalidParameter = 203,
+} EVRApplicationError;
+
+typedef enum EVRApplicationProperty
+{
+	EVRApplicationProperty_VRApplicationProperty_Name_String = 0,
+	EVRApplicationProperty_VRApplicationProperty_LaunchType_String = 11,
+	EVRApplicationProperty_VRApplicationProperty_WorkingDirectory_String = 12,
+	EVRApplicationProperty_VRApplicationProperty_BinaryPath_String = 13,
+	EVRApplicationProperty_VRApplicationProperty_Arguments_String = 14,
+	EVRApplicationProperty_VRApplicationProperty_URL_String = 15,
+	EVRApplicationProperty_VRApplicationProperty_Description_String = 50,
+	EVRApplicationProperty_VRApplicationProperty_NewsURL_String = 51,
+	EVRApplicationProperty_VRApplicationProperty_ImagePath_String = 52,
+	EVRApplicationProperty_VRApplicationProperty_Source_String = 53,
+	EVRApplicationProperty_VRApplicationProperty_ActionManifestURL_String = 54,
+	EVRApplicationProperty_VRApplicationProperty_IsDashboardOverlay_Bool = 60,
+	EVRApplicationProperty_VRApplicationProperty_IsTemplate_Bool = 61,
+	EVRApplicationProperty_VRApplicationProperty_IsInstanced_Bool = 62,
+	EVRApplicationProperty_VRApplicationProperty_IsInternal_Bool = 63,
+	EVRApplicationProperty_VRApplicationProperty_WantsCompositorPauseInStandby_Bool = 64,
+	EVRApplicationProperty_VRApplicationProperty_LastLaunchTime_Uint64 = 70,
+} EVRApplicationProperty;
+
+typedef enum EVRApplicationTransitionState
+{
+	EVRApplicationTransitionState_VRApplicationTransition_None = 0,
+	EVRApplicationTransitionState_VRApplicationTransition_OldAppQuitSent = 10,
+	EVRApplicationTransitionState_VRApplicationTransition_WaitingForExternalLaunch = 11,
+	EVRApplicationTransitionState_VRApplicationTransition_NewAppLaunched = 20,
+} EVRApplicationTransitionState;
+
+typedef enum ChaperoneCalibrationState
+{
+	ChaperoneCalibrationState_OK = 1,
+	ChaperoneCalibrationState_Warning = 100,
+	ChaperoneCalibrationState_Warning_BaseStationMayHaveMoved = 101,
+	ChaperoneCalibrationState_Warning_BaseStationRemoved = 102,
+	ChaperoneCalibrationState_Warning_SeatedBoundsInvalid = 103,
+	ChaperoneCalibrationState_Error = 200,
+	ChaperoneCalibrationState_Error_BaseStationUninitialized = 201,
+	ChaperoneCalibrationState_Error_BaseStationConflict = 202,
+	ChaperoneCalibrationState_Error_PlayAreaInvalid = 203,
+	ChaperoneCalibrationState_Error_CollisionBoundsInvalid = 204,
+} ChaperoneCalibrationState;
+
+typedef enum EChaperoneConfigFile
+{
+	EChaperoneConfigFile_Live = 1,
+	EChaperoneConfigFile_Temp = 2,
+} EChaperoneConfigFile;
+
+typedef enum EChaperoneImportFlags
+{
+	EChaperoneImportFlags_EChaperoneImport_BoundsOnly = 1,
+} EChaperoneImportFlags;
+
+typedef enum EVRCompositorError
+{
+	EVRCompositorError_VRCompositorError_None = 0,
+	EVRCompositorError_VRCompositorError_RequestFailed = 1,
+	EVRCompositorError_VRCompositorError_IncompatibleVersion = 100,
+	EVRCompositorError_VRCompositorError_DoNotHaveFocus = 101,
+	EVRCompositorError_VRCompositorError_InvalidTexture = 102,
+	EVRCompositorError_VRCompositorError_IsNotSceneApplication = 103,
+	EVRCompositorError_VRCompositorError_TextureIsOnWrongDevice = 104,
+	EVRCompositorError_VRCompositorError_TextureUsesUnsupportedFormat = 105,
+	EVRCompositorError_VRCompositorError_SharedTexturesNotSupported = 106,
+	EVRCompositorError_VRCompositorError_IndexOutOfRange = 107,
+	EVRCompositorError_VRCompositorError_AlreadySubmitted = 108,
+	EVRCompositorError_VRCompositorError_InvalidBounds = 109,
+} EVRCompositorError;
+
+typedef enum EVRCompositorTimingMode
+{
+	EVRCompositorTimingMode_VRCompositorTimingMode_Implicit = 0,
+	EVRCompositorTimingMode_VRCompositorTimingMode_Explicit_RuntimePerformsPostPresentHandoff = 1,
+	EVRCompositorTimingMode_VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff = 2,
+} EVRCompositorTimingMode;
+
+typedef enum VROverlayInputMethod
+{
+	VROverlayInputMethod_None = 0,
+	VROverlayInputMethod_Mouse = 1,
+	VROverlayInputMethod_DualAnalog = 2,
+} VROverlayInputMethod;
+
+typedef enum VROverlayTransformType
+{
+	VROverlayTransformType_VROverlayTransform_Absolute = 0,
+	VROverlayTransformType_VROverlayTransform_TrackedDeviceRelative = 1,
+	VROverlayTransformType_VROverlayTransform_SystemOverlay = 2,
+	VROverlayTransformType_VROverlayTransform_TrackedComponent = 3,
+} VROverlayTransformType;
+
+typedef enum VROverlayFlags
+{
+	VROverlayFlags_None = 0,
+	VROverlayFlags_Curved = 1,
+	VROverlayFlags_RGSS4X = 2,
+	VROverlayFlags_NoDashboardTab = 3,
+	VROverlayFlags_AcceptsGamepadEvents = 4,
+	VROverlayFlags_ShowGamepadFocus = 5,
+	VROverlayFlags_SendVRScrollEvents = 6,
+	VROverlayFlags_SendVRTouchpadEvents = 7,
+	VROverlayFlags_ShowTouchPadScrollWheel = 8,
+	VROverlayFlags_TransferOwnershipToInternalProcess = 9,
+	VROverlayFlags_SideBySide_Parallel = 10,
+	VROverlayFlags_SideBySide_Crossed = 11,
+	VROverlayFlags_Panorama = 12,
+	VROverlayFlags_StereoPanorama = 13,
+	VROverlayFlags_SortWithNonSceneOverlays = 14,
+	VROverlayFlags_VisibleInDashboard = 15,
+} VROverlayFlags;
+
+typedef enum VRMessageOverlayResponse
+{
+	VRMessageOverlayResponse_ButtonPress_0 = 0,
+	VRMessageOverlayResponse_ButtonPress_1 = 1,
+	VRMessageOverlayResponse_ButtonPress_2 = 2,
+	VRMessageOverlayResponse_ButtonPress_3 = 3,
+	VRMessageOverlayResponse_CouldntFindSystemOverlay = 4,
+	VRMessageOverlayResponse_CouldntFindOrCreateClientOverlay = 5,
+	VRMessageOverlayResponse_ApplicationQuit = 6,
+} VRMessageOverlayResponse;
+
+typedef enum EGamepadTextInputMode
+{
+	EGamepadTextInputMode_k_EGamepadTextInputModeNormal = 0,
+	EGamepadTextInputMode_k_EGamepadTextInputModePassword = 1,
+	EGamepadTextInputMode_k_EGamepadTextInputModeSubmit = 2,
+} EGamepadTextInputMode;
+
+typedef enum EGamepadTextInputLineMode
+{
+	EGamepadTextInputLineMode_k_EGamepadTextInputLineModeSingleLine = 0,
+	EGamepadTextInputLineMode_k_EGamepadTextInputLineModeMultipleLines = 1,
+} EGamepadTextInputLineMode;
+
+typedef enum EOverlayDirection
+{
+	EOverlayDirection_OverlayDirection_Up = 0,
+	EOverlayDirection_OverlayDirection_Down = 1,
+	EOverlayDirection_OverlayDirection_Left = 2,
+	EOverlayDirection_OverlayDirection_Right = 3,
+	EOverlayDirection_OverlayDirection_Count = 4,
+} EOverlayDirection;
+
+typedef enum EVROverlayIntersectionMaskPrimitiveType
+{
+	EVROverlayIntersectionMaskPrimitiveType_OverlayIntersectionPrimitiveType_Rectangle = 0,
+	EVROverlayIntersectionMaskPrimitiveType_OverlayIntersectionPrimitiveType_Circle = 1,
+} EVROverlayIntersectionMaskPrimitiveType;
+
+typedef enum EVRRenderModelError
+{
+	EVRRenderModelError_VRRenderModelError_None = 0,
+	EVRRenderModelError_VRRenderModelError_Loading = 100,
+	EVRRenderModelError_VRRenderModelError_NotSupported = 200,
+	EVRRenderModelError_VRRenderModelError_InvalidArg = 300,
+	EVRRenderModelError_VRRenderModelError_InvalidModel = 301,
+	EVRRenderModelError_VRRenderModelError_NoShapes = 302,
+	EVRRenderModelError_VRRenderModelError_MultipleShapes = 303,
+	EVRRenderModelError_VRRenderModelError_TooManyVertices = 304,
+	EVRRenderModelError_VRRenderModelError_MultipleTextures = 305,
+	EVRRenderModelError_VRRenderModelError_BufferTooSmall = 306,
+	EVRRenderModelError_VRRenderModelError_NotEnoughNormals = 307,
+	EVRRenderModelError_VRRenderModelError_NotEnoughTexCoords = 308,
+	EVRRenderModelError_VRRenderModelError_InvalidTexture = 400,
+} EVRRenderModelError;
+
+typedef enum EVRComponentProperty
+{
+	EVRComponentProperty_VRComponentProperty_IsStatic = 1,
+	EVRComponentProperty_VRComponentProperty_IsVisible = 2,
+	EVRComponentProperty_VRComponentProperty_IsTouched = 4,
+	EVRComponentProperty_VRComponentProperty_IsPressed = 8,
+	EVRComponentProperty_VRComponentProperty_IsScrolled = 16,
+} EVRComponentProperty;
+
+typedef enum EVRNotificationType
+{
+	EVRNotificationType_Transient = 0,
+	EVRNotificationType_Persistent = 1,
+	EVRNotificationType_Transient_SystemWithUserValue = 2,
+} EVRNotificationType;
+
+typedef enum EVRNotificationStyle
+{
+	EVRNotificationStyle_None = 0,
+	EVRNotificationStyle_Application = 100,
+	EVRNotificationStyle_Contact_Disabled = 200,
+	EVRNotificationStyle_Contact_Enabled = 201,
+	EVRNotificationStyle_Contact_Active = 202,
+} EVRNotificationStyle;
+
+typedef enum EVRSettingsError
+{
+	EVRSettingsError_VRSettingsError_None = 0,
+	EVRSettingsError_VRSettingsError_IPCFailed = 1,
+	EVRSettingsError_VRSettingsError_WriteFailed = 2,
+	EVRSettingsError_VRSettingsError_ReadFailed = 3,
+	EVRSettingsError_VRSettingsError_JsonParseFailed = 4,
+	EVRSettingsError_VRSettingsError_UnsetSettingHasNoDefault = 5,
+} EVRSettingsError;
+
+typedef enum EVRScreenshotError
+{
+	EVRScreenshotError_VRScreenshotError_None = 0,
+	EVRScreenshotError_VRScreenshotError_RequestFailed = 1,
+	EVRScreenshotError_VRScreenshotError_IncompatibleVersion = 100,
+	EVRScreenshotError_VRScreenshotError_NotFound = 101,
+	EVRScreenshotError_VRScreenshotError_BufferTooSmall = 102,
+	EVRScreenshotError_VRScreenshotError_ScreenshotAlreadyInProgress = 108,
+} EVRScreenshotError;
+
+
+// OpenVR typedefs
+
+typedef uint32_t TrackedDeviceIndex_t;
+typedef uint32_t VRNotificationId;
+typedef uint64_t VROverlayHandle_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 PropertyContainerHandle_t;
+typedef uint32_t PropertyTypeTag_t;
+typedef uint64_t VROverlayHandle_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 EVRInitError HmdError;
+typedef EVREye Hmd_Eye;
+typedef EColorSpace ColorSpace;
+typedef ETrackingResult HmdTrackingResult;
+typedef ETrackedDeviceClass TrackedDeviceClass;
+typedef ETrackingUniverseOrigin TrackingUniverseOrigin;
+typedef ETrackedDeviceProperty TrackedDeviceProperty;
+typedef ETrackedPropertyError TrackedPropertyError;
+typedef EVRSubmitFlags VRSubmitFlags_t;
+typedef EVRState VRState_t;
+typedef ECollisionBoundsStyle CollisionBoundsStyle_t;
+typedef EVROverlayError VROverlayError;
+typedef EVRFirmwareError VRFirmwareError;
+typedef EVRCompositorError VRCompositorError;
+typedef EVRScreenshotError VRScreenshotsError;
+
+// OpenVR Structs
+
+typedef struct HmdMatrix34_t
+{
+	float m[3][4]; //float[3][4]
+} HmdMatrix34_t;
+
+typedef struct HmdMatrix44_t
+{
+	float m[4][4]; //float[4][4]
+} HmdMatrix44_t;
+
+typedef struct HmdVector3_t
+{
+	float v[3]; //float[3]
+} HmdVector3_t;
+
+typedef struct HmdVector4_t
+{
+	float v[4]; //float[4]
+} HmdVector4_t;
+
+typedef struct HmdVector3d_t
+{
+	double v[3]; //double[3]
+} HmdVector3d_t;
+
+typedef struct HmdVector2_t
+{
+	float v[2]; //float[2]
+} HmdVector2_t;
+
+typedef struct HmdQuaternion_t
+{
+	double w;
+	double x;
+	double y;
+	double z;
+} HmdQuaternion_t;
+
+typedef struct HmdColor_t
+{
+	float r;
+	float g;
+	float b;
+	float a;
+} HmdColor_t;
+
+typedef struct HmdQuad_t
+{
+	struct HmdVector3_t vCorners[4]; //struct vr::HmdVector3_t[4]
+} HmdQuad_t;
+
+typedef struct HmdRect2_t
+{
+	struct HmdVector2_t vTopLeft;
+	struct HmdVector2_t vBottomRight;
+} HmdRect2_t;
+
+typedef struct DistortionCoordinates_t
+{
+	float rfRed[2]; //float[2]
+	float rfGreen[2]; //float[2]
+	float rfBlue[2]; //float[2]
+} DistortionCoordinates_t;
+
+typedef struct Texture_t
+{
+	void * handle; // void *
+	enum ETextureType eType;
+	enum EColorSpace eColorSpace;
+} Texture_t;
+
+typedef struct TrackedDevicePose_t
+{
+	struct HmdMatrix34_t mDeviceToAbsoluteTracking;
+	struct HmdVector3_t vVelocity;
+	struct HmdVector3_t vAngularVelocity;
+	enum ETrackingResult eTrackingResult;
+	bool bPoseIsValid;
+	bool bDeviceIsConnected;
+} TrackedDevicePose_t;
+
+typedef struct VRTextureBounds_t
+{
+	float uMin;
+	float vMin;
+	float uMax;
+	float vMax;
+} VRTextureBounds_t;
+
+typedef struct VRTextureWithPose_t
+{
+	struct HmdMatrix34_t mDeviceToAbsoluteTracking;
+} VRTextureWithPose_t;
+
+typedef struct VRTextureDepthInfo_t
+{
+	void * handle; // void *
+	struct HmdMatrix44_t mProjection;
+	struct HmdVector2_t vRange;
+} VRTextureDepthInfo_t;
+
+typedef struct VRTextureWithDepth_t
+{
+	struct VRTextureDepthInfo_t depth;
+} VRTextureWithDepth_t;
+
+typedef struct VRTextureWithPoseAndDepth_t
+{
+	struct VRTextureDepthInfo_t depth;
+} VRTextureWithPoseAndDepth_t;
+
+typedef struct VRVulkanTextureData_t
+{
+	uint64_t m_nImage;
+	struct VkDevice_T * m_pDevice; // struct VkDevice_T *
+	struct VkPhysicalDevice_T * m_pPhysicalDevice; // struct VkPhysicalDevice_T *
+	struct VkInstance_T * m_pInstance; // struct VkInstance_T *
+	struct VkQueue_T * m_pQueue; // struct VkQueue_T *
+	uint32_t m_nQueueFamilyIndex;
+	uint32_t m_nWidth;
+	uint32_t m_nHeight;
+	uint32_t m_nFormat;
+	uint32_t m_nSampleCount;
+} VRVulkanTextureData_t;
+
+typedef struct D3D12TextureData_t
+{
+	struct ID3D12Resource * m_pResource; // struct ID3D12Resource *
+	struct ID3D12CommandQueue * m_pCommandQueue; // struct ID3D12CommandQueue *
+	uint32_t m_nNodeMask;
+} D3D12TextureData_t;
+
+typedef struct VREvent_Controller_t
+{
+	uint32_t button;
+} VREvent_Controller_t;
+
+typedef struct VREvent_Mouse_t
+{
+	float x;
+	float y;
+	uint32_t button;
+} VREvent_Mouse_t;
+
+typedef struct VREvent_Scroll_t
+{
+	float xdelta;
+	float ydelta;
+	uint32_t repeatCount;
+} VREvent_Scroll_t;
+
+typedef struct VREvent_TouchPadMove_t
+{
+	bool bFingerDown;
+	float flSecondsFingerDown;
+	float fValueXFirst;
+	float fValueYFirst;
+	float fValueXRaw;
+	float fValueYRaw;
+} VREvent_TouchPadMove_t;
+
+typedef struct VREvent_Notification_t
+{
+	uint64_t ulUserValue;
+	uint32_t notificationId;
+} VREvent_Notification_t;
+
+typedef struct VREvent_Process_t
+{
+	uint32_t pid;
+	uint32_t oldPid;
+	bool bForced;
+} VREvent_Process_t;
+
+typedef struct VREvent_Overlay_t
+{
+	uint64_t overlayHandle;
+} VREvent_Overlay_t;
+
+typedef struct VREvent_Status_t
+{
+	uint32_t statusState;
+} VREvent_Status_t;
+
+typedef struct VREvent_Keyboard_t
+{
+	char * cNewInput[8]; //char[8]
+	uint64_t uUserValue;
+} VREvent_Keyboard_t;
+
+typedef struct VREvent_Ipd_t
+{
+	float ipdMeters;
+} VREvent_Ipd_t;
+
+typedef struct VREvent_Chaperone_t
+{
+	uint64_t m_nPreviousUniverse;
+	uint64_t m_nCurrentUniverse;
+} VREvent_Chaperone_t;
+
+typedef struct VREvent_Reserved_t
+{
+	uint64_t reserved0;
+	uint64_t reserved1;
+} VREvent_Reserved_t;
+
+typedef struct VREvent_PerformanceTest_t
+{
+	uint32_t m_nFidelityLevel;
+} VREvent_PerformanceTest_t;
+
+typedef struct VREvent_SeatedZeroPoseReset_t
+{
+	bool bResetBySystemMenu;
+} VREvent_SeatedZeroPoseReset_t;
+
+typedef struct VREvent_Screenshot_t
+{
+	uint32_t handle;
+	uint32_t type;
+} VREvent_Screenshot_t;
+
+typedef struct VREvent_ScreenshotProgress_t
+{
+	float progress;
+} VREvent_ScreenshotProgress_t;
+
+typedef struct VREvent_ApplicationLaunch_t
+{
+	uint32_t pid;
+	uint32_t unArgsHandle;
+} VREvent_ApplicationLaunch_t;
+
+typedef struct VREvent_EditingCameraSurface_t
+{
+	uint64_t overlayHandle;
+	uint32_t nVisualMode;
+} VREvent_EditingCameraSurface_t;
+
+typedef struct VREvent_MessageOverlay_t
+{
+	uint32_t unVRMessageOverlayResponse;
+} VREvent_MessageOverlay_t;
+
+typedef struct VREvent_Property_t
+{
+	PropertyContainerHandle_t container;
+	enum ETrackedDeviceProperty prop;
+} VREvent_Property_t;
+
+typedef struct VREvent_DualAnalog_t
+{
+	float x;
+	float y;
+	float transformedX;
+	float transformedY;
+	enum EDualAnalogWhich which;
+} VREvent_DualAnalog_t;
+
+typedef struct VREvent_HapticVibration_t
+{
+	uint64_t containerHandle;
+	uint64_t componentHandle;
+	float fDurationSeconds;
+	float fFrequency;
+	float fAmplitude;
+} VREvent_HapticVibration_t;
+
+typedef struct HiddenAreaMesh_t
+{
+	struct HmdVector2_t * pVertexData; // const struct vr::HmdVector2_t *
+	uint32_t unTriangleCount;
+} HiddenAreaMesh_t;
+
+typedef struct VRControllerAxis_t
+{
+	float x;
+	float y;
+} VRControllerAxis_t;
+
+typedef struct VRControllerState_t
+{
+	uint32_t unPacketNum;
+	uint64_t ulButtonPressed;
+	uint64_t ulButtonTouched;
+	struct VRControllerAxis_t rAxis[5]; //struct vr::VRControllerAxis_t[5]
+} VRControllerState_t;
+
+typedef struct Compositor_OverlaySettings
+{
+	uint32_t size;
+	bool curved;
+	bool antialias;
+	float scale;
+	float distance;
+	float alpha;
+	float uOffset;
+	float vOffset;
+	float uScale;
+	float vScale;
+	float gridDivs;
+	float gridWidth;
+	float gridScale;
+	struct HmdMatrix44_t transform;
+} Compositor_OverlaySettings;
+
+typedef struct CameraVideoStreamFrameHeader_t
+{
+	enum EVRTrackedCameraFrameType eFrameType;
+	uint32_t nWidth;
+	uint32_t nHeight;
+	uint32_t nBytesPerPixel;
+	uint32_t nFrameSequence;
+	struct TrackedDevicePose_t standingTrackedDevicePose;
+} CameraVideoStreamFrameHeader_t;
+
+typedef struct DriverDirectMode_FrameTiming
+{
+	uint32_t m_nSize;
+	uint32_t m_nNumFramePresents;
+	uint32_t m_nNumMisPresented;
+	uint32_t m_nNumDroppedFrames;
+	uint32_t m_nReprojectionFlags;
+} DriverDirectMode_FrameTiming;
+
+typedef struct AppOverrideKeys_t
+{
+	char * pchKey; // const char *
+	char * pchValue; // const char *
+} AppOverrideKeys_t;
+
+typedef struct Compositor_FrameTiming
+{
+	uint32_t m_nSize;
+	uint32_t m_nFrameIndex;
+	uint32_t m_nNumFramePresents;
+	uint32_t m_nNumMisPresented;
+	uint32_t m_nNumDroppedFrames;
+	uint32_t m_nReprojectionFlags;
+	double m_flSystemTimeInSeconds;
+	float m_flPreSubmitGpuMs;
+	float m_flPostSubmitGpuMs;
+	float m_flTotalRenderGpuMs;
+	float m_flCompositorRenderGpuMs;
+	float m_flCompositorRenderCpuMs;
+	float m_flCompositorIdleCpuMs;
+	float m_flClientFrameIntervalMs;
+	float m_flPresentCallCpuMs;
+	float m_flWaitForPresentCpuMs;
+	float m_flSubmitFrameMs;
+	float m_flWaitGetPosesCalledMs;
+	float m_flNewPosesReadyMs;
+	float m_flNewFrameReadyMs;
+	float m_flCompositorUpdateStartMs;
+	float m_flCompositorUpdateEndMs;
+	float m_flCompositorRenderStartMs;
+	TrackedDevicePose_t m_HmdPose;
+} Compositor_FrameTiming;
+
+typedef struct Compositor_CumulativeStats
+{
+	uint32_t m_nPid;
+	uint32_t m_nNumFramePresents;
+	uint32_t m_nNumDroppedFrames;
+	uint32_t m_nNumReprojectedFrames;
+	uint32_t m_nNumFramePresentsOnStartup;
+	uint32_t m_nNumDroppedFramesOnStartup;
+	uint32_t m_nNumReprojectedFramesOnStartup;
+	uint32_t m_nNumLoading;
+	uint32_t m_nNumFramePresentsLoading;
+	uint32_t m_nNumDroppedFramesLoading;
+	uint32_t m_nNumReprojectedFramesLoading;
+	uint32_t m_nNumTimedOut;
+	uint32_t m_nNumFramePresentsTimedOut;
+	uint32_t m_nNumDroppedFramesTimedOut;
+	uint32_t m_nNumReprojectedFramesTimedOut;
+} Compositor_CumulativeStats;
+
+typedef struct VROverlayIntersectionParams_t
+{
+	struct HmdVector3_t vSource;
+	struct HmdVector3_t vDirection;
+	enum ETrackingUniverseOrigin eOrigin;
+} VROverlayIntersectionParams_t;
+
+typedef struct VROverlayIntersectionResults_t
+{
+	struct HmdVector3_t vPoint;
+	struct HmdVector3_t vNormal;
+	struct HmdVector2_t vUVs;
+	float fDistance;
+} VROverlayIntersectionResults_t;
+
+typedef struct IntersectionMaskRectangle_t
+{
+	float m_flTopLeftX;
+	float m_flTopLeftY;
+	float m_flWidth;
+	float m_flHeight;
+} IntersectionMaskRectangle_t;
+
+typedef struct IntersectionMaskCircle_t
+{
+	float m_flCenterX;
+	float m_flCenterY;
+	float m_flRadius;
+} IntersectionMaskCircle_t;
+
+typedef struct RenderModel_ComponentState_t
+{
+	struct HmdMatrix34_t mTrackingToComponentRenderModel;
+	struct HmdMatrix34_t mTrackingToComponentLocal;
+	VRComponentProperties uProperties;
+} RenderModel_ComponentState_t;
+
+typedef struct RenderModel_Vertex_t
+{
+	struct HmdVector3_t vPosition;
+	struct HmdVector3_t vNormal;
+	float rfTextureCoord[2]; //float[2]
+} RenderModel_Vertex_t;
+
+#if defined(__linux__) || defined(__APPLE__)
+#pragma pack( push, 4 )
+#endif
+typedef struct RenderModel_TextureMap_t
+{
+	uint16_t unWidth;
+	uint16_t unHeight;
+	uint8_t * rubTextureMapData; // const uint8_t *
+} RenderModel_TextureMap_t;
+
+#if defined(__linux__) || defined(__APPLE__)
+#pragma pack( pop )
+#endif
+#if defined(__linux__) || defined(__APPLE__)
+#pragma pack( push, 4 )
+#endif
+typedef struct RenderModel_t
+{
+	struct RenderModel_Vertex_t * rVertexData; // const struct vr::RenderModel_Vertex_t *
+	uint32_t unVertexCount;
+	uint16_t * rIndexData; // const uint16_t *
+	uint32_t unTriangleCount;
+	TextureID_t diffuseTextureId;
+} RenderModel_t;
+
+#if defined(__linux__) || defined(__APPLE__)
+#pragma pack( pop )
+#endif
+typedef struct RenderModel_ControllerMode_State_t
+{
+	bool bScrollWheelVisible;
+} RenderModel_ControllerMode_State_t;
+
+typedef struct NotificationBitmap_t
+{
+	void * m_pImageData; // void *
+	int32_t m_nWidth;
+	int32_t m_nHeight;
+	int32_t m_nBytesPerPixel;
+} NotificationBitmap_t;
+
+typedef struct COpenVRContext
+{
+	intptr_t m_pVRSystem; // class vr::IVRSystem *
+	intptr_t m_pVRChaperone; // class vr::IVRChaperone *
+	intptr_t m_pVRChaperoneSetup; // class vr::IVRChaperoneSetup *
+	intptr_t m_pVRCompositor; // class vr::IVRCompositor *
+	intptr_t m_pVROverlay; // class vr::IVROverlay *
+	intptr_t m_pVRResources; // class vr::IVRResources *
+	intptr_t m_pVRRenderModels; // class vr::IVRRenderModels *
+	intptr_t m_pVRExtendedDisplay; // class vr::IVRExtendedDisplay *
+	intptr_t m_pVRSettings; // class vr::IVRSettings *
+	intptr_t m_pVRApplications; // class vr::IVRApplications *
+	intptr_t m_pVRTrackedCamera; // class vr::IVRTrackedCamera *
+	intptr_t m_pVRScreenshots; // class vr::IVRScreenshots *
+	intptr_t m_pVRDriverManager; // class vr::IVRDriverManager *
+} COpenVRContext;
+
+
+typedef union
+{
+	VREvent_Reserved_t reserved;
+	VREvent_Controller_t controller;
+	VREvent_Mouse_t mouse;
+	VREvent_Scroll_t scroll;
+	VREvent_Process_t process;
+	VREvent_Notification_t notification;
+	VREvent_Overlay_t overlay;
+	VREvent_Status_t status;
+	VREvent_Keyboard_t keyboard;
+	VREvent_Ipd_t ipd;
+	VREvent_Chaperone_t chaperone;
+	VREvent_PerformanceTest_t performanceTest;
+	VREvent_TouchPadMove_t touchPadMove;
+	VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset;
+} VREvent_Data_t;
+
+/** An event posted by the server to all running applications */
+struct VREvent_t
+{
+	uint32_t eventType; // EVREventType enum
+	TrackedDeviceIndex_t trackedDeviceIndex;
+	float eventAgeSeconds;
+	// event data must be the end of the struct as its size is variable
+	VREvent_Data_t data;
+};
+
+
+typedef union
+{
+	IntersectionMaskRectangle_t m_Rectangle;
+	IntersectionMaskCircle_t m_Circle;
+} VROverlayIntersectionMaskPrimitive_Data_t;
+
+struct VROverlayIntersectionMaskPrimitive_t
+{
+	EVROverlayIntersectionMaskPrimitiveType m_nPrimitiveType;
+	VROverlayIntersectionMaskPrimitive_Data_t m_Primitive;
+};
+
+
+// OpenVR Function Pointer Tables
+
+struct VR_IVRSystem_FnTable
+{
+	void (OPENVR_FNTABLE_CALLTYPE *GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight);
+	struct HmdMatrix44_t (OPENVR_FNTABLE_CALLTYPE *GetProjectionMatrix)(EVREye eEye, float fNearZ, float fFarZ);
+	void (OPENVR_FNTABLE_CALLTYPE *GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom);
+	bool (OPENVR_FNTABLE_CALLTYPE *ComputeDistortion)(EVREye eEye, float fU, float fV, struct DistortionCoordinates_t * pDistortionCoordinates);
+	struct HmdMatrix34_t (OPENVR_FNTABLE_CALLTYPE *GetEyeToHeadTransform)(EVREye eEye);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter);
+	int32_t (OPENVR_FNTABLE_CALLTYPE *GetD3D9AdapterIndex)();
+	void (OPENVR_FNTABLE_CALLTYPE *GetDXGIOutputInfo)(int32_t * pnAdapterIndex);
+	void (OPENVR_FNTABLE_CALLTYPE *GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, struct VkInstance_T * pInstance);
+	bool (OPENVR_FNTABLE_CALLTYPE *IsDisplayOnDesktop)();
+	bool (OPENVR_FNTABLE_CALLTYPE *SetDisplayVisibility)(bool bIsVisibleOnDesktop);
+	void (OPENVR_FNTABLE_CALLTYPE *GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, struct TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount);
+	void (OPENVR_FNTABLE_CALLTYPE *ResetSeatedZeroPose)();
+	struct HmdMatrix34_t (OPENVR_FNTABLE_CALLTYPE *GetSeatedZeroPoseToStandingAbsoluteTrackingPose)();
+	struct HmdMatrix34_t (OPENVR_FNTABLE_CALLTYPE *GetRawZeroPoseToStandingAbsoluteTrackingPose)();
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex);
+	EDeviceActivityLevel (OPENVR_FNTABLE_CALLTYPE *GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId);
+	void (OPENVR_FNTABLE_CALLTYPE *ApplyTransform)(struct TrackedDevicePose_t * pOutputPose, struct TrackedDevicePose_t * pTrackedDevicePose, struct HmdMatrix34_t * pTransform);
+	TrackedDeviceIndex_t (OPENVR_FNTABLE_CALLTYPE *GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType);
+	ETrackedControllerRole (OPENVR_FNTABLE_CALLTYPE *GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex);
+	ETrackedDeviceClass (OPENVR_FNTABLE_CALLTYPE *GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex);
+	bool (OPENVR_FNTABLE_CALLTYPE *IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError);
+	float (OPENVR_FNTABLE_CALLTYPE *GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError);
+	int32_t (OPENVR_FNTABLE_CALLTYPE *GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError);
+	uint64_t (OPENVR_FNTABLE_CALLTYPE *GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError);
+	struct HmdMatrix34_t (OPENVR_FNTABLE_CALLTYPE *GetMatrix34TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError);
+	char * (OPENVR_FNTABLE_CALLTYPE *GetPropErrorNameFromEnum)(ETrackedPropertyError error);
+	bool (OPENVR_FNTABLE_CALLTYPE *PollNextEvent)(struct VREvent_t * pEvent, uint32_t uncbVREvent);
+	bool (OPENVR_FNTABLE_CALLTYPE *PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, struct VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose);
+	char * (OPENVR_FNTABLE_CALLTYPE *GetEventTypeNameFromEnum)(EVREventType eType);
+	struct HiddenAreaMesh_t (OPENVR_FNTABLE_CALLTYPE *GetHiddenAreaMesh)(EVREye eEye, EHiddenAreaMeshType type);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, struct TrackedDevicePose_t * pTrackedDevicePose);
+	void (OPENVR_FNTABLE_CALLTYPE *TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec);
+	char * (OPENVR_FNTABLE_CALLTYPE *GetButtonIdNameFromEnum)(EVRButtonId eButtonId);
+	char * (OPENVR_FNTABLE_CALLTYPE *GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType);
+	bool (OPENVR_FNTABLE_CALLTYPE *IsInputAvailable)();
+	bool (OPENVR_FNTABLE_CALLTYPE *IsSteamVRDrawingControllers)();
+	bool (OPENVR_FNTABLE_CALLTYPE *ShouldApplicationPause)();
+	bool (OPENVR_FNTABLE_CALLTYPE *ShouldApplicationReduceRenderingWork)();
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize);
+	EVRFirmwareError (OPENVR_FNTABLE_CALLTYPE *PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex);
+	void (OPENVR_FNTABLE_CALLTYPE *AcknowledgeQuit_Exiting)();
+	void (OPENVR_FNTABLE_CALLTYPE *AcknowledgeQuit_UserPrompt)();
+};
+
+struct VR_IVRExtendedDisplay_FnTable
+{
+	void (OPENVR_FNTABLE_CALLTYPE *GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight);
+	void (OPENVR_FNTABLE_CALLTYPE *GetEyeOutputViewport)(EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight);
+	void (OPENVR_FNTABLE_CALLTYPE *GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex);
+};
+
+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 *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);
+	EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight);
+	EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize);
+	EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize);
+	EVRTrackedCameraError (OPENVR_FNTABLE_CALLTYPE *ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId);
+};
+
+struct VR_IVRApplications_FnTable
+{
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *AddApplicationManifest)(char * pchApplicationManifestFullPath, bool bTemporary);
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *RemoveApplicationManifest)(char * pchApplicationManifestFullPath);
+	bool (OPENVR_FNTABLE_CALLTYPE *IsApplicationInstalled)(char * pchAppKey);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetApplicationCount)();
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen);
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen);
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *LaunchApplication)(char * pchAppKey);
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *LaunchTemplateApplication)(char * pchTemplateAppKey, char * pchNewAppKey, struct AppOverrideKeys_t * pKeys, uint32_t unKeys);
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *LaunchApplicationFromMimeType)(char * pchMimeType, char * pchArgs);
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *LaunchDashboardOverlay)(char * pchAppKey);
+	bool (OPENVR_FNTABLE_CALLTYPE *CancelApplicationLaunch)(char * pchAppKey);
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *IdentifyApplication)(uint32_t unProcessId, char * pchAppKey);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetApplicationProcessId)(char * pchAppKey);
+	char * (OPENVR_FNTABLE_CALLTYPE *GetApplicationsErrorNameFromEnum)(EVRApplicationError error);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetApplicationPropertyString)(char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetApplicationPropertyBool)(char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError);
+	uint64_t (OPENVR_FNTABLE_CALLTYPE *GetApplicationPropertyUint64)(char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError);
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *SetApplicationAutoLaunch)(char * pchAppKey, bool bAutoLaunch);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetApplicationAutoLaunch)(char * pchAppKey);
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *SetDefaultApplicationForMimeType)(char * pchAppKey, char * pchMimeType);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetDefaultApplicationForMimeType)(char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetApplicationSupportedMimeTypes)(char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetApplicationsThatSupportMimeType)(char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetApplicationLaunchArguments)(uint32_t unHandle, char * pchArgs, uint32_t unArgs);
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen);
+	EVRApplicationTransitionState (OPENVR_FNTABLE_CALLTYPE *GetTransitionState)();
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *PerformApplicationPrelaunchCheck)(char * pchAppKey);
+	char * (OPENVR_FNTABLE_CALLTYPE *GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state);
+	bool (OPENVR_FNTABLE_CALLTYPE *IsQuitUserPromptRequested)();
+	EVRApplicationError (OPENVR_FNTABLE_CALLTYPE *LaunchInternalProcess)(char * pchBinaryPath, char * pchArguments, char * pchWorkingDirectory);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetCurrentSceneProcessId)();
+};
+
+struct VR_IVRChaperone_FnTable
+{
+	ChaperoneCalibrationState (OPENVR_FNTABLE_CALLTYPE *GetCalibrationState)();
+	bool (OPENVR_FNTABLE_CALLTYPE *GetPlayAreaSize)(float * pSizeX, float * pSizeZ);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetPlayAreaRect)(struct HmdQuad_t * rect);
+	void (OPENVR_FNTABLE_CALLTYPE *ReloadInfo)();
+	void (OPENVR_FNTABLE_CALLTYPE *SetSceneColor)(struct HmdColor_t color);
+	void (OPENVR_FNTABLE_CALLTYPE *GetBoundsColor)(struct HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, struct HmdColor_t * pOutputCameraColor);
+	bool (OPENVR_FNTABLE_CALLTYPE *AreBoundsVisible)();
+	void (OPENVR_FNTABLE_CALLTYPE *ForceBoundsVisible)(bool bForce);
+};
+
+struct VR_IVRChaperoneSetup_FnTable
+{
+	bool (OPENVR_FNTABLE_CALLTYPE *CommitWorkingCopy)(EChaperoneConfigFile configFile);
+	void (OPENVR_FNTABLE_CALLTYPE *RevertWorkingCopy)();
+	bool (OPENVR_FNTABLE_CALLTYPE *GetWorkingPlayAreaSize)(float * pSizeX, float * pSizeZ);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetWorkingPlayAreaRect)(struct HmdQuad_t * rect);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetWorkingCollisionBoundsInfo)(struct HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetLiveCollisionBoundsInfo)(struct HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetWorkingSeatedZeroPoseToRawTrackingPose)(struct HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose);
+	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 *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);
+};
+
+struct VR_IVRCompositor_FnTable
+{
+	void (OPENVR_FNTABLE_CALLTYPE *SetTrackingSpace)(ETrackingUniverseOrigin eOrigin);
+	ETrackingUniverseOrigin (OPENVR_FNTABLE_CALLTYPE *GetTrackingSpace)();
+	EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *WaitGetPoses)(struct TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, struct TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount);
+	EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *GetLastPoses)(struct TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, struct TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount);
+	EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, struct TrackedDevicePose_t * pOutputPose, struct TrackedDevicePose_t * pOutputGamePose);
+	EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *Submit)(EVREye eEye, struct Texture_t * pTexture, struct VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags);
+	void (OPENVR_FNTABLE_CALLTYPE *ClearLastSubmittedFrame)();
+	void (OPENVR_FNTABLE_CALLTYPE *PostPresentHandoff)();
+	bool (OPENVR_FNTABLE_CALLTYPE *GetFrameTiming)(struct Compositor_FrameTiming * pTiming, uint32_t unFramesAgo);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetFrameTimings)(struct Compositor_FrameTiming * pTiming, uint32_t nFrames);
+	float (OPENVR_FNTABLE_CALLTYPE *GetFrameTimeRemaining)();
+	void (OPENVR_FNTABLE_CALLTYPE *GetCumulativeStats)(struct Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes);
+	void (OPENVR_FNTABLE_CALLTYPE *FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground);
+	struct HmdColor_t (OPENVR_FNTABLE_CALLTYPE *GetCurrentFadeColor)(bool bBackground);
+	void (OPENVR_FNTABLE_CALLTYPE *FadeGrid)(float fSeconds, bool bFadeIn);
+	float (OPENVR_FNTABLE_CALLTYPE *GetCurrentGridAlpha)();
+	EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *SetSkyboxOverride)(struct Texture_t * pTextures, uint32_t unTextureCount);
+	void (OPENVR_FNTABLE_CALLTYPE *ClearSkyboxOverride)();
+	void (OPENVR_FNTABLE_CALLTYPE *CompositorBringToFront)();
+	void (OPENVR_FNTABLE_CALLTYPE *CompositorGoToBack)();
+	void (OPENVR_FNTABLE_CALLTYPE *CompositorQuit)();
+	bool (OPENVR_FNTABLE_CALLTYPE *IsFullscreen)();
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetCurrentSceneFocusProcess)();
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetLastFrameRenderer)();
+	bool (OPENVR_FNTABLE_CALLTYPE *CanRenderScene)();
+	void (OPENVR_FNTABLE_CALLTYPE *ShowMirrorWindow)();
+	void (OPENVR_FNTABLE_CALLTYPE *HideMirrorWindow)();
+	bool (OPENVR_FNTABLE_CALLTYPE *IsMirrorWindowVisible)();
+	void (OPENVR_FNTABLE_CALLTYPE *CompositorDumpImages)();
+	bool (OPENVR_FNTABLE_CALLTYPE *ShouldAppRenderWithLowResources)();
+	void (OPENVR_FNTABLE_CALLTYPE *ForceInterleavedReprojectionOn)(bool bOverride);
+	void (OPENVR_FNTABLE_CALLTYPE *ForceReconnectProcess)();
+	void (OPENVR_FNTABLE_CALLTYPE *SuspendRendering)(bool bSuspend);
+	EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView);
+	void (OPENVR_FNTABLE_CALLTYPE *ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView);
+	EVRCompositorError (OPENVR_FNTABLE_CALLTYPE *GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle);
+	bool (OPENVR_FNTABLE_CALLTYPE *ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle);
+	void (OPENVR_FNTABLE_CALLTYPE *LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle);
+	void (OPENVR_FNTABLE_CALLTYPE *UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize);
+	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)();
+};
+
+struct VR_IVROverlay_FnTable
+{
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *FindOverlay)(char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *CreateOverlay)(char * pchOverlayKey, char * pchOverlayName, VROverlayHandle_t * pOverlayHandle);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *DestroyOverlay)(VROverlayHandle_t ulOverlayHandle);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle);
+	VROverlayHandle_t (OPENVR_FNTABLE_CALLTYPE *GetHighQualityOverlay)();
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchName);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight);
+	char * (OPENVR_FNTABLE_CALLTYPE *GetOverlayErrorNameFromEnum)(EVROverlayError error);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, struct VRTextureBounds_t * pOverlayTextureBounds);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, struct VRTextureBounds_t * pOverlayTextureBounds);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, struct HmdColor_t * pColor, EVROverlayError * pError);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchRenderModel, struct HmdColor_t * pColor);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, struct HmdMatrix34_t * pmatTrackingOriginToOverlayTransform);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, struct HmdMatrix34_t * pmatTrackingOriginToOverlayTransform);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, struct HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, struct HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, char * pchComponentName);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, struct HmdMatrix34_t * pmatParentOverlayToOverlayTransform);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, struct HmdMatrix34_t * pmatParentOverlayToOverlayTransform);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ShowOverlay)(VROverlayHandle_t ulOverlayHandle);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *HideOverlay)(VROverlayHandle_t ulOverlayHandle);
+	bool (OPENVR_FNTABLE_CALLTYPE *IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, struct HmdVector2_t coordinatesInOverlay, struct HmdMatrix34_t * pmatTransform);
+	bool (OPENVR_FNTABLE_CALLTYPE *PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, struct VREvent_t * pEvent, uint32_t uncbVREvent);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, struct HmdVector2_t * pvecMouseScale);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, struct HmdVector2_t * pvecMouseScale);
+	bool (OPENVR_FNTABLE_CALLTYPE *ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, struct VROverlayIntersectionParams_t * pParams, struct VROverlayIntersectionResults_t * pResults);
+	bool (OPENVR_FNTABLE_CALLTYPE *IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle);
+	VROverlayHandle_t (OPENVR_FNTABLE_CALLTYPE *GetGamepadFocusOverlay)();
+	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 *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);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, char * pchFilePath);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, struct VRTextureBounds_t * pTextureBounds);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *CreateDashboardOverlay)(char * pchOverlayKey, char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle);
+	bool (OPENVR_FNTABLE_CALLTYPE *IsDashboardVisible)();
+	bool (OPENVR_FNTABLE_CALLTYPE *IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId);
+	void (OPENVR_FNTABLE_CALLTYPE *ShowDashboard)(char * pchOverlayToShow);
+	TrackedDeviceIndex_t (OPENVR_FNTABLE_CALLTYPE *GetPrimaryDashboardDevice)();
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, char * pchDescription, uint32_t unCharMax, char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, char * pchDescription, uint32_t unCharMax, char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetKeyboardText)(char * pchText, uint32_t cchText);
+	void (OPENVR_FNTABLE_CALLTYPE *HideKeyboard)();
+	void (OPENVR_FNTABLE_CALLTYPE *SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, struct HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform);
+	void (OPENVR_FNTABLE_CALLTYPE *SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, struct HmdRect2_t avoidRect);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, struct VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize);
+	EVROverlayError (OPENVR_FNTABLE_CALLTYPE *GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags);
+	VRMessageOverlayResponse (OPENVR_FNTABLE_CALLTYPE *ShowMessageOverlay)(char * pchText, char * pchCaption, char * pchButton0Text, char * pchButton1Text, char * pchButton2Text, char * pchButton3Text);
+	void (OPENVR_FNTABLE_CALLTYPE *CloseMessageOverlay)();
+};
+
+struct VR_IVRRenderModels_FnTable
+{
+	EVRRenderModelError (OPENVR_FNTABLE_CALLTYPE *LoadRenderModel_Async)(char * pchRenderModelName, struct RenderModel_t ** ppRenderModel);
+	void (OPENVR_FNTABLE_CALLTYPE *FreeRenderModel)(struct RenderModel_t * pRenderModel);
+	EVRRenderModelError (OPENVR_FNTABLE_CALLTYPE *LoadTexture_Async)(TextureID_t textureId, struct RenderModel_TextureMap_t ** ppTexture);
+	void (OPENVR_FNTABLE_CALLTYPE *FreeTexture)(struct RenderModel_TextureMap_t * pTexture);
+	EVRRenderModelError (OPENVR_FNTABLE_CALLTYPE *LoadTextureD3D11_Async)(TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D);
+	EVRRenderModelError (OPENVR_FNTABLE_CALLTYPE *LoadIntoTextureD3D11_Async)(TextureID_t textureId, void * pDstTexture);
+	void (OPENVR_FNTABLE_CALLTYPE *FreeTextureD3D11)(void * pD3D11Texture2D);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetRenderModelCount)();
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetComponentCount)(char * pchRenderModelName);
+	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 *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);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetRenderModelOriginalPath)(char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError);
+	char * (OPENVR_FNTABLE_CALLTYPE *GetRenderModelErrorNameFromEnum)(EVRRenderModelError error);
+};
+
+struct VR_IVRNotifications_FnTable
+{
+	EVRNotificationError (OPENVR_FNTABLE_CALLTYPE *CreateNotification)(VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, char * pchText, EVRNotificationStyle style, struct NotificationBitmap_t * pImage, VRNotificationId * pNotificationId);
+	EVRNotificationError (OPENVR_FNTABLE_CALLTYPE *RemoveNotification)(VRNotificationId notificationId);
+};
+
+struct VR_IVRSettings_FnTable
+{
+	char * (OPENVR_FNTABLE_CALLTYPE *GetSettingsErrorNameFromEnum)(EVRSettingsError eError);
+	bool (OPENVR_FNTABLE_CALLTYPE *Sync)(bool bForce, EVRSettingsError * peError);
+	void (OPENVR_FNTABLE_CALLTYPE *SetBool)(char * pchSection, char * pchSettingsKey, bool bValue, EVRSettingsError * peError);
+	void (OPENVR_FNTABLE_CALLTYPE *SetInt32)(char * pchSection, char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError);
+	void (OPENVR_FNTABLE_CALLTYPE *SetFloat)(char * pchSection, char * pchSettingsKey, float flValue, EVRSettingsError * peError);
+	void (OPENVR_FNTABLE_CALLTYPE *SetString)(char * pchSection, char * pchSettingsKey, char * pchValue, EVRSettingsError * peError);
+	bool (OPENVR_FNTABLE_CALLTYPE *GetBool)(char * pchSection, char * pchSettingsKey, EVRSettingsError * peError);
+	int32_t (OPENVR_FNTABLE_CALLTYPE *GetInt32)(char * pchSection, char * pchSettingsKey, EVRSettingsError * peError);
+	float (OPENVR_FNTABLE_CALLTYPE *GetFloat)(char * pchSection, char * pchSettingsKey, EVRSettingsError * peError);
+	void (OPENVR_FNTABLE_CALLTYPE *GetString)(char * pchSection, char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError);
+	void (OPENVR_FNTABLE_CALLTYPE *RemoveSection)(char * pchSection, EVRSettingsError * peError);
+	void (OPENVR_FNTABLE_CALLTYPE *RemoveKeyInSection)(char * pchSection, char * pchSettingsKey, EVRSettingsError * peError);
+};
+
+struct VR_IVRScreenshots_FnTable
+{
+	EVRScreenshotError (OPENVR_FNTABLE_CALLTYPE *RequestScreenshot)(ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, char * pchPreviewFilename, char * pchVRFilename);
+	EVRScreenshotError (OPENVR_FNTABLE_CALLTYPE *HookScreenshot)(EVRScreenshotType * pSupportedTypes, int numTypes);
+	EVRScreenshotType (OPENVR_FNTABLE_CALLTYPE *GetScreenshotPropertyType)(ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetScreenshotPropertyFilename)(ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError);
+	EVRScreenshotError (OPENVR_FNTABLE_CALLTYPE *UpdateScreenshotProgress)(ScreenshotHandle_t screenshotHandle, float flProgress);
+	EVRScreenshotError (OPENVR_FNTABLE_CALLTYPE *TakeStereoScreenshot)(ScreenshotHandle_t * pOutScreenshotHandle, char * pchPreviewFilename, char * pchVRFilename);
+	EVRScreenshotError (OPENVR_FNTABLE_CALLTYPE *SubmitScreenshot)(ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, char * pchSourcePreviewFilename, char * pchSourceVRFilename);
+};
+
+struct VR_IVRResources_FnTable
+{
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *LoadSharedResource)(char * pchResourceName, char * pchBuffer, uint32_t unBufferLen);
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetResourceFullPath)(char * pchResourceName, char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen);
+};
+
+struct VR_IVRDriverManager_FnTable
+{
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetDriverCount)();
+	uint32_t (OPENVR_FNTABLE_CALLTYPE *GetDriverName)(DriverId_t nDriver, char * pchValue, uint32_t unBufferSize);
+};
+
+
+#if 0
+// Global entry points
+S_API intptr_t VR_InitInternal( EVRInitError *peError, EVRApplicationType eType );
+S_API void VR_ShutdownInternal();
+S_API bool VR_IsHmdPresent();
+S_API intptr_t VR_GetGenericInterface( const char *pchInterfaceVersion, EVRInitError *peError );
+S_API bool VR_IsRuntimeInstalled();
+S_API const char * VR_GetVRInitErrorAsSymbol( EVRInitError error );
+S_API const char * VR_GetVRInitErrorAsEnglishDescription( EVRInitError error );
+#endif
+
+#endif // __OPENVR_API_FLAT_H__
+
+

+ 2899 - 0
modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr_driver.h

@@ -0,0 +1,2899 @@
+#pragma once
+
+// openvr_driver.h
+//========= Copyright Valve Corporation ============//
+// Dynamically generated file. Do not modify this file directly.
+
+#ifndef _OPENVR_DRIVER_API
+#define _OPENVR_DRIVER_API
+
+#include <stdint.h>
+
+
+
+// vrtypes.h
+#ifndef _INCLUDE_VRTYPES_H
+#define _INCLUDE_VRTYPES_H
+
+// Forward declarations to avoid requiring vulkan.h
+struct VkDevice_T;
+struct VkPhysicalDevice_T;
+struct VkInstance_T;
+struct VkQueue_T;
+
+// Forward declarations to avoid requiring d3d12.h
+struct ID3D12Resource;
+struct ID3D12CommandQueue;
+
+namespace vr
+{
+#pragma pack( push, 8 )
+
+typedef void* glSharedTextureHandle_t;
+typedef int32_t glInt_t;
+typedef uint32_t glUInt_t;
+
+// right-handed system
+// +y is up
+// +x is to the right
+// -z is forward
+// Distance unit is  meters
+struct HmdMatrix34_t
+{
+	float m[3][4];
+};
+
+struct HmdMatrix44_t
+{
+	float m[4][4];
+};
+
+struct HmdVector3_t
+{
+	float v[3];
+};
+
+struct HmdVector4_t
+{
+	float v[4];
+};
+
+struct HmdVector3d_t
+{
+	double v[3];
+};
+
+struct HmdVector2_t
+{
+	float v[2];
+};
+
+struct HmdQuaternion_t
+{
+	double w, x, y, z;
+};
+
+struct HmdColor_t
+{
+	float r, g, b, a;
+};
+
+struct HmdQuad_t
+{
+	HmdVector3_t vCorners[ 4 ];
+};
+
+struct HmdRect2_t
+{
+	HmdVector2_t vTopLeft;
+	HmdVector2_t vBottomRight;
+};
+
+/** Used to return the post-distortion UVs for each color channel. 
+* UVs range from 0 to 1 with 0,0 in the upper left corner of the 
+* source render target. The 0,0 to 1,1 range covers a single eye. */
+struct DistortionCoordinates_t
+{
+	float rfRed[2];
+	float rfGreen[2];
+	float rfBlue[2];
+};
+
+enum EVREye
+{
+	Eye_Left = 0,
+	Eye_Right = 1
+};
+
+enum ETextureType
+{
+	TextureType_DirectX = 0, // Handle is an ID3D11Texture
+	TextureType_OpenGL = 1,  // Handle is an OpenGL texture name or an OpenGL render buffer name, depending on submit flags
+	TextureType_Vulkan = 2, // Handle is a pointer to a VRVulkanTextureData_t structure
+	TextureType_IOSurface = 3, // Handle is a macOS cross-process-sharable IOSurfaceRef
+	TextureType_DirectX12 = 4, // Handle is a pointer to a D3D12TextureData_t structure
+};
+
+enum EColorSpace
+{
+	ColorSpace_Auto = 0,	// Assumes 'gamma' for 8-bit per component formats, otherwise 'linear'.  This mirrors the DXGI formats which have _SRGB variants.
+	ColorSpace_Gamma = 1,	// Texture data can be displayed directly on the display without any conversion (a.k.a. display native format).
+	ColorSpace_Linear = 2,	// Same as gamma but has been converted to a linear representation using DXGI's sRGB conversion algorithm.
+};
+
+struct Texture_t
+{
+	void* handle; // See ETextureType definition above
+	ETextureType eType;
+	EColorSpace eColorSpace;
+};
+
+// Handle to a shared texture (HANDLE on Windows obtained using OpenSharedResource).
+typedef uint64_t SharedTextureHandle_t;
+#define INVALID_SHARED_TEXTURE_HANDLE	((vr::SharedTextureHandle_t)0)
+
+enum ETrackingResult
+{
+	TrackingResult_Uninitialized			= 1,
+
+	TrackingResult_Calibrating_InProgress	= 100,
+	TrackingResult_Calibrating_OutOfRange	= 101,
+
+	TrackingResult_Running_OK				= 200,
+	TrackingResult_Running_OutOfRange		= 201,
+};
+
+typedef uint32_t DriverId_t;
+static const uint32_t k_nDriverNone = 0xFFFFFFFF;
+
+static const uint32_t k_unMaxDriverDebugResponseSize = 32768;
+
+/** Used to pass device IDs to API calls */
+typedef uint32_t TrackedDeviceIndex_t;
+static const uint32_t k_unTrackedDeviceIndex_Hmd = 0;
+static const uint32_t k_unMaxTrackedDeviceCount = 64;
+static const uint32_t k_unTrackedDeviceIndexOther = 0xFFFFFFFE;
+static const uint32_t k_unTrackedDeviceIndexInvalid = 0xFFFFFFFF;
+
+/** Describes what kind of object is being tracked at a given ID */
+enum ETrackedDeviceClass
+{
+	TrackedDeviceClass_Invalid = 0,				// the ID was not valid.
+	TrackedDeviceClass_HMD = 1,					// Head-Mounted Displays
+	TrackedDeviceClass_Controller = 2,			// Tracked controllers
+	TrackedDeviceClass_GenericTracker = 3,		// Generic trackers, similar to controllers
+	TrackedDeviceClass_TrackingReference = 4,	// Camera and base stations that serve as tracking reference points
+	TrackedDeviceClass_DisplayRedirect = 5,		// Accessories that aren't necessarily tracked themselves, but may redirect video output from other tracked devices
+};
+
+
+/** Describes what specific role associated with a tracked device */
+enum ETrackedControllerRole
+{
+	TrackedControllerRole_Invalid = 0,					// Invalid value for controller type
+	TrackedControllerRole_LeftHand = 1,					// Tracked device associated with the left hand
+	TrackedControllerRole_RightHand = 2,				// Tracked device associated with the right hand
+};
+
+
+/** describes a single pose for a tracked object */
+struct TrackedDevicePose_t
+{
+	HmdMatrix34_t mDeviceToAbsoluteTracking;
+	HmdVector3_t vVelocity;				// velocity in tracker space in m/s
+	HmdVector3_t vAngularVelocity;		// angular velocity in radians/s (?)
+	ETrackingResult eTrackingResult;
+	bool bPoseIsValid;
+
+	// This indicates that there is a device connected for this spot in the pose array.
+	// It could go from true to false if the user unplugs the device.
+	bool bDeviceIsConnected;
+};
+
+/** Identifies which style of tracking origin the application wants to use
+* for the poses it is requesting */
+enum ETrackingUniverseOrigin
+{
+	TrackingUniverseSeated = 0,		// Poses are provided relative to the seated zero pose
+	TrackingUniverseStanding = 1,	// Poses are provided relative to the safe bounds configured by the user
+	TrackingUniverseRawAndUncalibrated = 2,	// Poses are provided in the coordinate system defined by the driver.  It has Y up and is unified for devices of the same driver. You usually don't want this one.
+};
+
+// Refers to a single container of properties
+typedef uint64_t PropertyContainerHandle_t;
+typedef uint32_t PropertyTypeTag_t;
+
+static const PropertyContainerHandle_t k_ulInvalidPropertyContainer = 0;
+static const PropertyTypeTag_t k_unInvalidPropertyTag = 0;
+
+// Use these tags to set/get common types as struct properties
+static const PropertyTypeTag_t k_unFloatPropertyTag = 1;
+static const PropertyTypeTag_t k_unInt32PropertyTag = 2;
+static const PropertyTypeTag_t k_unUint64PropertyTag = 3;
+static const PropertyTypeTag_t k_unBoolPropertyTag = 4;
+static const PropertyTypeTag_t k_unStringPropertyTag = 5;
+
+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_unHiddenAreaPropertyTag = 30;
+static const PropertyTypeTag_t k_unPathHandleInfoTag = 31;
+static const PropertyTypeTag_t k_unActionPropertyTag = 32;
+static const PropertyTypeTag_t k_unInputValuePropertyTag = 33;
+static const PropertyTypeTag_t k_unWildcardPropertyTag = 34;
+static const PropertyTypeTag_t k_unHapticVibrationPropertyTag = 35;
+
+static const PropertyTypeTag_t k_unOpenVRInternalReserved_Start = 1000;
+static const PropertyTypeTag_t k_unOpenVRInternalReserved_End = 10000;
+
+
+/** Each entry in this enum represents a property that can be retrieved about a
+* tracked device. Many fields are only valid for one ETrackedDeviceClass. */
+enum ETrackedDeviceProperty
+{
+	Prop_Invalid								= 0,
+
+	// general properties that apply to all device classes
+	Prop_TrackingSystemName_String				= 1000,
+	Prop_ModelNumber_String						= 1001,
+	Prop_SerialNumber_String					= 1002,
+	Prop_RenderModelName_String					= 1003,
+	Prop_WillDriftInYaw_Bool					= 1004,
+	Prop_ManufacturerName_String				= 1005,
+	Prop_TrackingFirmwareVersion_String			= 1006,
+	Prop_HardwareRevision_String				= 1007,
+	Prop_AllWirelessDongleDescriptions_String	= 1008,
+	Prop_ConnectedWirelessDongle_String			= 1009,
+	Prop_DeviceIsWireless_Bool					= 1010,
+	Prop_DeviceIsCharging_Bool					= 1011,
+	Prop_DeviceBatteryPercentage_Float			= 1012, // 0 is empty, 1 is full
+	Prop_StatusDisplayTransform_Matrix34		= 1013,
+	Prop_Firmware_UpdateAvailable_Bool			= 1014,
+	Prop_Firmware_ManualUpdate_Bool				= 1015,
+	Prop_Firmware_ManualUpdateURL_String		= 1016,
+	Prop_HardwareRevision_Uint64				= 1017,
+	Prop_FirmwareVersion_Uint64					= 1018,
+	Prop_FPGAVersion_Uint64						= 1019,
+	Prop_VRCVersion_Uint64						= 1020,
+	Prop_RadioVersion_Uint64					= 1021,
+	Prop_DongleVersion_Uint64					= 1022,
+	Prop_BlockServerShutdown_Bool				= 1023,
+	Prop_CanUnifyCoordinateSystemWithHmd_Bool	= 1024,
+	Prop_ContainsProximitySensor_Bool			= 1025,
+	Prop_DeviceProvidesBatteryStatus_Bool		= 1026,
+	Prop_DeviceCanPowerOff_Bool					= 1027,
+	Prop_Firmware_ProgrammingTarget_String		= 1028,
+	Prop_DeviceClass_Int32						= 1029,
+	Prop_HasCamera_Bool							= 1030,
+	Prop_DriverVersion_String                   = 1031,
+	Prop_Firmware_ForceUpdateRequired_Bool      = 1032,
+	Prop_ViveSystemButtonFixRequired_Bool		= 1033,
+	Prop_ParentDriver_Uint64					= 1034,
+	Prop_ResourceRoot_String					= 1035,
+	Prop_RegisteredDeviceType_String			= 1036,
+	Prop_InputProfilePath_String				= 1037, // input profile to use for this device in the input system. Will default to tracking system name if this isn't provided
+
+	// Properties that are unique to TrackedDeviceClass_HMD
+	Prop_ReportsTimeSinceVSync_Bool				= 2000,
+	Prop_SecondsFromVsyncToPhotons_Float		= 2001,
+	Prop_DisplayFrequency_Float					= 2002,
+	Prop_UserIpdMeters_Float					= 2003,
+	Prop_CurrentUniverseId_Uint64				= 2004, 
+	Prop_PreviousUniverseId_Uint64				= 2005, 
+	Prop_DisplayFirmwareVersion_Uint64			= 2006,
+	Prop_IsOnDesktop_Bool						= 2007,
+	Prop_DisplayMCType_Int32					= 2008,
+	Prop_DisplayMCOffset_Float					= 2009,
+	Prop_DisplayMCScale_Float					= 2010,
+	Prop_EdidVendorID_Int32						= 2011,
+	Prop_DisplayMCImageLeft_String              = 2012,
+	Prop_DisplayMCImageRight_String             = 2013,
+	Prop_DisplayGCBlackClamp_Float				= 2014,
+	Prop_EdidProductID_Int32					= 2015,
+	Prop_CameraToHeadTransform_Matrix34			= 2016,
+	Prop_DisplayGCType_Int32					= 2017,
+	Prop_DisplayGCOffset_Float					= 2018,
+	Prop_DisplayGCScale_Float					= 2019,
+	Prop_DisplayGCPrescale_Float				= 2020,
+	Prop_DisplayGCImage_String					= 2021,
+	Prop_LensCenterLeftU_Float					= 2022,
+	Prop_LensCenterLeftV_Float					= 2023,
+	Prop_LensCenterRightU_Float					= 2024,
+	Prop_LensCenterRightV_Float					= 2025,
+	Prop_UserHeadToEyeDepthMeters_Float			= 2026,
+	Prop_CameraFirmwareVersion_Uint64			= 2027,
+	Prop_CameraFirmwareDescription_String		= 2028,
+	Prop_DisplayFPGAVersion_Uint64				= 2029,
+	Prop_DisplayBootloaderVersion_Uint64		= 2030,
+	Prop_DisplayHardwareVersion_Uint64			= 2031,
+	Prop_AudioFirmwareVersion_Uint64			= 2032,
+	Prop_CameraCompatibilityMode_Int32			= 2033,
+	Prop_ScreenshotHorizontalFieldOfViewDegrees_Float = 2034,
+	Prop_ScreenshotVerticalFieldOfViewDegrees_Float = 2035,
+	Prop_DisplaySuppressed_Bool					= 2036,
+	Prop_DisplayAllowNightMode_Bool				= 2037,
+	Prop_DisplayMCImageWidth_Int32				= 2038,
+	Prop_DisplayMCImageHeight_Int32				= 2039,
+	Prop_DisplayMCImageNumChannels_Int32		= 2040,
+	Prop_DisplayMCImageData_Binary				= 2041,
+	Prop_SecondsFromPhotonsToVblank_Float		= 2042,
+	Prop_DriverDirectModeSendsVsyncEvents_Bool	= 2043,
+	Prop_DisplayDebugMode_Bool					= 2044,
+	Prop_GraphicsAdapterLuid_Uint64				= 2045,
+	Prop_DriverProvidedChaperonePath_String		= 2048,
+	Prop_ExpectedTrackingReferenceCount_Int32	= 2049, // expected number of sensors or basestations to reserve UI space for
+	Prop_ExpectedControllerCount_Int32			= 2050, // expected number of tracked controllers to reserve UI space for
+	Prop_NamedIconPathControllerLeftDeviceOff_String	= 2051, // placeholder icon for "left" controller if not yet detected/loaded
+	Prop_NamedIconPathControllerRightDeviceOff_String	= 2052, // placeholder icon for "right" controller if not yet detected/loaded
+	Prop_NamedIconPathTrackingReferenceDeviceOff_String	= 2053, // placeholder icon for sensor/base if not yet detected/loaded
+	Prop_DoNotApplyPrediction_Bool				= 2054,
+	Prop_CameraToHeadTransforms_Matrix34_Array	= 2055,
+	Prop_DriverIsDrawingControllers_Bool		= 2057,
+	Prop_DriverRequestsApplicationPause_Bool	= 2058,
+	Prop_DriverRequestsReducedRendering_Bool	= 2059,
+
+	// Properties that are unique to TrackedDeviceClass_Controller
+	Prop_AttachedDeviceId_String				= 3000,
+	Prop_SupportedButtons_Uint64				= 3001,
+	Prop_Axis0Type_Int32						= 3002, // Return value is of type EVRControllerAxisType
+	Prop_Axis1Type_Int32						= 3003, // Return value is of type EVRControllerAxisType
+	Prop_Axis2Type_Int32						= 3004, // Return value is of type EVRControllerAxisType
+	Prop_Axis3Type_Int32						= 3005, // Return value is of type EVRControllerAxisType
+	Prop_Axis4Type_Int32						= 3006, // Return value is of type EVRControllerAxisType
+	Prop_ControllerRoleHint_Int32				= 3007, // Return value is of type ETrackedControllerRole
+
+	// Properties that are unique to TrackedDeviceClass_TrackingReference
+	Prop_FieldOfViewLeftDegrees_Float			= 4000,
+	Prop_FieldOfViewRightDegrees_Float			= 4001,
+	Prop_FieldOfViewTopDegrees_Float			= 4002,
+	Prop_FieldOfViewBottomDegrees_Float			= 4003,
+	Prop_TrackingRangeMinimumMeters_Float		= 4004,
+	Prop_TrackingRangeMaximumMeters_Float		= 4005,
+	Prop_ModeLabel_String						= 4006,
+
+	// Properties that are used for user interface like icons names
+	Prop_IconPathName_String						= 5000, // DEPRECATED. Value not referenced. Now expected to be part of icon path properties.
+	Prop_NamedIconPathDeviceOff_String				= 5001, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceSearching_String		= 5002, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceSearchingAlert_String	= 5003, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceReady_String			= 5004, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceReadyAlert_String		= 5005, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceNotReady_String			= 5006, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceStandby_String			= 5007, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceAlertLow_String			= 5008, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+
+	// Properties that are used by helpers, but are opaque to applications
+	Prop_DisplayHiddenArea_Binary_Start				= 5100,
+	Prop_DisplayHiddenArea_Binary_End				= 5150,
+	Prop_ParentContainer							= 5151,
+
+	// Properties that are unique to drivers
+	Prop_UserConfigPath_String					= 6000,
+	Prop_InstallPath_String						= 6001,
+	Prop_HasDisplayComponent_Bool				= 6002,
+	Prop_HasControllerComponent_Bool			= 6003,
+	Prop_HasCameraComponent_Bool				= 6004,
+	Prop_HasDriverDirectModeComponent_Bool		= 6005,
+	Prop_HasVirtualDisplayComponent_Bool		= 6006,
+
+	// Properties that are set internally based on other information provided by drivers
+	Prop_ControllerType_String					= 7000,
+	Prop_LegacyInputProfile_String				= 7001,
+
+	// Vendors are free to expose private debug data in this reserved region
+	Prop_VendorSpecific_Reserved_Start			= 10000,
+	Prop_VendorSpecific_Reserved_End			= 10999,
+	
+	Prop_TrackedDeviceProperty_Max				= 1000000,
+};
+
+/** No string property will ever be longer than this length */
+static const uint32_t k_unMaxPropertyStringSize = 32 * 1024;
+
+/** Used to return errors that occur when reading properties. */
+enum ETrackedPropertyError
+{
+	TrackedProp_Success						= 0,
+	TrackedProp_WrongDataType				= 1,
+	TrackedProp_WrongDeviceClass			= 2,
+	TrackedProp_BufferTooSmall				= 3,
+	TrackedProp_UnknownProperty				= 4, // Driver has not set the property (and may not ever).
+	TrackedProp_InvalidDevice				= 5,
+	TrackedProp_CouldNotContactServer		= 6,
+	TrackedProp_ValueNotProvidedByDevice	= 7,
+	TrackedProp_StringExceedsMaximumLength	= 8,
+	TrackedProp_NotYetAvailable				= 9, // The property value isn't known yet, but is expected soon. Call again later.
+	TrackedProp_PermissionDenied			= 10,
+	TrackedProp_InvalidOperation			= 11,
+	TrackedProp_CannotWriteToWildcards		= 12,
+};
+
+/** Allows the application to control what part of the provided texture will be used in the
+* frame buffer. */
+struct VRTextureBounds_t
+{
+	float uMin, vMin;
+	float uMax, vMax;
+};
+
+/** Allows specifying pose used to render provided scene texture (if different from value returned by WaitGetPoses). */
+struct VRTextureWithPose_t : public Texture_t
+{
+	HmdMatrix34_t mDeviceToAbsoluteTracking; // Actual pose used to render scene textures.
+};
+
+struct VRTextureDepthInfo_t
+{
+	void* handle; // See ETextureType definition above
+	HmdMatrix44_t mProjection;
+	HmdVector2_t vRange; // 0..1
+};
+
+struct VRTextureWithDepth_t : public Texture_t
+{
+	VRTextureDepthInfo_t depth;
+};
+
+struct VRTextureWithPoseAndDepth_t : public VRTextureWithPose_t
+{
+	VRTextureDepthInfo_t depth;
+};
+
+/** Allows the application to control how scene textures are used by the compositor when calling Submit. */
+enum EVRSubmitFlags
+{
+	// Simple render path. App submits rendered left and right eye images with no lens distortion correction applied.
+	Submit_Default = 0x00,
+
+	// App submits final left and right eye images with lens distortion already applied (lens distortion makes the images appear
+	// barrel distorted with chromatic aberration correction applied). The app would have used the data returned by
+	// vr::IVRSystem::ComputeDistortion() to apply the correct distortion to the rendered images before calling Submit().
+	Submit_LensDistortionAlreadyApplied = 0x01,
+
+	// If the texture pointer passed in is actually a renderbuffer (e.g. for MSAA in OpenGL) then set this flag.
+	Submit_GlRenderBuffer = 0x02,
+
+	// Do not use
+	Submit_Reserved = 0x04,
+
+	// Set to indicate that pTexture is a pointer to a VRTextureWithPose_t.
+	// This flag can be combined with Submit_TextureWithDepth to pass a VRTextureWithPoseAndDepth_t.
+	Submit_TextureWithPose = 0x08,
+
+	// Set to indicate that pTexture is a pointer to a VRTextureWithDepth_t.
+	// This flag can be combined with Submit_TextureWithPose to pass a VRTextureWithPoseAndDepth_t.
+	Submit_TextureWithDepth = 0x10,
+};
+
+/** Data required for passing Vulkan textures to IVRCompositor::Submit.
+* Be sure to call OpenVR_Shutdown before destroying these resources. */
+struct VRVulkanTextureData_t
+{
+	uint64_t m_nImage; // VkImage
+	VkDevice_T *m_pDevice;
+	VkPhysicalDevice_T *m_pPhysicalDevice;
+	VkInstance_T *m_pInstance;
+	VkQueue_T *m_pQueue;
+	uint32_t m_nQueueFamilyIndex;
+	uint32_t m_nWidth, m_nHeight, m_nFormat, m_nSampleCount;
+};
+
+/** Data required for passing D3D12 textures to IVRCompositor::Submit.
+* Be sure to call OpenVR_Shutdown before destroying these resources. */
+struct D3D12TextureData_t
+{
+	ID3D12Resource *m_pResource;
+	ID3D12CommandQueue *m_pCommandQueue;
+	uint32_t m_nNodeMask;
+};
+
+/** Status of the overall system or tracked objects */
+enum EVRState
+{
+	VRState_Undefined = -1,
+	VRState_Off = 0,
+	VRState_Searching = 1,
+	VRState_Searching_Alert = 2,
+	VRState_Ready = 3,
+	VRState_Ready_Alert = 4,
+	VRState_NotReady = 5,
+	VRState_Standby = 6,
+	VRState_Ready_Alert_Low = 7,
+};
+
+/** The types of events that could be posted (and what the parameters mean for each event type) */
+enum EVREventType
+{
+	VREvent_None = 0,
+
+	VREvent_TrackedDeviceActivated		= 100,
+	VREvent_TrackedDeviceDeactivated	= 101,
+	VREvent_TrackedDeviceUpdated		= 102,
+	VREvent_TrackedDeviceUserInteractionStarted	= 103,
+	VREvent_TrackedDeviceUserInteractionEnded	= 104,
+	VREvent_IpdChanged					= 105,
+	VREvent_EnterStandbyMode			= 106,
+	VREvent_LeaveStandbyMode			= 107,
+	VREvent_TrackedDeviceRoleChanged	= 108,
+	VREvent_WatchdogWakeUpRequested		= 109,
+	VREvent_LensDistortionChanged		= 110,
+	VREvent_PropertyChanged				= 111,
+	VREvent_WirelessDisconnect			= 112,
+	VREvent_WirelessReconnect			= 113,
+
+	VREvent_ButtonPress					= 200, // data is controller
+	VREvent_ButtonUnpress				= 201, // data is controller
+	VREvent_ButtonTouch					= 202, // data is controller
+	VREvent_ButtonUntouch				= 203, // data is controller
+
+	VREvent_DualAnalog_Press			= 250, // data is dualAnalog
+	VREvent_DualAnalog_Unpress			= 251, // data is dualAnalog
+	VREvent_DualAnalog_Touch			= 252, // data is dualAnalog
+	VREvent_DualAnalog_Untouch			= 253, // data is dualAnalog
+	VREvent_DualAnalog_Move				= 254, // data is dualAnalog
+	VREvent_DualAnalog_ModeSwitch1		= 255, // data is dualAnalog
+	VREvent_DualAnalog_ModeSwitch2		= 256, // data is dualAnalog
+	VREvent_DualAnalog_Cancel			= 257, // data is dualAnalog
+
+	VREvent_MouseMove					= 300, // data is mouse
+	VREvent_MouseButtonDown				= 301, // data is mouse
+	VREvent_MouseButtonUp				= 302, // data is mouse
+	VREvent_FocusEnter					= 303, // data is overlay
+	VREvent_FocusLeave					= 304, // data is overlay
+	VREvent_Scroll						= 305, // data is mouse
+	VREvent_TouchPadMove				= 306, // data is mouse
+	VREvent_OverlayFocusChanged			= 307, // data is overlay, global event
+
+	VREvent_InputFocusCaptured			= 400, // data is process DEPRECATED
+	VREvent_InputFocusReleased			= 401, // data is process DEPRECATED
+	VREvent_SceneFocusLost				= 402, // data is process
+	VREvent_SceneFocusGained			= 403, // data is process
+	VREvent_SceneApplicationChanged		= 404, // data is process - The App actually drawing the scene changed (usually to or from the compositor)
+	VREvent_SceneFocusChanged			= 405, // data is process - New app got access to draw the scene
+	VREvent_InputFocusChanged			= 406, // data is process
+	VREvent_SceneApplicationSecondaryRenderingStarted = 407, // data is process
+
+	VREvent_HideRenderModels			= 410, // Sent to the scene application to request hiding render models temporarily
+	VREvent_ShowRenderModels			= 411, // Sent to the scene application to request restoring render model visibility
+
+	VREvent_ConsoleOpened               = 420,
+	VREvent_ConsoleClosed               = 421,
+
+	VREvent_OverlayShown				= 500,
+	VREvent_OverlayHidden				= 501,
+	VREvent_DashboardActivated			= 502,
+	VREvent_DashboardDeactivated		= 503,
+	VREvent_DashboardThumbSelected		= 504, // Sent to the overlay manager - data is overlay
+	VREvent_DashboardRequested			= 505, // Sent to the overlay manager - data is overlay
+	VREvent_ResetDashboard				= 506, // Send to the overlay manager
+	VREvent_RenderToast					= 507, // Send to the dashboard to render a toast - data is the notification ID
+	VREvent_ImageLoaded					= 508, // Sent to overlays when a SetOverlayRaw or SetOverlayFromFile call finishes loading
+	VREvent_ShowKeyboard				= 509, // Sent to keyboard renderer in the dashboard to invoke it
+	VREvent_HideKeyboard				= 510, // Sent to keyboard renderer in the dashboard to hide it
+	VREvent_OverlayGamepadFocusGained	= 511, // Sent to an overlay when IVROverlay::SetFocusOverlay is called on it
+	VREvent_OverlayGamepadFocusLost		= 512, // Send to an overlay when it previously had focus and IVROverlay::SetFocusOverlay is called on something else
+	VREvent_OverlaySharedTextureChanged = 513,
+	VREvent_DashboardGuideButtonDown	= 514,
+	VREvent_DashboardGuideButtonUp		= 515,
+	VREvent_ScreenshotTriggered			= 516, // Screenshot button combo was pressed, Dashboard should request a screenshot
+	VREvent_ImageFailed					= 517, // Sent to overlays when a SetOverlayRaw or SetOverlayfromFail fails to load
+	VREvent_DashboardOverlayCreated		= 518,
+
+	// Screenshot API
+	VREvent_RequestScreenshot				= 520, // Sent by vrclient application to compositor to take a screenshot
+	VREvent_ScreenshotTaken					= 521, // Sent by compositor to the application that the screenshot has been taken
+	VREvent_ScreenshotFailed				= 522, // Sent by compositor to the application that the screenshot failed to be taken
+	VREvent_SubmitScreenshotToDashboard		= 523, // Sent by compositor to the dashboard that a completed screenshot was submitted
+	VREvent_ScreenshotProgressToDashboard	= 524, // Sent by compositor to the dashboard that a completed screenshot was submitted
+
+	VREvent_PrimaryDashboardDeviceChanged	= 525,
+
+	VREvent_Notification_Shown				= 600,
+	VREvent_Notification_Hidden				= 601,
+	VREvent_Notification_BeginInteraction	= 602,
+	VREvent_Notification_Destroyed			= 603,
+
+	VREvent_Quit							= 700, // data is process
+	VREvent_ProcessQuit						= 701, // data is process
+	VREvent_QuitAborted_UserPrompt			= 702, // data is process
+	VREvent_QuitAcknowledged				= 703, // data is process
+	VREvent_DriverRequestedQuit				= 704, // The driver has requested that SteamVR shut down
+
+	VREvent_ChaperoneDataHasChanged			= 800,
+	VREvent_ChaperoneUniverseHasChanged		= 801,
+	VREvent_ChaperoneTempDataHasChanged		= 802,
+	VREvent_ChaperoneSettingsHaveChanged	= 803,
+	VREvent_SeatedZeroPoseReset				= 804,
+
+	VREvent_AudioSettingsHaveChanged		= 820,
+
+	VREvent_BackgroundSettingHasChanged		   = 850,
+	VREvent_CameraSettingsHaveChanged		   = 851,
+	VREvent_ReprojectionSettingHasChanged	   = 852,
+	VREvent_ModelSkinSettingsHaveChanged	   = 853,
+	VREvent_EnvironmentSettingsHaveChanged	   = 854,
+	VREvent_PowerSettingsHaveChanged		   = 855,
+	VREvent_EnableHomeAppSettingsHaveChanged   = 856,
+	VREvent_SteamVRSectionSettingChanged       = 857,
+	VREvent_LighthouseSectionSettingChanged    = 858,
+	VREvent_NullSectionSettingChanged          = 859,
+	VREvent_UserInterfaceSectionSettingChanged = 860,
+	VREvent_NotificationsSectionSettingChanged = 861,
+	VREvent_KeyboardSectionSettingChanged      = 862,
+	VREvent_PerfSectionSettingChanged          = 863,
+	VREvent_DashboardSectionSettingChanged     = 864,
+	VREvent_WebInterfaceSectionSettingChanged  = 865,
+
+	VREvent_StatusUpdate					= 900,
+
+	VREvent_WebInterface_InstallDriverCompleted = 950,
+
+	VREvent_MCImageUpdated					= 1000,
+
+	VREvent_FirmwareUpdateStarted			= 1100,
+	VREvent_FirmwareUpdateFinished			= 1101,
+
+	VREvent_KeyboardClosed					= 1200,
+	VREvent_KeyboardCharInput				= 1201,
+	VREvent_KeyboardDone					= 1202, // Sent when DONE button clicked on keyboard
+
+	VREvent_ApplicationTransitionStarted		= 1300,
+	VREvent_ApplicationTransitionAborted		= 1301,
+	VREvent_ApplicationTransitionNewAppStarted	= 1302,
+	VREvent_ApplicationListUpdated				= 1303,
+	VREvent_ApplicationMimeTypeLoad				= 1304,
+	VREvent_ApplicationTransitionNewAppLaunchComplete = 1305,
+	VREvent_ProcessConnected					= 1306,
+	VREvent_ProcessDisconnected					= 1307,
+
+	VREvent_Compositor_MirrorWindowShown		= 1400,
+	VREvent_Compositor_MirrorWindowHidden		= 1401,
+	VREvent_Compositor_ChaperoneBoundsShown		= 1410,
+	VREvent_Compositor_ChaperoneBoundsHidden	= 1411,
+
+	VREvent_TrackedCamera_StartVideoStream  = 1500,
+	VREvent_TrackedCamera_StopVideoStream   = 1501,
+	VREvent_TrackedCamera_PauseVideoStream  = 1502,
+	VREvent_TrackedCamera_ResumeVideoStream = 1503,
+	VREvent_TrackedCamera_EditingSurface    = 1550,
+
+	VREvent_PerformanceTest_EnableCapture	= 1600,
+	VREvent_PerformanceTest_DisableCapture	= 1601,
+	VREvent_PerformanceTest_FidelityLevel	= 1602,
+
+	VREvent_MessageOverlay_Closed			= 1650,
+	VREvent_MessageOverlayCloseRequested	= 1651,
+	
+	VREvent_Input_HapticVibration			= 1700, // data is hapticVibration
+
+	// Vendors are free to expose private events in this reserved region
+	VREvent_VendorSpecific_Reserved_Start	= 10000,
+	VREvent_VendorSpecific_Reserved_End		= 19999,
+};
+
+
+/** Level of Hmd activity */
+// UserInteraction_Timeout means the device is in the process of timing out.
+// InUse = ( k_EDeviceActivityLevel_UserInteraction || k_EDeviceActivityLevel_UserInteraction_Timeout )
+// VREvent_TrackedDeviceUserInteractionStarted fires when the devices transitions from Standby -> UserInteraction or Idle -> UserInteraction.
+// VREvent_TrackedDeviceUserInteractionEnded fires when the devices transitions from UserInteraction_Timeout -> Idle
+enum EDeviceActivityLevel
+{	
+	k_EDeviceActivityLevel_Unknown = -1,									
+	k_EDeviceActivityLevel_Idle = 0,						// No activity for the last 10 seconds
+	k_EDeviceActivityLevel_UserInteraction = 1,				// Activity (movement or prox sensor) is happening now	
+	k_EDeviceActivityLevel_UserInteraction_Timeout = 2,		// No activity for the last 0.5 seconds
+	k_EDeviceActivityLevel_Standby = 3,						// Idle for at least 5 seconds (configurable in Settings -> Power Management)
+};
+
+
+/** VR controller button and axis IDs */
+enum EVRButtonId
+{
+	k_EButton_System			= 0,
+	k_EButton_ApplicationMenu	= 1,
+	k_EButton_Grip				= 2,
+	k_EButton_DPad_Left			= 3,
+	k_EButton_DPad_Up			= 4,
+	k_EButton_DPad_Right		= 5,
+	k_EButton_DPad_Down			= 6,
+	k_EButton_A					= 7,
+	
+	k_EButton_ProximitySensor   = 31,
+
+	k_EButton_Axis0				= 32,
+	k_EButton_Axis1				= 33,
+	k_EButton_Axis2				= 34,
+	k_EButton_Axis3				= 35,
+	k_EButton_Axis4				= 36,
+
+	// aliases for well known controllers
+	k_EButton_SteamVR_Touchpad	= k_EButton_Axis0,
+	k_EButton_SteamVR_Trigger	= k_EButton_Axis1,
+
+	k_EButton_Dashboard_Back	= k_EButton_Grip,
+
+	k_EButton_Max				= 64
+};
+
+inline uint64_t ButtonMaskFromId( EVRButtonId id ) { return 1ull << id; }
+
+/** used for controller button events */
+struct VREvent_Controller_t
+{
+	uint32_t button; // EVRButtonId enum
+};
+
+
+/** used for simulated mouse events in overlay space */
+enum EVRMouseButton
+{
+	VRMouseButton_Left					= 0x0001,
+	VRMouseButton_Right					= 0x0002,
+	VRMouseButton_Middle				= 0x0004,
+};
+
+
+/** used for simulated mouse events in overlay space */
+struct VREvent_Mouse_t
+{
+	float x, y; // co-ords are in GL space, bottom left of the texture is 0,0
+	uint32_t button; // EVRMouseButton enum
+};
+
+/** used for simulated mouse wheel scroll in overlay space */
+struct VREvent_Scroll_t
+{
+	float xdelta, ydelta; // movement in fraction of the pad traversed since last delta, 1.0 for a full swipe
+	uint32_t repeatCount;
+};
+
+/** when in mouse input mode you can receive data from the touchpad, these events are only sent if the users finger
+   is on the touchpad (or just released from it). These events are sent to overlays with the VROverlayFlags_SendVRTouchpadEvents
+   flag set.
+**/
+struct VREvent_TouchPadMove_t
+{
+	// true if the users finger is detected on the touch pad
+	bool bFingerDown;
+
+	// How long the finger has been down in seconds
+	float flSecondsFingerDown;
+
+	// These values indicate the starting finger position (so you can do some basic swipe stuff)
+	float fValueXFirst;
+	float fValueYFirst;
+
+	// This is the raw sampled coordinate without deadzoning
+	float fValueXRaw;
+	float fValueYRaw;
+};
+
+/** notification related events. Details will still change at this point */
+struct VREvent_Notification_t
+{
+	uint64_t ulUserValue;
+	uint32_t notificationId;
+};
+
+/** Used for events about processes */
+struct VREvent_Process_t
+{
+	uint32_t pid;
+	uint32_t oldPid;
+	bool bForced;
+};
+
+
+/** Used for a few events about overlays */
+struct VREvent_Overlay_t
+{
+	uint64_t overlayHandle;
+};
+
+
+/** Used for a few events about overlays */
+struct VREvent_Status_t
+{
+	uint32_t statusState; // EVRState enum
+};
+
+/** Used for keyboard events **/
+struct VREvent_Keyboard_t
+{
+	char cNewInput[8];	// Up to 11 bytes of new input
+	uint64_t uUserValue;	// Possible flags about the new input
+};
+
+struct VREvent_Ipd_t
+{
+	float ipdMeters;
+};
+
+struct VREvent_Chaperone_t
+{
+	uint64_t m_nPreviousUniverse;
+	uint64_t m_nCurrentUniverse;
+};
+
+/** Not actually used for any events */
+struct VREvent_Reserved_t
+{
+	uint64_t reserved0;
+	uint64_t reserved1;
+};
+
+struct VREvent_PerformanceTest_t
+{
+	uint32_t m_nFidelityLevel;
+};
+
+struct VREvent_SeatedZeroPoseReset_t
+{
+	bool bResetBySystemMenu;
+};
+
+struct VREvent_Screenshot_t
+{
+	uint32_t handle;
+	uint32_t type;
+};
+
+struct VREvent_ScreenshotProgress_t
+{
+	float progress;
+};
+
+struct VREvent_ApplicationLaunch_t
+{
+	uint32_t pid;
+	uint32_t unArgsHandle;
+};
+
+struct VREvent_EditingCameraSurface_t
+{
+	uint64_t overlayHandle;
+	uint32_t nVisualMode;
+};
+
+struct VREvent_MessageOverlay_t
+{
+	uint32_t unVRMessageOverlayResponse; // vr::VRMessageOverlayResponse enum
+};
+
+struct VREvent_Property_t
+{
+	PropertyContainerHandle_t container;
+	ETrackedDeviceProperty prop;
+};
+
+enum EDualAnalogWhich
+{
+	k_EDualAnalog_Left = 0,
+	k_EDualAnalog_Right = 1,
+};
+
+struct VREvent_DualAnalog_t
+{
+	float x, y; // coordinates are -1..1 analog values
+	float transformedX, transformedY; // transformed by the center and radius numbers provided by the overlay
+	EDualAnalogWhich which;
+};
+
+struct VREvent_HapticVibration_t
+{
+	uint64_t containerHandle; // property container handle of the device with the haptic component
+	uint64_t componentHandle; // Which haptic component needs to vibrate
+	float fDurationSeconds;
+	float fFrequency;
+	float fAmplitude;
+};
+
+
+/** NOTE!!! If you change this you MUST manually update openvr_interop.cs.py */
+typedef union
+{
+	VREvent_Reserved_t reserved;
+	VREvent_Controller_t controller;
+	VREvent_Mouse_t mouse;
+	VREvent_Scroll_t scroll;
+	VREvent_Process_t process;
+	VREvent_Notification_t notification;
+	VREvent_Overlay_t overlay;
+	VREvent_Status_t status;
+	VREvent_Keyboard_t keyboard;
+	VREvent_Ipd_t ipd;
+	VREvent_Chaperone_t chaperone;
+	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_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
+{
+	uint32_t eventType; // EVREventType enum
+	TrackedDeviceIndex_t trackedDeviceIndex;
+	float eventAgeSeconds;
+	// event data must be the end of the struct as its size is variable
+	VREvent_Data_t data;
+};
+
+#if defined(__linux__) || defined(__APPLE__) 
+#pragma pack( pop )
+#endif
+
+enum EVRInputError
+{
+	VRInputError_None = 0,
+	VRInputError_NameNotFound = 1,
+	VRInputError_WrongType = 2,
+	VRInputError_InvalidHandle = 3,
+	VRInputError_InvalidParam = 4,
+	VRInputError_NoSteam = 5,
+	VRInputError_MaxCapacityReached = 6,
+	VRInputError_IPCError = 7,
+	VRInputError_NoActiveActionSet = 8,
+	VRInputError_InvalidDevice = 9,
+};
+
+
+/** The mesh to draw into the stencil (or depth) buffer to perform 
+* early stencil (or depth) kills of pixels that will never appear on the HMD.
+* This mesh draws on all the pixels that will be hidden after distortion. 
+*
+* If the HMD does not provide a visible area mesh pVertexData will be
+* NULL and unTriangleCount will be 0. */
+struct HiddenAreaMesh_t
+{
+	const HmdVector2_t *pVertexData;
+	uint32_t unTriangleCount;
+};
+
+
+enum EHiddenAreaMeshType
+{
+	k_eHiddenAreaMesh_Standard = 0,
+	k_eHiddenAreaMesh_Inverse = 1,
+	k_eHiddenAreaMesh_LineLoop = 2,
+
+	k_eHiddenAreaMesh_Max = 3,
+};
+
+
+/** Identifies what kind of axis is on the controller at index n. Read this type 
+* with pVRSystem->Get( nControllerDeviceIndex, Prop_Axis0Type_Int32 + n );
+*/
+enum EVRControllerAxisType
+{
+	k_eControllerAxis_None = 0,
+	k_eControllerAxis_TrackPad = 1,
+	k_eControllerAxis_Joystick = 2,
+	k_eControllerAxis_Trigger = 3, // Analog trigger data is in the X axis
+};
+
+
+/** contains information about one axis on the controller */
+struct VRControllerAxis_t
+{
+	float x; // Ranges from -1.0 to 1.0 for joysticks and track pads. Ranges from 0.0 to 1.0 for triggers were 0 is fully released.
+	float y; // Ranges from -1.0 to 1.0 for joysticks and track pads. Is always 0.0 for triggers.
+};
+
+
+/** the number of axes in the controller state */
+static const uint32_t k_unControllerStateAxisCount = 5;
+
+
+#if defined(__linux__) || defined(__APPLE__) 
+// This structure was originally defined mis-packed on Linux, preserved for 
+// compatibility. 
+#pragma pack( push, 4 )
+#endif
+
+/** Holds all the state of a controller at one moment in time. */
+struct VRControllerState001_t
+{
+	// If packet num matches that on your prior call, then the controller state hasn't been changed since 
+	// your last call and there is no need to process it
+	uint32_t unPacketNum;
+
+	// bit flags for each of the buttons. Use ButtonMaskFromId to turn an ID into a mask
+	uint64_t ulButtonPressed;
+	uint64_t ulButtonTouched;
+
+	// Axis data for the controller's analog inputs
+	VRControllerAxis_t rAxis[ k_unControllerStateAxisCount ];
+};
+#if defined(__linux__) || defined(__APPLE__) 
+#pragma pack( pop )
+#endif
+
+
+typedef VRControllerState001_t VRControllerState_t;
+
+
+/** determines how to provide output to the application of various event processing functions. */
+enum EVRControllerEventOutputType
+{
+	ControllerEventOutput_OSEvents = 0,
+	ControllerEventOutput_VREvents = 1,
+};
+
+
+
+/** Collision Bounds Style */
+enum ECollisionBoundsStyle
+{
+	COLLISION_BOUNDS_STYLE_BEGINNER = 0,
+	COLLISION_BOUNDS_STYLE_INTERMEDIATE,
+	COLLISION_BOUNDS_STYLE_SQUARES,
+	COLLISION_BOUNDS_STYLE_ADVANCED,
+	COLLISION_BOUNDS_STYLE_NONE,
+
+	COLLISION_BOUNDS_STYLE_COUNT
+};
+
+/** Allows the application to customize how the overlay appears in the compositor */
+struct Compositor_OverlaySettings
+{
+	uint32_t size; // sizeof(Compositor_OverlaySettings)
+	bool curved, antialias;
+	float scale, distance, alpha;
+	float uOffset, vOffset, uScale, vScale;
+	float gridDivs, gridWidth, gridScale;
+	HmdMatrix44_t transform;
+};
+
+/** used to refer to a single VR overlay */
+typedef uint64_t VROverlayHandle_t;
+
+static const VROverlayHandle_t k_ulOverlayHandleInvalid = 0;
+
+/** Errors that can occur around VR overlays */
+enum EVROverlayError
+{
+	VROverlayError_None						= 0,
+
+	VROverlayError_UnknownOverlay			= 10,
+	VROverlayError_InvalidHandle			= 11,
+	VROverlayError_PermissionDenied			= 12,
+	VROverlayError_OverlayLimitExceeded		= 13, // No more overlays could be created because the maximum number already exist
+	VROverlayError_WrongVisibilityType		= 14,
+	VROverlayError_KeyTooLong				= 15,
+	VROverlayError_NameTooLong				= 16,
+	VROverlayError_KeyInUse					= 17,
+	VROverlayError_WrongTransformType		= 18,
+	VROverlayError_InvalidTrackedDevice		= 19,
+	VROverlayError_InvalidParameter			= 20,
+	VROverlayError_ThumbnailCantBeDestroyed	= 21,
+	VROverlayError_ArrayTooSmall			= 22,
+	VROverlayError_RequestFailed			= 23,
+	VROverlayError_InvalidTexture			= 24,
+	VROverlayError_UnableToLoadFile			= 25,
+	VROverlayError_KeyboardAlreadyInUse		= 26,
+	VROverlayError_NoNeighbor				= 27,
+	VROverlayError_TooManyMaskPrimitives	= 29,
+	VROverlayError_BadMaskPrimitive			= 30,
+	VROverlayError_TextureAlreadyLocked		= 31,
+	VROverlayError_TextureLockCapacityReached = 32,
+	VROverlayError_TextureNotLocked			= 33,
+};
+
+/** enum values to pass in to VR_Init to identify whether the application will 
+* draw a 3D scene. */
+enum EVRApplicationType
+{
+	VRApplication_Other = 0,		// Some other kind of application that isn't covered by the other entries 
+	VRApplication_Scene	= 1,		// Application will submit 3D frames 
+	VRApplication_Overlay = 2,		// Application only interacts with overlays
+	VRApplication_Background = 3,	// Application should not start SteamVR if it's not already running, and should not
+									// keep it running if everything else quits.
+	VRApplication_Utility = 4,		// Init should not try to load any drivers. The application needs access to utility
+									// 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_Max
+};
+
+
+/** error codes for firmware */
+enum EVRFirmwareError
+{
+	VRFirmwareError_None = 0,
+	VRFirmwareError_Success = 1,
+	VRFirmwareError_Fail = 2,
+};
+
+
+/** error codes for notifications */
+enum EVRNotificationError
+{
+	VRNotificationError_OK = 0,
+	VRNotificationError_InvalidNotificationId = 100,
+	VRNotificationError_NotificationQueueFull = 101,
+	VRNotificationError_InvalidOverlayHandle = 102,
+	VRNotificationError_SystemWithUserValueAlreadyExists = 103,
+};
+
+
+/** error codes returned by Vr_Init */
+
+// Please add adequate error description to https://developer.valvesoftware.com/w/index.php?title=Category:SteamVRHelp
+enum EVRInitError
+{
+	VRInitError_None	= 0,
+	VRInitError_Unknown = 1,
+
+	VRInitError_Init_InstallationNotFound			= 100,
+	VRInitError_Init_InstallationCorrupt			= 101,
+	VRInitError_Init_VRClientDLLNotFound			= 102,
+	VRInitError_Init_FileNotFound					= 103,
+	VRInitError_Init_FactoryNotFound				= 104,
+	VRInitError_Init_InterfaceNotFound				= 105,
+	VRInitError_Init_InvalidInterface				= 106,
+	VRInitError_Init_UserConfigDirectoryInvalid		= 107,
+	VRInitError_Init_HmdNotFound					= 108,
+	VRInitError_Init_NotInitialized					= 109,
+	VRInitError_Init_PathRegistryNotFound			= 110,
+	VRInitError_Init_NoConfigPath					= 111,
+	VRInitError_Init_NoLogPath						= 112,
+	VRInitError_Init_PathRegistryNotWritable		= 113,
+	VRInitError_Init_AppInfoInitFailed				= 114,
+	VRInitError_Init_Retry							= 115, // Used internally to cause retries to vrserver
+	VRInitError_Init_InitCanceledByUser				= 116, // The calling application should silently exit. The user canceled app startup
+	VRInitError_Init_AnotherAppLaunching			= 117, 
+	VRInitError_Init_SettingsInitFailed				= 118, 
+	VRInitError_Init_ShuttingDown					= 119,
+	VRInitError_Init_TooManyObjects					= 120,
+	VRInitError_Init_NoServerForBackgroundApp		= 121,
+	VRInitError_Init_NotSupportedWithCompositor		= 122,
+	VRInitError_Init_NotAvailableToUtilityApps		= 123,
+	VRInitError_Init_Internal				 		= 124,
+	VRInitError_Init_HmdDriverIdIsNone		 		= 125,
+	VRInitError_Init_HmdNotFoundPresenceFailed 		= 126,
+	VRInitError_Init_VRMonitorNotFound				= 127,
+	VRInitError_Init_VRMonitorStartupFailed			= 128,
+	VRInitError_Init_LowPowerWatchdogNotSupported	= 129, 
+	VRInitError_Init_InvalidApplicationType			= 130,
+	VRInitError_Init_NotAvailableToWatchdogApps		= 131,
+	VRInitError_Init_WatchdogDisabledInSettings		= 132,
+	VRInitError_Init_VRDashboardNotFound			= 133,
+	VRInitError_Init_VRDashboardStartupFailed		= 134,
+	VRInitError_Init_VRHomeNotFound					= 135,
+	VRInitError_Init_VRHomeStartupFailed			= 136,
+	VRInitError_Init_RebootingBusy					= 137,
+	VRInitError_Init_FirmwareUpdateBusy				= 138,
+	VRInitError_Init_FirmwareRecoveryBusy			= 139,
+	VRInitError_Init_USBServiceBusy					= 140,
+
+	VRInitError_Driver_Failed						= 200,
+	VRInitError_Driver_Unknown						= 201,
+	VRInitError_Driver_HmdUnknown					= 202,
+	VRInitError_Driver_NotLoaded					= 203,
+	VRInitError_Driver_RuntimeOutOfDate				= 204,
+	VRInitError_Driver_HmdInUse						= 205,
+	VRInitError_Driver_NotCalibrated				= 206,
+	VRInitError_Driver_CalibrationInvalid			= 207,
+	VRInitError_Driver_HmdDisplayNotFound			= 208,
+	VRInitError_Driver_TrackedDeviceInterfaceUnknown = 209,
+	// VRInitError_Driver_HmdDisplayNotFoundAfterFix = 210, // not needed: here for historic reasons
+	VRInitError_Driver_HmdDriverIdOutOfBounds		= 211,
+	VRInitError_Driver_HmdDisplayMirrored			= 212,
+
+	VRInitError_IPC_ServerInitFailed				= 300,
+	VRInitError_IPC_ConnectFailed					= 301,
+	VRInitError_IPC_SharedStateInitFailed			= 302,
+	VRInitError_IPC_CompositorInitFailed			= 303,
+	VRInitError_IPC_MutexInitFailed					= 304,
+	VRInitError_IPC_Failed							= 305,
+	VRInitError_IPC_CompositorConnectFailed			= 306,
+	VRInitError_IPC_CompositorInvalidConnectResponse = 307,
+	VRInitError_IPC_ConnectFailedAfterMultipleAttempts = 308,
+
+	VRInitError_Compositor_Failed					= 400,
+	VRInitError_Compositor_D3D11HardwareRequired	= 401,
+	VRInitError_Compositor_FirmwareRequiresUpdate	= 402,
+	VRInitError_Compositor_OverlayInitFailed		= 403,
+	VRInitError_Compositor_ScreenshotsInitFailed	= 404,
+	VRInitError_Compositor_UnableToCreateDevice		= 405,
+
+	VRInitError_VendorSpecific_UnableToConnectToOculusRuntime		= 1000,
+	VRInitError_VendorSpecific_WindowsNotInDevMode					= 1001,
+
+	VRInitError_VendorSpecific_HmdFound_CantOpenDevice 				= 1101,
+	VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart	= 1102,
+	VRInitError_VendorSpecific_HmdFound_NoStoredConfig 				= 1103,
+	VRInitError_VendorSpecific_HmdFound_ConfigTooBig 				= 1104,
+	VRInitError_VendorSpecific_HmdFound_ConfigTooSmall 				= 1105,
+	VRInitError_VendorSpecific_HmdFound_UnableToInitZLib 			= 1106,
+	VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion 	= 1107,
+	VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart	= 1108,
+	VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart	= 1109,
+	VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext		= 1110,
+	VRInitError_VendorSpecific_HmdFound_UserDataAddressRange		= 1111,
+	VRInitError_VendorSpecific_HmdFound_UserDataError				= 1112,
+	VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck		= 1113,
+
+	VRInitError_Steam_SteamInstallationNotFound = 2000,
+};
+
+enum EVRScreenshotType
+{
+	VRScreenshotType_None = 0,
+	VRScreenshotType_Mono = 1, // left eye only
+	VRScreenshotType_Stereo = 2,
+	VRScreenshotType_Cubemap = 3,
+	VRScreenshotType_MonoPanorama = 4,
+	VRScreenshotType_StereoPanorama = 5
+};
+
+enum EVRScreenshotPropertyFilenames
+{
+	VRScreenshotPropertyFilenames_Preview = 0,
+	VRScreenshotPropertyFilenames_VR = 1,
+};
+
+enum EVRTrackedCameraError
+{
+	VRTrackedCameraError_None                       = 0,
+	VRTrackedCameraError_OperationFailed            = 100,
+	VRTrackedCameraError_InvalidHandle              = 101,	
+	VRTrackedCameraError_InvalidFrameHeaderVersion  = 102,
+	VRTrackedCameraError_OutOfHandles               = 103,
+	VRTrackedCameraError_IPCFailure                 = 104,
+	VRTrackedCameraError_NotSupportedForThisDevice  = 105,
+	VRTrackedCameraError_SharedMemoryFailure        = 106,
+	VRTrackedCameraError_FrameBufferingFailure      = 107,
+	VRTrackedCameraError_StreamSetupFailure         = 108,
+	VRTrackedCameraError_InvalidGLTextureId         = 109,
+	VRTrackedCameraError_InvalidSharedTextureHandle = 110,
+	VRTrackedCameraError_FailedToGetGLTextureId     = 111,
+	VRTrackedCameraError_SharedTextureFailure       = 112,
+	VRTrackedCameraError_NoFrameAvailable           = 113,
+	VRTrackedCameraError_InvalidArgument            = 114,
+	VRTrackedCameraError_InvalidFrameBufferSize     = 115,
+};
+
+enum EVRTrackedCameraFrameType
+{
+	VRTrackedCameraFrameType_Distorted = 0,			// This is the camera video frame size in pixels, still distorted.
+	VRTrackedCameraFrameType_Undistorted,			// In pixels, an undistorted inscribed rectangle region without invalid regions. This size is subject to changes shortly.
+	VRTrackedCameraFrameType_MaximumUndistorted,	// In pixels, maximum undistorted with invalid regions. Non zero alpha component identifies valid regions.
+	MAX_CAMERA_FRAME_TYPES
+};
+
+typedef uint64_t TrackedCameraHandle_t;
+#define INVALID_TRACKED_CAMERA_HANDLE	((vr::TrackedCameraHandle_t)0)
+
+struct CameraVideoStreamFrameHeader_t
+{
+	EVRTrackedCameraFrameType eFrameType;
+
+	uint32_t nWidth;
+	uint32_t nHeight;
+	uint32_t nBytesPerPixel;
+
+	uint32_t nFrameSequence;
+
+	TrackedDevicePose_t standingTrackedDevicePose;
+};
+
+// Screenshot types
+typedef uint32_t ScreenshotHandle_t;
+
+static const uint32_t k_unScreenshotHandleInvalid = 0;
+
+/** Frame timing data provided by direct mode drivers. */
+struct DriverDirectMode_FrameTiming
+{
+	uint32_t m_nSize; // Set to sizeof( DriverDirectMode_FrameTiming )
+	uint32_t m_nNumFramePresents; // number of times frame was presented
+	uint32_t m_nNumMisPresented; // number of times frame was presented on a vsync other than it was originally predicted to
+	uint32_t m_nNumDroppedFrames; // number of additional times previous frame was scanned out (i.e. compositor missed vsync)
+	uint32_t m_nReprojectionFlags;
+};
+
+#pragma pack( pop )
+
+// figure out how to import from the VR API dll
+#if defined(_WIN32)
+
+#ifdef VR_API_EXPORT
+#define VR_INTERFACE extern "C" __declspec( dllexport )
+#else
+#define VR_INTERFACE extern "C" __declspec( dllimport )
+#endif
+
+#elif defined(__GNUC__) || defined(COMPILER_GCC) || defined(__APPLE__)
+
+#ifdef VR_API_EXPORT
+#define VR_INTERFACE extern "C" __attribute__((visibility("default")))
+#else
+#define VR_INTERFACE extern "C" 
+#endif
+
+#else
+#error "Unsupported Platform."
+#endif
+
+
+#if defined( _WIN32 )
+#define VR_CALLTYPE __cdecl
+#else
+#define VR_CALLTYPE 
+#endif
+
+} // namespace vr
+
+#endif // _INCLUDE_VRTYPES_H
+
+
+// vrannotation.h
+#ifdef API_GEN
+# define VR_CLANG_ATTR(ATTR) __attribute__((annotate( ATTR )))
+#else
+# define VR_CLANG_ATTR(ATTR)
+#endif
+
+#define VR_METHOD_DESC(DESC) VR_CLANG_ATTR( "desc:" #DESC ";" )
+#define VR_IGNOREATTR() VR_CLANG_ATTR( "ignore" )
+#define VR_OUT_STRUCT() VR_CLANG_ATTR( "out_struct: ;" )
+#define VR_OUT_STRING() VR_CLANG_ATTR( "out_string: ;" )
+#define VR_OUT_ARRAY_CALL(COUNTER,FUNCTION,PARAMS) VR_CLANG_ATTR( "out_array_call:" #COUNTER "," #FUNCTION "," #PARAMS ";" )
+#define VR_OUT_ARRAY_COUNT(COUNTER) VR_CLANG_ATTR( "out_array_count:" #COUNTER ";" )
+#define VR_ARRAY_COUNT(COUNTER) VR_CLANG_ATTR( "array_count:" #COUNTER ";" )
+#define VR_ARRAY_COUNT_D(COUNTER, DESC) VR_CLANG_ATTR( "array_count:" #COUNTER ";desc:" #DESC )
+#define VR_BUFFER_COUNT(COUNTER) VR_CLANG_ATTR( "buffer_count:" #COUNTER ";" )
+#define VR_OUT_BUFFER_COUNT(COUNTER) VR_CLANG_ATTR( "out_buffer_count:" #COUNTER ";" )
+#define VR_OUT_STRING_COUNT(COUNTER) VR_CLANG_ATTR( "out_string_count:" #COUNTER ";" )
+
+// vrtrackedcameratypes.h
+#ifndef _VRTRACKEDCAMERATYPES_H
+#define _VRTRACKEDCAMERATYPES_H 
+
+namespace vr
+{
+
+#pragma pack( push, 8 )
+
+enum ECameraVideoStreamFormat
+{
+	CVS_FORMAT_UNKNOWN = 0,
+	CVS_FORMAT_RAW10 = 1,		// 10 bits per pixel
+	CVS_FORMAT_NV12 = 2,		// 12 bits per pixel
+	CVS_FORMAT_RGB24 = 3,		// 24 bits per pixel
+	CVS_FORMAT_NV12_2 = 4,		// 12 bits per pixel, 2x height
+	CVS_MAX_FORMATS
+};
+
+enum ECameraCompatibilityMode
+{
+	CAMERA_COMPAT_MODE_BULK_DEFAULT = 0,
+	CAMERA_COMPAT_MODE_BULK_64K_DMA,
+	CAMERA_COMPAT_MODE_BULK_16K_DMA,
+	CAMERA_COMPAT_MODE_BULK_8K_DMA,
+	CAMERA_COMPAT_MODE_ISO_52FPS,
+	CAMERA_COMPAT_MODE_ISO_50FPS,
+	CAMERA_COMPAT_MODE_ISO_48FPS,
+	CAMERA_COMPAT_MODE_ISO_46FPS,
+	CAMERA_COMPAT_MODE_ISO_44FPS,
+	CAMERA_COMPAT_MODE_ISO_42FPS,
+	CAMERA_COMPAT_MODE_ISO_40FPS,
+	CAMERA_COMPAT_MODE_ISO_35FPS,
+	CAMERA_COMPAT_MODE_ISO_30FPS,
+	MAX_CAMERA_COMPAT_MODES
+};
+
+#ifdef _MSC_VER
+#define VR_CAMERA_DECL_ALIGN( x ) __declspec( align( x ) )
+#else
+#define VR_CAMERA_DECL_ALIGN( x ) //
+#endif
+
+#define MAX_CAMERA_FRAME_SHARED_HANDLES	4
+
+VR_CAMERA_DECL_ALIGN( 8 ) struct CameraVideoStreamFrame_t
+{
+	ECameraVideoStreamFormat m_nStreamFormat;
+
+	uint32_t m_nWidth;
+	uint32_t m_nHeight;
+
+	uint32_t m_nImageDataSize;						// Based on stream format, width, height
+
+	uint32_t m_nFrameSequence;						// Starts from 0 when stream starts.
+
+	uint32_t m_nBufferIndex;						// Identifies which buffer the image data is hosted
+	uint32_t m_nBufferCount;						// Total number of configured buffers
+
+	uint32_t m_nExposureTime;
+
+	uint32_t m_nISPFrameTimeStamp;					// Driver provided time stamp per driver centric time base
+	uint32_t m_nISPReferenceTimeStamp;
+	uint32_t m_nSyncCounter;
+
+	uint32_t m_nCamSyncEvents;
+	uint32_t m_nISPSyncEvents;
+
+	double m_flReferenceCamSyncTime;
+
+	double m_flFrameElapsedTime;					// Starts from 0 when stream starts. In seconds.
+	double m_flFrameDeliveryRate;
+
+	double m_flFrameCaptureTime_DriverAbsolute;		// In USB time, via AuxEvent
+	double m_flFrameCaptureTime_ServerRelative;		// In System time within the server
+	uint64_t m_nFrameCaptureTicks_ServerAbsolute;	// In system ticks within the server
+	double m_flFrameCaptureTime_ClientRelative;		// At the client, relative to when the frame was exposed/captured.
+
+	double m_flSyncMarkerError;
+
+	TrackedDevicePose_t m_StandingTrackedDevicePose;	// Supplied by HMD layer when used as a tracked camera
+
+	uint64_t m_pImageData;
+};
+
+#pragma pack( pop )
+
+}
+
+#endif // _VRTRACKEDCAMERATYPES_H
+// ivrsettings.h
+namespace vr
+{
+	enum EVRSettingsError
+	{
+		VRSettingsError_None = 0,
+		VRSettingsError_IPCFailed = 1,
+		VRSettingsError_WriteFailed = 2,
+		VRSettingsError_ReadFailed = 3,
+		VRSettingsError_JsonParseFailed = 4,
+		VRSettingsError_UnsetSettingHasNoDefault = 5, // This will be returned if the setting does not appear in the appropriate default file and has not been set
+	};
+
+	// The maximum length of a settings key
+	static const uint32_t k_unMaxSettingsKeyLength = 128;
+
+	class IVRSettings
+	{
+	public:
+		virtual const char *GetSettingsErrorNameFromEnum( EVRSettingsError eError ) = 0;
+
+		// Returns true if file sync occurred (force or settings dirty)
+		virtual bool Sync( bool bForce = false, EVRSettingsError *peError = nullptr ) = 0;
+
+		virtual void SetBool( const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError = nullptr ) = 0;
+		virtual void SetInt32( const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError = nullptr ) = 0;
+		virtual void SetFloat( const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError = nullptr ) = 0;
+		virtual void SetString( const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError = nullptr ) = 0;
+
+		// Users of the system need to provide a proper default in default.vrsettings in the resources/settings/ directory
+		// of either the runtime or the driver_xxx directory. Otherwise the default will be false, 0, 0.0 or ""
+		virtual bool GetBool( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0;
+		virtual int32_t GetInt32( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0;
+		virtual float GetFloat( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0;
+		virtual void GetString( const char *pchSection, const char *pchSettingsKey, VR_OUT_STRING() char *pchValue, uint32_t unValueLen, EVRSettingsError *peError = nullptr ) = 0;
+
+		virtual void RemoveSection( const char *pchSection, EVRSettingsError *peError = nullptr ) = 0;
+		virtual void RemoveKeyInSection( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0;
+	};
+
+	//-----------------------------------------------------------------------------
+	static const char * const IVRSettings_Version = "IVRSettings_002";
+
+	//-----------------------------------------------------------------------------
+	// steamvr keys
+	static const char * const k_pch_SteamVR_Section = "steamvr";
+	static const char * const k_pch_SteamVR_RequireHmd_String = "requireHmd";
+	static const char * const k_pch_SteamVR_ForcedDriverKey_String = "forcedDriver";
+	static const char * const k_pch_SteamVR_ForcedHmdKey_String = "forcedHmd";
+	static const char * const k_pch_SteamVR_DisplayDebug_Bool = "displayDebug";
+	static const char * const k_pch_SteamVR_DebugProcessPipe_String = "debugProcessPipe";
+	static const char * const k_pch_SteamVR_DisplayDebugX_Int32 = "displayDebugX";
+	static const char * const k_pch_SteamVR_DisplayDebugY_Int32 = "displayDebugY";
+	static const char * const k_pch_SteamVR_SendSystemButtonToAllApps_Bool= "sendSystemButtonToAllApps";
+	static const char * const k_pch_SteamVR_LogLevel_Int32 = "loglevel";
+	static const char * const k_pch_SteamVR_IPD_Float = "ipd";
+	static const char * const k_pch_SteamVR_Background_String = "background";
+	static const char * const k_pch_SteamVR_BackgroundUseDomeProjection_Bool = "backgroundUseDomeProjection";
+	static const char * const k_pch_SteamVR_BackgroundCameraHeight_Float = "backgroundCameraHeight";
+	static const char * const k_pch_SteamVR_BackgroundDomeRadius_Float = "backgroundDomeRadius";
+	static const char * const k_pch_SteamVR_GridColor_String = "gridColor";
+	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_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_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
+	static const char * const k_pch_SteamVR_DefaultMirrorView_Int32 = "defaultMirrorView";
+	static const char * const k_pch_SteamVR_ShowMirrorView_Bool = "showMirrorView";
+	static const char * const k_pch_SteamVR_MirrorViewGeometry_String = "mirrorViewGeometry";
+	static const char * const k_pch_SteamVR_StartMonitorFromAppLaunch = "startMonitorFromAppLaunch";
+	static const char * const k_pch_SteamVR_StartCompositorFromAppLaunch_Bool = "startCompositorFromAppLaunch";
+	static const char * const k_pch_SteamVR_StartDashboardFromAppLaunch_Bool = "startDashboardFromAppLaunch";
+	static const char * const k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool = "startOverlayAppsFromDashboard";
+	static const char * const k_pch_SteamVR_EnableHomeApp = "enableHomeApp";
+	static const char * const k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32 = "CycleBackgroundImageTimeSec";
+	static const char * const k_pch_SteamVR_RetailDemo_Bool = "retailDemo";
+	static const char * const k_pch_SteamVR_IpdOffset_Float = "ipdOffset";
+	static const char * const k_pch_SteamVR_AllowSupersampleFiltering_Bool = "allowSupersampleFiltering";
+	static const char * const k_pch_SteamVR_EnableLinuxVulkanAsync_Bool = "enableLinuxVulkanAsync";
+	static const char * const k_pch_SteamVR_AllowDisplayLockedMode_Bool = "allowDisplayLockedMode";
+	static const char * const k_pch_SteamVR_HaveStartedTutorialForNativeChaperoneDriver_Bool = "haveStartedTutorialForNativeChaperoneDriver";
+	static const char * const k_pch_SteamVR_ForceWindows32bitVRMonitor = "forceWindows32BitVRMonitor";
+
+	//-----------------------------------------------------------------------------
+	// lighthouse keys
+	static const char * const k_pch_Lighthouse_Section = "driver_lighthouse";
+	static const char * const k_pch_Lighthouse_DisableIMU_Bool = "disableimu";
+	static const char * const k_pch_Lighthouse_DisableIMUExceptHMD_Bool = "disableimuexcepthmd";
+	static const char * const k_pch_Lighthouse_UseDisambiguation_String = "usedisambiguation";
+	static const char * const k_pch_Lighthouse_DisambiguationDebug_Int32 = "disambiguationdebug";
+	static const char * const k_pch_Lighthouse_PrimaryBasestation_Int32 = "primarybasestation";
+	static const char * const k_pch_Lighthouse_DBHistory_Bool = "dbhistory";
+	static const char * const k_pch_Lighthouse_EnableBluetooth_Bool = "enableBluetooth";
+
+	//-----------------------------------------------------------------------------
+	// null keys
+	static const char * const k_pch_Null_Section = "driver_null";
+	static const char * const k_pch_Null_SerialNumber_String = "serialNumber";
+	static const char * const k_pch_Null_ModelNumber_String = "modelNumber";
+	static const char * const k_pch_Null_WindowX_Int32 = "windowX";
+	static const char * const k_pch_Null_WindowY_Int32 = "windowY";
+	static const char * const k_pch_Null_WindowWidth_Int32 = "windowWidth";
+	static const char * const k_pch_Null_WindowHeight_Int32 = "windowHeight";
+	static const char * const k_pch_Null_RenderWidth_Int32 = "renderWidth";
+	static const char * const k_pch_Null_RenderHeight_Int32 = "renderHeight";
+	static const char * const k_pch_Null_SecondsFromVsyncToPhotons_Float = "secondsFromVsyncToPhotons";
+	static const char * const k_pch_Null_DisplayFrequency_Float = "displayFrequency";
+
+	//-----------------------------------------------------------------------------
+	// user interface keys
+	static const char * const k_pch_UserInterface_Section = "userinterface";
+	static const char * const k_pch_UserInterface_StatusAlwaysOnTop_Bool = "StatusAlwaysOnTop";
+	static const char * const k_pch_UserInterface_MinimizeToTray_Bool = "MinimizeToTray";
+	static const char * const k_pch_UserInterface_Screenshots_Bool = "screenshots";
+	static const char * const k_pch_UserInterface_ScreenshotType_Int = "screenshotType";
+
+	//-----------------------------------------------------------------------------
+	// notification keys
+	static const char * const k_pch_Notifications_Section = "notifications";
+	static const char * const k_pch_Notifications_DoNotDisturb_Bool = "DoNotDisturb";
+
+	//-----------------------------------------------------------------------------
+	// keyboard keys
+	static const char * const k_pch_Keyboard_Section = "keyboard";
+	static const char * const k_pch_Keyboard_TutorialCompletions = "TutorialCompletions";
+	static const char * const k_pch_Keyboard_ScaleX = "ScaleX";
+	static const char * const k_pch_Keyboard_ScaleY = "ScaleY";
+	static const char * const k_pch_Keyboard_OffsetLeftX = "OffsetLeftX";
+	static const char * const k_pch_Keyboard_OffsetRightX = "OffsetRightX";
+	static const char * const k_pch_Keyboard_OffsetY = "OffsetY";
+	static const char * const k_pch_Keyboard_Smoothing = "Smoothing";
+
+	//-----------------------------------------------------------------------------
+	// perf keys
+	static const char * const k_pch_Perf_Section = "perfcheck";
+	static const char * const k_pch_Perf_HeuristicActive_Bool = "heuristicActive";
+	static const char * const k_pch_Perf_NotifyInHMD_Bool = "warnInHMD";
+	static const char * const k_pch_Perf_NotifyOnlyOnce_Bool = "warnOnlyOnce";
+	static const char * const k_pch_Perf_AllowTimingStore_Bool = "allowTimingStore";
+	static const char * const k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit";
+	static const char * const k_pch_Perf_TestData_Float = "perfTestData";
+	static const char * const k_pch_Perf_LinuxGPUProfiling_Bool = "linuxGPUProfiling";
+
+	//-----------------------------------------------------------------------------
+	// collision bounds keys
+	static const char * const k_pch_CollisionBounds_Section = "collisionBounds";
+	static const char * const k_pch_CollisionBounds_Style_Int32 = "CollisionBoundsStyle";
+	static const char * const k_pch_CollisionBounds_GroundPerimeterOn_Bool = "CollisionBoundsGroundPerimeterOn";
+	static const char * const k_pch_CollisionBounds_CenterMarkerOn_Bool = "CollisionBoundsCenterMarkerOn";
+	static const char * const k_pch_CollisionBounds_PlaySpaceOn_Bool = "CollisionBoundsPlaySpaceOn";
+	static const char * const k_pch_CollisionBounds_FadeDistance_Float = "CollisionBoundsFadeDistance";
+	static const char * const k_pch_CollisionBounds_ColorGammaR_Int32 = "CollisionBoundsColorGammaR";
+	static const char * const k_pch_CollisionBounds_ColorGammaG_Int32 = "CollisionBoundsColorGammaG";
+	static const char * const k_pch_CollisionBounds_ColorGammaB_Int32 = "CollisionBoundsColorGammaB";
+	static const char * const k_pch_CollisionBounds_ColorGammaA_Int32 = "CollisionBoundsColorGammaA";
+
+	//-----------------------------------------------------------------------------
+	// camera keys
+	static const char * const k_pch_Camera_Section = "camera";
+	static const char * const k_pch_Camera_EnableCamera_Bool = "enableCamera";
+	static const char * const k_pch_Camera_EnableCameraInDashboard_Bool = "enableCameraInDashboard";
+	static const char * const k_pch_Camera_EnableCameraForCollisionBounds_Bool = "enableCameraForCollisionBounds";
+	static const char * const k_pch_Camera_EnableCameraForRoomView_Bool = "enableCameraForRoomView";
+	static const char * const k_pch_Camera_BoundsColorGammaR_Int32 = "cameraBoundsColorGammaR";
+	static const char * const k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGammaG";
+	static const char * const k_pch_Camera_BoundsColorGammaB_Int32 = "cameraBoundsColorGammaB";
+	static const char * const k_pch_Camera_BoundsColorGammaA_Int32 = "cameraBoundsColorGammaA";
+	static const char * const k_pch_Camera_BoundsStrength_Int32 = "cameraBoundsStrength";
+
+	//-----------------------------------------------------------------------------
+	// audio keys
+	static const char * const k_pch_audio_Section = "audio";
+	static const char * const k_pch_audio_OnPlaybackDevice_String = "onPlaybackDevice";
+	static const char * const k_pch_audio_OnRecordDevice_String = "onRecordDevice";
+	static const char * const k_pch_audio_OnPlaybackMirrorDevice_String = "onPlaybackMirrorDevice";
+	static const char * const k_pch_audio_OffPlaybackDevice_String = "offPlaybackDevice";
+	static const char * const k_pch_audio_OffRecordDevice_String = "offRecordDevice";
+	static const char * const k_pch_audio_VIVEHDMIGain = "viveHDMIGain";
+
+	//-----------------------------------------------------------------------------
+	// power management keys
+	static const char * const k_pch_Power_Section = "power";
+	static const char * const k_pch_Power_PowerOffOnExit_Bool = "powerOffOnExit";
+	static const char * const k_pch_Power_TurnOffScreensTimeout_Float = "turnOffScreensTimeout";
+	static const char * const k_pch_Power_TurnOffControllersTimeout_Float = "turnOffControllersTimeout";
+	static const char * const k_pch_Power_ReturnToWatchdogTimeout_Float = "returnToWatchdogTimeout";
+	static const char * const k_pch_Power_AutoLaunchSteamVROnButtonPress = "autoLaunchSteamVROnButtonPress";
+	static const char * const k_pch_Power_PauseCompositorOnStandby_Bool = "pauseCompositorOnStandby";
+
+	//-----------------------------------------------------------------------------
+	// dashboard keys
+	static const char * const k_pch_Dashboard_Section = "dashboard";
+	static const char * const k_pch_Dashboard_EnableDashboard_Bool = "enableDashboard";
+	static const char * const k_pch_Dashboard_ArcadeMode_Bool = "arcadeMode";
+
+	//-----------------------------------------------------------------------------
+	// model skin keys
+	static const char * const k_pch_modelskin_Section = "modelskins";
+
+	//-----------------------------------------------------------------------------
+	// driver keys - These could be checked in any driver_<name> section
+	static const char * const k_pch_Driver_Enable_Bool = "enable";
+
+} // namespace vr
+
+// iservertrackeddevicedriver.h
+namespace vr
+{
+
+
+struct DriverPoseQuaternion_t
+{
+	double w, x, y, z;
+};
+
+struct DriverPose_t
+{
+	/* Time offset of this pose, in seconds from the actual time of the pose,
+	 * relative to the time of the PoseUpdated() call made by the driver.
+	 */
+	double poseTimeOffset;
+
+	/* Generally, the pose maintained by a driver
+	 * is in an inertial coordinate system different
+	 * from the world system of x+ right, y+ up, z+ back.
+	 * Also, the driver is not usually tracking the "head" position,
+	 * but instead an internal IMU or another reference point in the HMD.
+	 * The following two transforms transform positions and orientations
+	 * to app world space from driver world space,
+	 * and to HMD head space from driver local body space. 
+	 *
+	 * We maintain the driver pose state in its internal coordinate system,
+	 * so we can do the pose prediction math without having to
+	 * use angular acceleration.  A driver's angular acceleration is generally not measured,
+	 * and is instead calculated from successive samples of angular velocity.
+	 * This leads to a noisy angular acceleration values, which are also
+	 * lagged due to the filtering required to reduce noise to an acceptable level.
+	 */
+	vr::HmdQuaternion_t qWorldFromDriverRotation;
+	double vecWorldFromDriverTranslation[ 3 ];
+
+	vr::HmdQuaternion_t qDriverFromHeadRotation;
+	double vecDriverFromHeadTranslation[ 3 ];
+
+	/* State of driver pose, in meters and radians. */
+	/* Position of the driver tracking reference in driver world space
+	* +[0] (x) is right
+	* +[1] (y) is up
+	* -[2] (z) is forward
+	*/
+	double vecPosition[ 3 ];
+
+	/* Velocity of the pose in meters/second */
+	double vecVelocity[ 3 ];
+
+	/* Acceleration of the pose in meters/second */
+	double vecAcceleration[ 3 ];
+
+	/* Orientation of the tracker, represented as a quaternion */
+	vr::HmdQuaternion_t qRotation;
+
+	/* Angular velocity of the pose in axis-angle 
+	* representation. The direction is the angle of
+	* rotation and the magnitude is the angle around
+	* that axis in radians/second. */
+	double vecAngularVelocity[ 3 ];
+
+	/* Angular acceleration of the pose in axis-angle 
+	* representation. The direction is the angle of
+	* rotation and the magnitude is the angle around
+	* that axis in radians/second^2. */
+	double vecAngularAcceleration[ 3 ];
+
+	ETrackingResult result;
+
+	bool poseIsValid;
+	bool willDriftInYaw;
+	bool shouldApplyHeadModel;
+	bool deviceIsConnected;
+};
+
+
+// ----------------------------------------------------------------------------------------------
+// Purpose: Represents a single tracked device in a driver
+// ----------------------------------------------------------------------------------------------
+class ITrackedDeviceServerDriver
+{
+public:
+
+	// ------------------------------------
+	// Management Methods
+	// ------------------------------------
+	/** This is called before an HMD is returned to the application. It will always be
+	* called before any display or tracking methods. Memory and processor use by the
+	* ITrackedDeviceServerDriver object should be kept to a minimum until it is activated.
+	* The pose listener is guaranteed to be valid until Deactivate is called, but
+	* should not be used after that point. */
+	virtual EVRInitError Activate( uint32_t unObjectId ) = 0;
+
+	/** This is called when The VR system is switching from this Hmd being the active display
+	* to another Hmd being the active display. The driver should clean whatever memory
+	* and thread use it can when it is deactivated */
+	virtual void Deactivate() = 0;
+
+	/** Handles a request from the system to put this device into standby mode. What that means is defined per-device. */
+	virtual void EnterStandby() = 0;
+
+	/** Requests a component interface of the driver for device-specific functionality. The driver should return NULL
+	* if the requested interface or version is not supported. */
+	virtual void *GetComponent( const char *pchComponentNameAndVersion ) = 0;
+
+	/** A VR Client has made this debug request of the driver. The set of valid requests is entirely
+	* up to the driver and the client to figure out, as is the format of the response. Responses that
+	* exceed the length of the supplied buffer should be truncated and null terminated */
+	virtual void DebugRequest( const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize ) = 0;
+
+	// ------------------------------------
+	// Tracking Methods
+	// ------------------------------------
+	virtual DriverPose_t GetPose() = 0;
+};
+
+
+
+static const char *ITrackedDeviceServerDriver_Version = "ITrackedDeviceServerDriver_005";
+
+}
+// ivrdisplaycomponent.h
+namespace vr
+{
+
+
+	// ----------------------------------------------------------------------------------------------
+	// Purpose: The display component on a single tracked device
+	// ----------------------------------------------------------------------------------------------
+	class IVRDisplayComponent
+	{
+	public:
+
+		// ------------------------------------
+		// Display Methods
+		// ------------------------------------
+
+		/** Size and position that the window needs to be on the VR display. */
+		virtual void GetWindowBounds( int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight ) = 0;
+
+		/** Returns true if the display is extending the desktop. */
+		virtual bool IsDisplayOnDesktop( ) = 0;
+
+		/** Returns true if the display is real and not a fictional display. */
+		virtual bool IsDisplayRealDisplay( ) = 0;
+
+		/** Suggested size for the intermediate render target that the distortion pulls from. */
+		virtual void GetRecommendedRenderTargetSize( uint32_t *pnWidth, uint32_t *pnHeight ) = 0;
+
+		/** Gets the viewport in the frame buffer to draw the output of the distortion into */
+		virtual void GetEyeOutputViewport( EVREye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight ) = 0;
+
+		/** The components necessary to build your own projection matrix in case your
+		* application is doing something fancy like infinite Z */
+		virtual void GetProjectionRaw( EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom ) = 0;
+
+		/** Returns the result of the distortion function for the specified eye and input UVs. UVs go from 0,0 in
+		* the upper left of that eye's viewport and 1,1 in the lower right of that eye's viewport. */
+		virtual DistortionCoordinates_t ComputeDistortion( EVREye eEye, float fU, float fV ) = 0;
+
+	};
+
+	static const char *IVRDisplayComponent_Version = "IVRDisplayComponent_002";
+
+}
+
+// ivrdriverdirectmodecomponent.h
+namespace vr
+{
+
+
+	// ----------------------------------------------------------------------------------------------
+	// Purpose: This component is used for drivers that implement direct mode entirely on their own
+	//			without allowing the VR Compositor to own the window/device. Chances are you don't
+	//			need to implement this component in your driver.
+	// ----------------------------------------------------------------------------------------------
+	class IVRDriverDirectModeComponent
+	{
+	public:
+
+		// -----------------------------------
+		// Direct mode methods
+		// -----------------------------------
+
+		/** Specific to Oculus compositor support, textures supplied must be created using this method. */
+		virtual void CreateSwapTextureSet( uint32_t unPid, uint32_t unFormat, uint32_t unWidth, uint32_t unHeight, vr::SharedTextureHandle_t( *pSharedTextureHandles )[ 3 ] ) {}
+
+		/** Used to textures created using CreateSwapTextureSet.  Only one of the set's handles needs to be used to destroy the entire set. */
+		virtual void DestroySwapTextureSet( vr::SharedTextureHandle_t sharedTextureHandle ) {}
+
+		/** Used to purge all texture sets for a given process. */
+		virtual void DestroyAllSwapTextureSets( uint32_t unPid ) {}
+
+		/** After Present returns, calls this to get the next index to use for rendering. */
+		virtual void GetNextSwapTextureSetIndex( vr::SharedTextureHandle_t sharedTextureHandles[ 2 ], uint32_t( *pIndices )[ 2 ] ) {}
+
+		/** Call once per layer to draw for this frame.  One shared texture handle per eye.  Textures must be created
+		* using CreateSwapTextureSet and should be alternated per frame.  Call Present once all layers have been submitted. */
+		virtual void SubmitLayer( vr::SharedTextureHandle_t sharedTextureHandles[ 2 ], const vr::VRTextureBounds_t( &bounds )[ 2 ], const vr::HmdMatrix34_t *pPose ) {}
+
+		/** Submits queued layers for display. */
+		virtual void Present( vr::SharedTextureHandle_t syncTexture ) {}
+
+		/** Called after Present to allow driver to take more time until vsync after they've successfully acquired the sync texture in Present.*/
+		virtual void PostPresent() {}
+
+		/** Called to get additional frame timing stats from driver.  Check m_nSize for versioning (new members will be added to end only). */
+		virtual void GetFrameTiming( DriverDirectMode_FrameTiming *pFrameTiming ) {}
+	};
+
+	static const char *IVRDriverDirectModeComponent_Version = "IVRDriverDirectModeComponent_004";
+
+}
+
+// ivrcameracomponent.h
+namespace vr
+{
+	//-----------------------------------------------------------------------------
+	//-----------------------------------------------------------------------------
+	class ICameraVideoSinkCallback
+	{
+	public:
+		virtual void OnCameraVideoSinkCallback() = 0;
+	};
+
+	// ----------------------------------------------------------------------------------------------
+	// Purpose: The camera on a single tracked device
+	// ----------------------------------------------------------------------------------------------
+	class IVRCameraComponent
+	{
+	public:
+		// ------------------------------------
+		// Camera Methods
+		// ------------------------------------
+		virtual bool GetCameraFrameDimensions( vr::ECameraVideoStreamFormat nVideoStreamFormat, uint32_t *pWidth, uint32_t *pHeight ) = 0;
+		virtual bool GetCameraFrameBufferingRequirements( int *pDefaultFrameQueueSize, uint32_t *pFrameBufferDataSize ) = 0;
+		virtual bool SetCameraFrameBuffering( int nFrameBufferCount, void **ppFrameBuffers, uint32_t nFrameBufferDataSize ) = 0;
+		virtual bool SetCameraVideoStreamFormat( vr::ECameraVideoStreamFormat nVideoStreamFormat ) = 0;
+		virtual vr::ECameraVideoStreamFormat GetCameraVideoStreamFormat() = 0;
+		virtual bool StartVideoStream() = 0;
+		virtual void StopVideoStream() = 0;
+		virtual bool IsVideoStreamActive( bool *pbPaused, float *pflElapsedTime ) = 0;
+		virtual const vr::CameraVideoStreamFrame_t *GetVideoStreamFrame() = 0;
+		virtual void ReleaseVideoStreamFrame( const vr::CameraVideoStreamFrame_t *pFrameImage ) = 0;
+		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 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;
+	};
+
+	static const char *IVRCameraComponent_Version = "IVRCameraComponent_002";
+}
+// itrackeddevicedriverprovider.h
+namespace vr
+{
+
+class ITrackedDeviceServerDriver;
+struct TrackedDeviceDriverInfo_t;
+struct DriverPose_t;
+typedef PropertyContainerHandle_t DriverHandle_t;
+
+/** This interface is provided by vrserver to allow the driver to notify 
+* the system when something changes about a device. These changes must
+* not change the serial number or class of the device because those values
+* are permanently associated with the device's index. */
+class IVRDriverContext
+{
+public:
+	/** Returns the requested interface. If the interface was not available it will return NULL and fill
+	* out the error. */
+	virtual void *GetGenericInterface( const char *pchInterfaceVersion, EVRInitError *peError = nullptr ) = 0;
+
+	/** Returns the property container handle for this driver */
+	virtual DriverHandle_t GetDriverHandle() = 0;
+};
+
+
+/** This interface must be implemented in each driver. It will be loaded in vrserver.exe */
+class IServerTrackedDeviceProvider
+{
+public:
+	/** initializes the driver. This will be called before any other methods are called.
+	* If Init returns anything other than VRInitError_None the driver DLL will be unloaded.
+	*
+	* pDriverHost will never be NULL, and will always be a pointer to a IServerDriverHost interface
+	*
+	* pchUserDriverConfigDir - The absolute path of the directory where the driver should store user
+	*	config files.
+	* pchDriverInstallDir - The absolute path of the root directory for the driver.
+	*/
+	virtual EVRInitError Init( IVRDriverContext *pDriverContext ) = 0;
+
+	/** cleans up the driver right before it is unloaded */
+	virtual void Cleanup() = 0;
+
+	/** Returns the version of the ITrackedDeviceServerDriver interface used by this driver */
+	virtual const char * const *GetInterfaceVersions() = 0;
+
+	/** Allows the driver do to some work in the main loop of the server. */
+	virtual void RunFrame() = 0;
+
+
+	// ------------  Power State Functions ----------------------- //
+
+	/** Returns true if the driver wants to block Standby mode. */
+	virtual bool ShouldBlockStandbyMode() = 0;
+
+	/** Called when the system is entering Standby mode. The driver should switch itself into whatever sort of low-power
+	* state it has. */
+	virtual void EnterStandby() = 0;
+
+	/** Called when the system is leaving Standby mode. The driver should switch itself back to
+	full operation. */
+	virtual void LeaveStandby() = 0;
+
+};
+
+
+static const char *IServerTrackedDeviceProvider_Version = "IServerTrackedDeviceProvider_004";
+
+
+
+
+/** This interface must be implemented in each driver. It will be loaded in vrclient.dll */
+class IVRWatchdogProvider
+{
+public:
+	/** initializes the driver in watchdog mode. */
+	virtual EVRInitError Init( IVRDriverContext *pDriverContext ) = 0;
+
+	/** cleans up the driver right before it is unloaded */
+	virtual void Cleanup() = 0;
+};
+
+static const char *IVRWatchdogProvider_Version = "IVRWatchdogProvider_001";
+
+}
+// ivrproperties.h
+#include <string>
+#include <vector>
+
+namespace vr
+{
+
+	enum EPropertyWriteType
+	{
+		PropertyWrite_Set = 0,
+		PropertyWrite_Erase = 1,
+		PropertyWrite_SetError = 2
+	};
+
+	struct PropertyWrite_t
+	{
+		ETrackedDeviceProperty prop;
+		EPropertyWriteType writeType;
+		ETrackedPropertyError eSetError;
+		void *pvBuffer;
+		uint32_t unBufferSize;
+		PropertyTypeTag_t unTag;
+		ETrackedPropertyError eError;
+	};
+
+	struct PropertyRead_t
+	{
+		ETrackedDeviceProperty prop;
+		void *pvBuffer;
+		uint32_t unBufferSize;
+		PropertyTypeTag_t unTag;
+		uint32_t unRequiredBufferSize;
+		ETrackedPropertyError eError;
+	};
+
+
+class IVRProperties
+{
+public:
+
+	/** Reads a set of properties atomically. See the PropertyReadBatch_t struct for more information. */
+	virtual ETrackedPropertyError ReadPropertyBatch( PropertyContainerHandle_t ulContainerHandle, PropertyRead_t *pBatch, uint32_t unBatchEntryCount ) = 0;
+
+	/** Writes a set of properties atomically. See the PropertyWriteBatch_t struct for more information. */
+	virtual ETrackedPropertyError WritePropertyBatch( PropertyContainerHandle_t ulContainerHandle, PropertyWrite_t *pBatch, uint32_t unBatchEntryCount ) = 0;
+
+	/** returns a string that corresponds with the specified property error. The string will be the name
+	* of the error enum value for all valid error codes */
+	virtual const char *GetPropErrorNameFromEnum( ETrackedPropertyError error ) = 0;
+
+	/** Returns a container handle given a tracked device index */
+	virtual PropertyContainerHandle_t TrackedDeviceToPropertyContainer( TrackedDeviceIndex_t nDevice ) = 0;
+
+};
+
+static const char * const IVRProperties_Version = "IVRProperties_001";
+
+class CVRPropertyHelpers
+{
+public:
+	CVRPropertyHelpers( IVRProperties * pProperties ) : m_pProperties( pProperties ) {}
+
+	/** Returns a scaler property. If the device index is not valid or the property value type does not match,
+	* this function will return false. */
+	bool GetBoolProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L );
+	float GetFloatProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L );
+	int32_t GetInt32Property( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L );
+	uint64_t GetUint64Property( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L );
+
+	/** Returns a single typed property. If the device index is not valid or the property is not a string type this function will
+	* return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing
+	* null. Strings will always fit in buffers of k_unMaxPropertyStringSize characters. */
+	uint32_t GetProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, VR_OUT_STRING() void *pvBuffer, uint32_t unBufferSize, PropertyTypeTag_t *punTag, ETrackedPropertyError *pError = 0L );
+
+
+	/** Returns a string property. If the device index is not valid or the property is not a string type this function will
+	* return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing
+	* null. Strings will always fit in buffers of k_unMaxPropertyStringSize characters. */
+	uint32_t GetStringProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError = 0L );
+
+	/** Returns a string property as a std::string. If the device index is not valid or the property is not a string type this function will
+	* return an empty string. */
+	std::string GetStringProperty( vr::PropertyContainerHandle_t ulContainer, vr::ETrackedDeviceProperty prop, vr::ETrackedPropertyError *peError = nullptr );
+
+	/** Reads a std::vector of data from a property. */
+	template< typename T>
+	ETrackedPropertyError GetPropertyVector( PropertyContainerHandle_t ulContainer, ETrackedDeviceProperty prop, PropertyTypeTag_t unExpectedTag, std::vector<T> *pvecResults );
+
+	/** Sets a scaler property. The new value will be returned on any subsequent call to get this property in any process. */
+	ETrackedPropertyError SetBoolProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, bool bNewValue );
+	ETrackedPropertyError SetFloatProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, float fNewValue );
+	ETrackedPropertyError SetInt32Property( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, int32_t nNewValue );
+	ETrackedPropertyError SetUint64Property( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, uint64_t ulNewValue );
+
+	/** Sets a string property. The new value will be returned on any subsequent call to get this property in any process. */
+	ETrackedPropertyError SetStringProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, const char *pchNewValue );
+
+	/** Sets a single typed property. The new value will be returned on any subsequent call to get this property in any process. */
+	ETrackedPropertyError SetProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, void *pvNewValue, uint32_t unNewValueSize, PropertyTypeTag_t unTag );
+
+	/** Sets the error return value for a property. This value will be returned on all subsequent requests to get the property */
+	ETrackedPropertyError SetPropertyError( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError eError );
+
+	/** Clears any value or error set for the property. */
+	ETrackedPropertyError EraseProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop );
+
+	/* Turns a device index into a property container handle. */
+	PropertyContainerHandle_t TrackedDeviceToPropertyContainer( TrackedDeviceIndex_t nDevice ) { return m_pProperties->TrackedDeviceToPropertyContainer( nDevice );  }
+
+	/** Sets a std::vector of typed data to a property. */
+	template< typename T>
+	ETrackedPropertyError SetPropertyVector( PropertyContainerHandle_t ulContainer, ETrackedDeviceProperty prop, PropertyTypeTag_t unExpectedTag, std::vector<T> *vecProperties );
+
+private:
+	template<typename T>
+	T GetPropertyHelper( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError *pError, T bDefault, PropertyTypeTag_t unTypeTag );
+
+	IVRProperties *m_pProperties;
+};
+
+
+inline uint32_t CVRPropertyHelpers::GetProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, VR_OUT_STRING() void *pvBuffer, uint32_t unBufferSize, PropertyTypeTag_t *punTag, ETrackedPropertyError *pError )
+{
+	PropertyRead_t batch;
+	batch.prop = prop;
+	batch.pvBuffer = pvBuffer;
+	batch.unBufferSize = unBufferSize;
+
+	m_pProperties->ReadPropertyBatch( ulContainerHandle, &batch, 1 );
+
+	if ( pError )
+	{
+		*pError = batch.eError;
+	}
+
+	if ( punTag )
+	{
+		*punTag = batch.unTag;
+	}
+
+	return batch.unRequiredBufferSize;
+}
+
+
+/** Sets a single typed property. The new value will be returned on any subsequent call to get this property in any process. */
+inline ETrackedPropertyError CVRPropertyHelpers::SetProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, void *pvNewValue, uint32_t unNewValueSize, PropertyTypeTag_t unTag )
+{
+	PropertyWrite_t batch;
+	batch.writeType = PropertyWrite_Set;
+	batch.prop = prop;
+	batch.pvBuffer = pvNewValue;
+	batch.unBufferSize = unNewValueSize;
+	batch.unTag = unTag;
+
+	m_pProperties->WritePropertyBatch( ulContainerHandle, &batch, 1 );
+
+	return batch.eError;
+}
+
+
+/** Returns a string property. If the device index is not valid or the property is not a string type this function will
+* return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing
+* null. Strings will always fit in buffers of k_unMaxPropertyStringSize characters. */
+inline uint32_t CVRPropertyHelpers::GetStringProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError )
+{
+	PropertyTypeTag_t unTag;
+	ETrackedPropertyError error;
+	uint32_t unRequiredSize = GetProperty( ulContainerHandle, prop, pchValue, unBufferSize, &unTag, &error );
+	if ( unTag != k_unStringPropertyTag && error == TrackedProp_Success )
+	{
+		error = TrackedProp_WrongDataType;
+	}
+
+	if ( pError )
+	{
+		*pError = error;
+	}
+
+	if ( error != TrackedProp_Success )
+	{
+		if ( pchValue && unBufferSize )
+		{
+			*pchValue = '\0';
+		}
+	}
+
+	return unRequiredSize;
+}
+
+
+/** Returns a string property as a std::string. If the device index is not valid or the property is not a string type this function will
+* return an empty string. */
+inline std::string CVRPropertyHelpers::GetStringProperty( vr::PropertyContainerHandle_t ulContainer, vr::ETrackedDeviceProperty prop, vr::ETrackedPropertyError *peError )
+{
+	char buf[1024];
+	vr::ETrackedPropertyError err;
+	uint32_t unRequiredBufferLen = GetStringProperty( ulContainer, prop, buf, sizeof(buf), &err );
+
+	std::string sResult;
+
+	if ( err == TrackedProp_Success )
+	{
+		sResult = buf;
+	}
+	else if ( err == TrackedProp_BufferTooSmall )
+	{
+		char *pchBuffer = new char[unRequiredBufferLen];
+		unRequiredBufferLen = GetStringProperty( ulContainer, prop, pchBuffer, unRequiredBufferLen, &err );
+		sResult = pchBuffer;
+		delete[] pchBuffer;
+	}
+
+	if ( peError )
+	{
+		*peError = err;
+	}
+
+	return sResult;
+}
+
+
+/** Sets a string property. The new value will be returned on any subsequent call to get this property in any process. */
+inline ETrackedPropertyError CVRPropertyHelpers::SetStringProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, const char *pchNewValue )
+{
+	if ( !pchNewValue )
+		return TrackedProp_InvalidOperation;
+
+	// this is strlen without the dependency on string.h
+	const char *pchCurr = pchNewValue;
+	while ( *pchCurr )
+	{
+		pchCurr++;
+	}
+
+	return SetProperty( ulContainerHandle, prop, (void *)pchNewValue, (uint32_t)(pchCurr - pchNewValue) + 1, k_unStringPropertyTag );
+}
+
+
+template<typename T>
+inline T CVRPropertyHelpers::GetPropertyHelper( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError *pError, T bDefault, PropertyTypeTag_t unTypeTag )
+{
+	T bValue;
+	ETrackedPropertyError eError;
+	PropertyTypeTag_t unReadTag;
+	GetProperty( ulContainerHandle, prop, &bValue, sizeof( bValue ), &unReadTag, &eError );
+	if ( unReadTag != unTypeTag && eError == TrackedProp_Success )
+	{
+		eError = TrackedProp_WrongDataType;
+	};
+
+	if ( pError )
+		*pError = eError;
+	if ( eError != TrackedProp_Success )
+	{
+		return bDefault;
+	}
+	else
+	{
+		return bValue;
+	}
+}
+
+
+inline bool CVRPropertyHelpers::GetBoolProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError *pError )
+{
+	return GetPropertyHelper<bool>( ulContainerHandle, prop, pError, false, k_unBoolPropertyTag );
+}
+
+
+inline float CVRPropertyHelpers::GetFloatProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError *pError )
+{
+	return GetPropertyHelper<float>( ulContainerHandle, prop, pError, 0.f, k_unFloatPropertyTag );
+}
+
+inline int32_t CVRPropertyHelpers::GetInt32Property( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError *pError )
+{
+	return GetPropertyHelper<int32_t>( ulContainerHandle, prop, pError, 0, k_unInt32PropertyTag );
+}
+
+inline uint64_t CVRPropertyHelpers::GetUint64Property( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError *pError )
+{
+	return GetPropertyHelper<uint64_t>( ulContainerHandle, prop, pError, 0, k_unUint64PropertyTag );
+}
+
+inline ETrackedPropertyError CVRPropertyHelpers::SetBoolProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, bool bNewValue )
+{
+	return SetProperty( ulContainerHandle, prop, &bNewValue, sizeof( bNewValue ), k_unBoolPropertyTag );
+}
+
+inline ETrackedPropertyError CVRPropertyHelpers::SetFloatProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, float fNewValue )
+{
+	return SetProperty( ulContainerHandle, prop, &fNewValue, sizeof( fNewValue ), k_unFloatPropertyTag );
+}
+
+inline ETrackedPropertyError CVRPropertyHelpers::SetInt32Property( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, int32_t nNewValue )
+{
+	return SetProperty( ulContainerHandle, prop, &nNewValue, sizeof( nNewValue ), k_unInt32PropertyTag );
+}
+
+inline ETrackedPropertyError CVRPropertyHelpers::SetUint64Property( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, uint64_t ulNewValue )
+{
+	return SetProperty( ulContainerHandle, prop, &ulNewValue, sizeof( ulNewValue ), k_unUint64PropertyTag );
+}
+
+/** Sets the error return value for a property. This value will be returned on all subsequent requests to get the property */
+inline ETrackedPropertyError CVRPropertyHelpers::SetPropertyError( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop, ETrackedPropertyError eError )
+{
+	PropertyWrite_t batch;
+	batch.writeType = PropertyWrite_SetError;
+	batch.prop = prop;
+	batch.eSetError = eError;
+
+	m_pProperties->WritePropertyBatch( ulContainerHandle, &batch, 1 );
+
+	return batch.eError;
+}
+
+/** Clears any value or error set for the property. */
+inline ETrackedPropertyError CVRPropertyHelpers::EraseProperty( PropertyContainerHandle_t ulContainerHandle, ETrackedDeviceProperty prop )
+{
+	PropertyWrite_t batch;
+	batch.writeType = PropertyWrite_Erase;
+	batch.prop = prop;
+
+	m_pProperties->WritePropertyBatch( ulContainerHandle, &batch, 1 );
+
+	return batch.eError;
+
+}
+
+template< typename T >
+ETrackedPropertyError CVRPropertyHelpers::SetPropertyVector(PropertyContainerHandle_t ulContainer, vr::ETrackedDeviceProperty prop, PropertyTypeTag_t unTag, std::vector<T> *pvecProperties)
+{
+	return SetProperty( ulContainer, prop, &(*pvecProperties)[0], (uint32_t)(pvecProperties->size() * sizeof( T )), unTag );
+}
+
+template< typename T >
+ETrackedPropertyError CVRPropertyHelpers::GetPropertyVector( PropertyContainerHandle_t ulContainer, ETrackedDeviceProperty prop, PropertyTypeTag_t unExpectedTag, std::vector<T> *pvecResults )
+{
+	ETrackedPropertyError err;
+	PropertyTypeTag_t unTag;
+	uint32_t unNeeded;
+	if ( pvecResults->empty() )
+		unNeeded = GetProperty( ulContainer, prop, nullptr, 0, &unTag, &err );
+	else
+		unNeeded = GetProperty( ulContainer, prop, &(*pvecResults)[0], (uint32_t)(pvecResults->size() * sizeof( T )), &unTag, &err );
+	uint32_t unFound = unNeeded / sizeof( T );
+	if ( err == TrackedProp_Success )
+	{
+		if ( unTag != unExpectedTag && unFound > 0 )
+		{
+			return TrackedProp_WrongDataType;
+		}
+
+		pvecResults->resize( unFound );
+		return TrackedProp_Success;
+	}
+	else if ( err == TrackedProp_BufferTooSmall )
+	{
+		pvecResults->resize( unFound );
+		unNeeded = GetProperty( ulContainer, prop, &(*pvecResults)[0], (uint32_t)(pvecResults->size() * sizeof( T )), &unTag, &err );
+		unFound = unNeeded / sizeof( T );
+
+		if ( err == TrackedProp_Success )
+		{
+			if ( unTag != unExpectedTag )
+			{
+				return TrackedProp_WrongDataType;
+			}
+
+			pvecResults->resize( unFound );
+			return TrackedProp_Success;
+		}
+	}
+	return err;
+}
+
+}
+
+
+// ivrdriverinput.h
+namespace vr
+{
+
+	typedef uint64_t VRInputComponentHandle_t;
+	static const VRInputComponentHandle_t k_ulInvalidInputComponentHandle = 0;
+
+	enum EVRScalarType
+	{
+		VRScalarType_Absolute = 0,
+		VRScalarType_Relative = 1,
+	};
+
+
+	enum EVRScalarUnits
+	{
+		VRScalarUnits_NormalizedOneSided = 0, // Value ranges from 0 to 1
+		VRScalarUnits_NormalizedTwoSided = 1, // Value ranges from -1 to 1
+	};
+
+	class IVRDriverInput
+	{
+	public:
+
+		/** Creates a boolean input component for the device */
+		virtual EVRInputError CreateBooleanComponent( PropertyContainerHandle_t ulContainer, const char *pchName, VRInputComponentHandle_t *pHandle ) = 0;
+
+		/** Updates a boolean component */
+		virtual EVRInputError UpdateBooleanComponent( VRInputComponentHandle_t ulComponent, bool bNewValue, double fTimeOffset ) = 0;
+
+		/** Creates a scalar input component for the device */
+		virtual EVRInputError CreateScalarComponent( PropertyContainerHandle_t ulContainer, const char *pchName, VRInputComponentHandle_t *pHandle, EVRScalarType eType, EVRScalarUnits eUnits ) = 0;
+
+		/** Updates a boolean component */
+		virtual EVRInputError UpdateScalarComponent( VRInputComponentHandle_t ulComponent, float fNewValue, double fTimeOffset ) = 0;
+
+		/** Creates a haptic component for the device */
+		virtual EVRInputError CreateHapticComponent( PropertyContainerHandle_t ulContainer, const char *pchName, VRInputComponentHandle_t *pHandle ) = 0;
+
+	};
+
+	static const char * const IVRDriverInput_Version = "IVRDriverInput_001";
+
+} // namespace vr
+
+// ivrdriverlog.h
+namespace vr
+{
+
+class IVRDriverLog
+{
+public:
+	/** Writes a log message to the log file prefixed with the driver name */
+	virtual void Log( const char *pchLogMessage ) = 0;
+};
+
+
+static const char *IVRDriverLog_Version = "IVRDriverLog_001";
+
+}
+// ivrserverdriverhost.h
+namespace vr
+{
+
+class ITrackedDeviceServerDriver;
+struct TrackedDeviceDriverInfo_t;
+struct DriverPose_t;
+
+/** This interface is provided by vrserver to allow the driver to notify 
+* the system when something changes about a device. These changes must
+* not change the serial number or class of the device because those values
+* are permanently associated with the device's index. */
+class IVRServerDriverHost
+{
+public:
+	/** Notifies the server that a tracked device has been added. If this function returns true
+	* the server will call Activate on the device. If it returns false some kind of error
+	* has occurred and the device will not be activated. */
+	virtual bool TrackedDeviceAdded( const char *pchDeviceSerialNumber, ETrackedDeviceClass eDeviceClass, ITrackedDeviceServerDriver *pDriver ) = 0;
+
+	/** Notifies the server that a tracked device's pose has been updated */
+	virtual void TrackedDevicePoseUpdated( uint32_t unWhichDevice, const DriverPose_t & newPose, uint32_t unPoseStructSize ) = 0;
+
+	/** Notifies the server that vsync has occurred on the the display attached to the device. This is
+	* only permitted on devices of the HMD class. */
+	virtual void VsyncEvent( double vsyncTimeOffsetSeconds ) = 0;
+
+	/** Sends a vendor specific event (VREvent_VendorSpecific_Reserved_Start..VREvent_VendorSpecific_Reserved_End */
+	virtual void VendorSpecificEvent( uint32_t unWhichDevice, vr::EVREventType eventType, const VREvent_Data_t & eventData, double eventTimeOffset ) = 0;
+
+	/** Returns true if SteamVR is exiting */
+	virtual bool IsExiting() = 0;
+
+	/** Returns true and fills the event with the next event on the queue if there is one. If there are no events
+	* this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct */
+	virtual bool PollNextEvent( VREvent_t *pEvent, uint32_t uncbVREvent ) = 0;
+
+	/** Provides access to device poses for drivers.  Poses are in their "raw" tracking space which is uniquely
+	* defined by each driver providing poses for its devices.  It is up to clients of this function to correlate
+	* poses across different drivers.  Poses are indexed by their device id, and their associated driver and
+	* other properties can be looked up via IVRProperties. */
+	virtual void GetRawTrackedDevicePoses( float fPredictedSecondsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount ) = 0;
+
+	/** Notifies the server that a tracked device's display component transforms have been updated. */
+	virtual void TrackedDeviceDisplayTransformUpdated( uint32_t unWhichDevice, HmdMatrix34_t eyeToHeadLeft, HmdMatrix34_t eyeToHeadRight ) = 0;
+};
+
+static const char *IVRServerDriverHost_Version = "IVRServerDriverHost_005";
+
+}
+
+// ivrhiddenarea.h
+namespace vr
+{
+
+class CVRHiddenAreaHelpers
+{
+public:
+	CVRHiddenAreaHelpers( IVRProperties *pProperties ) : m_pProperties( pProperties ) {}
+
+	/** Stores a hidden area mesh in a property */
+	ETrackedPropertyError SetHiddenArea( EVREye eEye, EHiddenAreaMeshType type, HmdVector2_t *pVerts, uint32_t unVertCount );
+
+	/** retrieves a hidden area mesh from a property. Returns the vert count read out of the property.  */
+	uint32_t GetHiddenArea( EVREye eEye, EHiddenAreaMeshType type, HmdVector2_t *pVerts, uint32_t unVertCount, ETrackedPropertyError *peError );
+
+private:
+	ETrackedDeviceProperty GetPropertyEnum( EVREye eEye, EHiddenAreaMeshType type )
+	{
+		return (ETrackedDeviceProperty)(Prop_DisplayHiddenArea_Binary_Start + ((int)type * 2) + (int)eEye);
+	}
+
+	IVRProperties *m_pProperties;
+};
+
+
+inline ETrackedPropertyError CVRHiddenAreaHelpers::SetHiddenArea( EVREye eEye, EHiddenAreaMeshType type, HmdVector2_t *pVerts, uint32_t unVertCount )
+{
+	ETrackedDeviceProperty prop = GetPropertyEnum( eEye, type );
+	CVRPropertyHelpers propHelpers( m_pProperties );
+	return propHelpers.SetProperty( propHelpers.TrackedDeviceToPropertyContainer( k_unTrackedDeviceIndex_Hmd ), prop, pVerts, sizeof( HmdVector2_t ) * unVertCount, k_unHiddenAreaPropertyTag );
+}
+
+
+inline uint32_t CVRHiddenAreaHelpers::GetHiddenArea( EVREye eEye, EHiddenAreaMeshType type, HmdVector2_t *pVerts, uint32_t unVertCount, ETrackedPropertyError *peError )
+{
+	ETrackedDeviceProperty prop = GetPropertyEnum( eEye, type );
+	CVRPropertyHelpers propHelpers( m_pProperties );
+	ETrackedPropertyError propError;
+	PropertyTypeTag_t unTag;
+	uint32_t unBytesNeeded = propHelpers.GetProperty( propHelpers.TrackedDeviceToPropertyContainer( k_unTrackedDeviceIndex_Hmd ), prop, pVerts, sizeof( HmdVector2_t )*unVertCount, &unTag, &propError );
+	if ( propError == TrackedProp_Success && unTag != k_unHiddenAreaPropertyTag )
+	{
+		propError = TrackedProp_WrongDataType;
+		unBytesNeeded = 0;
+	}
+
+	if ( peError )
+	{
+		*peError = propError;
+	}
+
+	return unBytesNeeded / sizeof( HmdVector2_t );
+}
+
+}
+// ivrwatchdoghost.h
+namespace vr
+{
+
+/** This interface is provided by vrclient to allow the driver to make everything wake up */
+class IVRWatchdogHost
+{
+public:
+	/** Client drivers in watchdog mode should call this when they have received a signal from hardware that should
+	* cause SteamVR to start */
+	virtual void WatchdogWakeUp() = 0;
+};
+
+static const char *IVRWatchdogHost_Version = "IVRWatchdogHost_001";
+
+};
+
+
+
+// ivrvirtualdisplay.h
+namespace vr
+{
+	// ----------------------------------------------------------------------------------------------
+	// Purpose: This component is used for drivers that implement a virtual display (e.g. wireless).
+	// ----------------------------------------------------------------------------------------------
+	class IVRVirtualDisplay
+	{
+	public:
+
+		/** Submits final backbuffer for display. */
+		virtual void Present( vr::SharedTextureHandle_t backbufferTextureHandle ) = 0;
+
+		/** Block until the last presented buffer start scanning out. */
+		virtual void WaitForPresent() = 0;
+
+		/** Provides timing data for synchronizing with display. */
+		virtual bool GetTimeSinceLastVsync( float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter ) = 0;
+	};
+
+	static const char *IVRVirtualDisplay_Version = "IVRVirtualDisplay_001";
+
+	/** Returns the current IVRVirtualDisplay pointer or NULL the interface could not be found. */
+	VR_INTERFACE vr::IVRVirtualDisplay *VR_CALLTYPE VRVirtualDisplay();
+}
+
+
+// ivrresources.h
+namespace vr
+{
+
+class IVRResources
+{
+public:
+
+	// ------------------------------------
+	// Shared Resource Methods
+	// ------------------------------------
+
+	/** Loads the specified resource into the provided buffer if large enough.
+	* Returns the size in bytes of the buffer required to hold the specified resource. */
+	virtual uint32_t LoadSharedResource( const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen ) = 0;
+
+	/** Provides the full path to the specified resource. Resource names can include named directories for
+	* drivers and other things, and this resolves all of those and returns the actual physical path. 
+	* pchResourceTypeDirectory is the subdirectory of resources to look in. */
+	virtual uint32_t GetResourceFullPath( const char *pchResourceName, const char *pchResourceTypeDirectory, VR_OUT_STRING() char *pchPathBuffer, uint32_t unBufferLen ) = 0;
+};
+
+static const char * const IVRResources_Version = "IVRResources_001";
+
+
+}
+// ivrdrivermanager.h
+namespace vr
+{
+
+class IVRDriverManager
+{
+public:
+	virtual uint32_t GetDriverCount() const = 0;
+
+	/** Returns the length of the number of bytes necessary to hold this string including the trailing null. */
+	virtual uint32_t GetDriverName( vr::DriverId_t nDriver, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0;
+};
+
+static const char * const IVRDriverManager_Version = "IVRDriverManager_001";
+
+} // namespace vr
+
+
+
+
+
+namespace vr
+{
+	static const char * const k_InterfaceVersions[] =
+	{
+		IVRSettings_Version,
+		ITrackedDeviceServerDriver_Version,
+		IVRDisplayComponent_Version,
+		IVRDriverDirectModeComponent_Version,
+		IVRCameraComponent_Version,
+		IServerTrackedDeviceProvider_Version,
+		IVRWatchdogProvider_Version,
+		IVRVirtualDisplay_Version,
+		IVRDriverManager_Version,
+		IVRResources_Version,
+		nullptr
+	};
+
+	inline IVRDriverContext *&VRDriverContext()
+	{
+		static IVRDriverContext *pHost;
+		return pHost;
+	}
+
+	class COpenVRDriverContext
+	{
+	public:
+		COpenVRDriverContext() : m_propertyHelpers(nullptr), m_hiddenAreaHelpers(nullptr) { Clear(); }
+		void Clear();
+
+		EVRInitError InitServer();
+		EVRInitError InitWatchdog();
+
+		IVRSettings *VRSettings()
+		{
+			if ( m_pVRSettings == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRSettings = (IVRSettings *)VRDriverContext()->GetGenericInterface( IVRSettings_Version, &eError );
+			}
+			return m_pVRSettings;
+		}
+
+		IVRProperties *VRPropertiesRaw()
+		{
+			if ( m_pVRProperties == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRProperties = (IVRProperties *)VRDriverContext()->GetGenericInterface( IVRProperties_Version, &eError );
+				m_propertyHelpers = CVRPropertyHelpers( m_pVRProperties );
+				m_hiddenAreaHelpers = CVRHiddenAreaHelpers( m_pVRProperties );
+			}
+			return m_pVRProperties;
+		}
+
+		CVRPropertyHelpers *VRProperties()
+		{
+			VRPropertiesRaw();
+			return &m_propertyHelpers;
+		}
+
+		CVRHiddenAreaHelpers *VRHiddenArea()
+		{
+			VRPropertiesRaw();
+			return &m_hiddenAreaHelpers;
+		}
+
+		IVRServerDriverHost *VRServerDriverHost()
+		{
+			if ( m_pVRServerDriverHost == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRServerDriverHost = (IVRServerDriverHost *)VRDriverContext()->GetGenericInterface( IVRServerDriverHost_Version, &eError );
+			}
+			return m_pVRServerDriverHost;
+		}
+
+		IVRWatchdogHost *VRWatchdogHost()
+		{
+			if ( m_pVRWatchdogHost == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRWatchdogHost = (IVRWatchdogHost *)VRDriverContext()->GetGenericInterface( IVRWatchdogHost_Version, &eError );
+			}
+			return m_pVRWatchdogHost;
+		}
+
+		IVRDriverLog *VRDriverLog()
+		{
+			if ( m_pVRDriverLog == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRDriverLog = (IVRDriverLog *)VRDriverContext()->GetGenericInterface( IVRDriverLog_Version, &eError );
+			}
+			return m_pVRDriverLog;
+		}
+
+		DriverHandle_t VR_CALLTYPE VRDriverHandle()
+		{
+			return VRDriverContext()->GetDriverHandle();
+		}
+
+		IVRDriverManager *VRDriverManager()
+		{
+			if ( !m_pVRDriverManager )
+			{
+				EVRInitError eError;
+				m_pVRDriverManager = (IVRDriverManager *)VRDriverContext()->GetGenericInterface( IVRDriverManager_Version, &eError );
+			}
+			return m_pVRDriverManager;
+		}
+
+		IVRResources *VRResources()
+		{
+			if ( !m_pVRResources )
+			{
+				EVRInitError eError;
+				m_pVRResources = (IVRResources *)VRDriverContext()->GetGenericInterface( IVRResources_Version, &eError );
+			}
+			return m_pVRResources;
+		}
+
+		IVRDriverInput *VRDriverInput()
+		{
+			if ( !m_pVRDriverInput )
+			{
+				EVRInitError eError;
+				m_pVRDriverInput = (IVRDriverInput *)VRDriverContext()->GetGenericInterface( IVRDriverInput_Version, &eError );
+			}
+			return m_pVRDriverInput;
+		}
+
+	private:
+		CVRPropertyHelpers		m_propertyHelpers;
+		CVRHiddenAreaHelpers	m_hiddenAreaHelpers;
+
+		IVRSettings				*m_pVRSettings;
+		IVRProperties			*m_pVRProperties;
+		IVRServerDriverHost		*m_pVRServerDriverHost;
+		IVRWatchdogHost			*m_pVRWatchdogHost;
+		IVRDriverLog			*m_pVRDriverLog;
+		IVRDriverManager		*m_pVRDriverManager;
+		IVRResources			*m_pVRResources;
+		IVRDriverInput			*m_pVRDriverInput;
+	};
+
+	inline COpenVRDriverContext &OpenVRInternal_ModuleServerDriverContext()
+	{
+		static void *ctx[sizeof( COpenVRDriverContext ) / sizeof( void * )];
+		return *(COpenVRDriverContext *)ctx; // bypass zero-init constructor
+	}
+
+	inline IVRSettings *VR_CALLTYPE VRSettings() { return OpenVRInternal_ModuleServerDriverContext().VRSettings(); }
+	inline IVRProperties *VR_CALLTYPE VRPropertiesRaw() { return OpenVRInternal_ModuleServerDriverContext().VRPropertiesRaw(); }
+	inline CVRPropertyHelpers *VR_CALLTYPE VRProperties() { return OpenVRInternal_ModuleServerDriverContext().VRProperties(); }
+	inline CVRHiddenAreaHelpers *VR_CALLTYPE VRHiddenArea() { return OpenVRInternal_ModuleServerDriverContext().VRHiddenArea(); }
+	inline IVRDriverLog *VR_CALLTYPE VRDriverLog() { return OpenVRInternal_ModuleServerDriverContext().VRDriverLog(); }
+	inline IVRServerDriverHost *VR_CALLTYPE VRServerDriverHost() { return OpenVRInternal_ModuleServerDriverContext().VRServerDriverHost(); }
+	inline IVRWatchdogHost *VR_CALLTYPE VRWatchdogHost() { return OpenVRInternal_ModuleServerDriverContext().VRWatchdogHost(); }
+	inline DriverHandle_t VR_CALLTYPE VRDriverHandle() { return OpenVRInternal_ModuleServerDriverContext().VRDriverHandle(); }
+	inline IVRDriverManager *VR_CALLTYPE VRDriverManager() { return OpenVRInternal_ModuleServerDriverContext().VRDriverManager(); }
+	inline IVRResources *VR_CALLTYPE VRResources() { return OpenVRInternal_ModuleServerDriverContext().VRResources(); }
+	inline IVRDriverInput *VR_CALLTYPE VRDriverInput() { return OpenVRInternal_ModuleServerDriverContext().VRDriverInput(); }
+
+	inline void COpenVRDriverContext::Clear()
+	{
+		m_pVRSettings = nullptr;
+		m_pVRProperties = nullptr;
+		m_pVRServerDriverHost = nullptr;
+		m_pVRDriverLog = nullptr;
+		m_pVRWatchdogHost = nullptr;
+		m_pVRDriverManager = nullptr;
+		m_pVRResources = nullptr;
+		m_pVRDriverInput = nullptr;
+	}
+
+	inline EVRInitError COpenVRDriverContext::InitServer()
+	{
+		Clear();
+		if ( !VRServerDriverHost()
+			|| !VRSettings()
+			|| !VRProperties()
+			|| !VRDriverLog() 
+			|| !VRDriverManager()
+			|| !VRResources() )
+			return VRInitError_Init_InterfaceNotFound;
+		return VRInitError_None;
+	}
+
+	inline EVRInitError COpenVRDriverContext::InitWatchdog()
+	{
+		Clear();
+		if ( !VRWatchdogHost()
+			|| !VRSettings()
+			|| !VRDriverLog() )
+			return VRInitError_Init_InterfaceNotFound;
+		return VRInitError_None;
+	}
+
+	inline EVRInitError InitServerDriverContext( IVRDriverContext *pContext )
+	{
+		VRDriverContext() = pContext;
+		return OpenVRInternal_ModuleServerDriverContext().InitServer();
+	}
+
+	inline EVRInitError InitWatchdogDriverContext( IVRDriverContext *pContext )
+	{
+		VRDriverContext() = pContext;
+		return OpenVRInternal_ModuleServerDriverContext().InitWatchdog();
+	}
+
+	inline void CleanupDriverContext()
+	{
+		VRDriverContext() = nullptr;
+		OpenVRInternal_ModuleServerDriverContext().Clear();
+	}
+
+	#define VR_INIT_SERVER_DRIVER_CONTEXT( pContext ) \
+			{ \
+			vr::EVRInitError eError = vr::InitServerDriverContext( pContext ); \
+			if( eError != vr::VRInitError_None ) \
+				return eError; \
+			}
+
+	#define VR_CLEANUP_SERVER_DRIVER_CONTEXT() \
+		vr::CleanupDriverContext();
+
+	#define VR_INIT_WATCHDOG_DRIVER_CONTEXT( pContext ) \
+			{ \
+			vr::EVRInitError eError = vr::InitWatchdogDriverContext( pContext ); \
+			if( eError != vr::VRInitError_None ) \
+				return eError; \
+			}
+
+	#define VR_CLEANUP_WATCHDOG_DRIVER_CONTEXT() \
+		vr::CleanupDriverContext();
+}
+// End
+
+#endif // _OPENVR_DRIVER_API
+
+

+ 3907 - 0
modules/mojo3d-vr/openvr/openvr-sdk/headers/openvr_mingw.h

@@ -0,0 +1,3907 @@
+#pragma once
+
+// openvr.h
+//========= Copyright Valve Corporation ============//
+// Dynamically generated file. Do not modify this file directly.
+
+#ifndef _OPENVR_API
+#define _OPENVR_API
+
+#include <stdint.h>
+
+
+
+// vrtypes.h
+#ifndef _INCLUDE_VRTYPES_H
+#define _INCLUDE_VRTYPES_H
+
+// Forward declarations to avoid requiring vulkan.h
+struct VkDevice_T;
+struct VkPhysicalDevice_T;
+struct VkInstance_T;
+struct VkQueue_T;
+
+namespace vr
+{
+
+#if defined(__linux__) || defined(__APPLE__) 
+	// The 32-bit version of gcc has the alignment requirement for uint64 and double set to
+	// 4 meaning that even with #pragma pack(8) these types will only be four-byte aligned.
+	// The 64-bit version of gcc has the alignment requirement for these types set to
+	// 8 meaning that unless we use #pragma pack(4) our structures will get bigger.
+	// The 64-bit structure packing has to match the 32-bit structure packing for each platform.
+	#pragma pack( push, 4 )
+#else
+	#pragma pack( push, 8 )
+#endif
+
+typedef void* glSharedTextureHandle_t;
+typedef int32_t glInt_t;
+typedef uint32_t glUInt_t;
+
+// right-handed system
+// +y is up
+// +x is to the right
+// -z is going away from you
+// Distance unit is  meters
+struct HmdMatrix34_t
+{
+	float m[3][4];
+};
+
+struct HmdMatrix44_t
+{
+	float m[4][4];
+};
+
+struct HmdVector3_t
+{
+	float v[3];
+};
+
+struct HmdVector4_t
+{
+	float v[4];
+};
+
+struct HmdVector3d_t
+{
+	double v[3];
+};
+
+struct HmdVector2_t
+{
+	float v[2];
+};
+
+struct HmdQuaternion_t
+{
+	double w, x, y, z;
+};
+
+struct HmdColor_t
+{
+	float r, g, b, a;
+};
+
+struct HmdQuad_t
+{
+	HmdVector3_t vCorners[ 4 ];
+};
+
+struct HmdRect2_t
+{
+	HmdVector2_t vTopLeft;
+	HmdVector2_t vBottomRight;
+};
+
+/** Used to return the post-distortion UVs for each color channel. 
+* UVs range from 0 to 1 with 0,0 in the upper left corner of the 
+* source render target. The 0,0 to 1,1 range covers a single eye. */
+struct DistortionCoordinates_t
+{
+	float rfRed[2];
+	float rfGreen[2];
+	float rfBlue[2];
+};
+
+enum EVREye
+{
+	Eye_Left = 0,
+	Eye_Right = 1
+};
+
+enum ETextureType
+{
+	TextureType_DirectX = 0, // Handle is an ID3D11Texture
+	TextureType_OpenGL = 1,  // Handle is an OpenGL texture name or an OpenGL render buffer name, depending on submit flags
+	TextureType_Vulkan = 2, // Handle is a pointer to a VRVulkanTextureData_t structure
+};
+
+enum EColorSpace
+{
+	ColorSpace_Auto = 0,	// Assumes 'gamma' for 8-bit per component formats, otherwise 'linear'.  This mirrors the DXGI formats which have _SRGB variants.
+	ColorSpace_Gamma = 1,	// Texture data can be displayed directly on the display without any conversion (a.k.a. display native format).
+	ColorSpace_Linear = 2,	// Same as gamma but has been converted to a linear representation using DXGI's sRGB conversion algorithm.
+};
+
+struct Texture_t
+{
+	void* handle; // See ETextureType definition above
+	ETextureType eType;
+	EColorSpace eColorSpace;
+};
+
+// Handle to a shared texture (HANDLE on Windows obtained using OpenSharedResource).
+typedef uint64_t SharedTextureHandle_t;
+#define INVALID_SHARED_TEXTURE_HANDLE	((vr::SharedTextureHandle_t)0)
+
+enum ETrackingResult
+{
+	TrackingResult_Uninitialized			= 1,
+
+	TrackingResult_Calibrating_InProgress	= 100,
+	TrackingResult_Calibrating_OutOfRange	= 101,
+
+	TrackingResult_Running_OK				= 200,
+	TrackingResult_Running_OutOfRange		= 201,
+};
+
+static const uint32_t k_unMaxDriverDebugResponseSize = 32768;
+
+/** Used to pass device IDs to API calls */
+typedef uint32_t TrackedDeviceIndex_t;
+static const uint32_t k_unTrackedDeviceIndex_Hmd = 0;
+static const uint32_t k_unMaxTrackedDeviceCount = 16;
+static const uint32_t k_unTrackedDeviceIndexOther = 0xFFFFFFFE;
+static const uint32_t k_unTrackedDeviceIndexInvalid = 0xFFFFFFFF;
+
+/** Describes what kind of object is being tracked at a given ID */
+enum ETrackedDeviceClass
+{
+	TrackedDeviceClass_Invalid = 0,				// the ID was not valid.
+	TrackedDeviceClass_HMD = 1,					// Head-Mounted Displays
+	TrackedDeviceClass_Controller = 2,			// Tracked controllers
+	TrackedDeviceClass_GenericTracker = 3,		// Generic trackers, similar to controllers
+	TrackedDeviceClass_TrackingReference = 4,	// Camera and base stations that serve as tracking reference points
+};
+
+
+/** Describes what specific role associated with a tracked device */
+enum ETrackedControllerRole
+{
+	TrackedControllerRole_Invalid = 0,					// Invalid value for controller type
+	TrackedControllerRole_LeftHand = 1,					// Tracked device associated with the left hand
+	TrackedControllerRole_RightHand = 2,				// Tracked device associated with the right hand
+};
+
+
+/** describes a single pose for a tracked object */
+struct TrackedDevicePose_t
+{
+	HmdMatrix34_t mDeviceToAbsoluteTracking;
+	HmdVector3_t vVelocity;				// velocity in tracker space in m/s
+	HmdVector3_t vAngularVelocity;		// angular velocity in radians/s (?)
+	ETrackingResult eTrackingResult;
+	bool bPoseIsValid;
+
+	// This indicates that there is a device connected for this spot in the pose array.
+	// It could go from true to false if the user unplugs the device.
+	bool bDeviceIsConnected;
+};
+
+/** Identifies which style of tracking origin the application wants to use
+* for the poses it is requesting */
+enum ETrackingUniverseOrigin
+{
+	TrackingUniverseSeated = 0,		// Poses are provided relative to the seated zero pose
+	TrackingUniverseStanding = 1,	// Poses are provided relative to the safe bounds configured by the user
+	TrackingUniverseRawAndUncalibrated = 2,	// Poses are provided in the coordinate system defined by the driver.  It has Y up and is unified for devices of the same driver. You usually don't want this one.
+};
+
+
+/** Each entry in this enum represents a property that can be retrieved about a
+* tracked device. Many fields are only valid for one ETrackedDeviceClass. */
+enum ETrackedDeviceProperty
+{
+	Prop_Invalid								= 0,
+
+	// general properties that apply to all device classes
+	Prop_TrackingSystemName_String				= 1000,
+	Prop_ModelNumber_String						= 1001,
+	Prop_SerialNumber_String					= 1002,
+	Prop_RenderModelName_String					= 1003,
+	Prop_WillDriftInYaw_Bool					= 1004,
+	Prop_ManufacturerName_String				= 1005,
+	Prop_TrackingFirmwareVersion_String			= 1006,
+	Prop_HardwareRevision_String				= 1007,
+	Prop_AllWirelessDongleDescriptions_String	= 1008,
+	Prop_ConnectedWirelessDongle_String			= 1009,
+	Prop_DeviceIsWireless_Bool					= 1010,
+	Prop_DeviceIsCharging_Bool					= 1011,
+	Prop_DeviceBatteryPercentage_Float			= 1012, // 0 is empty, 1 is full
+	Prop_StatusDisplayTransform_Matrix34		= 1013,
+	Prop_Firmware_UpdateAvailable_Bool			= 1014,
+	Prop_Firmware_ManualUpdate_Bool				= 1015,
+	Prop_Firmware_ManualUpdateURL_String		= 1016,
+	Prop_HardwareRevision_Uint64				= 1017,
+	Prop_FirmwareVersion_Uint64					= 1018,
+	Prop_FPGAVersion_Uint64						= 1019,
+	Prop_VRCVersion_Uint64						= 1020,
+	Prop_RadioVersion_Uint64					= 1021,
+	Prop_DongleVersion_Uint64					= 1022,
+	Prop_BlockServerShutdown_Bool				= 1023,
+	Prop_CanUnifyCoordinateSystemWithHmd_Bool	= 1024,
+	Prop_ContainsProximitySensor_Bool			= 1025,
+	Prop_DeviceProvidesBatteryStatus_Bool		= 1026,
+	Prop_DeviceCanPowerOff_Bool					= 1027,
+	Prop_Firmware_ProgrammingTarget_String		= 1028,
+	Prop_DeviceClass_Int32						= 1029,
+	Prop_HasCamera_Bool							= 1030,
+	Prop_DriverVersion_String                   = 1031,
+	Prop_Firmware_ForceUpdateRequired_Bool      = 1032,
+	Prop_ViveSystemButtonFixRequired_Bool		= 1033,
+
+	// Properties that are unique to TrackedDeviceClass_HMD
+	Prop_ReportsTimeSinceVSync_Bool				= 2000,
+	Prop_SecondsFromVsyncToPhotons_Float		= 2001,
+	Prop_DisplayFrequency_Float					= 2002,
+	Prop_UserIpdMeters_Float					= 2003,
+	Prop_CurrentUniverseId_Uint64				= 2004, 
+	Prop_PreviousUniverseId_Uint64				= 2005, 
+	Prop_DisplayFirmwareVersion_Uint64			= 2006,
+	Prop_IsOnDesktop_Bool						= 2007,
+	Prop_DisplayMCType_Int32					= 2008,
+	Prop_DisplayMCOffset_Float					= 2009,
+	Prop_DisplayMCScale_Float					= 2010,
+	Prop_EdidVendorID_Int32						= 2011,
+	Prop_DisplayMCImageLeft_String              = 2012,
+	Prop_DisplayMCImageRight_String             = 2013,
+	Prop_DisplayGCBlackClamp_Float				= 2014,
+	Prop_EdidProductID_Int32					= 2015,
+	Prop_CameraToHeadTransform_Matrix34			= 2016,
+	Prop_DisplayGCType_Int32					= 2017,
+	Prop_DisplayGCOffset_Float					= 2018,
+	Prop_DisplayGCScale_Float					= 2019,
+	Prop_DisplayGCPrescale_Float				= 2020,
+	Prop_DisplayGCImage_String					= 2021,
+	Prop_LensCenterLeftU_Float					= 2022,
+	Prop_LensCenterLeftV_Float					= 2023,
+	Prop_LensCenterRightU_Float					= 2024,
+	Prop_LensCenterRightV_Float					= 2025,
+	Prop_UserHeadToEyeDepthMeters_Float			= 2026,
+	Prop_CameraFirmwareVersion_Uint64			= 2027,
+	Prop_CameraFirmwareDescription_String		= 2028,
+	Prop_DisplayFPGAVersion_Uint64				= 2029,
+	Prop_DisplayBootloaderVersion_Uint64		= 2030,
+	Prop_DisplayHardwareVersion_Uint64			= 2031,
+	Prop_AudioFirmwareVersion_Uint64			= 2032,
+	Prop_CameraCompatibilityMode_Int32			= 2033,
+	Prop_ScreenshotHorizontalFieldOfViewDegrees_Float = 2034,
+	Prop_ScreenshotVerticalFieldOfViewDegrees_Float = 2035,
+	Prop_DisplaySuppressed_Bool					= 2036,
+	Prop_DisplayAllowNightMode_Bool				= 2037,
+
+	// Properties that are unique to TrackedDeviceClass_Controller
+	Prop_AttachedDeviceId_String				= 3000,
+	Prop_SupportedButtons_Uint64				= 3001,
+	Prop_Axis0Type_Int32						= 3002, // Return value is of type EVRControllerAxisType
+	Prop_Axis1Type_Int32						= 3003, // Return value is of type EVRControllerAxisType
+	Prop_Axis2Type_Int32						= 3004, // Return value is of type EVRControllerAxisType
+	Prop_Axis3Type_Int32						= 3005, // Return value is of type EVRControllerAxisType
+	Prop_Axis4Type_Int32						= 3006, // Return value is of type EVRControllerAxisType
+	Prop_ControllerRoleHint_Int32				= 3007, // Return value is of type ETrackedControllerRole
+
+	// Properties that are unique to TrackedDeviceClass_TrackingReference
+	Prop_FieldOfViewLeftDegrees_Float			= 4000,
+	Prop_FieldOfViewRightDegrees_Float			= 4001,
+	Prop_FieldOfViewTopDegrees_Float			= 4002,
+	Prop_FieldOfViewBottomDegrees_Float			= 4003,
+	Prop_TrackingRangeMinimumMeters_Float		= 4004,
+	Prop_TrackingRangeMaximumMeters_Float		= 4005,
+	Prop_ModeLabel_String						= 4006,
+
+	// Properties that are used for user interface like icons names
+	Prop_IconPathName_String						= 5000, // usually a directory named "icons"
+	Prop_NamedIconPathDeviceOff_String				= 5001, // PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceSearching_String		= 5002, // PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceSearchingAlert_String	= 5003, // PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceReady_String			= 5004, // PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceReadyAlert_String		= 5005, // PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceNotReady_String			= 5006, // PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceStandby_String			= 5007, // PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+	Prop_NamedIconPathDeviceAlertLow_String			= 5008, // PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others
+
+	// Vendors are free to expose private debug data in this reserved region
+	Prop_VendorSpecific_Reserved_Start			= 10000,
+	Prop_VendorSpecific_Reserved_End			= 10999,
+};
+
+/** No string property will ever be longer than this length */
+static const uint32_t k_unMaxPropertyStringSize = 32 * 1024;
+
+/** Used to return errors that occur when reading properties. */
+enum ETrackedPropertyError
+{
+	TrackedProp_Success						= 0,
+	TrackedProp_WrongDataType				= 1,
+	TrackedProp_WrongDeviceClass			= 2,
+	TrackedProp_BufferTooSmall				= 3,
+	TrackedProp_UnknownProperty				= 4,
+	TrackedProp_InvalidDevice				= 5,
+	TrackedProp_CouldNotContactServer		= 6,
+	TrackedProp_ValueNotProvidedByDevice	= 7,
+	TrackedProp_StringExceedsMaximumLength	= 8,
+	TrackedProp_NotYetAvailable				= 9, // The property value isn't known yet, but is expected soon. Call again later.
+	TrackedProp_PermissionDenied			= 10,
+};
+
+/** Allows the application to control what part of the provided texture will be used in the
+* frame buffer. */
+struct VRTextureBounds_t
+{
+	float uMin, vMin;
+	float uMax, vMax;
+};
+
+
+/** Allows the application to control how scene textures are used by the compositor when calling Submit. */
+enum EVRSubmitFlags
+{
+	// Simple render path. App submits rendered left and right eye images with no lens distortion correction applied.
+	Submit_Default = 0x00,
+
+	// App submits final left and right eye images with lens distortion already applied (lens distortion makes the images appear
+	// barrel distorted with chromatic aberration correction applied). The app would have used the data returned by
+	// vr::IVRSystem::ComputeDistortion() to apply the correct distortion to the rendered images before calling Submit().
+	Submit_LensDistortionAlreadyApplied = 0x01,
+
+	// If the texture pointer passed in is actually a renderbuffer (e.g. for MSAA in OpenGL) then set this flag.
+	Submit_GlRenderBuffer = 0x02,
+
+	// Do not use
+	Submit_Reserved = 0x04,
+};
+
+/** Data required for passing Vulkan textures to IVRCompositor::Submit.
+* Be sure to call OpenVR_Shutdown before destroying these resources. */
+struct VRVulkanTextureData_t
+{
+	uint64_t m_nImage; // VkImage
+	VkDevice_T *m_pDevice;
+	VkPhysicalDevice_T *m_pPhysicalDevice;
+	VkInstance_T *m_pInstance;
+	VkQueue_T *m_pQueue;
+	uint32_t m_nQueueFamilyIndex;
+	uint32_t m_nWidth, m_nHeight, m_nFormat, m_nSampleCount;
+};
+
+
+/** Status of the overall system or tracked objects */
+enum EVRState
+{
+	VRState_Undefined = -1,
+	VRState_Off = 0,
+	VRState_Searching = 1,
+	VRState_Searching_Alert = 2,
+	VRState_Ready = 3,
+	VRState_Ready_Alert = 4,
+	VRState_NotReady = 5,
+	VRState_Standby = 6,
+	VRState_Ready_Alert_Low = 7,
+};
+
+/** The types of events that could be posted (and what the parameters mean for each event type) */
+enum EVREventType
+{
+	VREvent_None = 0,
+
+	VREvent_TrackedDeviceActivated		= 100,
+	VREvent_TrackedDeviceDeactivated	= 101,
+	VREvent_TrackedDeviceUpdated		= 102,
+	VREvent_TrackedDeviceUserInteractionStarted		= 103,
+	VREvent_TrackedDeviceUserInteractionEnded	= 104,
+	VREvent_IpdChanged					= 105,
+	VREvent_EnterStandbyMode			= 106,
+	VREvent_LeaveStandbyMode			= 107,
+	VREvent_TrackedDeviceRoleChanged	= 108,
+	VREvent_WatchdogWakeUpRequested		= 109,
+	VREvent_LensDistortionChanged		= 110,
+
+	VREvent_ButtonPress					= 200, // data is controller
+	VREvent_ButtonUnpress				= 201, // data is controller
+	VREvent_ButtonTouch					= 202, // data is controller
+	VREvent_ButtonUntouch				= 203, // data is controller
+
+	VREvent_MouseMove					= 300, // data is mouse
+	VREvent_MouseButtonDown				= 301, // data is mouse
+	VREvent_MouseButtonUp				= 302, // data is mouse
+	VREvent_FocusEnter					= 303, // data is overlay
+	VREvent_FocusLeave					= 304, // data is overlay
+	VREvent_Scroll						= 305, // data is mouse
+	VREvent_TouchPadMove				= 306, // data is mouse
+	VREvent_OverlayFocusChanged			= 307, // data is overlay, global event
+
+	VREvent_InputFocusCaptured			= 400, // data is process DEPRECATED
+	VREvent_InputFocusReleased			= 401, // data is process DEPRECATED
+	VREvent_SceneFocusLost				= 402, // data is process
+	VREvent_SceneFocusGained			= 403, // data is process
+	VREvent_SceneApplicationChanged		= 404, // data is process - The App actually drawing the scene changed (usually to or from the compositor)
+	VREvent_SceneFocusChanged			= 405, // data is process - New app got access to draw the scene
+	VREvent_InputFocusChanged			= 406, // data is process
+	VREvent_SceneApplicationSecondaryRenderingStarted = 407, // data is process
+
+	VREvent_HideRenderModels			= 410, // Sent to the scene application to request hiding render models temporarily
+	VREvent_ShowRenderModels			= 411, // Sent to the scene application to request restoring render model visibility
+
+	VREvent_OverlayShown				= 500,
+	VREvent_OverlayHidden				= 501,
+	VREvent_DashboardActivated		= 502,
+	VREvent_DashboardDeactivated	= 503,
+	VREvent_DashboardThumbSelected	= 504, // Sent to the overlay manager - data is overlay
+	VREvent_DashboardRequested		= 505, // Sent to the overlay manager - data is overlay
+	VREvent_ResetDashboard			= 506, // Send to the overlay manager
+	VREvent_RenderToast				= 507, // Send to the dashboard to render a toast - data is the notification ID
+	VREvent_ImageLoaded				= 508, // Sent to overlays when a SetOverlayRaw or SetOverlayFromFile call finishes loading
+	VREvent_ShowKeyboard = 509, // Sent to keyboard renderer in the dashboard to invoke it
+	VREvent_HideKeyboard = 510, // Sent to keyboard renderer in the dashboard to hide it
+	VREvent_OverlayGamepadFocusGained		= 511, // Sent to an overlay when IVROverlay::SetFocusOverlay is called on it
+	VREvent_OverlayGamepadFocusLost = 512, // Send to an overlay when it previously had focus and IVROverlay::SetFocusOverlay is called on something else
+	VREvent_OverlaySharedTextureChanged = 513,
+	VREvent_DashboardGuideButtonDown = 514,
+	VREvent_DashboardGuideButtonUp = 515,
+	VREvent_ScreenshotTriggered	= 516, // Screenshot button combo was pressed, Dashboard should request a screenshot
+	VREvent_ImageFailed				= 517, // Sent to overlays when a SetOverlayRaw or SetOverlayfromFail fails to load
+	VREvent_DashboardOverlayCreated = 518,
+
+	// Screenshot API
+	VREvent_RequestScreenshot = 520, // Sent by vrclient application to compositor to take a screenshot
+	VREvent_ScreenshotTaken = 521, // Sent by compositor to the application that the screenshot has been taken
+	VREvent_ScreenshotFailed = 522, // Sent by compositor to the application that the screenshot failed to be taken
+	VREvent_SubmitScreenshotToDashboard = 523, // Sent by compositor to the dashboard that a completed screenshot was submitted
+	VREvent_ScreenshotProgressToDashboard = 524, // Sent by compositor to the dashboard that a completed screenshot was submitted
+
+	VREvent_Notification_Shown				= 600,
+	VREvent_Notification_Hidden				= 601,
+	VREvent_Notification_BeginInteraction	= 602,
+	VREvent_Notification_Destroyed			= 603,
+
+	VREvent_Quit						= 700, // data is process
+	VREvent_ProcessQuit					= 701, // data is process
+	VREvent_QuitAborted_UserPrompt		= 702, // data is process
+	VREvent_QuitAcknowledged			= 703, // data is process
+	VREvent_DriverRequestedQuit			= 704, // The driver has requested that SteamVR shut down
+
+	VREvent_ChaperoneDataHasChanged		= 800,
+	VREvent_ChaperoneUniverseHasChanged	= 801,
+	VREvent_ChaperoneTempDataHasChanged = 802,
+	VREvent_ChaperoneSettingsHaveChanged = 803,
+	VREvent_SeatedZeroPoseReset			= 804,
+
+	VREvent_AudioSettingsHaveChanged	= 820,
+
+	VREvent_BackgroundSettingHasChanged	= 850,
+	VREvent_CameraSettingsHaveChanged	= 851,
+	VREvent_ReprojectionSettingHasChanged = 852,
+	VREvent_ModelSkinSettingsHaveChanged = 853,
+	VREvent_EnvironmentSettingsHaveChanged = 854,
+	VREvent_PowerSettingsHaveChanged = 855,
+
+	VREvent_StatusUpdate				= 900,
+
+	VREvent_MCImageUpdated				= 1000,
+
+	VREvent_FirmwareUpdateStarted	= 1100,
+	VREvent_FirmwareUpdateFinished	= 1101,
+
+	VREvent_KeyboardClosed				= 1200,
+	VREvent_KeyboardCharInput			= 1201,
+	VREvent_KeyboardDone				= 1202, // Sent when DONE button clicked on keyboard
+
+	VREvent_ApplicationTransitionStarted	= 1300,
+	VREvent_ApplicationTransitionAborted	= 1301,
+	VREvent_ApplicationTransitionNewAppStarted = 1302,
+	VREvent_ApplicationListUpdated			= 1303,
+	VREvent_ApplicationMimeTypeLoad			= 1304,
+
+	VREvent_Compositor_MirrorWindowShown	= 1400,
+	VREvent_Compositor_MirrorWindowHidden	= 1401,
+	VREvent_Compositor_ChaperoneBoundsShown = 1410,
+	VREvent_Compositor_ChaperoneBoundsHidden = 1411,
+
+	VREvent_TrackedCamera_StartVideoStream  = 1500,
+	VREvent_TrackedCamera_StopVideoStream   = 1501,
+	VREvent_TrackedCamera_PauseVideoStream  = 1502,
+	VREvent_TrackedCamera_ResumeVideoStream = 1503,
+	VREvent_TrackedCamera_EditingSurface    = 1550,
+
+	VREvent_PerformanceTest_EnableCapture = 1600,
+	VREvent_PerformanceTest_DisableCapture = 1601,
+	VREvent_PerformanceTest_FidelityLevel = 1602,
+
+	VREvent_MessageOverlay_Closed = 1650,
+	
+	// Vendors are free to expose private events in this reserved region
+	VREvent_VendorSpecific_Reserved_Start = 10000,
+	VREvent_VendorSpecific_Reserved_End = 19999,
+};
+
+
+/** Level of Hmd activity */
+enum EDeviceActivityLevel
+{
+	k_EDeviceActivityLevel_Unknown = -1,
+	k_EDeviceActivityLevel_Idle = 0,
+	k_EDeviceActivityLevel_UserInteraction = 1,
+	k_EDeviceActivityLevel_UserInteraction_Timeout = 2,
+	k_EDeviceActivityLevel_Standby = 3,
+};
+
+
+/** VR controller button and axis IDs */
+enum EVRButtonId
+{
+	k_EButton_System			= 0,
+	k_EButton_ApplicationMenu	= 1,
+	k_EButton_Grip				= 2,
+	k_EButton_DPad_Left			= 3,
+	k_EButton_DPad_Up			= 4,
+	k_EButton_DPad_Right		= 5,
+	k_EButton_DPad_Down			= 6,
+	k_EButton_A					= 7,
+	
+	k_EButton_ProximitySensor   = 31,
+
+	k_EButton_Axis0				= 32,
+	k_EButton_Axis1				= 33,
+	k_EButton_Axis2				= 34,
+	k_EButton_Axis3				= 35,
+	k_EButton_Axis4				= 36,
+
+	// aliases for well known controllers
+	k_EButton_SteamVR_Touchpad	= k_EButton_Axis0,
+	k_EButton_SteamVR_Trigger	= k_EButton_Axis1,
+
+	k_EButton_Dashboard_Back	= k_EButton_Grip,
+
+	k_EButton_Max				= 64
+};
+
+inline uint64_t ButtonMaskFromId( EVRButtonId id ) { return 1ull << id; }
+
+/** used for controller button events */
+struct VREvent_Controller_t
+{
+	uint32_t button; // EVRButtonId enum
+};
+
+
+/** used for simulated mouse events in overlay space */
+enum EVRMouseButton
+{
+	VRMouseButton_Left					= 0x0001,
+	VRMouseButton_Right					= 0x0002,
+	VRMouseButton_Middle				= 0x0004,
+};
+
+
+/** used for simulated mouse events in overlay space */
+struct VREvent_Mouse_t
+{
+	float x, y; // co-ords are in GL space, bottom left of the texture is 0,0
+	uint32_t button; // EVRMouseButton enum
+};
+
+/** used for simulated mouse wheel scroll in overlay space */
+struct VREvent_Scroll_t
+{
+	float xdelta, ydelta; // movement in fraction of the pad traversed since last delta, 1.0 for a full swipe
+	uint32_t repeatCount;
+};
+
+/** when in mouse input mode you can receive data from the touchpad, these events are only sent if the users finger
+   is on the touchpad (or just released from it) 
+**/
+struct VREvent_TouchPadMove_t
+{
+	// true if the users finger is detected on the touch pad
+	bool bFingerDown;
+
+	// How long the finger has been down in seconds
+	float flSecondsFingerDown;
+
+	// These values indicate the starting finger position (so you can do some basic swipe stuff)
+	float fValueXFirst;
+	float fValueYFirst;
+
+	// This is the raw sampled coordinate without deadzoning
+	float fValueXRaw;
+	float fValueYRaw;
+};
+
+/** notification related events. Details will still change at this point */
+struct VREvent_Notification_t
+{
+	uint64_t ulUserValue;
+	uint32_t notificationId;
+};
+
+/** Used for events about processes */
+struct VREvent_Process_t
+{
+	uint32_t pid;
+	uint32_t oldPid;
+	bool bForced;
+};
+
+
+/** Used for a few events about overlays */
+struct VREvent_Overlay_t
+{
+	uint64_t overlayHandle;
+};
+
+
+/** Used for a few events about overlays */
+struct VREvent_Status_t
+{
+	uint32_t statusState; // EVRState enum
+};
+
+/** Used for keyboard events **/
+struct VREvent_Keyboard_t
+{
+	char cNewInput[8];	// Up to 11 bytes of new input
+	uint64_t uUserValue;	// Possible flags about the new input
+};
+
+struct VREvent_Ipd_t
+{
+	float ipdMeters;
+};
+
+struct VREvent_Chaperone_t
+{
+	uint64_t m_nPreviousUniverse;
+	uint64_t m_nCurrentUniverse;
+};
+
+/** Not actually used for any events */
+struct VREvent_Reserved_t
+{
+	uint64_t reserved0;
+	uint64_t reserved1;
+};
+
+struct VREvent_PerformanceTest_t
+{
+	uint32_t m_nFidelityLevel;
+};
+
+struct VREvent_SeatedZeroPoseReset_t
+{
+	bool bResetBySystemMenu;
+};
+
+struct VREvent_Screenshot_t
+{
+	uint32_t handle;
+	uint32_t type;
+};
+
+struct VREvent_ScreenshotProgress_t
+{
+	float progress;
+};
+
+struct VREvent_ApplicationLaunch_t
+{
+	uint32_t pid;
+	uint32_t unArgsHandle;
+};
+
+struct VREvent_EditingCameraSurface_t
+{
+	uint64_t overlayHandle;
+	uint32_t nVisualMode;
+};
+
+struct VREvent_MessageOverlay_t
+{
+	uint32_t unVRMessageOverlayResponse; // vr::VRMessageOverlayResponse enum
+};
+
+/** NOTE!!! If you change this you MUST manually update openvr_interop.cs.py */
+typedef union
+{
+	VREvent_Reserved_t reserved;
+	VREvent_Controller_t controller;
+	VREvent_Mouse_t mouse;
+	VREvent_Scroll_t scroll;
+	VREvent_Process_t process;
+	VREvent_Notification_t notification;
+	VREvent_Overlay_t overlay;
+	VREvent_Status_t status;
+	VREvent_Keyboard_t keyboard;
+	VREvent_Ipd_t ipd;
+	VREvent_Chaperone_t chaperone;
+	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_Data_t;
+
+/** An event posted by the server to all running applications */
+struct VREvent_t
+{
+	uint32_t eventType; // EVREventType enum
+	TrackedDeviceIndex_t trackedDeviceIndex;
+	float eventAgeSeconds;
+	// event data must be the end of the struct as its size is variable
+	VREvent_Data_t data;
+};
+
+
+/** The mesh to draw into the stencil (or depth) buffer to perform 
+* early stencil (or depth) kills of pixels that will never appear on the HMD.
+* This mesh draws on all the pixels that will be hidden after distortion. 
+*
+* If the HMD does not provide a visible area mesh pVertexData will be
+* NULL and unTriangleCount will be 0. */
+struct HiddenAreaMesh_t
+{
+	const HmdVector2_t *pVertexData;
+	uint32_t unTriangleCount;
+};
+
+
+enum EHiddenAreaMeshType
+{
+	k_eHiddenAreaMesh_Standard = 0,
+	k_eHiddenAreaMesh_Inverse = 1,
+	k_eHiddenAreaMesh_LineLoop = 2,
+};
+
+
+/** Identifies what kind of axis is on the controller at index n. Read this type 
+* with pVRSystem->Get( nControllerDeviceIndex, Prop_Axis0Type_Int32 + n );
+*/
+enum EVRControllerAxisType
+{
+	k_eControllerAxis_None = 0,
+	k_eControllerAxis_TrackPad = 1,
+	k_eControllerAxis_Joystick = 2,
+	k_eControllerAxis_Trigger = 3, // Analog trigger data is in the X axis
+};
+
+
+/** contains information about one axis on the controller */
+struct VRControllerAxis_t
+{
+	float x; // Ranges from -1.0 to 1.0 for joysticks and track pads. Ranges from 0.0 to 1.0 for triggers were 0 is fully released.
+	float y; // Ranges from -1.0 to 1.0 for joysticks and track pads. Is always 0.0 for triggers.
+};
+
+
+/** the number of axes in the controller state */
+static const uint32_t k_unControllerStateAxisCount = 5;
+
+
+/** Holds all the state of a controller at one moment in time. */
+struct VRControllerState001_t
+{
+	// If packet num matches that on your prior call, then the controller state hasn't been changed since 
+	// your last call and there is no need to process it
+	uint32_t unPacketNum;
+
+	// bit flags for each of the buttons. Use ButtonMaskFromId to turn an ID into a mask
+	uint64_t ulButtonPressed;
+	uint64_t ulButtonTouched;
+
+	// Axis data for the controller's analog inputs
+	VRControllerAxis_t rAxis[ k_unControllerStateAxisCount ];
+};
+
+
+typedef VRControllerState001_t VRControllerState_t;
+
+
+/** determines how to provide output to the application of various event processing functions. */
+enum EVRControllerEventOutputType
+{
+	ControllerEventOutput_OSEvents = 0,
+	ControllerEventOutput_VREvents = 1,
+};
+
+
+
+/** Collision Bounds Style */
+enum ECollisionBoundsStyle
+{
+	COLLISION_BOUNDS_STYLE_BEGINNER = 0,
+	COLLISION_BOUNDS_STYLE_INTERMEDIATE,
+	COLLISION_BOUNDS_STYLE_SQUARES,
+	COLLISION_BOUNDS_STYLE_ADVANCED,
+	COLLISION_BOUNDS_STYLE_NONE,
+
+	COLLISION_BOUNDS_STYLE_COUNT
+};
+
+/** Allows the application to customize how the overlay appears in the compositor */
+struct Compositor_OverlaySettings
+{
+	uint32_t size; // sizeof(Compositor_OverlaySettings)
+	bool curved, antialias;
+	float scale, distance, alpha;
+	float uOffset, vOffset, uScale, vScale;
+	float gridDivs, gridWidth, gridScale;
+	HmdMatrix44_t transform;
+};
+
+/** used to refer to a single VR overlay */
+typedef uint64_t VROverlayHandle_t;
+
+static const VROverlayHandle_t k_ulOverlayHandleInvalid = 0;
+
+/** Errors that can occur around VR overlays */
+enum EVROverlayError
+{
+	VROverlayError_None						= 0,
+
+	VROverlayError_UnknownOverlay			= 10,
+	VROverlayError_InvalidHandle			= 11,
+	VROverlayError_PermissionDenied			= 12,
+	VROverlayError_OverlayLimitExceeded		= 13, // No more overlays could be created because the maximum number already exist
+	VROverlayError_WrongVisibilityType		= 14,
+	VROverlayError_KeyTooLong				= 15,
+	VROverlayError_NameTooLong				= 16,
+	VROverlayError_KeyInUse					= 17,
+	VROverlayError_WrongTransformType		= 18,
+	VROverlayError_InvalidTrackedDevice		= 19,
+	VROverlayError_InvalidParameter			= 20,
+	VROverlayError_ThumbnailCantBeDestroyed	= 21,
+	VROverlayError_ArrayTooSmall			= 22,
+	VROverlayError_RequestFailed			= 23,
+	VROverlayError_InvalidTexture			= 24,
+	VROverlayError_UnableToLoadFile			= 25,
+	VROverlayError_KeyboardAlreadyInUse		= 26,
+	VROverlayError_NoNeighbor				= 27,
+	VROverlayError_TooManyMaskPrimitives	= 29,
+	VROverlayError_BadMaskPrimitive			= 30,
+};
+
+/** enum values to pass in to VR_Init to identify whether the application will 
+* draw a 3D scene. */
+enum EVRApplicationType
+{
+	VRApplication_Other = 0,		// Some other kind of application that isn't covered by the other entries 
+	VRApplication_Scene	= 1,		// Application will submit 3D frames 
+	VRApplication_Overlay = 2,		// Application only interacts with overlays
+	VRApplication_Background = 3,	// Application should not start SteamVR if it's not already running, and should not
+									// keep it running if everything else quits.
+	VRApplication_Utility = 4,		// Init should not try to load any drivers. The application needs access to utility
+									// interfaces (like IVRSettings and IVRApplications) but not hardware.
+	VRApplication_VRMonitor = 5,	// Reserved for vrmonitor
+	VRApplication_SteamWatchdog = 6,// Reserved for Steam
+
+	VRApplication_Max
+};
+
+
+/** error codes for firmware */
+enum EVRFirmwareError
+{
+	VRFirmwareError_None = 0,
+	VRFirmwareError_Success = 1,
+	VRFirmwareError_Fail = 2,
+};
+
+
+/** error codes for notifications */
+enum EVRNotificationError
+{
+	VRNotificationError_OK = 0,
+	VRNotificationError_InvalidNotificationId = 100,
+	VRNotificationError_NotificationQueueFull = 101,
+	VRNotificationError_InvalidOverlayHandle = 102,
+	VRNotificationError_SystemWithUserValueAlreadyExists = 103,
+};
+
+
+/** error codes returned by Vr_Init */
+
+// Please add adequate error description to https://developer.valvesoftware.com/w/index.php?title=Category:SteamVRHelp
+enum EVRInitError
+{
+	VRInitError_None	= 0,
+	VRInitError_Unknown = 1,
+
+	VRInitError_Init_InstallationNotFound		= 100,
+	VRInitError_Init_InstallationCorrupt		= 101,
+	VRInitError_Init_VRClientDLLNotFound		= 102,
+	VRInitError_Init_FileNotFound				= 103,
+	VRInitError_Init_FactoryNotFound			= 104,
+	VRInitError_Init_InterfaceNotFound			= 105,
+	VRInitError_Init_InvalidInterface			= 106,
+	VRInitError_Init_UserConfigDirectoryInvalid = 107,
+	VRInitError_Init_HmdNotFound				= 108,
+	VRInitError_Init_NotInitialized				= 109,
+	VRInitError_Init_PathRegistryNotFound		= 110,
+	VRInitError_Init_NoConfigPath				= 111,
+	VRInitError_Init_NoLogPath					= 112,
+	VRInitError_Init_PathRegistryNotWritable	= 113,
+	VRInitError_Init_AppInfoInitFailed			= 114,
+	VRInitError_Init_Retry						= 115, // Used internally to cause retries to vrserver
+	VRInitError_Init_InitCanceledByUser			= 116, // The calling application should silently exit. The user canceled app startup
+	VRInitError_Init_AnotherAppLaunching		= 117, 
+	VRInitError_Init_SettingsInitFailed			= 118, 
+	VRInitError_Init_ShuttingDown				= 119,
+	VRInitError_Init_TooManyObjects				= 120,
+	VRInitError_Init_NoServerForBackgroundApp	= 121,
+	VRInitError_Init_NotSupportedWithCompositor	= 122,
+	VRInitError_Init_NotAvailableToUtilityApps	= 123,
+	VRInitError_Init_Internal				 	= 124,
+	VRInitError_Init_HmdDriverIdIsNone		 	= 125,
+	VRInitError_Init_HmdNotFoundPresenceFailed 	= 126,
+	VRInitError_Init_VRMonitorNotFound			= 127,
+	VRInitError_Init_VRMonitorStartupFailed		= 128,
+	VRInitError_Init_LowPowerWatchdogNotSupported = 129, 
+	VRInitError_Init_InvalidApplicationType		= 130,
+	VRInitError_Init_NotAvailableToWatchdogApps = 131,
+	VRInitError_Init_WatchdogDisabledInSettings = 132,
+	VRInitError_Init_VRDashboardNotFound		= 133,
+	VRInitError_Init_VRDashboardStartupFailed	= 134,
+
+	VRInitError_Driver_Failed				= 200,
+	VRInitError_Driver_Unknown				= 201,
+	VRInitError_Driver_HmdUnknown			= 202,
+	VRInitError_Driver_NotLoaded			= 203,
+	VRInitError_Driver_RuntimeOutOfDate		= 204,
+	VRInitError_Driver_HmdInUse				= 205,
+	VRInitError_Driver_NotCalibrated		= 206,
+	VRInitError_Driver_CalibrationInvalid	= 207,
+	VRInitError_Driver_HmdDisplayNotFound	= 208,
+	VRInitError_Driver_TrackedDeviceInterfaceUnknown = 209,
+	// VRInitError_Driver_HmdDisplayNotFoundAfterFix	 = 210, // not needed: here for historic reasons
+	VRInitError_Driver_HmdDriverIdOutOfBounds = 211,
+	VRInitError_Driver_HmdDisplayMirrored  = 212,
+
+	VRInitError_IPC_ServerInitFailed		= 300,
+	VRInitError_IPC_ConnectFailed			= 301,
+	VRInitError_IPC_SharedStateInitFailed	= 302,
+	VRInitError_IPC_CompositorInitFailed	= 303,
+	VRInitError_IPC_MutexInitFailed			= 304,
+	VRInitError_IPC_Failed					= 305,
+	VRInitError_IPC_CompositorConnectFailed	= 306,
+	VRInitError_IPC_CompositorInvalidConnectResponse = 307,
+	VRInitError_IPC_ConnectFailedAfterMultipleAttempts = 308,
+
+	VRInitError_Compositor_Failed					= 400,
+	VRInitError_Compositor_D3D11HardwareRequired	= 401,
+	VRInitError_Compositor_FirmwareRequiresUpdate	= 402,
+	VRInitError_Compositor_OverlayInitFailed		= 403,
+	VRInitError_Compositor_ScreenshotsInitFailed	= 404,
+
+	VRInitError_VendorSpecific_UnableToConnectToOculusRuntime = 1000,
+
+	VRInitError_VendorSpecific_HmdFound_CantOpenDevice 				= 1101,
+	VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart	= 1102,
+	VRInitError_VendorSpecific_HmdFound_NoStoredConfig 				= 1103,
+	VRInitError_VendorSpecific_HmdFound_ConfigTooBig 				= 1104,
+	VRInitError_VendorSpecific_HmdFound_ConfigTooSmall 				= 1105,
+	VRInitError_VendorSpecific_HmdFound_UnableToInitZLib 			= 1106,
+	VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion 	= 1107,
+	VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart	= 1108,
+	VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart	= 1109,
+	VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext		= 1110,
+	VRInitError_VendorSpecific_HmdFound_UserDataAddressRange		= 1111,
+	VRInitError_VendorSpecific_HmdFound_UserDataError				= 1112,
+	VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck		= 1113,
+
+	VRInitError_Steam_SteamInstallationNotFound = 2000,
+};
+
+enum EVRScreenshotType
+{
+	VRScreenshotType_None = 0,
+	VRScreenshotType_Mono = 1, // left eye only
+	VRScreenshotType_Stereo = 2,
+	VRScreenshotType_Cubemap = 3,
+	VRScreenshotType_MonoPanorama = 4,
+	VRScreenshotType_StereoPanorama = 5
+};
+
+enum EVRScreenshotPropertyFilenames
+{
+	VRScreenshotPropertyFilenames_Preview = 0,
+	VRScreenshotPropertyFilenames_VR = 1,
+};
+
+enum EVRTrackedCameraError
+{
+	VRTrackedCameraError_None                       = 0,
+	VRTrackedCameraError_OperationFailed            = 100,
+	VRTrackedCameraError_InvalidHandle              = 101,	
+	VRTrackedCameraError_InvalidFrameHeaderVersion  = 102,
+	VRTrackedCameraError_OutOfHandles               = 103,
+	VRTrackedCameraError_IPCFailure                 = 104,
+	VRTrackedCameraError_NotSupportedForThisDevice  = 105,
+	VRTrackedCameraError_SharedMemoryFailure        = 106,
+	VRTrackedCameraError_FrameBufferingFailure      = 107,
+	VRTrackedCameraError_StreamSetupFailure         = 108,
+	VRTrackedCameraError_InvalidGLTextureId         = 109,
+	VRTrackedCameraError_InvalidSharedTextureHandle = 110,
+	VRTrackedCameraError_FailedToGetGLTextureId     = 111,
+	VRTrackedCameraError_SharedTextureFailure       = 112,
+	VRTrackedCameraError_NoFrameAvailable           = 113,
+	VRTrackedCameraError_InvalidArgument            = 114,
+	VRTrackedCameraError_InvalidFrameBufferSize     = 115,
+};
+
+enum EVRTrackedCameraFrameType
+{
+	VRTrackedCameraFrameType_Distorted = 0,			// This is the camera video frame size in pixels, still distorted.
+	VRTrackedCameraFrameType_Undistorted,			// In pixels, an undistorted inscribed rectangle region without invalid regions. This size is subject to changes shortly.
+	VRTrackedCameraFrameType_MaximumUndistorted,	// In pixels, maximum undistorted with invalid regions. Non zero alpha component identifies valid regions.
+	MAX_CAMERA_FRAME_TYPES
+};
+
+typedef uint64_t TrackedCameraHandle_t;
+#define INVALID_TRACKED_CAMERA_HANDLE	((vr::TrackedCameraHandle_t)0)
+
+struct CameraVideoStreamFrameHeader_t
+{
+	EVRTrackedCameraFrameType eFrameType;
+
+	uint32_t nWidth;
+	uint32_t nHeight;
+	uint32_t nBytesPerPixel;
+
+	uint32_t nFrameSequence;
+
+	TrackedDevicePose_t standingTrackedDevicePose;
+};
+
+// Screenshot types
+typedef uint32_t ScreenshotHandle_t;
+
+static const uint32_t k_unScreenshotHandleInvalid = 0;
+
+#pragma pack( pop )
+
+// figure out how to import from the VR API dll
+#if defined(_WIN32)
+
+#ifdef VR_API_EXPORT
+#define VR_INTERFACE extern "C" __declspec( dllexport )
+#else
+#define VR_INTERFACE extern "C" __declspec( dllimport )
+#endif
+
+#elif defined(__GNUC__) || defined(COMPILER_GCC) || defined(__APPLE__)
+
+#ifdef VR_API_EXPORT
+#define VR_INTERFACE extern "C" __attribute__((visibility("default")))
+#else
+#define VR_INTERFACE extern "C" 
+#endif
+
+#else
+#error "Unsupported Platform."
+#endif
+
+
+#if defined( _WIN32 )
+#define VR_CALLTYPE __cdecl
+#else
+#define VR_CALLTYPE 
+#endif
+
+} // namespace vr
+
+#endif // _INCLUDE_VRTYPES_H
+
+
+// vrannotation.h
+#ifdef API_GEN
+# define VR_CLANG_ATTR(ATTR) __attribute__((annotate( ATTR )))
+#else
+# define VR_CLANG_ATTR(ATTR)
+#endif
+
+#define VR_METHOD_DESC(DESC) VR_CLANG_ATTR( "desc:" #DESC ";" )
+#define VR_IGNOREATTR() VR_CLANG_ATTR( "ignore" )
+#define VR_OUT_STRUCT() VR_CLANG_ATTR( "out_struct: ;" )
+#define VR_OUT_STRING() VR_CLANG_ATTR( "out_string: ;" )
+#define VR_OUT_ARRAY_CALL(COUNTER,FUNCTION,PARAMS) VR_CLANG_ATTR( "out_array_call:" #COUNTER "," #FUNCTION "," #PARAMS ";" )
+#define VR_OUT_ARRAY_COUNT(COUNTER) VR_CLANG_ATTR( "out_array_count:" #COUNTER ";" )
+#define VR_ARRAY_COUNT(COUNTER) VR_CLANG_ATTR( "array_count:" #COUNTER ";" )
+#define VR_ARRAY_COUNT_D(COUNTER, DESC) VR_CLANG_ATTR( "array_count:" #COUNTER ";desc:" #DESC )
+#define VR_BUFFER_COUNT(COUNTER) VR_CLANG_ATTR( "buffer_count:" #COUNTER ";" )
+#define VR_OUT_BUFFER_COUNT(COUNTER) VR_CLANG_ATTR( "out_buffer_count:" #COUNTER ";" )
+#define VR_OUT_STRING_COUNT(COUNTER) VR_CLANG_ATTR( "out_string_count:" #COUNTER ";" )
+
+// ivrsystem.h
+namespace vr
+{
+
+struct VR_IVRSystem_FnTable
+{
+	void (__stdcall *GetRecommendedRenderTargetSize)( uint32_t *pnWidth, uint32_t *pnHeight );
+	HmdMatrix44_t (__stdcall *GetProjectionMatrix)( EVREye eEye, float fNearZ, float fFarZ );
+	void (__stdcall *GetProjectionRaw)( EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom );
+	bool (__stdcall *ComputeDistortion)( EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates );
+	HmdMatrix34_t (__stdcall *GetEyeToHeadTransform)( EVREye eEye );
+	bool (__stdcall *GetTimeSinceLastVsync)( float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter );
+	int32_t (__stdcall *GetD3D9AdapterIndex)();
+	void (__stdcall *GetDXGIOutputInfo)( int32_t *pnAdapterIndex );
+	bool (__stdcall *IsDisplayOnDesktop)();
+	bool (__stdcall *SetDisplayVisibility)( bool bIsVisibleOnDesktop );
+	void (__stdcall *GetDeviceToAbsoluteTrackingPose)( ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow,  TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount );
+	void (__stdcall *ResetSeatedZeroPose)();
+	HmdMatrix34_t (__stdcall *GetSeatedZeroPoseToStandingAbsoluteTrackingPose)();
+	HmdMatrix34_t (__stdcall *GetRawZeroPoseToStandingAbsoluteTrackingPose)();
+	uint32_t (__stdcall *GetSortedTrackedDeviceIndicesOfClass)( ETrackedDeviceClass eTrackedDeviceClass,  vr::TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, vr::TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex);
+	EDeviceActivityLevel (__stdcall *GetTrackedDeviceActivityLevel)( vr::TrackedDeviceIndex_t unDeviceId );
+	void (__stdcall *ApplyTransform)( TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform );
+	vr::TrackedDeviceIndex_t (__stdcall *GetTrackedDeviceIndexForControllerRole)( vr::ETrackedControllerRole unDeviceType );
+	vr::ETrackedControllerRole (__stdcall *GetControllerRoleForTrackedDeviceIndex)( vr::TrackedDeviceIndex_t unDeviceIndex );
+	ETrackedDeviceClass (__stdcall *GetTrackedDeviceClass)( vr::TrackedDeviceIndex_t unDeviceIndex );
+	bool (__stdcall *IsTrackedDeviceConnected)( vr::TrackedDeviceIndex_t unDeviceIndex );
+	bool (__stdcall *GetBoolTrackedDeviceProperty)( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError);
+	float (__stdcall *GetFloatTrackedDeviceProperty)( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError);
+	int32_t (__stdcall *GetInt32TrackedDeviceProperty)( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError);
+	uint64_t (__stdcall *GetUint64TrackedDeviceProperty)( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError);
+	HmdMatrix34_t (__stdcall *GetMatrix34TrackedDeviceProperty)( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError);
+	uint32_t (__stdcall *GetStringTrackedDeviceProperty)( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop,  char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError);
+	const char *(__stdcall *GetPropErrorNameFromEnum)( ETrackedPropertyError error );
+	bool (__stdcall *PollNextEvent)( VREvent_t *pEvent, uint32_t uncbVREvent );
+	bool (__stdcall *PollNextEventWithPose)( ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, uint32_t uncbVREvent, vr::TrackedDevicePose_t *pTrackedDevicePose );
+	const char *(__stdcall *GetEventTypeNameFromEnum)( EVREventType eType );
+	HiddenAreaMesh_t (__stdcall *GetHiddenAreaMesh)( EVREye eEye, EHiddenAreaMeshType type);
+	bool (__stdcall *GetControllerState)( vr::TrackedDeviceIndex_t unControllerDeviceIndex, vr::VRControllerState_t *pControllerState, uint32_t unControllerStateSize );
+	bool (__stdcall *GetControllerStateWithPose)( ETrackingUniverseOrigin eOrigin, vr::TrackedDeviceIndex_t unControllerDeviceIndex, vr::VRControllerState_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose );
+	void (__stdcall *TriggerHapticPulse)( vr::TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec );
+	const char *(__stdcall *GetButtonIdNameFromEnum)( EVRButtonId eButtonId );
+	const char *(__stdcall *GetControllerAxisTypeNameFromEnum)( EVRControllerAxisType eAxisType );
+	bool (__stdcall *CaptureInputFocus)();
+	void (__stdcall *ReleaseInputFocus)();
+	bool (__stdcall *IsInputFocusCapturedByAnotherProcess)();
+	uint32_t (__stdcall *DriverDebugRequest)( vr::TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize );
+	vr::EVRFirmwareError (__stdcall *PerformFirmwareUpdate)( vr::TrackedDeviceIndex_t unDeviceIndex );
+	void (__stdcall *AcknowledgeQuit_Exiting)();
+	void (__stdcall *AcknowledgeQuit_UserPrompt)();
+};
+
+class IVRSystem
+{
+	VR_IVRSystem_FnTable _table;
+public:
+
+
+	// ------------------------------------
+	// Display Methods
+	// ------------------------------------
+
+	/** Suggested size for the intermediate render target that the distortion pulls from. */
+	void GetRecommendedRenderTargetSize( uint32_t *pnWidth, uint32_t *pnHeight ) { _table.GetRecommendedRenderTargetSize(pnWidth, pnHeight); }
+
+	/** The projection matrix for the specified eye */
+	HmdMatrix44_t GetProjectionMatrix( EVREye eEye, float fNearZ, float fFarZ ) { return _table.GetProjectionMatrix(eEye, fNearZ, fFarZ); }
+
+	/** The components necessary to build your own projection matrix in case your
+	* application is doing something fancy like infinite Z */
+	void GetProjectionRaw( EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom ) { _table.GetProjectionRaw(eEye, pfLeft, pfRight, pfTop, pfBottom); }
+
+	/** Gets the result of the distortion function for the specified eye and input UVs. UVs go from 0,0 in 
+	* the upper left of that eye's viewport and 1,1 in the lower right of that eye's viewport.
+	* Returns true for success. Otherwise, returns false, and distortion coordinates are not suitable. */
+	bool ComputeDistortion( EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates ) { return _table.ComputeDistortion(eEye, fU, fV, pDistortionCoordinates); }
+
+	/** Returns the transform from eye space to the head space. Eye space is the per-eye flavor of head
+	* space that provides stereo disparity. Instead of Model * View * Projection the sequence is Model * View * Eye^-1 * Projection. 
+	* Normally View and Eye^-1 will be multiplied together and treated as View in your application. 
+	*/
+	HmdMatrix34_t GetEyeToHeadTransform( EVREye eEye ) { return _table.GetEyeToHeadTransform(eEye); }
+
+	/** Returns the number of elapsed seconds since the last recorded vsync event. This 
+	*	will come from a vsync timer event in the timer if possible or from the application-reported
+	*   time if that is not available. If no vsync times are available the function will 
+	*   return zero for vsync time and frame counter and return false from the method. */
+	bool GetTimeSinceLastVsync( float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter ) { return _table.GetTimeSinceLastVsync(pfSecondsSinceLastVsync, pulFrameCounter); }
+
+	/** [D3D9 Only]
+	* Returns the adapter index that the user should pass into CreateDevice to set up D3D9 in such
+	* a way that it can go full screen exclusive on the HMD. Returns -1 if there was an error.
+	*/
+	int32_t GetD3D9AdapterIndex() { return _table.GetD3D9AdapterIndex(); }
+
+	/** [D3D10/11 Only]
+	* Returns the adapter index that the user should pass into EnumAdapters to create the device 
+	* and swap chain in DX10 and DX11. If an error occurs the index will be set to -1. The index will 
+	* also be -1 if the headset is in direct mode on the driver side instead of using the compositor's
+	* builtin direct mode support.
+	*/
+	void GetDXGIOutputInfo( int32_t *pnAdapterIndex ) { _table.GetDXGIOutputInfo(pnAdapterIndex); }
+
+	// ------------------------------------
+	// Display Mode methods
+	// ------------------------------------
+
+	/** Use to determine if the headset display is part of the desktop (i.e. extended) or hidden (i.e. direct mode). */
+	bool IsDisplayOnDesktop() { return _table.IsDisplayOnDesktop(); }
+
+	/** Set the display visibility (true = extended, false = direct mode).  Return value of true indicates that the change was successful. */
+	bool SetDisplayVisibility( bool bIsVisibleOnDesktop ) { return _table.SetDisplayVisibility(bIsVisibleOnDesktop); }
+
+	// ------------------------------------
+	// Tracking Methods
+	// ------------------------------------
+
+	/** The pose that the tracker thinks that the HMD will be in at the specified number of seconds into the 
+	* future. Pass 0 to get the state at the instant the method is called. Most of the time the application should
+	* calculate the time until the photons will be emitted from the display and pass that time into the method.
+	*
+	* This is roughly analogous to the inverse of the view matrix in most applications, though 
+	* many games will need to do some additional rotation or translation on top of the rotation
+	* and translation provided by the head pose.
+	*
+	* For devices where bPoseIsValid is true the application can use the pose to position the device
+	* in question. The provided array can be any size up to k_unMaxTrackedDeviceCount. 
+	*
+	* Seated experiences should call this method with TrackingUniverseSeated and receive poses relative
+	* to the seated zero pose. Standing experiences should call this method with TrackingUniverseStanding 
+	* and receive poses relative to the Chaperone Play Area. TrackingUniverseRawAndUncalibrated should 
+	* probably not be used unless the application is the Chaperone calibration tool itself, but will provide
+	* poses relative to the hardware-specific coordinate system in the driver.
+	*/
+	void GetDeviceToAbsoluteTrackingPose( ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, VR_ARRAY_COUNT(unTrackedDevicePoseArrayCount) TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount ) { _table.GetDeviceToAbsoluteTrackingPose(eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); }
+
+	/** Sets the zero pose for the seated tracker coordinate system to the current position and yaw of the HMD. After 
+	* ResetSeatedZeroPose all GetDeviceToAbsoluteTrackingPose calls that pass TrackingUniverseSeated as the origin 
+	* will be relative to this new zero pose. The new zero coordinate system will not change the fact that the Y axis 
+	* is up in the real world, so the next pose returned from GetDeviceToAbsoluteTrackingPose after a call to 
+	* ResetSeatedZeroPose may not be exactly an identity matrix.
+	*
+	* NOTE: This function overrides the user's previously saved seated zero pose and should only be called as the result of a user action. 
+	* Users are also able to set their seated zero pose via the OpenVR Dashboard.
+	**/
+	void ResetSeatedZeroPose() { _table.ResetSeatedZeroPose(); }
+
+	/** Returns the transform from the seated zero pose to the standing absolute tracking system. This allows 
+	* applications to represent the seated origin to used or transform object positions from one coordinate
+	* system to the other. 
+	*
+	* The seated origin may or may not be inside the Play Area or Collision Bounds returned by IVRChaperone. Its position 
+	* depends on what the user has set from the Dashboard settings and previous calls to ResetSeatedZeroPose. */
+	HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose() { return _table.GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); }
+
+	/** Returns the transform from the tracking origin to the standing absolute tracking system. This allows
+	* applications to convert from raw tracking space to the calibrated standing coordinate system. */
+	HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose() { return _table.GetRawZeroPoseToStandingAbsoluteTrackingPose(); }
+
+	/** Get a sorted array of device indices of a given class of tracked devices (e.g. controllers).  Devices are sorted right to left
+	* relative to the specified tracked device (default: hmd -- pass in -1 for absolute tracking space).  Returns the number of devices
+	* in the list, or the size of the array needed if not large enough. */
+	uint32_t GetSortedTrackedDeviceIndicesOfClass( ETrackedDeviceClass eTrackedDeviceClass, VR_ARRAY_COUNT(unTrackedDeviceIndexArrayCount) vr::TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, vr::TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex = k_unTrackedDeviceIndex_Hmd ) { return _table.GetSortedTrackedDeviceIndicesOfClass(eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); }
+
+	/** Returns the level of activity on the device. */
+	EDeviceActivityLevel GetTrackedDeviceActivityLevel( vr::TrackedDeviceIndex_t unDeviceId ) { return _table.GetTrackedDeviceActivityLevel(unDeviceId); }
+
+	/** Convenience utility to apply the specified transform to the specified pose.
+	*   This properly transforms all pose components, including velocity and angular velocity
+	*/
+	void ApplyTransform( TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform ) { _table.ApplyTransform(pOutputPose, pTrackedDevicePose, pTransform); }
+
+	/** Returns the device index associated with a specific role, for example the left hand or the right hand. */
+	vr::TrackedDeviceIndex_t GetTrackedDeviceIndexForControllerRole( vr::ETrackedControllerRole unDeviceType ) { return _table.GetTrackedDeviceIndexForControllerRole(unDeviceType); }
+
+	/** Returns the controller type associated with a device index. */
+	vr::ETrackedControllerRole GetControllerRoleForTrackedDeviceIndex( vr::TrackedDeviceIndex_t unDeviceIndex ) { return _table.GetControllerRoleForTrackedDeviceIndex(unDeviceIndex); }
+
+	// ------------------------------------
+	// Property methods
+	// ------------------------------------
+
+	/** Returns the device class of a tracked device. If there has not been a device connected in this slot
+	* since the application started this function will return TrackedDevice_Invalid. For previous detected
+	* devices the function will return the previously observed device class. 
+	*
+	* To determine which devices exist on the system, just loop from 0 to k_unMaxTrackedDeviceCount and check
+	* the device class. Every device with something other than TrackedDevice_Invalid is associated with an 
+	* actual tracked device. */
+	ETrackedDeviceClass GetTrackedDeviceClass( vr::TrackedDeviceIndex_t unDeviceIndex ) { return _table.GetTrackedDeviceClass(unDeviceIndex); }
+
+	/** Returns true if there is a device connected in this slot. */
+	bool IsTrackedDeviceConnected( vr::TrackedDeviceIndex_t unDeviceIndex ) { return _table.IsTrackedDeviceConnected(unDeviceIndex); }
+
+	/** Returns a bool property. If the device index is not valid or the property is not a bool type this function will return false. */
+	bool GetBoolTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) { return _table.GetBoolTrackedDeviceProperty(unDeviceIndex, prop, pError); }
+
+	/** Returns a float property. If the device index is not valid or the property is not a float type this function will return 0. */
+	float GetFloatTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) { return _table.GetFloatTrackedDeviceProperty(unDeviceIndex, prop, pError); }
+
+	/** Returns an int property. If the device index is not valid or the property is not a int type this function will return 0. */
+	int32_t GetInt32TrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) { return _table.GetInt32TrackedDeviceProperty(unDeviceIndex, prop, pError); }
+
+	/** Returns a uint64 property. If the device index is not valid or the property is not a uint64 type this function will return 0. */
+	uint64_t GetUint64TrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) { return _table.GetUint64TrackedDeviceProperty(unDeviceIndex, prop, pError); }
+
+	/** Returns a matrix property. If the device index is not valid or the property is not a matrix type, this function will return identity. */
+	HmdMatrix34_t GetMatrix34TrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) { return _table.GetMatrix34TrackedDeviceProperty(unDeviceIndex, prop, pError); }
+
+	/** Returns a string property. If the device index is not valid or the property is not a string type this function will 
+	* return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing
+	* null. Strings will always fit in buffers of k_unMaxPropertyStringSize characters. */
+	uint32_t GetStringTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError = 0L ) { return _table.GetStringTrackedDeviceProperty(unDeviceIndex, prop, pchValue, unBufferSize, pError); }
+
+	/** returns a string that corresponds with the specified property error. The string will be the name 
+	* of the error enum value for all valid error codes */
+	const char *GetPropErrorNameFromEnum( ETrackedPropertyError error ) { return _table.GetPropErrorNameFromEnum(error); }
+
+	// ------------------------------------
+	// Event methods
+	// ------------------------------------
+
+	/** Returns true and fills the event with the next event on the queue if there is one. If there are no events
+	* this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct */
+	bool PollNextEvent( VREvent_t *pEvent, uint32_t uncbVREvent ) { return _table.PollNextEvent(pEvent, uncbVREvent); }
+
+	/** Returns true and fills the event with the next event on the queue if there is one. If there are no events
+	* this method returns false. Fills in the pose of the associated tracked device in the provided pose struct. 
+	* This pose will always be older than the call to this function and should not be used to render the device. 
+	uncbVREvent should be the size in bytes of the VREvent_t struct */
+	bool PollNextEventWithPose( ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, uint32_t uncbVREvent, vr::TrackedDevicePose_t *pTrackedDevicePose ) { return _table.PollNextEventWithPose(eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); }
+
+	/** returns the name of an EVREvent enum value */
+	const char *GetEventTypeNameFromEnum( EVREventType eType ) { return _table.GetEventTypeNameFromEnum(eType); }
+
+	// ------------------------------------
+	// Rendering helper methods
+	// ------------------------------------
+
+	/** Returns the hidden area mesh for the current HMD. The pixels covered by this mesh will never be seen by the user after the lens distortion is
+	* applied based on visibility to the panels. If this HMD does not have a hidden area mesh, the vertex data and count will be NULL and 0 respectively.
+	* This mesh is meant to be rendered into the stencil buffer (or into the depth buffer setting nearz) before rendering each eye's view. 
+	* This will improve performance by letting the GPU early-reject pixels the user will never see before running the pixel shader.
+	* NOTE: Render this mesh with backface culling disabled since the winding order of the vertices can be different per-HMD or per-eye.
+	* Setting the bInverse argument to true will produce the visible area mesh that is commonly used in place of full-screen quads. The visible area mesh covers all of the pixels the hidden area mesh does not cover.
+	* Setting the bLineLoop argument will return a line loop of vertices in HiddenAreaMesh_t->pVertexData with HiddenAreaMesh_t->unTriangleCount set to the number of vertices.
+	*/
+	HiddenAreaMesh_t GetHiddenAreaMesh( EVREye eEye, EHiddenAreaMeshType type = k_eHiddenAreaMesh_Standard ) { return _table.GetHiddenAreaMesh(eEye, type); }
+
+	// ------------------------------------
+	// Controller methods
+	// ------------------------------------
+
+	/** Fills the supplied struct with the current state of the controller. Returns false if the controller index
+	* is invalid. */
+	bool GetControllerState( vr::TrackedDeviceIndex_t unControllerDeviceIndex, vr::VRControllerState_t *pControllerState, uint32_t unControllerStateSize ) { return _table.GetControllerState(unControllerDeviceIndex, pControllerState, unControllerStateSize); }
+
+	/** fills the supplied struct with the current state of the controller and the provided pose with the pose of 
+	* the controller when the controller state was updated most recently. Use this form if you need a precise controller
+	* pose as input to your application when the user presses or releases a button. */
+	bool GetControllerStateWithPose( ETrackingUniverseOrigin eOrigin, vr::TrackedDeviceIndex_t unControllerDeviceIndex, vr::VRControllerState_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose ) { return _table.GetControllerStateWithPose(eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); }
+
+	/** Trigger a single haptic pulse on a controller. After this call the application may not trigger another haptic pulse on this controller
+	* and axis combination for 5ms. */
+	void TriggerHapticPulse( vr::TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec ) { _table.TriggerHapticPulse(unControllerDeviceIndex, unAxisId, usDurationMicroSec); }
+
+	/** returns the name of an EVRButtonId enum value */
+	const char *GetButtonIdNameFromEnum( EVRButtonId eButtonId ) { return _table.GetButtonIdNameFromEnum(eButtonId); }
+
+	/** returns the name of an EVRControllerAxisType enum value */
+	const char *GetControllerAxisTypeNameFromEnum( EVRControllerAxisType eAxisType ) { return _table.GetControllerAxisTypeNameFromEnum(eAxisType); }
+
+	/** Tells OpenVR that this process wants exclusive access to controller button states and button events. Other apps will be notified that 
+	* they have lost input focus with a VREvent_InputFocusCaptured event. Returns false if input focus could not be captured for
+	* some reason. */
+	bool CaptureInputFocus() { return _table.CaptureInputFocus(); }
+
+	/** Tells OpenVR that this process no longer wants exclusive access to button states and button events. Other apps will be notified 
+	* that input focus has been released with a VREvent_InputFocusReleased event. */
+	void ReleaseInputFocus() { _table.ReleaseInputFocus(); }
+
+	/** Returns true if input focus is captured by another process. */
+	bool IsInputFocusCapturedByAnotherProcess() { return _table.IsInputFocusCapturedByAnotherProcess(); }
+
+	// ------------------------------------
+	// Debug Methods
+	// ------------------------------------
+
+	/** Sends a request to the driver for the specified device and returns the response. The maximum response size is 32k,
+	* but this method can be called with a smaller buffer. If the response exceeds the size of the buffer, it is truncated. 
+	* The size of the response including its terminating null is returned. */
+	uint32_t DriverDebugRequest( vr::TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize ) { return _table.DriverDebugRequest(unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); }
+
+	// ------------------------------------
+	// Firmware methods
+	// ------------------------------------
+	
+	/** Performs the actual firmware update if applicable. 
+	 * The following events will be sent, if VRFirmwareError_None was returned: VREvent_FirmwareUpdateStarted, VREvent_FirmwareUpdateFinished 
+	 * Use the properties Prop_Firmware_UpdateAvailable_Bool, Prop_Firmware_ManualUpdate_Bool, and Prop_Firmware_ManualUpdateURL_String
+	 * to figure our whether a firmware update is available, and to figure out whether its a manual update 
+	 * Prop_Firmware_ManualUpdateURL_String should point to an URL describing the manual update process */
+	vr::EVRFirmwareError PerformFirmwareUpdate( vr::TrackedDeviceIndex_t unDeviceIndex ) { return _table.PerformFirmwareUpdate(unDeviceIndex); }
+
+	// ------------------------------------
+	// Application life cycle methods
+	// ------------------------------------
+
+	/** Call this to acknowledge to the system that VREvent_Quit has been received and that the process is exiting.
+	* This extends the timeout until the process is killed. */
+	void AcknowledgeQuit_Exiting() { _table.AcknowledgeQuit_Exiting(); }
+
+	/** Call this to tell the system that the user is being prompted to save data. This
+	* halts the timeout and dismisses the dashboard (if it was up). Applications should be sure to actually 
+	* prompt the user to save and then exit afterward, otherwise the user will be left in a confusing state. */
+	void AcknowledgeQuit_UserPrompt() { _table.AcknowledgeQuit_UserPrompt(); }
+
+};
+
+static const char * const IVRSystem_Version = "FnTable:IVRSystem_015";
+
+}
+
+
+// ivrapplications.h
+namespace vr
+{
+
+	/** Used for all errors reported by the IVRApplications interface */
+	enum EVRApplicationError
+	{
+		VRApplicationError_None = 0,
+
+		VRApplicationError_AppKeyAlreadyExists = 100,	// Only one application can use any given key
+		VRApplicationError_NoManifest = 101,			// the running application does not have a manifest
+		VRApplicationError_NoApplication = 102,			// No application is running
+		VRApplicationError_InvalidIndex = 103,
+		VRApplicationError_UnknownApplication = 104,	// the application could not be found
+		VRApplicationError_IPCFailed = 105,				// An IPC failure caused the request to fail
+		VRApplicationError_ApplicationAlreadyRunning = 106, 
+		VRApplicationError_InvalidManifest = 107,
+		VRApplicationError_InvalidApplication = 108,
+		VRApplicationError_LaunchFailed = 109,			// the process didn't start
+		VRApplicationError_ApplicationAlreadyStarting = 110, // the system was already starting the same application
+		VRApplicationError_LaunchInProgress = 111,		// The system was already starting a different application
+		VRApplicationError_OldApplicationQuitting = 112, 
+		VRApplicationError_TransitionAborted = 113,
+		VRApplicationError_IsTemplate = 114, // error when you try to call LaunchApplication() on a template type app (use LaunchTemplateApplication)
+
+		VRApplicationError_BufferTooSmall = 200,		// The provided buffer was too small to fit the requested data
+		VRApplicationError_PropertyNotSet = 201,		// The requested property was not set
+		VRApplicationError_UnknownProperty = 202,
+		VRApplicationError_InvalidParameter = 203,
+	};
+
+	/** The maximum length of an application key */
+	static const uint32_t k_unMaxApplicationKeyLength = 128;
+
+	/** these are the properties available on applications. */
+	enum EVRApplicationProperty
+	{
+		VRApplicationProperty_Name_String				= 0,
+
+		VRApplicationProperty_LaunchType_String			= 11,
+		VRApplicationProperty_WorkingDirectory_String	= 12,
+		VRApplicationProperty_BinaryPath_String			= 13,
+		VRApplicationProperty_Arguments_String			= 14,
+		VRApplicationProperty_URL_String				= 15,
+
+		VRApplicationProperty_Description_String		= 50,
+		VRApplicationProperty_NewsURL_String			= 51,
+		VRApplicationProperty_ImagePath_String			= 52,
+		VRApplicationProperty_Source_String				= 53,
+
+		VRApplicationProperty_IsDashboardOverlay_Bool	= 60,
+		VRApplicationProperty_IsTemplate_Bool			= 61,
+		VRApplicationProperty_IsInstanced_Bool			= 62,
+
+		VRApplicationProperty_LastLaunchTime_Uint64		= 70,
+	};
+
+	/** These are states the scene application startup process will go through. */
+	enum EVRApplicationTransitionState
+	{
+		VRApplicationTransition_None = 0,
+
+		VRApplicationTransition_OldAppQuitSent = 10,
+		VRApplicationTransition_WaitingForExternalLaunch = 11,
+		
+		VRApplicationTransition_NewAppLaunched = 20,
+	};
+
+	struct AppOverrideKeys_t
+	{
+		const char *pchKey;
+		const char *pchValue;
+	};
+
+	/** Currently recognized mime types */
+	static const char * const k_pch_MimeType_HomeApp		= "vr/home";
+	static const char * const k_pch_MimeType_GameTheater	= "vr/game_theater";
+
+	struct VR_IVRApplications_FnTable
+	{
+		EVRApplicationError (__stdcall *AddApplicationManifest)( const char *pchApplicationManifestFullPath, bool bTemporary);
+		EVRApplicationError (__stdcall *RemoveApplicationManifest)( const char *pchApplicationManifestFullPath );
+		bool (__stdcall *IsApplicationInstalled)( const char *pchAppKey );
+		uint32_t (__stdcall *GetApplicationCount)();
+		EVRApplicationError (__stdcall *GetApplicationKeyByIndex)( uint32_t unApplicationIndex,  char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen );
+		EVRApplicationError (__stdcall *GetApplicationKeyByProcessId)( uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen );
+		EVRApplicationError (__stdcall *LaunchApplication)( const char *pchAppKey );
+		EVRApplicationError (__stdcall *LaunchTemplateApplication)( const char *pchTemplateAppKey, const char *pchNewAppKey,  const AppOverrideKeys_t *pKeys, uint32_t unKeys );
+		vr::EVRApplicationError (__stdcall *LaunchApplicationFromMimeType)( const char *pchMimeType, const char *pchArgs );
+		EVRApplicationError (__stdcall *LaunchDashboardOverlay)( const char *pchAppKey );
+		bool (__stdcall *CancelApplicationLaunch)( const char *pchAppKey );
+		EVRApplicationError (__stdcall *IdentifyApplication)( uint32_t unProcessId, const char *pchAppKey );
+		uint32_t (__stdcall *GetApplicationProcessId)( const char *pchAppKey );
+		const char *(__stdcall *GetApplicationsErrorNameFromEnum)( EVRApplicationError error );
+		uint32_t (__stdcall *GetApplicationPropertyString)( const char *pchAppKey, EVRApplicationProperty eProperty,  char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError);
+		bool (__stdcall *GetApplicationPropertyBool)( const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError);
+		uint64_t (__stdcall *GetApplicationPropertyUint64)( const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError);
+		EVRApplicationError (__stdcall *SetApplicationAutoLaunch)( const char *pchAppKey, bool bAutoLaunch );
+		bool (__stdcall *GetApplicationAutoLaunch)( const char *pchAppKey );
+		EVRApplicationError (__stdcall *SetDefaultApplicationForMimeType)( const char *pchAppKey, const char *pchMimeType );
+		bool (__stdcall *GetDefaultApplicationForMimeType)( const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen );
+		bool (__stdcall *GetApplicationSupportedMimeTypes)( const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer );
+		uint32_t (__stdcall *GetApplicationsThatSupportMimeType)( const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer );
+		uint32_t (__stdcall *GetApplicationLaunchArguments)( uint32_t unHandle, char *pchArgs, uint32_t unArgs );
+		EVRApplicationError (__stdcall *GetStartingApplication)( char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen );
+		EVRApplicationTransitionState (__stdcall *GetTransitionState)();
+		EVRApplicationError (__stdcall *PerformApplicationPrelaunchCheck)( const char *pchAppKey );
+		const char *(__stdcall *GetApplicationsTransitionStateNameFromEnum)( EVRApplicationTransitionState state );
+		bool (__stdcall *IsQuitUserPromptRequested)();
+		EVRApplicationError (__stdcall *LaunchInternalProcess)( const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory );
+	};
+
+	class IVRApplications
+	{
+		VR_IVRApplications_FnTable _table;
+	public:
+
+		// ---------------  Application management  --------------- //
+
+		/** Adds an application manifest to the list to load when building the list of installed applications. 
+		* Temporary manifests are not automatically loaded */
+		EVRApplicationError AddApplicationManifest( const char *pchApplicationManifestFullPath, bool bTemporary = false ) { return _table.AddApplicationManifest(pchApplicationManifestFullPath, bTemporary); }
+
+		/** Removes an application manifest from the list to load when building the list of installed applications. */
+		EVRApplicationError RemoveApplicationManifest( const char *pchApplicationManifestFullPath ) { return _table.RemoveApplicationManifest(pchApplicationManifestFullPath); }
+
+		/** Returns true if an application is installed */
+		bool IsApplicationInstalled( const char *pchAppKey ) { return _table.IsApplicationInstalled(pchAppKey); }
+
+		/** Returns the number of applications available in the list */
+		uint32_t GetApplicationCount() { return _table.GetApplicationCount(); }
+
+		/** Returns the key of the specified application. The index is at least 0 and is less than the return 
+		* value of GetApplicationCount(). The buffer should be at least k_unMaxApplicationKeyLength in order to 
+		* fit the key. */
+		EVRApplicationError GetApplicationKeyByIndex( uint32_t unApplicationIndex, VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) { return _table.GetApplicationKeyByIndex(unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); }
+
+		/** Returns the key of the application for the specified Process Id. The buffer should be at least 
+		* k_unMaxApplicationKeyLength in order to fit the key. */
+		EVRApplicationError GetApplicationKeyByProcessId( uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) { return _table.GetApplicationKeyByProcessId(unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); }
+
+		/** Launches the application. The existing scene application will exit and then the new application will start.
+		* This call is not valid for dashboard overlay applications. */
+		EVRApplicationError LaunchApplication( const char *pchAppKey ) { return _table.LaunchApplication(pchAppKey); }
+
+		/** Launches an instance of an application of type template, with its app key being pchNewAppKey (which must be unique) and optionally override sections
+		* from the manifest file via AppOverrideKeys_t
+		*/
+		EVRApplicationError LaunchTemplateApplication( const char *pchTemplateAppKey, const char *pchNewAppKey, VR_ARRAY_COUNT( unKeys ) const AppOverrideKeys_t *pKeys, uint32_t unKeys ) { return _table.LaunchTemplateApplication(pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); }
+
+		/** launches the application currently associated with this mime type and passes it the option args, typically the filename or object name of the item being launched */
+		vr::EVRApplicationError LaunchApplicationFromMimeType( const char *pchMimeType, const char *pchArgs ) { return _table.LaunchApplicationFromMimeType(pchMimeType, pchArgs); }
+
+		/** Launches the dashboard overlay application if it is not already running. This call is only valid for 
+		* dashboard overlay applications. */
+		EVRApplicationError LaunchDashboardOverlay( const char *pchAppKey ) { return _table.LaunchDashboardOverlay(pchAppKey); }
+
+		/** Cancel a pending launch for an application */
+		bool CancelApplicationLaunch( const char *pchAppKey ) { return _table.CancelApplicationLaunch(pchAppKey); }
+
+		/** Identifies a running application. OpenVR can't always tell which process started in response
+		* to a URL. This function allows a URL handler (or the process itself) to identify the app key 
+		* for the now running application. Passing a process ID of 0 identifies the calling process. 
+		* The application must be one that's known to the system via a call to AddApplicationManifest. */
+		EVRApplicationError IdentifyApplication( uint32_t unProcessId, const char *pchAppKey ) { return _table.IdentifyApplication(unProcessId, pchAppKey); }
+
+		/** Returns the process ID for an application. Return 0 if the application was not found or is not running. */
+		uint32_t GetApplicationProcessId( const char *pchAppKey ) { return _table.GetApplicationProcessId(pchAppKey); }
+
+		/** Returns a string for an applications error */
+		const char *GetApplicationsErrorNameFromEnum( EVRApplicationError error ) { return _table.GetApplicationsErrorNameFromEnum(error); }
+
+		// ---------------  Application properties  --------------- //
+
+		/** Returns a value for an application property. The required buffer size to fit this value will be returned. */
+		uint32_t GetApplicationPropertyString( const char *pchAppKey, EVRApplicationProperty eProperty, VR_OUT_STRING() char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError = nullptr ) { return _table.GetApplicationPropertyString(pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); }
+
+		/** Returns a bool value for an application property. Returns false in all error cases. */
+		bool GetApplicationPropertyBool( const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError = nullptr ) { return _table.GetApplicationPropertyBool(pchAppKey, eProperty, peError); }
+
+		/** Returns a uint64 value for an application property. Returns 0 in all error cases. */
+		uint64_t GetApplicationPropertyUint64( const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError = nullptr ) { return _table.GetApplicationPropertyUint64(pchAppKey, eProperty, peError); }
+
+		/** Sets the application auto-launch flag. This is only valid for applications which return true for VRApplicationProperty_IsDashboardOverlay_Bool. */
+		EVRApplicationError SetApplicationAutoLaunch( const char *pchAppKey, bool bAutoLaunch ) { return _table.SetApplicationAutoLaunch(pchAppKey, bAutoLaunch); }
+
+		/** Gets the application auto-launch flag. This is only valid for applications which return true for VRApplicationProperty_IsDashboardOverlay_Bool. */
+		bool GetApplicationAutoLaunch( const char *pchAppKey ) { return _table.GetApplicationAutoLaunch(pchAppKey); }
+
+		/** Adds this mime-type to the list of supported mime types for this application*/
+		EVRApplicationError SetDefaultApplicationForMimeType( const char *pchAppKey, const char *pchMimeType ) { return _table.SetDefaultApplicationForMimeType(pchAppKey, pchMimeType); }
+
+		/** return the app key that will open this mime type */
+		bool GetDefaultApplicationForMimeType( const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) { return _table.GetDefaultApplicationForMimeType(pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); }
+
+		/** Get the list of supported mime types for this application, comma-delimited */
+		bool GetApplicationSupportedMimeTypes( const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer ) { return _table.GetApplicationSupportedMimeTypes(pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); }
+
+		/** Get the list of app-keys that support this mime type, comma-delimited, the return value is number of bytes you need to return the full string */
+		uint32_t GetApplicationsThatSupportMimeType( const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer ) { return _table.GetApplicationsThatSupportMimeType(pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); }
+
+		/** Get the args list from an app launch that had the process already running, you call this when you get a VREvent_ApplicationMimeTypeLoad */
+		uint32_t GetApplicationLaunchArguments( uint32_t unHandle, char *pchArgs, uint32_t unArgs ) { return _table.GetApplicationLaunchArguments(unHandle, pchArgs, unArgs); }
+
+		// ---------------  Transition methods --------------- //
+
+		/** Returns the app key for the application that is starting up */
+		EVRApplicationError GetStartingApplication( char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) { return _table.GetStartingApplication(pchAppKeyBuffer, unAppKeyBufferLen); }
+
+		/** Returns the application transition state */
+		EVRApplicationTransitionState GetTransitionState() { return _table.GetTransitionState(); }
+
+		/** Returns errors that would prevent the specified application from launching immediately. Calling this function will
+		* cause the current scene application to quit, so only call it when you are actually about to launch something else.
+		* What the caller should do about these failures depends on the failure:
+		*   VRApplicationError_OldApplicationQuitting - An existing application has been told to quit. Wait for a VREvent_ProcessQuit
+		*                                               and try again.
+		*   VRApplicationError_ApplicationAlreadyStarting - This application is already starting. This is a permanent failure.
+		*   VRApplicationError_LaunchInProgress	      - A different application is already starting. This is a permanent failure.
+		*   VRApplicationError_None                   - Go ahead and launch. Everything is clear.
+		*/
+		EVRApplicationError PerformApplicationPrelaunchCheck( const char *pchAppKey ) { return _table.PerformApplicationPrelaunchCheck(pchAppKey); }
+
+		/** Returns a string for an application transition state */
+		const char *GetApplicationsTransitionStateNameFromEnum( EVRApplicationTransitionState state ) { return _table.GetApplicationsTransitionStateNameFromEnum(state); }
+
+		/** Returns true if the outgoing scene app has requested a save prompt before exiting */
+		bool IsQuitUserPromptRequested() { return _table.IsQuitUserPromptRequested(); }
+
+		/** Starts a subprocess within the calling application. This
+		* suppresses all application transition UI and automatically identifies the new executable 
+		* as part of the same application. On success the calling process should exit immediately. 
+		* If working directory is NULL or "" the directory portion of the binary path will be 
+		* the working directory. */
+		EVRApplicationError LaunchInternalProcess( const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory ) { return _table.LaunchInternalProcess(pchBinaryPath, pchArguments, pchWorkingDirectory); }
+	};
+
+	static const char * const IVRApplications_Version = "FnTable:IVRApplications_006";
+
+} // namespace vr
+
+// ivrsettings.h
+namespace vr
+{
+	enum EVRSettingsError
+	{
+		VRSettingsError_None = 0,
+		VRSettingsError_IPCFailed = 1,
+		VRSettingsError_WriteFailed = 2,
+		VRSettingsError_ReadFailed = 3,
+		VRSettingsError_JsonParseFailed = 4,
+		VRSettingsError_UnsetSettingHasNoDefault = 5, // This will be returned if the setting does not appear in the appropriate default file and has not been set
+	};
+
+	// The maximum length of a settings key
+	static const uint32_t k_unMaxSettingsKeyLength = 128;
+
+	struct VR_IVRSettings_FnTable
+	{
+		const char *(__stdcall *GetSettingsErrorNameFromEnum)( EVRSettingsError eError );
+		bool (__stdcall *Sync)( bool bForce, EVRSettingsError *peError);
+		void (__stdcall *SetBool)( const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError);
+		void (__stdcall *SetInt32)( const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError);
+		void (__stdcall *SetFloat)( const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError);
+		void (__stdcall *SetString)( const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError);
+		bool (__stdcall *GetBool)( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError);
+		int32_t (__stdcall *GetInt32)( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError);
+		float (__stdcall *GetFloat)( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError);
+		void (__stdcall *GetString)( const char *pchSection, const char *pchSettingsKey,  char *pchValue, uint32_t unValueLen, EVRSettingsError *peError);
+		void (__stdcall *RemoveSection)( const char *pchSection, EVRSettingsError *peError);
+		void (__stdcall *RemoveKeyInSection)( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError);
+	};
+
+	class IVRSettings
+	{
+		VR_IVRSettings_FnTable _table;
+	public:
+		const char *GetSettingsErrorNameFromEnum( EVRSettingsError eError ) { return _table.GetSettingsErrorNameFromEnum(eError); }
+
+		// Returns true if file sync occurred (force or settings dirty)
+		bool Sync( bool bForce = false, EVRSettingsError *peError = nullptr ) { return _table.Sync(bForce, peError); }
+
+		void SetBool( const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError = nullptr ) { _table.SetBool(pchSection, pchSettingsKey, bValue, peError); }
+		void SetInt32( const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError = nullptr ) { _table.SetInt32(pchSection, pchSettingsKey, nValue, peError); }
+		void SetFloat( const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError = nullptr ) { _table.SetFloat(pchSection, pchSettingsKey, flValue, peError); }
+		void SetString( const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError = nullptr ) { _table.SetString(pchSection, pchSettingsKey, pchValue, peError); }
+
+		// Users of the system need to provide a proper default in default.vrsettings in the resources/settings/ directory
+		// of either the runtime or the driver_xxx directory. Otherwise the default will be false, 0, 0.0 or ""
+		bool GetBool( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) { return _table.GetBool(pchSection, pchSettingsKey, peError); }
+		int32_t GetInt32( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) { return _table.GetInt32(pchSection, pchSettingsKey, peError); }
+		float GetFloat( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) { return _table.GetFloat(pchSection, pchSettingsKey, peError); }
+		void GetString( const char *pchSection, const char *pchSettingsKey, VR_OUT_STRING() char *pchValue, uint32_t unValueLen, EVRSettingsError *peError = nullptr ) { _table.GetString(pchSection, pchSettingsKey, pchValue, unValueLen, peError); }
+
+		void RemoveSection( const char *pchSection, EVRSettingsError *peError = nullptr ) { _table.RemoveSection(pchSection, peError); }
+		void RemoveKeyInSection( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) { _table.RemoveKeyInSection(pchSection, pchSettingsKey, peError); }
+	};
+
+	//-----------------------------------------------------------------------------
+	static const char * const IVRSettings_Version = "FnTable:IVRSettings_002";
+
+	//-----------------------------------------------------------------------------
+	// steamvr keys
+	static const char * const k_pch_SteamVR_Section = "steamvr";
+	static const char * const k_pch_SteamVR_RequireHmd_String = "requireHmd";
+	static const char * const k_pch_SteamVR_ForcedDriverKey_String = "forcedDriver";
+	static const char * const k_pch_SteamVR_ForcedHmdKey_String = "forcedHmd";
+	static const char * const k_pch_SteamVR_DisplayDebug_Bool = "displayDebug";
+	static const char * const k_pch_SteamVR_DebugProcessPipe_String = "debugProcessPipe";
+	static const char * const k_pch_SteamVR_EnableDistortion_Bool = "enableDistortion";
+	static const char * const k_pch_SteamVR_DisplayDebugX_Int32 = "displayDebugX";
+	static const char * const k_pch_SteamVR_DisplayDebugY_Int32 = "displayDebugY";
+	static const char * const k_pch_SteamVR_SendSystemButtonToAllApps_Bool= "sendSystemButtonToAllApps";
+	static const char * const k_pch_SteamVR_LogLevel_Int32 = "loglevel";
+	static const char * const k_pch_SteamVR_IPD_Float = "ipd";
+	static const char * const k_pch_SteamVR_Background_String = "background";
+	static const char * const k_pch_SteamVR_BackgroundUseDomeProjection_Bool = "backgroundUseDomeProjection";
+	static const char * const k_pch_SteamVR_BackgroundCameraHeight_Float = "backgroundCameraHeight";
+	static const char * const k_pch_SteamVR_BackgroundDomeRadius_Float = "backgroundDomeRadius";
+	static const char * const k_pch_SteamVR_GridColor_String = "gridColor";
+	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_RenderTargetMultiplier_Float = "renderTargetMultiplier";
+	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_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking";
+	static const char * const k_pch_SteamVR_DefaultMirrorView_Int32 = "defaultMirrorView";
+	static const char * const k_pch_SteamVR_ShowMirrorView_Bool = "showMirrorView";
+	static const char * const k_pch_SteamVR_MirrorViewGeometry_String = "mirrorViewGeometry";
+	static const char * const k_pch_SteamVR_StartMonitorFromAppLaunch = "startMonitorFromAppLaunch";
+	static const char * const k_pch_SteamVR_StartCompositorFromAppLaunch_Bool = "startCompositorFromAppLaunch";
+	static const char * const k_pch_SteamVR_StartDashboardFromAppLaunch_Bool = "startDashboardFromAppLaunch";
+	static const char * const k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool = "startOverlayAppsFromDashboard";
+	static const char * const k_pch_SteamVR_EnableHomeApp = "enableHomeApp";
+	static const char * const k_pch_SteamVR_SetInitialDefaultHomeApp = "setInitialDefaultHomeApp";
+	static const char * const k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32 = "CycleBackgroundImageTimeSec";
+	static const char * const k_pch_SteamVR_RetailDemo_Bool = "retailDemo";
+	static const char * const k_pch_SteamVR_IpdOffset_Float = "ipdOffset";
+
+	//-----------------------------------------------------------------------------
+	// lighthouse keys
+	static const char * const k_pch_Lighthouse_Section = "driver_lighthouse";
+	static const char * const k_pch_Lighthouse_DisableIMU_Bool = "disableimu";
+	static const char * const k_pch_Lighthouse_UseDisambiguation_String = "usedisambiguation";
+	static const char * const k_pch_Lighthouse_DisambiguationDebug_Int32 = "disambiguationdebug";
+	static const char * const k_pch_Lighthouse_PrimaryBasestation_Int32 = "primarybasestation";
+	static const char * const k_pch_Lighthouse_DBHistory_Bool = "dbhistory";
+
+	//-----------------------------------------------------------------------------
+	// null keys
+	static const char * const k_pch_Null_Section = "driver_null";
+	static const char * const k_pch_Null_EnableNullDriver_Bool = "enable";
+	static const char * const k_pch_Null_SerialNumber_String = "serialNumber";
+	static const char * const k_pch_Null_ModelNumber_String = "modelNumber";
+	static const char * const k_pch_Null_WindowX_Int32 = "windowX";
+	static const char * const k_pch_Null_WindowY_Int32 = "windowY";
+	static const char * const k_pch_Null_WindowWidth_Int32 = "windowWidth";
+	static const char * const k_pch_Null_WindowHeight_Int32 = "windowHeight";
+	static const char * const k_pch_Null_RenderWidth_Int32 = "renderWidth";
+	static const char * const k_pch_Null_RenderHeight_Int32 = "renderHeight";
+	static const char * const k_pch_Null_SecondsFromVsyncToPhotons_Float = "secondsFromVsyncToPhotons";
+	static const char * const k_pch_Null_DisplayFrequency_Float = "displayFrequency";
+
+	//-----------------------------------------------------------------------------
+	// user interface keys
+	static const char * const k_pch_UserInterface_Section = "userinterface";
+	static const char * const k_pch_UserInterface_StatusAlwaysOnTop_Bool = "StatusAlwaysOnTop";
+	static const char * const k_pch_UserInterface_MinimizeToTray_Bool = "MinimizeToTray";
+	static const char * const k_pch_UserInterface_Screenshots_Bool = "screenshots";
+	static const char * const k_pch_UserInterface_ScreenshotType_Int = "screenshotType";
+
+	//-----------------------------------------------------------------------------
+	// notification keys
+	static const char * const k_pch_Notifications_Section = "notifications";
+	static const char * const k_pch_Notifications_DoNotDisturb_Bool = "DoNotDisturb";
+
+	//-----------------------------------------------------------------------------
+	// keyboard keys
+	static const char * const k_pch_Keyboard_Section = "keyboard";
+	static const char * const k_pch_Keyboard_TutorialCompletions = "TutorialCompletions";
+	static const char * const k_pch_Keyboard_ScaleX = "ScaleX";
+	static const char * const k_pch_Keyboard_ScaleY = "ScaleY";
+	static const char * const k_pch_Keyboard_OffsetLeftX = "OffsetLeftX";
+	static const char * const k_pch_Keyboard_OffsetRightX = "OffsetRightX";
+	static const char * const k_pch_Keyboard_OffsetY = "OffsetY";
+	static const char * const k_pch_Keyboard_Smoothing = "Smoothing";
+
+	//-----------------------------------------------------------------------------
+	// perf keys
+	static const char * const k_pch_Perf_Section = "perfcheck";
+	static const char * const k_pch_Perf_HeuristicActive_Bool = "heuristicActive";
+	static const char * const k_pch_Perf_NotifyInHMD_Bool = "warnInHMD";
+	static const char * const k_pch_Perf_NotifyOnlyOnce_Bool = "warnOnlyOnce";
+	static const char * const k_pch_Perf_AllowTimingStore_Bool = "allowTimingStore";
+	static const char * const k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit";
+	static const char * const k_pch_Perf_TestData_Float = "perfTestData";
+
+	//-----------------------------------------------------------------------------
+	// collision bounds keys
+	static const char * const k_pch_CollisionBounds_Section = "collisionBounds";
+	static const char * const k_pch_CollisionBounds_Style_Int32 = "CollisionBoundsStyle";
+	static const char * const k_pch_CollisionBounds_GroundPerimeterOn_Bool = "CollisionBoundsGroundPerimeterOn";
+	static const char * const k_pch_CollisionBounds_CenterMarkerOn_Bool = "CollisionBoundsCenterMarkerOn";
+	static const char * const k_pch_CollisionBounds_PlaySpaceOn_Bool = "CollisionBoundsPlaySpaceOn";
+	static const char * const k_pch_CollisionBounds_FadeDistance_Float = "CollisionBoundsFadeDistance";
+	static const char * const k_pch_CollisionBounds_ColorGammaR_Int32 = "CollisionBoundsColorGammaR";
+	static const char * const k_pch_CollisionBounds_ColorGammaG_Int32 = "CollisionBoundsColorGammaG";
+	static const char * const k_pch_CollisionBounds_ColorGammaB_Int32 = "CollisionBoundsColorGammaB";
+	static const char * const k_pch_CollisionBounds_ColorGammaA_Int32 = "CollisionBoundsColorGammaA";
+
+	//-----------------------------------------------------------------------------
+	// camera keys
+	static const char * const k_pch_Camera_Section = "camera";
+	static const char * const k_pch_Camera_EnableCamera_Bool = "enableCamera";
+	static const char * const k_pch_Camera_EnableCameraInDashboard_Bool = "enableCameraInDashboard";
+	static const char * const k_pch_Camera_EnableCameraForCollisionBounds_Bool = "enableCameraForCollisionBounds";
+	static const char * const k_pch_Camera_EnableCameraForRoomView_Bool = "enableCameraForRoomView";
+	static const char * const k_pch_Camera_BoundsColorGammaR_Int32 = "cameraBoundsColorGammaR";
+	static const char * const k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGammaG";
+	static const char * const k_pch_Camera_BoundsColorGammaB_Int32 = "cameraBoundsColorGammaB";
+	static const char * const k_pch_Camera_BoundsColorGammaA_Int32 = "cameraBoundsColorGammaA";
+	static const char * const k_pch_Camera_BoundsStrength_Int32 = "cameraBoundsStrength";
+
+	//-----------------------------------------------------------------------------
+	// audio keys
+	static const char * const k_pch_audio_Section = "audio";
+	static const char * const k_pch_audio_OnPlaybackDevice_String = "onPlaybackDevice";
+	static const char * const k_pch_audio_OnRecordDevice_String = "onRecordDevice";
+	static const char * const k_pch_audio_OnPlaybackMirrorDevice_String = "onPlaybackMirrorDevice";
+	static const char * const k_pch_audio_OffPlaybackDevice_String = "offPlaybackDevice";
+	static const char * const k_pch_audio_OffRecordDevice_String = "offRecordDevice";
+	static const char * const k_pch_audio_VIVEHDMIGain = "viveHDMIGain";
+
+	//-----------------------------------------------------------------------------
+	// power management keys
+	static const char * const k_pch_Power_Section = "power";
+	static const char * const k_pch_Power_PowerOffOnExit_Bool = "powerOffOnExit";
+	static const char * const k_pch_Power_TurnOffScreensTimeout_Float = "turnOffScreensTimeout";
+	static const char * const k_pch_Power_TurnOffControllersTimeout_Float = "turnOffControllersTimeout";
+	static const char * const k_pch_Power_ReturnToWatchdogTimeout_Float = "returnToWatchdogTimeout";
+	static const char * const k_pch_Power_AutoLaunchSteamVROnButtonPress = "autoLaunchSteamVROnButtonPress";
+
+	//-----------------------------------------------------------------------------
+	// dashboard keys
+	static const char * const k_pch_Dashboard_Section = "dashboard";
+	static const char * const k_pch_Dashboard_EnableDashboard_Bool = "enableDashboard";
+	static const char * const k_pch_Dashboard_ArcadeMode_Bool = "arcadeMode";
+
+	//-----------------------------------------------------------------------------
+	// model skin keys
+	static const char * const k_pch_modelskin_Section = "modelskins";
+
+} // namespace vr
+
+// ivrchaperone.h
+namespace vr
+{
+
+#if defined(__linux__) || defined(__APPLE__) 
+	// The 32-bit version of gcc has the alignment requirement for uint64 and double set to
+	// 4 meaning that even with #pragma pack(8) these types will only be four-byte aligned.
+	// The 64-bit version of gcc has the alignment requirement for these types set to
+	// 8 meaning that unless we use #pragma pack(4) our structures will get bigger.
+	// The 64-bit structure packing has to match the 32-bit structure packing for each platform.
+	#pragma pack( push, 4 )
+#else
+	#pragma pack( push, 8 )
+#endif
+
+enum ChaperoneCalibrationState
+{
+	// OK!
+	ChaperoneCalibrationState_OK = 1,									// Chaperone is fully calibrated and working correctly
+
+	// Warnings
+	ChaperoneCalibrationState_Warning = 100,
+	ChaperoneCalibrationState_Warning_BaseStationMayHaveMoved = 101,	// A base station thinks that it might have moved
+	ChaperoneCalibrationState_Warning_BaseStationRemoved = 102,			// There are less base stations than when calibrated
+	ChaperoneCalibrationState_Warning_SeatedBoundsInvalid = 103,		// Seated bounds haven't been calibrated for the current tracking center
+
+	// Errors
+	ChaperoneCalibrationState_Error = 200,								// The UniverseID is invalid
+	ChaperoneCalibrationState_Error_BaseStationUninitialized = 201,		// Tracking center hasn't be calibrated for at least one of the base stations
+	ChaperoneCalibrationState_Error_BaseStationConflict = 202,			// Tracking center is calibrated, but base stations disagree on the tracking space
+	ChaperoneCalibrationState_Error_PlayAreaInvalid = 203,				// Play Area hasn't been calibrated for the current tracking center
+	ChaperoneCalibrationState_Error_CollisionBoundsInvalid = 204,		// Collision Bounds haven't been calibrated for the current tracking center
+};
+
+
+/** HIGH LEVEL TRACKING SPACE ASSUMPTIONS:
+* 0,0,0 is the preferred standing area center.
+* 0Y is the floor height.
+* -Z is the preferred forward facing direction. */
+struct VR_IVRChaperone_FnTable
+{
+	ChaperoneCalibrationState (__stdcall *GetCalibrationState)();
+	bool (__stdcall *GetPlayAreaSize)( float *pSizeX, float *pSizeZ );
+	bool (__stdcall *GetPlayAreaRect)( HmdQuad_t *rect );
+	void (__stdcall *ReloadInfo)( void );
+	void (__stdcall *SetSceneColor)( HmdColor_t color );
+	void (__stdcall *GetBoundsColor)( HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor );
+	bool (__stdcall *AreBoundsVisible)();
+	void (__stdcall *ForceBoundsVisible)( bool bForce );
+};
+
+class IVRChaperone
+{
+	VR_IVRChaperone_FnTable _table;
+public:
+
+	/** Get the current state of Chaperone calibration. This state can change at any time during a session due to physical base station changes. **/
+	ChaperoneCalibrationState GetCalibrationState() { return _table.GetCalibrationState(); }
+
+	/** Returns the width and depth of the Play Area (formerly named Soft Bounds) in X and Z. 
+	* Tracking space center (0,0,0) is the center of the Play Area. **/
+	bool GetPlayAreaSize( float *pSizeX, float *pSizeZ ) { return _table.GetPlayAreaSize(pSizeX, pSizeZ); }
+
+	/** Returns the 4 corner positions of the Play Area (formerly named Soft Bounds).
+	* Corners are in counter-clockwise order.
+	* Standing center (0,0,0) is the center of the Play Area.
+	* It's a rectangle.
+	* 2 sides are parallel to the X axis and 2 sides are parallel to the Z axis.
+	* Height of every corner is 0Y (on the floor). **/
+	bool GetPlayAreaRect( HmdQuad_t *rect ) { return _table.GetPlayAreaRect(rect); }
+
+	/** Reload Chaperone data from the .vrchap file on disk. */
+	void ReloadInfo( void ) { _table.ReloadInfo(); }
+
+	/** Optionally give the chaperone system a hit about the color and brightness in the scene **/
+	void SetSceneColor( HmdColor_t color ) { _table.SetSceneColor(color); }
+
+	/** Get the current chaperone bounds draw color and brightness **/
+	void GetBoundsColor( HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor ) { _table.GetBoundsColor(pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); }
+
+	/** Determine whether the bounds are showing right now **/
+	bool AreBoundsVisible() { return _table.AreBoundsVisible(); }
+
+	/** Force the bounds to show, mostly for utilities **/
+	void ForceBoundsVisible( bool bForce ) { _table.ForceBoundsVisible(bForce); }
+};
+
+static const char * const IVRChaperone_Version = "FnTable:IVRChaperone_003";
+
+#pragma pack( pop )
+
+}
+
+// ivrchaperonesetup.h
+namespace vr
+{
+
+enum EChaperoneConfigFile
+{
+	EChaperoneConfigFile_Live = 1,		// The live chaperone config, used by most applications and games
+	EChaperoneConfigFile_Temp = 2,		// The temporary chaperone config, used to live-preview collision bounds in room setup
+};
+
+enum EChaperoneImportFlags
+{
+	EChaperoneImport_BoundsOnly = 0x0001,
+};
+
+/** Manages the working copy of the chaperone info. By default this will be the same as the 
+* live copy. Any changes made with this interface will stay in the working copy until 
+* CommitWorkingCopy() is called, at which point the working copy and the live copy will be 
+* the same again. */
+struct VR_IVRChaperoneSetup_FnTable
+{
+	bool (__stdcall *CommitWorkingCopy)( EChaperoneConfigFile configFile );
+	void (__stdcall *RevertWorkingCopy)();
+	bool (__stdcall *GetWorkingPlayAreaSize)( float *pSizeX, float *pSizeZ );
+	bool (__stdcall *GetWorkingPlayAreaRect)( HmdQuad_t *rect );
+	bool (__stdcall *GetWorkingCollisionBoundsInfo)(  HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount );
+	bool (__stdcall *GetLiveCollisionBoundsInfo)(  HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount );
+	bool (__stdcall *GetWorkingSeatedZeroPoseToRawTrackingPose)( HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose );
+	bool (__stdcall *GetWorkingStandingZeroPoseToRawTrackingPose)( HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose );
+	void (__stdcall *SetWorkingPlayAreaSize)( float sizeX, float sizeZ );
+	void (__stdcall *SetWorkingCollisionBoundsInfo)(  HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount );
+	void (__stdcall *SetWorkingSeatedZeroPoseToRawTrackingPose)( const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose );
+	void (__stdcall *SetWorkingStandingZeroPoseToRawTrackingPose)( const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose );
+	void (__stdcall *ReloadFromDisk)( EChaperoneConfigFile configFile );
+	bool (__stdcall *GetLiveSeatedZeroPoseToRawTrackingPose)( HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose );
+	void (__stdcall *SetWorkingCollisionBoundsTagsInfo)(  uint8_t *pTagsBuffer, uint32_t unTagCount );
+	bool (__stdcall *GetLiveCollisionBoundsTagsInfo)(  uint8_t *pTagsBuffer, uint32_t *punTagCount );
+	bool (__stdcall *SetWorkingPhysicalBoundsInfo)(  HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount );
+	bool (__stdcall *GetLivePhysicalBoundsInfo)(  HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount );
+	bool (__stdcall *ExportLiveToBuffer)(  char *pBuffer, uint32_t *pnBufferLength );
+	bool (__stdcall *ImportFromBufferToWorking)( const char *pBuffer, uint32_t nImportFlags );
+};
+
+class IVRChaperoneSetup
+{
+	VR_IVRChaperoneSetup_FnTable _table;
+public:
+
+	/** Saves the current working copy to disk */
+	bool CommitWorkingCopy( EChaperoneConfigFile configFile ) { return _table.CommitWorkingCopy(configFile); }
+
+	/** Reverts the working copy to match the live chaperone calibration.
+	* To modify existing data this MUST be do WHILE getting a non-error ChaperoneCalibrationStatus.
+	* Only after this should you do gets and sets on the existing data. */
+	void RevertWorkingCopy() { _table.RevertWorkingCopy(); }
+
+	/** Returns the width and depth of the Play Area (formerly named Soft Bounds) in X and Z from the working copy.
+	* Tracking space center (0,0,0) is the center of the Play Area. */
+	bool GetWorkingPlayAreaSize( float *pSizeX, float *pSizeZ ) { return _table.GetWorkingPlayAreaSize(pSizeX, pSizeZ); }
+
+	/** Returns the 4 corner positions of the Play Area (formerly named Soft Bounds) from the working copy.
+	* Corners are in clockwise order.
+	* Tracking space center (0,0,0) is the center of the Play Area.
+	* It's a rectangle.
+	* 2 sides are parallel to the X axis and 2 sides are parallel to the Z axis.
+	* Height of every corner is 0Y (on the floor). **/
+	bool GetWorkingPlayAreaRect( HmdQuad_t *rect ) { return _table.GetWorkingPlayAreaRect(rect); }
+
+	/** Returns the number of Quads if the buffer points to null. Otherwise it returns Quads 
+	* into the buffer up to the max specified from the working copy. */
+	bool GetWorkingCollisionBoundsInfo( VR_OUT_ARRAY_COUNT(punQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount ) { return _table.GetWorkingCollisionBoundsInfo(pQuadsBuffer, punQuadsCount); }
+
+	/** Returns the number of Quads if the buffer points to null. Otherwise it returns Quads 
+	* into the buffer up to the max specified. */
+	bool GetLiveCollisionBoundsInfo( VR_OUT_ARRAY_COUNT(punQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount ) { return _table.GetLiveCollisionBoundsInfo(pQuadsBuffer, punQuadsCount); }
+
+	/** Returns the preferred seated position from the working copy. */
+	bool GetWorkingSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose ) { return _table.GetWorkingSeatedZeroPoseToRawTrackingPose(pmatSeatedZeroPoseToRawTrackingPose); }
+
+	/** Returns the standing origin from the working copy. */
+	bool GetWorkingStandingZeroPoseToRawTrackingPose( HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose ) { return _table.GetWorkingStandingZeroPoseToRawTrackingPose(pmatStandingZeroPoseToRawTrackingPose); }
+
+	/** Sets the Play Area in the working copy. */
+	void SetWorkingPlayAreaSize( float sizeX, float sizeZ ) { _table.SetWorkingPlayAreaSize(sizeX, sizeZ); }
+
+	/** Sets the Collision Bounds in the working copy. */
+	void SetWorkingCollisionBoundsInfo( VR_ARRAY_COUNT(unQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount ) { _table.SetWorkingCollisionBoundsInfo(pQuadsBuffer, unQuadsCount); }
+
+	/** Sets the preferred seated position in the working copy. */
+	void SetWorkingSeatedZeroPoseToRawTrackingPose( const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose ) { _table.SetWorkingSeatedZeroPoseToRawTrackingPose(pMatSeatedZeroPoseToRawTrackingPose); }
+
+	/** Sets the preferred standing position in the working copy. */
+	void SetWorkingStandingZeroPoseToRawTrackingPose( const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose ) { _table.SetWorkingStandingZeroPoseToRawTrackingPose(pMatStandingZeroPoseToRawTrackingPose); }
+
+	/** Tear everything down and reload it from the file on disk */
+	void ReloadFromDisk( EChaperoneConfigFile configFile ) { _table.ReloadFromDisk(configFile); }
+
+	/** Returns the preferred seated position. */
+	bool GetLiveSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose ) { return _table.GetLiveSeatedZeroPoseToRawTrackingPose(pmatSeatedZeroPoseToRawTrackingPose); }
+
+	void SetWorkingCollisionBoundsTagsInfo( VR_ARRAY_COUNT(unTagCount) uint8_t *pTagsBuffer, uint32_t unTagCount ) { _table.SetWorkingCollisionBoundsTagsInfo(pTagsBuffer, unTagCount); }
+	bool GetLiveCollisionBoundsTagsInfo( VR_OUT_ARRAY_COUNT(punTagCount) uint8_t *pTagsBuffer, uint32_t *punTagCount ) { return _table.GetLiveCollisionBoundsTagsInfo(pTagsBuffer, punTagCount); }
+
+	bool SetWorkingPhysicalBoundsInfo( VR_ARRAY_COUNT(unQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount ) { return _table.SetWorkingPhysicalBoundsInfo(pQuadsBuffer, unQuadsCount); }
+	bool GetLivePhysicalBoundsInfo( VR_OUT_ARRAY_COUNT(punQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount ) { return _table.GetLivePhysicalBoundsInfo(pQuadsBuffer, punQuadsCount); }
+
+	bool ExportLiveToBuffer( VR_OUT_STRING() char *pBuffer, uint32_t *pnBufferLength ) { return _table.ExportLiveToBuffer(pBuffer, pnBufferLength); }
+	bool ImportFromBufferToWorking( const char *pBuffer, uint32_t nImportFlags ) { return _table.ImportFromBufferToWorking(pBuffer, nImportFlags); }
+};
+
+static const char * const IVRChaperoneSetup_Version = "FnTable:IVRChaperoneSetup_005";
+
+
+}
+
+// ivrcompositor.h
+namespace vr
+{
+
+#if defined(__linux__) || defined(__APPLE__) 
+	// The 32-bit version of gcc has the alignment requirement for uint64 and double set to
+	// 4 meaning that even with #pragma pack(8) these types will only be four-byte aligned.
+	// The 64-bit version of gcc has the alignment requirement for these types set to
+	// 8 meaning that unless we use #pragma pack(4) our structures will get bigger.
+	// The 64-bit structure packing has to match the 32-bit structure packing for each platform.
+	#pragma pack( push, 4 )
+#else
+	#pragma pack( push, 8 )
+#endif
+
+/** Errors that can occur with the VR compositor */
+enum EVRCompositorError
+{
+	VRCompositorError_None						= 0,
+	VRCompositorError_RequestFailed				= 1,
+	VRCompositorError_IncompatibleVersion		= 100,
+	VRCompositorError_DoNotHaveFocus			= 101,
+	VRCompositorError_InvalidTexture			= 102,
+	VRCompositorError_IsNotSceneApplication		= 103,
+	VRCompositorError_TextureIsOnWrongDevice	= 104,
+	VRCompositorError_TextureUsesUnsupportedFormat = 105,
+	VRCompositorError_SharedTexturesNotSupported = 106,
+	VRCompositorError_IndexOutOfRange			= 107,
+	VRCompositorError_AlreadySubmitted			= 108,
+};
+
+const uint32_t VRCompositor_ReprojectionReason_Cpu = 0x01;
+const uint32_t VRCompositor_ReprojectionReason_Gpu = 0x02;
+const uint32_t VRCompositor_ReprojectionAsync      = 0x04;	// This flag indicates the async reprojection mode is active,
+															// but does not indicate if reprojection actually happened or not.
+															// Use the ReprojectionReason flags above to check if reprojection
+															// was actually applied (i.e. scene texture was reused).
+															// NumFramePresents > 1 also indicates the scene texture was reused,
+															// and also the number of times that it was presented in total.
+
+/** Provides a single frame's timing information to the app */
+struct Compositor_FrameTiming
+{
+	uint32_t m_nSize; // Set to sizeof( Compositor_FrameTiming )
+	uint32_t m_nFrameIndex;
+	uint32_t m_nNumFramePresents; // number of times this frame was presented
+	uint32_t m_nNumMisPresented; // number of times this frame was presented on a vsync other than it was originally predicted to
+	uint32_t m_nNumDroppedFrames; // number of additional times previous frame was scanned out
+	uint32_t m_nReprojectionFlags;
+
+	/** Absolute time reference for comparing frames.  This aligns with the vsync that running start is relative to. */
+	double m_flSystemTimeInSeconds;
+
+	/** These times may include work from other processes due to OS scheduling.
+	* The fewer packets of work these are broken up into, the less likely this will happen.
+	* GPU work can be broken up by calling Flush.  This can sometimes be useful to get the GPU started
+	* processing that work earlier in the frame. */
+	float m_flPreSubmitGpuMs; // time spent rendering the scene (gpu work submitted between WaitGetPoses and second Submit)
+	float m_flPostSubmitGpuMs; // additional time spent rendering by application (e.g. companion window)
+	float m_flTotalRenderGpuMs; // time between work submitted immediately after present (ideally vsync) until the end of compositor submitted work
+	float m_flCompositorRenderGpuMs; // time spend performing distortion correction, rendering chaperone, overlays, etc.
+	float m_flCompositorRenderCpuMs; // time spent on cpu submitting the above work for this frame
+	float m_flCompositorIdleCpuMs; // time spent waiting for running start (application could have used this much more time)
+
+	/** Miscellaneous measured intervals. */
+	float m_flClientFrameIntervalMs; // time between calls to WaitGetPoses
+	float m_flPresentCallCpuMs; // time blocked on call to present (usually 0.0, but can go long)
+	float m_flWaitForPresentCpuMs; // time spent spin-waiting for frame index to change (not near-zero indicates wait object failure)
+	float m_flSubmitFrameMs; // time spent in IVRCompositor::Submit (not near-zero indicates driver issue)
+
+	/** The following are all relative to this frame's SystemTimeInSeconds */
+	float m_flWaitGetPosesCalledMs;
+	float m_flNewPosesReadyMs;
+	float m_flNewFrameReadyMs; // second call to IVRCompositor::Submit
+	float m_flCompositorUpdateStartMs;
+	float m_flCompositorUpdateEndMs;
+	float m_flCompositorRenderStartMs;
+
+	vr::TrackedDevicePose_t m_HmdPose; // pose used by app to render this frame
+};
+
+/** Cumulative stats for current application.  These are not cleared until a new app connects,
+* but they do stop accumulating once the associated app disconnects. */
+struct Compositor_CumulativeStats
+{
+	uint32_t m_nPid; // Process id associated with these stats (may no longer be running).
+	uint32_t m_nNumFramePresents; // total number of times we called present (includes reprojected frames)
+	uint32_t m_nNumDroppedFrames; // total number of times an old frame was re-scanned out (without reprojection)
+	uint32_t m_nNumReprojectedFrames; // total number of times a frame was scanned out a second time (with reprojection)
+
+	/** Values recorded at startup before application has fully faded in the first time. */
+	uint32_t m_nNumFramePresentsOnStartup;
+	uint32_t m_nNumDroppedFramesOnStartup;
+	uint32_t m_nNumReprojectedFramesOnStartup;
+
+	/** Applications may explicitly fade to the compositor.  This is usually to handle level transitions, and loading often causes
+	* system wide hitches.  The following stats are collected during this period.  Does not include values recorded during startup. */
+	uint32_t m_nNumLoading;
+	uint32_t m_nNumFramePresentsLoading;
+	uint32_t m_nNumDroppedFramesLoading;
+	uint32_t m_nNumReprojectedFramesLoading;
+
+	/** If we don't get a new frame from the app in less than 2.5 frames, then we assume the app has hung and start
+	* fading back to the compositor.  The following stats are a result of this, and are a subset of those recorded above.
+	* Does not include values recorded during start up or loading. */
+	uint32_t m_nNumTimedOut;
+	uint32_t m_nNumFramePresentsTimedOut;
+	uint32_t m_nNumDroppedFramesTimedOut;
+	uint32_t m_nNumReprojectedFramesTimedOut;
+};
+
+#pragma pack( pop )
+
+/** Allows the application to interact with the compositor */
+struct VR_IVRCompositor_FnTable
+{
+	void (__stdcall *SetTrackingSpace)( ETrackingUniverseOrigin eOrigin );
+	ETrackingUniverseOrigin (__stdcall *GetTrackingSpace)();
+	EVRCompositorError (__stdcall *WaitGetPoses)(  TrackedDevicePose_t* pRenderPoseArray, uint32_t unRenderPoseArrayCount,
+		 TrackedDevicePose_t* pGamePoseArray, uint32_t unGamePoseArrayCount );
+	EVRCompositorError (__stdcall *GetLastPoses)(  TrackedDevicePose_t* pRenderPoseArray, uint32_t unRenderPoseArrayCount,
+		 TrackedDevicePose_t* pGamePoseArray, uint32_t unGamePoseArrayCount );
+	EVRCompositorError (__stdcall *GetLastPoseForTrackedDeviceIndex)( TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose );
+	EVRCompositorError (__stdcall *Submit)( EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t* pBounds, EVRSubmitFlags nSubmitFlags);
+	void (__stdcall *ClearLastSubmittedFrame)();
+	void (__stdcall *PostPresentHandoff)();
+	bool (__stdcall *GetFrameTiming)( Compositor_FrameTiming *pTiming, uint32_t unFramesAgo);
+	uint32_t (__stdcall *GetFrameTimings)( Compositor_FrameTiming *pTiming, uint32_t nFrames );
+	float (__stdcall *GetFrameTimeRemaining)();
+	void (__stdcall *GetCumulativeStats)( Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes );
+	void (__stdcall *FadeToColor)( float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground);
+	HmdColor_t (__stdcall *GetCurrentFadeColor)( bool bBackground);
+	void (__stdcall *FadeGrid)( float fSeconds, bool bFadeIn );
+	float (__stdcall *GetCurrentGridAlpha)();
+	EVRCompositorError (__stdcall *SetSkyboxOverride)(  const Texture_t *pTextures, uint32_t unTextureCount );
+	void (__stdcall *ClearSkyboxOverride)();
+	void (__stdcall *CompositorBringToFront)();
+	void (__stdcall *CompositorGoToBack)();
+	void (__stdcall *CompositorQuit)();
+	bool (__stdcall *IsFullscreen)();
+	uint32_t (__stdcall *GetCurrentSceneFocusProcess)();
+	uint32_t (__stdcall *GetLastFrameRenderer)();
+	bool (__stdcall *CanRenderScene)();
+	void (__stdcall *ShowMirrorWindow)();
+	void (__stdcall *HideMirrorWindow)();
+	bool (__stdcall *IsMirrorWindowVisible)();
+	void (__stdcall *CompositorDumpImages)();
+	bool (__stdcall *ShouldAppRenderWithLowResources)();
+	void (__stdcall *ForceInterleavedReprojectionOn)( bool bOverride );
+	void (__stdcall *ForceReconnectProcess)();
+	void (__stdcall *SuspendRendering)( bool bSuspend );
+	vr::EVRCompositorError (__stdcall *GetMirrorTextureD3D11)( vr::EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView );
+	vr::EVRCompositorError (__stdcall *GetMirrorTextureGL)( vr::EVREye eEye, vr::glUInt_t *pglTextureId, vr::glSharedTextureHandle_t *pglSharedTextureHandle );
+	bool (__stdcall *ReleaseSharedGLTexture)( vr::glUInt_t glTextureId, vr::glSharedTextureHandle_t glSharedTextureHandle );
+	void (__stdcall *LockGLSharedTextureForAccess)( vr::glSharedTextureHandle_t glSharedTextureHandle );
+	void (__stdcall *UnlockGLSharedTextureForAccess)( vr::glSharedTextureHandle_t glSharedTextureHandle );
+	uint32_t (__stdcall *GetVulkanInstanceExtensionsRequired)(  char *pchValue, uint32_t unBufferSize );
+	uint32_t (__stdcall *GetVulkanDeviceExtensionsRequired)( VkPhysicalDevice_T *pPhysicalDevice,  char *pchValue, uint32_t unBufferSize );
+};
+
+class IVRCompositor
+{
+	VR_IVRCompositor_FnTable _table;
+public:
+	/** Sets tracking space returned by WaitGetPoses */
+	void SetTrackingSpace( ETrackingUniverseOrigin eOrigin ) { _table.SetTrackingSpace(eOrigin); }
+
+	/** Gets current tracking space returned by WaitGetPoses */
+	ETrackingUniverseOrigin GetTrackingSpace() { return _table.GetTrackingSpace(); }
+
+	/** Scene applications should call this function to get poses to render with (and optionally poses predicted an additional frame out to use for gameplay).
+	* This function will block until "running start" milliseconds before the start of the frame, and should be called at the last moment before needing to
+	* start rendering.
+	*
+	* Return codes:
+	*	- IsNotSceneApplication (make sure to call VR_Init with VRApplicaiton_Scene)
+	*	- DoNotHaveFocus (some other app has taken focus - this will throttle the call to 10hz to reduce the impact on that app)
+	*/
+	EVRCompositorError WaitGetPoses( VR_ARRAY_COUNT(unRenderPoseArrayCount) TrackedDevicePose_t* pRenderPoseArray, uint32_t unRenderPoseArrayCount,
+		VR_ARRAY_COUNT(unGamePoseArrayCount) TrackedDevicePose_t* pGamePoseArray, uint32_t unGamePoseArrayCount ) { return _table.WaitGetPoses(pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); }
+
+	/** Get the last set of poses returned by WaitGetPoses. */
+	EVRCompositorError GetLastPoses( VR_ARRAY_COUNT( unRenderPoseArrayCount ) TrackedDevicePose_t* pRenderPoseArray, uint32_t unRenderPoseArrayCount,
+		VR_ARRAY_COUNT( unGamePoseArrayCount ) TrackedDevicePose_t* pGamePoseArray, uint32_t unGamePoseArrayCount ) { return _table.GetLastPoses(pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); }
+
+	/** Interface for accessing last set of poses returned by WaitGetPoses one at a time.
+	* Returns VRCompositorError_IndexOutOfRange if unDeviceIndex not less than k_unMaxTrackedDeviceCount otherwise VRCompositorError_None.
+	* It is okay to pass NULL for either pose if you only want one of the values. */
+	EVRCompositorError GetLastPoseForTrackedDeviceIndex( TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose ) { return _table.GetLastPoseForTrackedDeviceIndex(unDeviceIndex, pOutputPose, pOutputGamePose); }
+
+	/** Updated scene texture to display. If pBounds is NULL the entire texture will be used.  If called from an OpenGL app, consider adding a glFlush after
+	* Submitting both frames to signal the driver to start processing, otherwise it may wait until the command buffer fills up, causing the app to miss frames.
+	*
+	* OpenGL dirty state:
+	*	glBindTexture
+	*
+	* Return codes:
+	*	- IsNotSceneApplication (make sure to call VR_Init with VRApplicaiton_Scene)
+	*	- DoNotHaveFocus (some other app has taken focus)
+	*	- TextureIsOnWrongDevice (application did not use proper AdapterIndex - see IVRSystem.GetDXGIOutputInfo)
+	*	- SharedTexturesNotSupported (application needs to call CreateDXGIFactory1 or later before creating DX device)
+	*	- TextureUsesUnsupportedFormat (scene textures must be compatible with DXGI sharing rules - e.g. uncompressed, no mips, etc.)
+	*	- InvalidTexture (usually means bad arguments passed in)
+	*	- AlreadySubmitted (app has submitted two left textures or two right textures in a single frame - i.e. before calling WaitGetPoses again)
+	*/
+	EVRCompositorError Submit( EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t* pBounds = 0, EVRSubmitFlags nSubmitFlags = Submit_Default ) { return _table.Submit(eEye, pTexture, pBounds, nSubmitFlags); }
+
+	/** Clears the frame that was sent with the last call to Submit. This will cause the 
+	* compositor to show the grid until Submit is called again. */
+	void ClearLastSubmittedFrame() { _table.ClearLastSubmittedFrame(); }
+
+	/** Call immediately after presenting your app's window (i.e. companion window) to unblock the compositor.
+	* This is an optional call, which only needs to be used if you can't instead call WaitGetPoses immediately after Present.
+	* For example, if your engine's render and game loop are not on separate threads, or blocking the render thread until 3ms before the next vsync would
+	* introduce a deadlock of some sort.  This function tells the compositor that you have finished all rendering after having Submitted buffers for both
+	* eyes, and it is free to start its rendering work.  This should only be called from the same thread you are rendering on. */
+	void PostPresentHandoff() { _table.PostPresentHandoff(); }
+
+	/** Returns true if timing data is filled it.  Sets oldest timing info if nFramesAgo is larger than the stored history.
+	* Be sure to set timing.size = sizeof(Compositor_FrameTiming) on struct passed in before calling this function. */
+	bool GetFrameTiming( Compositor_FrameTiming *pTiming, uint32_t unFramesAgo = 0 ) { return _table.GetFrameTiming(pTiming, unFramesAgo); }
+
+	/** Interface for copying a range of timing data.  Frames are returned in ascending order (oldest to newest) with the last being the most recent frame.
+	* Only the first entry's m_nSize needs to be set, as the rest will be inferred from that.  Returns total number of entries filled out. */
+	uint32_t GetFrameTimings( Compositor_FrameTiming *pTiming, uint32_t nFrames ) { return _table.GetFrameTimings(pTiming, nFrames); }
+
+	/** Returns the time in seconds left in the current (as identified by FrameTiming's frameIndex) frame.
+	* Due to "running start", this value may roll over to the next frame before ever reaching 0.0. */
+	float GetFrameTimeRemaining() { return _table.GetFrameTimeRemaining(); }
+
+	/** Fills out stats accumulated for the last connected application.  Pass in sizeof( Compositor_CumulativeStats ) as second parameter. */
+	void GetCumulativeStats( Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes ) { _table.GetCumulativeStats(pStats, nStatsSizeInBytes); }
+
+	/** Fades the view on the HMD to the specified color. The fade will take fSeconds, and the color values are between
+	* 0.0 and 1.0. This color is faded on top of the scene based on the alpha parameter. Removing the fade color instantly 
+	* would be FadeToColor( 0.0, 0.0, 0.0, 0.0, 0.0 ).  Values are in un-premultiplied alpha space. */
+	void FadeToColor( float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground = false ) { _table.FadeToColor(fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); }
+
+	/** Get current fade color value. */
+	HmdColor_t GetCurrentFadeColor( bool bBackground = false ) { return _table.GetCurrentFadeColor(bBackground); }
+
+	/** Fading the Grid in or out in fSeconds */
+	void FadeGrid( float fSeconds, bool bFadeIn ) { _table.FadeGrid(fSeconds, bFadeIn); }
+
+	/** Get current alpha value of grid. */
+	float GetCurrentGridAlpha() { return _table.GetCurrentGridAlpha(); }
+
+	/** Override the skybox used in the compositor (e.g. for during level loads when the app can't feed scene images fast enough)
+	* Order is Front, Back, Left, Right, Top, Bottom.  If only a single texture is passed, it is assumed in lat-long format.
+	* If two are passed, it is assumed a lat-long stereo pair. */
+	EVRCompositorError SetSkyboxOverride( VR_ARRAY_COUNT( unTextureCount ) const Texture_t *pTextures, uint32_t unTextureCount ) { return _table.SetSkyboxOverride(pTextures, unTextureCount); }
+
+	/** Resets compositor skybox back to defaults. */
+	void ClearSkyboxOverride() { _table.ClearSkyboxOverride(); }
+
+	/** Brings the compositor window to the front. This is useful for covering any other window that may be on the HMD
+	* and is obscuring the compositor window. */
+	void CompositorBringToFront() { _table.CompositorBringToFront(); }
+
+	/** Pushes the compositor window to the back. This is useful for allowing other applications to draw directly to the HMD. */
+	void CompositorGoToBack() { _table.CompositorGoToBack(); }
+
+	/** Tells the compositor process to clean up and exit. You do not need to call this function at shutdown. Under normal 
+	* circumstances the compositor will manage its own life cycle based on what applications are running. */
+	void CompositorQuit() { _table.CompositorQuit(); }
+	
+	/** Return whether the compositor is fullscreen */
+	bool IsFullscreen() { return _table.IsFullscreen(); }
+
+	/** Returns the process ID of the process that is currently rendering the scene */
+	uint32_t GetCurrentSceneFocusProcess() { return _table.GetCurrentSceneFocusProcess(); }
+
+	/** Returns the process ID of the process that rendered the last frame (or 0 if the compositor itself rendered the frame.)
+	* Returns 0 when fading out from an app and the app's process Id when fading into an app. */
+	uint32_t GetLastFrameRenderer() { return _table.GetLastFrameRenderer(); }
+
+	/** Returns true if the current process has the scene focus */
+	bool CanRenderScene() { return _table.CanRenderScene(); }
+
+	/** Creates a window on the primary monitor to display what is being shown in the headset. */
+	void ShowMirrorWindow() { _table.ShowMirrorWindow(); }
+
+	/** Closes the mirror window. */
+	void HideMirrorWindow() { _table.HideMirrorWindow(); }
+
+	/** Returns true if the mirror window is shown. */
+	bool IsMirrorWindowVisible() { return _table.IsMirrorWindowVisible(); }
+
+	/** Writes all images that the compositor knows about (including overlays) to a 'screenshots' folder in the SteamVR runtime root. */
+	void CompositorDumpImages() { _table.CompositorDumpImages(); }
+
+	/** Let an app know it should be rendering with low resources. */
+	bool ShouldAppRenderWithLowResources() { return _table.ShouldAppRenderWithLowResources(); }
+
+	/** Override interleaved reprojection logic to force on. */
+	void ForceInterleavedReprojectionOn( bool bOverride ) { _table.ForceInterleavedReprojectionOn(bOverride); }
+
+	/** Force reconnecting to the compositor process. */
+	void ForceReconnectProcess() { _table.ForceReconnectProcess(); }
+
+	/** Temporarily suspends rendering (useful for finer control over scene transitions). */
+	void SuspendRendering( bool bSuspend ) { _table.SuspendRendering(bSuspend); }
+
+	/** Opens a shared D3D11 texture with the undistorted composited image for each eye. */
+	vr::EVRCompositorError GetMirrorTextureD3D11( vr::EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView ) { return _table.GetMirrorTextureD3D11(eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); }
+
+	/** Access to mirror textures from OpenGL. */
+	vr::EVRCompositorError GetMirrorTextureGL( vr::EVREye eEye, vr::glUInt_t *pglTextureId, vr::glSharedTextureHandle_t *pglSharedTextureHandle ) { return _table.GetMirrorTextureGL(eEye, pglTextureId, pglSharedTextureHandle); }
+	bool ReleaseSharedGLTexture( vr::glUInt_t glTextureId, vr::glSharedTextureHandle_t glSharedTextureHandle ) { return _table.ReleaseSharedGLTexture(glTextureId, glSharedTextureHandle); }
+	void LockGLSharedTextureForAccess( vr::glSharedTextureHandle_t glSharedTextureHandle ) { _table.LockGLSharedTextureForAccess(glSharedTextureHandle); }
+	void UnlockGLSharedTextureForAccess( vr::glSharedTextureHandle_t glSharedTextureHandle ) { _table.UnlockGLSharedTextureForAccess(glSharedTextureHandle); }
+
+	/** [Vulkan Only]
+	* return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing
+	* null.  The string will be a space separated list of-required instance extensions to enable in VkCreateInstance */
+	uint32_t GetVulkanInstanceExtensionsRequired( VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) { return _table.GetVulkanInstanceExtensionsRequired(pchValue, unBufferSize); }
+
+	/** [Vulkan only]
+	* return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing
+	* null.  The string will be a space separated list of required device extensions to enable in VkCreateDevice */
+	uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *pPhysicalDevice, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) { return _table.GetVulkanDeviceExtensionsRequired(pPhysicalDevice, pchValue, unBufferSize); }
+
+};
+
+static const char * const IVRCompositor_Version = "FnTable:IVRCompositor_019";
+
+} // namespace vr
+
+
+
+// ivrnotifications.h
+namespace vr
+{
+
+#if defined(__linux__) || defined(__APPLE__) 
+	// The 32-bit version of gcc has the alignment requirement for uint64 and double set to
+	// 4 meaning that even with #pragma pack(8) these types will only be four-byte aligned.
+	// The 64-bit version of gcc has the alignment requirement for these types set to
+	// 8 meaning that unless we use #pragma pack(4) our structures will get bigger.
+	// The 64-bit structure packing has to match the 32-bit structure packing for each platform.
+	#pragma pack( push, 4 )
+#else
+	#pragma pack( push, 8 )
+#endif
+
+// Used for passing graphic data
+struct NotificationBitmap_t
+{
+	NotificationBitmap_t()
+		: m_pImageData( nullptr )
+		, m_nWidth( 0 )
+		, m_nHeight( 0 )
+		, m_nBytesPerPixel( 0 )
+	{
+	};
+
+	void *m_pImageData;
+	int32_t m_nWidth;
+	int32_t m_nHeight;
+	int32_t m_nBytesPerPixel;
+};
+
+
+/** Be aware that the notification type is used as 'priority' to pick the next notification */
+enum EVRNotificationType
+{
+	/** Transient notifications are automatically hidden after a period of time set by the user. 
+	* They are used for things like information and chat messages that do not require user interaction. */
+	EVRNotificationType_Transient = 0,
+
+	/** Persistent notifications are shown to the user until they are hidden by calling RemoveNotification().
+	* They are used for things like phone calls and alarms that require user interaction. */
+	EVRNotificationType_Persistent = 1,
+
+	/** System notifications are shown no matter what. It is expected, that the ulUserValue is used as ID.
+	 * If there is already a system notification in the queue with that ID it is not accepted into the queue
+	 * to prevent spamming with system notification */
+	EVRNotificationType_Transient_SystemWithUserValue = 2,
+};
+
+enum EVRNotificationStyle
+{
+	/** Creates a notification with minimal external styling. */
+	EVRNotificationStyle_None = 0,
+
+	/** Used for notifications about overlay-level status. In Steam this is used for events like downloads completing. */
+	EVRNotificationStyle_Application = 100,
+
+	/** Used for notifications about contacts that are unknown or not available. In Steam this is used for friend invitations and offline friends. */
+	EVRNotificationStyle_Contact_Disabled = 200,
+
+	/** Used for notifications about contacts that are available but inactive. In Steam this is used for friends that are online but not playing a game. */
+	EVRNotificationStyle_Contact_Enabled = 201,
+
+	/** Used for notifications about contacts that are available and active. In Steam this is used for friends that are online and currently running a game. */
+	EVRNotificationStyle_Contact_Active = 202,
+};
+
+static const uint32_t k_unNotificationTextMaxSize = 256;
+
+typedef uint32_t VRNotificationId;
+
+
+
+#pragma pack( pop )
+
+/** Allows notification sources to interact with the VR system
+	This current interface is not yet implemented. Do not use yet. */
+struct VR_IVRNotifications_FnTable
+{
+	EVRNotificationError (__stdcall *CreateNotification)( VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char *pchText, EVRNotificationStyle style, const NotificationBitmap_t *pImage, /* out */ VRNotificationId *pNotificationId );
+	EVRNotificationError (__stdcall *RemoveNotification)( VRNotificationId notificationId );
+};
+
+class IVRNotifications
+{
+	VR_IVRNotifications_FnTable _table;
+public:
+	/** Create a notification and enqueue it to be shown to the user.
+	* An overlay handle is required to create a notification, as otherwise it would be impossible for a user to act on it.
+	* To create a two-line notification, use a line break ('\n') to split the text into two lines.
+	* The pImage argument may be NULL, in which case the specified overlay's icon will be used instead. */
+	EVRNotificationError CreateNotification( VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char *pchText, EVRNotificationStyle style, const NotificationBitmap_t *pImage, /* out */ VRNotificationId *pNotificationId ) { return _table.CreateNotification(ulOverlayHandle, ulUserValue, type, pchText, style, pImage, pNotificationId); }
+
+	/** Destroy a notification, hiding it first if it currently shown to the user. */
+	EVRNotificationError RemoveNotification( VRNotificationId notificationId ) { return _table.RemoveNotification(notificationId); }
+
+};
+
+static const char * const IVRNotifications_Version = "FnTable:IVRNotifications_002";
+
+} // namespace vr
+
+
+
+// ivroverlay.h
+namespace vr
+{
+
+	/** The maximum length of an overlay key in bytes, counting the terminating null character. */
+	static const uint32_t k_unVROverlayMaxKeyLength = 128;
+
+	/** The maximum length of an overlay name in bytes, counting the terminating null character. */
+	static const uint32_t k_unVROverlayMaxNameLength = 128;
+
+	/** The maximum number of overlays that can exist in the system at one time. */
+	static const uint32_t k_unMaxOverlayCount = 64;
+
+	/** The maximum number of overlay intersection mask primitives per overlay */
+	static const uint32_t k_unMaxOverlayIntersectionMaskPrimitivesCount = 32;
+
+	/** Types of input supported by VR Overlays */
+	enum VROverlayInputMethod
+	{
+		VROverlayInputMethod_None		= 0, // No input events will be generated automatically for this overlay
+		VROverlayInputMethod_Mouse		= 1, // Tracked controllers will get mouse events automatically
+	};
+
+	/** Allows the caller to figure out which overlay transform getter to call. */
+	enum VROverlayTransformType
+	{
+		VROverlayTransform_Absolute					= 0,
+		VROverlayTransform_TrackedDeviceRelative	= 1,
+		VROverlayTransform_SystemOverlay			= 2,
+		VROverlayTransform_TrackedComponent 		= 3,
+	};
+
+	/** Overlay control settings */
+	enum VROverlayFlags
+	{
+		VROverlayFlags_None			= 0,
+
+		// The following only take effect when rendered using the high quality render path (see SetHighQualityOverlay).
+		VROverlayFlags_Curved		= 1,
+		VROverlayFlags_RGSS4X		= 2,
+
+		// Set this flag on a dashboard overlay to prevent a tab from showing up for that overlay
+		VROverlayFlags_NoDashboardTab = 3,
+
+		// Set this flag on a dashboard that is able to deal with gamepad focus events
+		VROverlayFlags_AcceptsGamepadEvents = 4,
+
+		// Indicates that the overlay should dim/brighten to show gamepad focus
+		VROverlayFlags_ShowGamepadFocus = 5,
+
+		// When in VROverlayInputMethod_Mouse you can optionally enable sending VRScroll_t 
+		VROverlayFlags_SendVRScrollEvents = 6,
+		VROverlayFlags_SendVRTouchpadEvents = 7,
+
+		// If set this will render a vertical scroll wheel on the primary controller, 
+		//  only needed if not using VROverlayFlags_SendVRScrollEvents but you still want to represent a scroll wheel
+		VROverlayFlags_ShowTouchPadScrollWheel = 8,
+
+		// If this is set ownership and render access to the overlay are transferred 
+		// to the new scene process on a call to IVRApplications::LaunchInternalProcess
+		VROverlayFlags_TransferOwnershipToInternalProcess = 9,
+
+		// If set, renders 50% of the texture in each eye, side by side
+		VROverlayFlags_SideBySide_Parallel = 10, // Texture is left/right
+		VROverlayFlags_SideBySide_Crossed = 11, // Texture is crossed and right/left
+
+		VROverlayFlags_Panorama = 12, // Texture is a panorama
+		VROverlayFlags_StereoPanorama = 13, // Texture is a stereo panorama
+
+		// If this is set on an overlay owned by the scene application that overlay
+		// will be sorted with the "Other" overlays on top of all other scene overlays
+		VROverlayFlags_SortWithNonSceneOverlays = 14,
+
+		// If set, the overlay will be shown in the dashboard, otherwise it will be hidden.
+		VROverlayFlags_VisibleInDashboard = 15,
+	};
+
+	enum VRMessageOverlayResponse
+	{
+		VRMessageOverlayResponse_ButtonPress_0 = 0,
+		VRMessageOverlayResponse_ButtonPress_1 = 1,
+		VRMessageOverlayResponse_ButtonPress_2 = 2,
+		VRMessageOverlayResponse_ButtonPress_3 = 3,
+		VRMessageOverlayResponse_CouldntFindSystemOverlay = 4,
+		VRMessageOverlayResponse_CouldntFindOrCreateClientOverlay= 5,
+		VRMessageOverlayResponse_ApplicationQuit = 6
+	};
+
+	struct VROverlayIntersectionParams_t
+	{
+		HmdVector3_t vSource;
+		HmdVector3_t vDirection;
+		ETrackingUniverseOrigin eOrigin;
+	};
+
+	struct VROverlayIntersectionResults_t
+	{
+		HmdVector3_t vPoint;
+		HmdVector3_t vNormal;
+		HmdVector2_t vUVs;
+		float fDistance;
+	};
+
+	// Input modes for the Big Picture gamepad text entry
+	enum EGamepadTextInputMode
+	{
+		k_EGamepadTextInputModeNormal = 0,
+		k_EGamepadTextInputModePassword = 1,
+		k_EGamepadTextInputModeSubmit = 2,
+	};
+
+	// Controls number of allowed lines for the Big Picture gamepad text entry
+	enum EGamepadTextInputLineMode
+	{
+		k_EGamepadTextInputLineModeSingleLine = 0,
+		k_EGamepadTextInputLineModeMultipleLines = 1
+	};
+
+	/** Directions for changing focus between overlays with the gamepad */
+	enum EOverlayDirection
+	{
+		OverlayDirection_Up = 0,
+		OverlayDirection_Down = 1,
+		OverlayDirection_Left = 2,
+		OverlayDirection_Right = 3,
+		
+		OverlayDirection_Count = 4,
+	};
+
+	enum EVROverlayIntersectionMaskPrimitiveType
+	{
+		OverlayIntersectionPrimitiveType_Rectangle,
+		OverlayIntersectionPrimitiveType_Circle,
+	};
+
+	struct IntersectionMaskRectangle_t
+	{
+		float m_flTopLeftX;
+		float m_flTopLeftY;
+		float m_flWidth;
+		float m_flHeight;
+	};
+
+	struct IntersectionMaskCircle_t
+	{
+		float m_flCenterX;
+		float m_flCenterY;
+		float m_flRadius;
+	};
+
+	/** NOTE!!! If you change this you MUST manually update openvr_interop.cs.py and openvr_api_flat.h.py */
+	typedef union
+	{
+		IntersectionMaskRectangle_t m_Rectangle;
+		IntersectionMaskCircle_t m_Circle;
+	} VROverlayIntersectionMaskPrimitive_Data_t;
+
+	struct VROverlayIntersectionMaskPrimitive_t
+	{
+		EVROverlayIntersectionMaskPrimitiveType m_nPrimitiveType;
+		VROverlayIntersectionMaskPrimitive_Data_t m_Primitive;
+	};
+
+	struct VR_IVROverlay_FnTable
+	{
+		EVROverlayError (__stdcall *FindOverlay)( const char *pchOverlayKey, VROverlayHandle_t * pOverlayHandle );
+		EVROverlayError (__stdcall *CreateOverlay)( const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle );
+		EVROverlayError (__stdcall *DestroyOverlay)( VROverlayHandle_t ulOverlayHandle );
+		EVROverlayError (__stdcall *SetHighQualityOverlay)( VROverlayHandle_t ulOverlayHandle );
+		vr::VROverlayHandle_t (__stdcall *GetHighQualityOverlay)();
+		uint32_t (__stdcall *GetOverlayKey)( VROverlayHandle_t ulOverlayHandle,  char *pchValue, uint32_t unBufferSize, EVROverlayError *pError);
+		uint32_t (__stdcall *GetOverlayName)( VROverlayHandle_t ulOverlayHandle,  char *pchValue, uint32_t unBufferSize, EVROverlayError *pError);
+		EVROverlayError (__stdcall *GetOverlayImageData)( VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight );
+		const char *(__stdcall *GetOverlayErrorNameFromEnum)( EVROverlayError error );
+		EVROverlayError (__stdcall *SetOverlayRenderingPid)( VROverlayHandle_t ulOverlayHandle, uint32_t unPID );
+		uint32_t (__stdcall *GetOverlayRenderingPid)( VROverlayHandle_t ulOverlayHandle );
+		EVROverlayError (__stdcall *SetOverlayFlag)( VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled );
+		EVROverlayError (__stdcall *GetOverlayFlag)( VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled );
+		EVROverlayError (__stdcall *SetOverlayColor)( VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue );
+		EVROverlayError (__stdcall *GetOverlayColor)( VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue );
+		EVROverlayError (__stdcall *SetOverlayAlpha)( VROverlayHandle_t ulOverlayHandle, float fAlpha );
+		EVROverlayError (__stdcall *GetOverlayAlpha)( VROverlayHandle_t ulOverlayHandle, float *pfAlpha );
+		EVROverlayError (__stdcall *SetOverlayTexelAspect)( VROverlayHandle_t ulOverlayHandle, float fTexelAspect );
+		EVROverlayError (__stdcall *GetOverlayTexelAspect)( VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect );
+		EVROverlayError (__stdcall *SetOverlaySortOrder)( VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder );
+		EVROverlayError (__stdcall *GetOverlaySortOrder)( VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder );
+		EVROverlayError (__stdcall *SetOverlayWidthInMeters)( VROverlayHandle_t ulOverlayHandle, float fWidthInMeters );
+		EVROverlayError (__stdcall *GetOverlayWidthInMeters)( VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters );
+		EVROverlayError (__stdcall *SetOverlayAutoCurveDistanceRangeInMeters)( VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters );
+		EVROverlayError (__stdcall *GetOverlayAutoCurveDistanceRangeInMeters)( VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters );
+		EVROverlayError (__stdcall *SetOverlayTextureColorSpace)( VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace );
+		EVROverlayError (__stdcall *GetOverlayTextureColorSpace)( VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace );
+		EVROverlayError (__stdcall *SetOverlayTextureBounds)( VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds );
+		EVROverlayError (__stdcall *GetOverlayTextureBounds)( VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds );
+		EVROverlayError (__stdcall *GetOverlayTransformType)( VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType );
+		EVROverlayError (__stdcall *SetOverlayTransformAbsolute)( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform );
+		EVROverlayError (__stdcall *GetOverlayTransformAbsolute)( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform );
+		EVROverlayError (__stdcall *SetOverlayTransformTrackedDeviceRelative)( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform );
+		EVROverlayError (__stdcall *GetOverlayTransformTrackedDeviceRelative)( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform );
+		EVROverlayError (__stdcall *SetOverlayTransformTrackedDeviceComponent)( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName );
+		EVROverlayError (__stdcall *GetOverlayTransformTrackedDeviceComponent)( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize );
+		EVROverlayError (__stdcall *ShowOverlay)( VROverlayHandle_t ulOverlayHandle );
+		EVROverlayError (__stdcall *HideOverlay)( VROverlayHandle_t ulOverlayHandle );
+		bool (__stdcall *IsOverlayVisible)( VROverlayHandle_t ulOverlayHandle );
+		EVROverlayError (__stdcall *GetTransformForOverlayCoordinates)( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform );
+		bool (__stdcall *PollNextOverlayEvent)( VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent, uint32_t uncbVREvent );
+		EVROverlayError (__stdcall *GetOverlayInputMethod)( VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod );
+		EVROverlayError (__stdcall *SetOverlayInputMethod)( VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod );
+		EVROverlayError (__stdcall *GetOverlayMouseScale)( VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale );
+		EVROverlayError (__stdcall *SetOverlayMouseScale)( VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale );
+		bool (__stdcall *ComputeOverlayIntersection)( VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults );
+		bool (__stdcall *HandleControllerOverlayInteractionAsMouse)( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex );
+		bool (__stdcall *IsHoverTargetOverlay)( VROverlayHandle_t ulOverlayHandle );
+		vr::VROverlayHandle_t (__stdcall *GetGamepadFocusOverlay)();
+		EVROverlayError (__stdcall *SetGamepadFocusOverlay)( VROverlayHandle_t ulNewFocusOverlay );
+		EVROverlayError (__stdcall *SetOverlayNeighbor)( EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo );
+		EVROverlayError (__stdcall *MoveGamepadFocusToNeighbor)( EOverlayDirection eDirection, VROverlayHandle_t ulFrom );
+		EVROverlayError (__stdcall *SetOverlayTexture)( VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture );
+		EVROverlayError (__stdcall *ClearOverlayTexture)( VROverlayHandle_t ulOverlayHandle );
+		EVROverlayError (__stdcall *SetOverlayRaw)( VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth );
+		EVROverlayError (__stdcall *SetOverlayFromFile)( VROverlayHandle_t ulOverlayHandle, const char *pchFilePath );
+		EVROverlayError (__stdcall *GetOverlayTexture)( VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds );
+		EVROverlayError (__stdcall *ReleaseNativeOverlayHandle)( VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle );
+		EVROverlayError (__stdcall *GetOverlayTextureSize)( VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight );
+		EVROverlayError (__stdcall *CreateDashboardOverlay)( const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t *pThumbnailHandle );
+		bool (__stdcall *IsDashboardVisible)();
+		bool (__stdcall *IsActiveDashboardOverlay)( VROverlayHandle_t ulOverlayHandle );
+		EVROverlayError (__stdcall *SetDashboardOverlaySceneProcess)( VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId );
+		EVROverlayError (__stdcall *GetDashboardOverlaySceneProcess)( VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId );
+		void (__stdcall *ShowDashboard)( const char *pchOverlayToShow );
+		vr::TrackedDeviceIndex_t (__stdcall *GetPrimaryDashboardDevice)();
+		EVROverlayError (__stdcall *ShowKeyboard)( EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue );
+		EVROverlayError (__stdcall *ShowKeyboardForOverlay)( VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue );
+		uint32_t (__stdcall *GetKeyboardText)(  char *pchText, uint32_t cchText );
+		void (__stdcall *HideKeyboard)();
+		void (__stdcall *SetKeyboardTransformAbsolute)( ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform );
+		void (__stdcall *SetKeyboardPositionForOverlay)( VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect );
+		EVROverlayError (__stdcall *SetOverlayIntersectionMask)( VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize);
+		EVROverlayError (__stdcall *GetOverlayFlags)( VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags );
+		VRMessageOverlayResponse (__stdcall *ShowMessageOverlay)( const char* pchText, const char* pchCaption, const char* pchButton0Text, const char* pchButton1Text, const char* pchButton2Text, const char* pchButton3Text);
+	};
+
+	class IVROverlay
+	{
+		VR_IVROverlay_FnTable _table;
+	public:
+
+		// ---------------------------------------------
+		// Overlay management methods
+		// ---------------------------------------------
+
+		/** Finds an existing overlay with the specified key. */
+		EVROverlayError FindOverlay( const char *pchOverlayKey, VROverlayHandle_t * pOverlayHandle ) { return _table.FindOverlay(pchOverlayKey, pOverlayHandle); }
+
+		/** Creates a new named overlay. All overlays start hidden and with default settings. */
+		EVROverlayError CreateOverlay( const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle ) { return _table.CreateOverlay(pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); }
+
+		/** Destroys the specified overlay. When an application calls VR_Shutdown all overlays created by that app are
+		* automatically destroyed. */
+		EVROverlayError DestroyOverlay( VROverlayHandle_t ulOverlayHandle ) { return _table.DestroyOverlay(ulOverlayHandle); }
+
+		/** Specify which overlay to use the high quality render path.  This overlay will be composited in during the distortion pass which
+		* results in it drawing on top of everything else, but also at a higher quality as it samples the source texture directly rather than
+		* 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
+		* for overlays that are expected to take up most of the user's view (e.g. streaming video).
+		* This mode does not support mouse input to your overlay. */
+		EVROverlayError SetHighQualityOverlay( VROverlayHandle_t ulOverlayHandle ) { return _table.SetHighQualityOverlay(ulOverlayHandle); }
+
+		/** Returns the overlay handle of the current overlay being rendered using the single high quality overlay render path.
+		* Otherwise it will return k_ulOverlayHandleInvalid. */
+		vr::VROverlayHandle_t GetHighQualityOverlay() { return _table.GetHighQualityOverlay(); }
+
+		/** Fills the provided buffer with the string key of the overlay. Returns the size of buffer required to store the key, including
+		* the terminating null character. k_unVROverlayMaxKeyLength will be enough bytes to fit the string. */
+		uint32_t GetOverlayKey( VROverlayHandle_t ulOverlayHandle, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, EVROverlayError *pError = 0L ) { return _table.GetOverlayKey(ulOverlayHandle, pchValue, unBufferSize, pError); }
+
+		/** Fills the provided buffer with the friendly name of the overlay. Returns the size of buffer required to store the key, including
+		* the terminating null character. k_unVROverlayMaxNameLength will be enough bytes to fit the string. */
+		uint32_t GetOverlayName( VROverlayHandle_t ulOverlayHandle, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, EVROverlayError *pError = 0L ) { return _table.GetOverlayName(ulOverlayHandle, pchValue, unBufferSize, pError); }
+
+		/** Gets the raw image data from an overlay. Overlay image data is always returned as RGBA data, 4 bytes per pixel. If the buffer is not large enough, width and height 
+		* will be set and VROverlayError_ArrayTooSmall is returned. */
+		EVROverlayError GetOverlayImageData( VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight ) { return _table.GetOverlayImageData(ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); }
+
+		/** returns a string that corresponds with the specified overlay error. The string will be the name 
+		* of the error enum value for all valid error codes */
+		const char *GetOverlayErrorNameFromEnum( EVROverlayError error ) { return _table.GetOverlayErrorNameFromEnum(error); }
+
+
+		// ---------------------------------------------
+		// Overlay rendering methods
+		// ---------------------------------------------
+
+		/** Sets the pid that is allowed to render to this overlay (the creator pid is always allow to render),
+		*	by default this is the pid of the process that made the overlay */
+		EVROverlayError SetOverlayRenderingPid( VROverlayHandle_t ulOverlayHandle, uint32_t unPID ) { return _table.SetOverlayRenderingPid(ulOverlayHandle, unPID); }
+
+		/** Gets the pid that is allowed to render to this overlay */
+		uint32_t GetOverlayRenderingPid( VROverlayHandle_t ulOverlayHandle ) { return _table.GetOverlayRenderingPid(ulOverlayHandle); }
+
+		/** Specify flag setting for a given overlay */
+		EVROverlayError SetOverlayFlag( VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled ) { return _table.SetOverlayFlag(ulOverlayHandle, eOverlayFlag, bEnabled); }
+
+		/** Sets flag setting for a given overlay */
+		EVROverlayError GetOverlayFlag( VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled ) { return _table.GetOverlayFlag(ulOverlayHandle, eOverlayFlag, pbEnabled); }
+
+		/** Sets the color tint of the overlay quad. Use 0.0 to 1.0 per channel. */
+		EVROverlayError SetOverlayColor( VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue ) { return _table.SetOverlayColor(ulOverlayHandle, fRed, fGreen, fBlue); }
+
+		/** Gets the color tint of the overlay quad. */
+		EVROverlayError GetOverlayColor( VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue ) { return _table.GetOverlayColor(ulOverlayHandle, pfRed, pfGreen, pfBlue); }
+
+		/** Sets the alpha of the overlay quad. Use 1.0 for 100 percent opacity to 0.0 for 0 percent opacity. */
+		EVROverlayError SetOverlayAlpha( VROverlayHandle_t ulOverlayHandle, float fAlpha ) { return _table.SetOverlayAlpha(ulOverlayHandle, fAlpha); }
+
+		/** Gets the alpha of the overlay quad. By default overlays are rendering at 100 percent alpha (1.0). */
+		EVROverlayError GetOverlayAlpha( VROverlayHandle_t ulOverlayHandle, float *pfAlpha ) { return _table.GetOverlayAlpha(ulOverlayHandle, pfAlpha); }
+
+		/** Sets the aspect ratio of the texels in the overlay. 1.0 means the texels are square. 2.0 means the texels
+		* are twice as wide as they are tall. Defaults to 1.0. */
+		EVROverlayError SetOverlayTexelAspect( VROverlayHandle_t ulOverlayHandle, float fTexelAspect ) { return _table.SetOverlayTexelAspect(ulOverlayHandle, fTexelAspect); }
+
+		/** Gets the aspect ratio of the texels in the overlay. Defaults to 1.0 */
+		EVROverlayError GetOverlayTexelAspect( VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect ) { return _table.GetOverlayTexelAspect(ulOverlayHandle, pfTexelAspect); }
+
+		/** Sets the rendering sort order for the overlay. Overlays are rendered this order:
+		*      Overlays owned by the scene application
+		*      Overlays owned by some other application
+		*
+		*	Within a category overlays are rendered lowest sort order to highest sort order. Overlays with the same 
+		*	sort order are rendered back to front base on distance from the HMD.
+		*
+		*	Sort order defaults to 0. */
+		EVROverlayError SetOverlaySortOrder( VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder ) { return _table.SetOverlaySortOrder(ulOverlayHandle, unSortOrder); }
+
+		/** Gets the sort order of the overlay. See SetOverlaySortOrder for how this works. */
+		EVROverlayError GetOverlaySortOrder( VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder ) { return _table.GetOverlaySortOrder(ulOverlayHandle, punSortOrder); }
+
+		/** Sets the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across */
+		EVROverlayError SetOverlayWidthInMeters( VROverlayHandle_t ulOverlayHandle, float fWidthInMeters ) { return _table.SetOverlayWidthInMeters(ulOverlayHandle, fWidthInMeters); }
+
+		/** Returns the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across */
+		EVROverlayError GetOverlayWidthInMeters( VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters ) { return _table.GetOverlayWidthInMeters(ulOverlayHandle, pfWidthInMeters); }
+
+		/** For high-quality curved overlays only, sets the distance range in meters from the overlay used to automatically curve
+		* the surface around the viewer.  Min is distance is when the surface will be most curved.  Max is when least curved. */
+		EVROverlayError SetOverlayAutoCurveDistanceRangeInMeters( VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters ) { return _table.SetOverlayAutoCurveDistanceRangeInMeters(ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); }
+
+		/** For high-quality curved overlays only, gets the distance range in meters from the overlay used to automatically curve
+		* the surface around the viewer.  Min is distance is when the surface will be most curved.  Max is when least curved. */
+		EVROverlayError GetOverlayAutoCurveDistanceRangeInMeters( VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters ) { return _table.GetOverlayAutoCurveDistanceRangeInMeters(ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); }
+
+		/** Sets the colorspace the overlay texture's data is in.  Defaults to 'auto'.
+		* If the texture needs to be resolved, you should call SetOverlayTexture with the appropriate colorspace instead. */
+		EVROverlayError SetOverlayTextureColorSpace( VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace ) { return _table.SetOverlayTextureColorSpace(ulOverlayHandle, eTextureColorSpace); }
+
+		/** Gets the overlay's current colorspace setting. */
+		EVROverlayError GetOverlayTextureColorSpace( VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace ) { return _table.GetOverlayTextureColorSpace(ulOverlayHandle, peTextureColorSpace); }
+
+		/** Sets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner. */
+		EVROverlayError SetOverlayTextureBounds( VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds ) { return _table.SetOverlayTextureBounds(ulOverlayHandle, pOverlayTextureBounds); }
+
+		/** Gets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner. */
+		EVROverlayError GetOverlayTextureBounds( VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds ) { return _table.GetOverlayTextureBounds(ulOverlayHandle, pOverlayTextureBounds); }
+
+		/** Returns the transform type of this overlay. */
+		EVROverlayError GetOverlayTransformType( VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType ) { return _table.GetOverlayTransformType(ulOverlayHandle, peTransformType); }
+
+		/** Sets the transform to absolute tracking origin. */
+		EVROverlayError SetOverlayTransformAbsolute( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform ) { return _table.SetOverlayTransformAbsolute(ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); }
+
+		/** Gets the transform if it is absolute. Returns an error if the transform is some other type. */
+		EVROverlayError GetOverlayTransformAbsolute( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform ) { return _table.GetOverlayTransformAbsolute(ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); }
+
+		/** Sets the transform to relative to the transform of the specified tracked device. */
+		EVROverlayError SetOverlayTransformTrackedDeviceRelative( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform ) { return _table.SetOverlayTransformTrackedDeviceRelative(ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); }
+
+		/** Gets the transform if it is relative to a tracked device. Returns an error if the transform is some other type. */
+		EVROverlayError GetOverlayTransformTrackedDeviceRelative( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform ) { return _table.GetOverlayTransformTrackedDeviceRelative(ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); }
+
+		/** Sets the transform to draw the overlay on a rendermodel component mesh instead of a quad. This will only draw when the system is
+		* drawing the device. Overlays with this transform type cannot receive mouse events. */
+		EVROverlayError SetOverlayTransformTrackedDeviceComponent( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName ) { return _table.SetOverlayTransformTrackedDeviceComponent(ulOverlayHandle, unDeviceIndex, pchComponentName); }
+
+		/** Gets the transform information when the overlay is rendering on a component. */
+		EVROverlayError GetOverlayTransformTrackedDeviceComponent( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize ) { return _table.GetOverlayTransformTrackedDeviceComponent(ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); }
+
+		/** Shows the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this. */
+		EVROverlayError ShowOverlay( VROverlayHandle_t ulOverlayHandle ) { return _table.ShowOverlay(ulOverlayHandle); }
+
+		/** Hides the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this. */
+		EVROverlayError HideOverlay( VROverlayHandle_t ulOverlayHandle ) { return _table.HideOverlay(ulOverlayHandle); }
+
+		/** Returns true if the overlay is visible. */
+		bool IsOverlayVisible( VROverlayHandle_t ulOverlayHandle ) { return _table.IsOverlayVisible(ulOverlayHandle); }
+
+		/** Get the transform in 3d space associated with a specific 2d point in the overlay's coordinate space (where 0,0 is the lower left). -Z points out of the overlay */
+		EVROverlayError GetTransformForOverlayCoordinates( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform ) { return _table.GetTransformForOverlayCoordinates(ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); }
+
+		// ---------------------------------------------
+		// Overlay input methods
+		// ---------------------------------------------
+
+		/** Returns true and fills the event with the next event on the overlay's event queue, if there is one. 
+		* If there are no events this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct */
+		bool PollNextOverlayEvent( VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent, uint32_t uncbVREvent ) { return _table.PollNextOverlayEvent(ulOverlayHandle, pEvent, uncbVREvent); }
+
+		/** Returns the current input settings for the specified overlay. */
+		EVROverlayError GetOverlayInputMethod( VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod ) { return _table.GetOverlayInputMethod(ulOverlayHandle, peInputMethod); }
+
+		/** Sets the input settings for the specified overlay. */
+		EVROverlayError SetOverlayInputMethod( VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod ) { return _table.SetOverlayInputMethod(ulOverlayHandle, eInputMethod); }
+
+		/** Gets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is
+		* typically the size of the underlying UI in pixels. */
+		EVROverlayError GetOverlayMouseScale( VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale ) { return _table.GetOverlayMouseScale(ulOverlayHandle, pvecMouseScale); }
+
+		/** Sets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is
+		* typically the size of the underlying UI in pixels (not in world space). */
+		EVROverlayError SetOverlayMouseScale( VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale ) { return _table.SetOverlayMouseScale(ulOverlayHandle, pvecMouseScale); }
+
+		/** Computes the overlay-space pixel coordinates of where the ray intersects the overlay with the
+		* specified settings. Returns false if there is no intersection. */
+		bool ComputeOverlayIntersection( VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults ) { return _table.ComputeOverlayIntersection(ulOverlayHandle, pParams, pResults); }
+
+		/** Processes mouse input from the specified controller as though it were a mouse pointed at a compositor overlay with the
+		* specified settings. The controller is treated like a laser pointer on the -z axis. The point where the laser pointer would
+		* intersect with the overlay is the mouse position, the trigger is left mouse, and the track pad is right mouse. 
+		*
+		* Return true if the controller is pointed at the overlay and an event was generated. */
+		bool HandleControllerOverlayInteractionAsMouse( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex ) { return _table.HandleControllerOverlayInteractionAsMouse(ulOverlayHandle, unControllerDeviceIndex); }
+
+		/** Returns true if the specified overlay is the hover target. An overlay is the hover target when it is the last overlay "moused over" 
+		* by the virtual mouse pointer */
+		bool IsHoverTargetOverlay( VROverlayHandle_t ulOverlayHandle ) { return _table.IsHoverTargetOverlay(ulOverlayHandle); }
+
+		/** Returns the current Gamepad focus overlay */
+		vr::VROverlayHandle_t GetGamepadFocusOverlay() { return _table.GetGamepadFocusOverlay(); }
+
+		/** Sets the current Gamepad focus overlay */
+		EVROverlayError SetGamepadFocusOverlay( VROverlayHandle_t ulNewFocusOverlay ) { return _table.SetGamepadFocusOverlay(ulNewFocusOverlay); }
+
+		/** Sets an overlay's neighbor. This will also set the neighbor of the "to" overlay
+		* to point back to the "from" overlay. If an overlay's neighbor is set to invalid both
+		* ends will be cleared */
+		EVROverlayError SetOverlayNeighbor( EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo ) { return _table.SetOverlayNeighbor(eDirection, ulFrom, ulTo); }
+
+		/** Changes the Gamepad focus from one overlay to one of its neighbors. Returns VROverlayError_NoNeighbor if there is no
+		* neighbor in that direction */
+		EVROverlayError MoveGamepadFocusToNeighbor( EOverlayDirection eDirection, VROverlayHandle_t ulFrom ) { return _table.MoveGamepadFocusToNeighbor(eDirection, ulFrom); }
+
+		// ---------------------------------------------
+		// Overlay texture methods
+		// ---------------------------------------------
+
+		/** Texture to draw for the overlay. This function can only be called by the overlay's creator or renderer process (see SetOverlayRenderingPid) .
+		*
+		* OpenGL dirty state:
+		*	glBindTexture
+		*/
+		EVROverlayError SetOverlayTexture( VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { return _table.SetOverlayTexture(ulOverlayHandle, pTexture); }
+
+		/** Use this to tell the overlay system to release the texture set for this overlay. */
+		EVROverlayError ClearOverlayTexture( VROverlayHandle_t ulOverlayHandle ) { return _table.ClearOverlayTexture(ulOverlayHandle); }
+
+		/** Separate interface for providing the data as a stream of bytes, but there is an upper bound on data 
+		* that can be sent. This function can only be called by the overlay's renderer process. */
+		EVROverlayError SetOverlayRaw( VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth ) { return _table.SetOverlayRaw(ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); }
+
+		/** Separate interface for providing the image through a filename: can be png or jpg, and should not be bigger than 1920x1080.
+		* This function can only be called by the overlay's renderer process */
+		EVROverlayError SetOverlayFromFile( VROverlayHandle_t ulOverlayHandle, const char *pchFilePath ) { return _table.SetOverlayFromFile(ulOverlayHandle, pchFilePath); }
+
+		/** Get the native texture handle/device for an overlay you have created.
+		* On windows this handle will be a ID3D11ShaderResourceView with a ID3D11Texture2D bound.
+		*
+		* The texture will always be sized to match the backing texture you supplied in SetOverlayTexture above.
+		*
+		* You MUST call ReleaseNativeOverlayHandle() with pNativeTextureHandle once you are done with this texture.
+		*
+		* pNativeTextureHandle is an OUTPUT, it will be a pointer to a ID3D11ShaderResourceView *.
+		* pNativeTextureRef is an INPUT and should be a ID3D11Resource *. The device used by pNativeTextureRef will be used to bind pNativeTextureHandle.
+		*/
+		EVROverlayError GetOverlayTexture( VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds ) { return _table.GetOverlayTexture(ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); }
+
+		/** Release the pNativeTextureHandle provided from the GetOverlayTexture call, this allows the system to free the underlying GPU resources for this object,
+		* so only do it once you stop rendering this texture.
+		*/
+		EVROverlayError ReleaseNativeOverlayHandle( VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle ) { return _table.ReleaseNativeOverlayHandle(ulOverlayHandle, pNativeTextureHandle); }
+
+		/** Get the size of the overlay texture */
+		EVROverlayError GetOverlayTextureSize( VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight ) { return _table.GetOverlayTextureSize(ulOverlayHandle, pWidth, pHeight); }
+
+		// ----------------------------------------------
+		// Dashboard Overlay Methods
+		// ----------------------------------------------
+
+		/** Creates a dashboard overlay and returns its handle */
+		EVROverlayError CreateDashboardOverlay( const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t *pThumbnailHandle ) { return _table.CreateDashboardOverlay(pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); }
+
+		/** Returns true if the dashboard is visible */
+		bool IsDashboardVisible() { return _table.IsDashboardVisible(); }
+
+		/** returns true if the dashboard is visible and the specified overlay is the active system Overlay */
+		bool IsActiveDashboardOverlay( VROverlayHandle_t ulOverlayHandle ) { return _table.IsActiveDashboardOverlay(ulOverlayHandle); }
+
+		/** Sets the dashboard overlay to only appear when the specified process ID has scene focus */
+		EVROverlayError SetDashboardOverlaySceneProcess( VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId ) { return _table.SetDashboardOverlaySceneProcess(ulOverlayHandle, unProcessId); }
+
+		/** Gets the process ID that this dashboard overlay requires to have scene focus */
+		EVROverlayError GetDashboardOverlaySceneProcess( VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId ) { return _table.GetDashboardOverlaySceneProcess(ulOverlayHandle, punProcessId); }
+
+		/** Shows the dashboard. */
+		void ShowDashboard( const char *pchOverlayToShow ) { _table.ShowDashboard(pchOverlayToShow); }
+
+		/** Returns the tracked device that has the laser pointer in the dashboard */
+		vr::TrackedDeviceIndex_t GetPrimaryDashboardDevice() { return _table.GetPrimaryDashboardDevice(); }
+
+		// ---------------------------------------------
+		// Keyboard methods
+		// ---------------------------------------------
+		
+		/** Show the virtual keyboard to accept input **/
+		EVROverlayError ShowKeyboard( EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue ) { return _table.ShowKeyboard(eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); }
+
+		EVROverlayError ShowKeyboardForOverlay( VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue ) { return _table.ShowKeyboardForOverlay(ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); }
+
+		/** Get the text that was entered into the text input **/
+		uint32_t GetKeyboardText( VR_OUT_STRING() char *pchText, uint32_t cchText ) { return _table.GetKeyboardText(pchText, cchText); }
+
+		/** Hide the virtual keyboard **/
+		void HideKeyboard() { _table.HideKeyboard(); }
+
+		/** Set the position of the keyboard in world space **/
+		void SetKeyboardTransformAbsolute( ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform ) { _table.SetKeyboardTransformAbsolute(eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); }
+
+		/** Set the position of the keyboard in overlay space by telling it to avoid a rectangle in the overlay. Rectangle coords have (0,0) in the bottom left **/
+		void SetKeyboardPositionForOverlay( VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect ) { _table.SetKeyboardPositionForOverlay(ulOverlayHandle, avoidRect); }
+
+		// ---------------------------------------------
+		// Overlay input methods
+		// ---------------------------------------------
+
+		/** Sets a list of primitives to be used for controller ray intersection
+		* typically the size of the underlying UI in pixels (not in world space). */
+		EVROverlayError SetOverlayIntersectionMask( VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize = sizeof( VROverlayIntersectionMaskPrimitive_t ) ) { return _table.SetOverlayIntersectionMask(ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); }
+
+		EVROverlayError GetOverlayFlags( VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags ) { return _table.GetOverlayFlags(ulOverlayHandle, pFlags); }
+
+		// ---------------------------------------------
+		// Message box methods
+		// ---------------------------------------------
+
+		/** Show the message overlay. This will block and return you a result. **/
+		VRMessageOverlayResponse ShowMessageOverlay( const char* pchText, const char* pchCaption, const char* pchButton0Text, const char* pchButton1Text = nullptr, const char* pchButton2Text = nullptr, const char* pchButton3Text = nullptr ) { return _table.ShowMessageOverlay(pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); }
+	};
+
+	static const char * const IVROverlay_Version = "FnTable:IVROverlay_014";
+
+} // namespace vr
+
+// ivrrendermodels.h
+namespace vr
+{
+
+static const char * const k_pch_Controller_Component_GDC2015 = "gdc2015";   // Canonical coordinate system of the gdc 2015 wired controller, provided for backwards compatibility
+static const char * const k_pch_Controller_Component_Base = "base";         // For controllers with an unambiguous 'base'.
+static const char * const k_pch_Controller_Component_Tip = "tip";           // For controllers with an unambiguous 'tip' (used for 'laser-pointing')
+static const char * const k_pch_Controller_Component_HandGrip = "handgrip"; // Neutral, ambidextrous hand-pose when holding controller. On plane between neutrally posed index finger and thumb
+static const char * const k_pch_Controller_Component_Status = "status";		// 1:1 aspect ratio status area, with canonical [0,1] uv mapping
+
+#if defined(__linux__) || defined(__APPLE__) 
+// The 32-bit version of gcc has the alignment requirement for uint64 and double set to
+// 4 meaning that even with #pragma pack(8) these types will only be four-byte aligned.
+// The 64-bit version of gcc has the alignment requirement for these types set to
+// 8 meaning that unless we use #pragma pack(4) our structures will get bigger.
+// The 64-bit structure packing has to match the 32-bit structure packing for each platform.
+#pragma pack( push, 4 )
+#else
+#pragma pack( push, 8 )
+#endif
+
+/** Errors that can occur with the VR compositor */
+enum EVRRenderModelError
+{
+	VRRenderModelError_None = 0,
+	VRRenderModelError_Loading = 100,
+	VRRenderModelError_NotSupported = 200,
+	VRRenderModelError_InvalidArg = 300,
+	VRRenderModelError_InvalidModel = 301,
+	VRRenderModelError_NoShapes = 302,
+	VRRenderModelError_MultipleShapes = 303,
+	VRRenderModelError_TooManyVertices = 304,
+	VRRenderModelError_MultipleTextures = 305,
+	VRRenderModelError_BufferTooSmall = 306,
+	VRRenderModelError_NotEnoughNormals = 307,
+	VRRenderModelError_NotEnoughTexCoords = 308,
+
+	VRRenderModelError_InvalidTexture = 400,
+};
+
+typedef uint32_t VRComponentProperties;
+
+enum EVRComponentProperty
+{
+	VRComponentProperty_IsStatic = (1 << 0),
+	VRComponentProperty_IsVisible = (1 << 1),
+	VRComponentProperty_IsTouched = (1 << 2),
+	VRComponentProperty_IsPressed = (1 << 3),
+	VRComponentProperty_IsScrolled = (1 << 4),
+};
+
+/** Describes state information about a render-model component, including transforms and other dynamic properties */
+struct RenderModel_ComponentState_t
+{
+	HmdMatrix34_t mTrackingToComponentRenderModel;  // Transform required when drawing the component render model
+	HmdMatrix34_t mTrackingToComponentLocal;        // Transform available for attaching to a local component coordinate system (-Z out from surface )
+	VRComponentProperties uProperties;
+};
+
+/** A single vertex in a render model */
+struct RenderModel_Vertex_t
+{
+	HmdVector3_t vPosition;		// position in meters in device space
+	HmdVector3_t vNormal;
+	float rfTextureCoord[2];
+};
+
+/** A texture map for use on a render model */
+struct RenderModel_TextureMap_t
+{
+	uint16_t unWidth, unHeight; // width and height of the texture map in pixels
+	const uint8_t *rubTextureMapData;	// Map texture data. All textures are RGBA with 8 bits per channel per pixel. Data size is width * height * 4ub
+};
+
+/**  Session unique texture identifier. Rendermodels which share the same texture will have the same id.
+IDs <0 denote the texture is not present */
+
+typedef int32_t TextureID_t;
+
+const TextureID_t INVALID_TEXTURE_ID = -1;
+
+struct RenderModel_t
+{
+	const RenderModel_Vertex_t *rVertexData;	// Vertex data for the mesh
+	uint32_t unVertexCount;						// Number of vertices in the vertex data
+	const uint16_t *rIndexData;					// Indices into the vertex data for each triangle
+	uint32_t unTriangleCount;					// Number of triangles in the mesh. Index count is 3 * TriangleCount
+	TextureID_t diffuseTextureId;				// Session unique texture identifier. Rendermodels which share the same texture will have the same id. <0 == texture not present
+};
+
+struct RenderModel_ControllerMode_State_t
+{
+	bool bScrollWheelVisible; // is this controller currently set to be in a scroll wheel mode
+};
+
+#pragma pack( pop )
+
+struct VR_IVRRenderModels_FnTable
+{
+	EVRRenderModelError (__stdcall *LoadRenderModel_Async)( const char *pchRenderModelName, RenderModel_t **ppRenderModel );
+	void (__stdcall *FreeRenderModel)( RenderModel_t *pRenderModel );
+	EVRRenderModelError (__stdcall *LoadTexture_Async)( TextureID_t textureId, RenderModel_TextureMap_t **ppTexture );
+	void (__stdcall *FreeTexture)( RenderModel_TextureMap_t *pTexture );
+	EVRRenderModelError (__stdcall *LoadTextureD3D11_Async)( TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D );
+	EVRRenderModelError (__stdcall *LoadIntoTextureD3D11_Async)( TextureID_t textureId, void *pDstTexture );
+	void (__stdcall *FreeTextureD3D11)( void *pD3D11Texture2D );
+	uint32_t (__stdcall *GetRenderModelName)( uint32_t unRenderModelIndex,  char *pchRenderModelName, uint32_t unRenderModelNameLen );
+	uint32_t (__stdcall *GetRenderModelCount)();
+	uint32_t (__stdcall *GetComponentCount)( const char *pchRenderModelName );
+	uint32_t (__stdcall *GetComponentName)( const char *pchRenderModelName, uint32_t unComponentIndex,  char *pchComponentName, uint32_t unComponentNameLen );
+	uint64_t (__stdcall *GetComponentButtonMask)( const char *pchRenderModelName, const char *pchComponentName );
+	uint32_t (__stdcall *GetComponentRenderModelName)( const char *pchRenderModelName, const char *pchComponentName,  char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen );
+	bool (__stdcall *GetComponentState)( const char *pchRenderModelName, const char *pchComponentName, const vr::VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState );
+	bool (__stdcall *RenderModelHasComponent)( const char *pchRenderModelName, const char *pchComponentName );
+	uint32_t (__stdcall *GetRenderModelThumbnailURL)( const char *pchRenderModelName,  char *pchThumbnailURL, uint32_t unThumbnailURLLen, vr::EVRRenderModelError *peError );
+	uint32_t (__stdcall *GetRenderModelOriginalPath)( const char *pchRenderModelName,  char *pchOriginalPath, uint32_t unOriginalPathLen, vr::EVRRenderModelError *peError );
+	const char *(__stdcall *GetRenderModelErrorNameFromEnum)( vr::EVRRenderModelError error );
+};
+
+class IVRRenderModels
+{
+	VR_IVRRenderModels_FnTable _table;
+public:
+
+	/** Loads and returns a render model for use in the application. pchRenderModelName should be a render model name
+	* from the Prop_RenderModelName_String property or an absolute path name to a render model on disk. 
+	*
+	* The resulting render model is valid until VR_Shutdown() is called or until FreeRenderModel() is called. When the 
+	* application is finished with the render model it should call FreeRenderModel() to free the memory associated
+	* with the model.
+	*
+	* The method returns VRRenderModelError_Loading while the render model is still being loaded.
+	* The method returns VRRenderModelError_None once loaded successfully, otherwise will return an error. */
+	EVRRenderModelError LoadRenderModel_Async( const char *pchRenderModelName, RenderModel_t **ppRenderModel ) { return _table.LoadRenderModel_Async(pchRenderModelName, ppRenderModel); }
+
+	/** Frees a previously returned render model
+	*   It is safe to call this on a null ptr. */
+	void FreeRenderModel( RenderModel_t *pRenderModel ) { _table.FreeRenderModel(pRenderModel); }
+
+	/** Loads and returns a texture for use in the application. */
+	EVRRenderModelError LoadTexture_Async( TextureID_t textureId, RenderModel_TextureMap_t **ppTexture ) { return _table.LoadTexture_Async(textureId, ppTexture); }
+
+	/** Frees a previously returned texture
+	*   It is safe to call this on a null ptr. */
+	void FreeTexture( RenderModel_TextureMap_t *pTexture ) { _table.FreeTexture(pTexture); }
+
+	/** Creates a D3D11 texture and loads data into it. */
+	EVRRenderModelError LoadTextureD3D11_Async( TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D ) { return _table.LoadTextureD3D11_Async(textureId, pD3D11Device, ppD3D11Texture2D); }
+
+	/** Helper function to copy the bits into an existing texture. */
+	EVRRenderModelError LoadIntoTextureD3D11_Async( TextureID_t textureId, void *pDstTexture ) { return _table.LoadIntoTextureD3D11_Async(textureId, pDstTexture); }
+
+	/** Use this to free textures created with LoadTextureD3D11_Async instead of calling Release on them. */
+	void FreeTextureD3D11( void *pD3D11Texture2D ) { _table.FreeTextureD3D11(pD3D11Texture2D); }
+
+	/** Use this to get the names of available render models.  Index does not correlate to a tracked device index, but
+	* is only used for iterating over all available render models.  If the index is out of range, this function will return 0.
+	* Otherwise, it will return the size of the buffer required for the name. */
+	uint32_t GetRenderModelName( uint32_t unRenderModelIndex, VR_OUT_STRING() char *pchRenderModelName, uint32_t unRenderModelNameLen ) { return _table.GetRenderModelName(unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); }
+
+	/** Returns the number of available render models. */
+	uint32_t GetRenderModelCount() { return _table.GetRenderModelCount(); }
+
+
+	/** Returns the number of components of the specified render model.
+	*  Components are useful when client application wish to draw, label, or otherwise interact with components of tracked objects.
+	*  Examples controller components:
+	*   renderable things such as triggers, buttons
+	*   non-renderable things which include coordinate systems such as 'tip', 'base', a neutral controller agnostic hand-pose
+	*   If all controller components are enumerated and rendered, it will be equivalent to drawing the traditional render model
+	*   Returns 0 if components not supported, >0 otherwise */
+	uint32_t GetComponentCount( const char *pchRenderModelName ) { return _table.GetComponentCount(pchRenderModelName); }
+
+	/** Use this to get the names of available components.  Index does not correlate to a tracked device index, but
+	* is only used for iterating over all available components.  If the index is out of range, this function will return 0.
+	* Otherwise, it will return the size of the buffer required for the name. */
+	uint32_t GetComponentName( const char *pchRenderModelName, uint32_t unComponentIndex, VR_OUT_STRING( ) char *pchComponentName, uint32_t unComponentNameLen ) { return _table.GetComponentName(pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); }
+
+	/** Get the button mask for all buttons associated with this component
+	*   If no buttons (or axes) are associated with this component, return 0
+	*   Note: multiple components may be associated with the same button. Ex: two grip buttons on a single controller.
+	*   Note: A single component may be associated with multiple buttons. Ex: A trackpad which also provides "D-pad" functionality */
+	uint64_t GetComponentButtonMask( const char *pchRenderModelName, const char *pchComponentName ) { return _table.GetComponentButtonMask(pchRenderModelName, pchComponentName); }
+
+	/** Use this to get the render model name for the specified rendermode/component combination, to be passed to LoadRenderModel.
+	* If the component name is out of range, this function will return 0.
+	* Otherwise, it will return the size of the buffer required for the name. */
+	uint32_t GetComponentRenderModelName( const char *pchRenderModelName, const char *pchComponentName, VR_OUT_STRING( ) char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen ) { return _table.GetComponentRenderModelName(pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); }
+
+	/** Use this to query information about the component, as a function of the controller state.
+	*
+	* For dynamic controller components (ex: trigger) values will reflect component motions
+	* For static components this will return a consistent value independent of the VRControllerState_t
+	*
+	* If the pchRenderModelName or pchComponentName is invalid, this will return false (and transforms will be set to identity).
+	* Otherwise, return true
+	* Note: For dynamic objects, visibility may be dynamic. (I.e., true/false will be returned based on controller state and controller mode state ) */
+	bool GetComponentState( const char *pchRenderModelName, const char *pchComponentName, const vr::VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState ) { return _table.GetComponentState(pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); }
+
+	/** Returns true if the render model has a component with the specified name */
+	bool RenderModelHasComponent( const char *pchRenderModelName, const char *pchComponentName ) { return _table.RenderModelHasComponent(pchRenderModelName, pchComponentName); }
+
+	/** Returns the URL of the thumbnail image for this rendermodel */
+	uint32_t GetRenderModelThumbnailURL( const char *pchRenderModelName, VR_OUT_STRING() char *pchThumbnailURL, uint32_t unThumbnailURLLen, vr::EVRRenderModelError *peError ) { return _table.GetRenderModelThumbnailURL(pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); }
+
+	/** Provides a render model path that will load the unskinned model if the model name provided has been replace by the user. If the model
+	* hasn't been replaced the path value will still be a valid path to load the model. Pass this to LoadRenderModel_Async, etc. to load the
+	* model. */
+	uint32_t GetRenderModelOriginalPath( const char *pchRenderModelName, VR_OUT_STRING() char *pchOriginalPath, uint32_t unOriginalPathLen, vr::EVRRenderModelError *peError ) { return _table.GetRenderModelOriginalPath(pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); }
+
+	/** Returns a string for a render model error */
+	const char *GetRenderModelErrorNameFromEnum( vr::EVRRenderModelError error ) { return _table.GetRenderModelErrorNameFromEnum(error); }
+};
+
+static const char * const IVRRenderModels_Version = "FnTable:IVRRenderModels_005";
+
+}
+
+
+// ivrextendeddisplay.h
+namespace vr
+{
+
+	/** NOTE: Use of this interface is not recommended in production applications. It will not work for displays which use
+	* direct-to-display mode. Creating our own window is also incompatible with the VR compositor and is not available when the compositor is running. */
+	struct VR_IVRExtendedDisplay_FnTable
+	{
+		void (__stdcall *GetWindowBounds)( int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight );
+		void (__stdcall *GetEyeOutputViewport)( EVREye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight );
+		void (__stdcall *GetDXGIOutputInfo)( int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex );
+	};
+
+	class IVRExtendedDisplay
+	{
+		VR_IVRExtendedDisplay_FnTable _table;
+	public:
+
+		/** Size and position that the window needs to be on the VR display. */
+		void GetWindowBounds( int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight ) { _table.GetWindowBounds(pnX, pnY, pnWidth, pnHeight); }
+
+		/** Gets the viewport in the frame buffer to draw the output of the distortion into */
+		void GetEyeOutputViewport( EVREye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight ) { _table.GetEyeOutputViewport(eEye, pnX, pnY, pnWidth, pnHeight); }
+
+		/** [D3D10/11 Only]
+		* Returns the adapter index and output index that the user should pass into EnumAdapters and EnumOutputs
+		* to create the device and swap chain in DX10 and DX11. If an error occurs both indices will be set to -1.
+		*/
+		void GetDXGIOutputInfo( int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex ) { _table.GetDXGIOutputInfo(pnAdapterIndex, pnAdapterOutputIndex); }
+
+	};
+
+	static const char * const IVRExtendedDisplay_Version = "FnTable:IVRExtendedDisplay_001";
+
+}
+
+
+// ivrtrackedcamera.h
+namespace vr
+{
+
+struct VR_IVRTrackedCamera_FnTable
+{
+	const char *(__stdcall *GetCameraErrorNameFromEnum)( vr::EVRTrackedCameraError eCameraError );
+	vr::EVRTrackedCameraError (__stdcall *HasCamera)( vr::TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera );
+	vr::EVRTrackedCameraError (__stdcall *GetCameraFrameSize)( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize );
+	vr::EVRTrackedCameraError (__stdcall *GetCameraIntrinsics)( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, vr::HmdVector2_t *pFocalLength, vr::HmdVector2_t *pCenter );
+	vr::EVRTrackedCameraError (__stdcall *GetCameraProjection)( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, vr::HmdMatrix44_t *pProjection );
+	vr::EVRTrackedCameraError (__stdcall *AcquireVideoStreamingService)( vr::TrackedDeviceIndex_t nDeviceIndex, vr::TrackedCameraHandle_t *pHandle );
+	vr::EVRTrackedCameraError (__stdcall *ReleaseVideoStreamingService)( vr::TrackedCameraHandle_t hTrackedCamera );
+	vr::EVRTrackedCameraError (__stdcall *GetVideoStreamFrameBuffer)( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize );
+	vr::EVRTrackedCameraError (__stdcall *GetVideoStreamTextureSize)( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, vr::VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight );
+	vr::EVRTrackedCameraError (__stdcall *GetVideoStreamTextureD3D11)( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize );
+	vr::EVRTrackedCameraError (__stdcall *GetVideoStreamTextureGL)( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, vr::glUInt_t *pglTextureId, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize );
+	vr::EVRTrackedCameraError (__stdcall *ReleaseVideoStreamTextureGL)( vr::TrackedCameraHandle_t hTrackedCamera, vr::glUInt_t glTextureId );
+};
+
+class IVRTrackedCamera
+{
+	VR_IVRTrackedCamera_FnTable _table;
+public:
+	/** Returns a string for an error */
+	const char *GetCameraErrorNameFromEnum( vr::EVRTrackedCameraError eCameraError ) { return _table.GetCameraErrorNameFromEnum(eCameraError); }
+
+	/** For convenience, same as tracked property request Prop_HasCamera_Bool */
+	vr::EVRTrackedCameraError HasCamera( vr::TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera ) { return _table.HasCamera(nDeviceIndex, pHasCamera); }
+
+	/** Gets size of the image frame. */
+	vr::EVRTrackedCameraError GetCameraFrameSize( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize ) { return _table.GetCameraFrameSize(nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); }
+
+	vr::EVRTrackedCameraError GetCameraIntrinsics( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, vr::HmdVector2_t *pFocalLength, vr::HmdVector2_t *pCenter ) { return _table.GetCameraIntrinsics(nDeviceIndex, eFrameType, pFocalLength, pCenter); }
+
+	vr::EVRTrackedCameraError GetCameraProjection( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, vr::HmdMatrix44_t *pProjection ) { return _table.GetCameraProjection(nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); }
+
+	/** Acquiring streaming service permits video streaming for the caller. Releasing hints the system that video services do not need to be maintained for this client.
+	* If the camera has not already been activated, a one time spin up may incur some auto exposure as well as initial streaming frame delays.
+	* The camera should be considered a global resource accessible for shared consumption but not exclusive to any caller.
+	* The camera may go inactive due to lack of active consumers or headset idleness. */
+	vr::EVRTrackedCameraError AcquireVideoStreamingService( vr::TrackedDeviceIndex_t nDeviceIndex, vr::TrackedCameraHandle_t *pHandle ) { return _table.AcquireVideoStreamingService(nDeviceIndex, pHandle); }
+	vr::EVRTrackedCameraError ReleaseVideoStreamingService( vr::TrackedCameraHandle_t hTrackedCamera ) { return _table.ReleaseVideoStreamingService(hTrackedCamera); }
+
+	/** Copies the image frame into a caller's provided buffer. The image data is currently provided as RGBA data, 4 bytes per pixel.
+	* A caller can provide null for the framebuffer or frameheader if not desired. Requesting the frame header first, followed by the frame buffer allows
+	* the caller to determine if the frame as advanced per the frame header sequence. 
+	* If there is no frame available yet, due to initial camera spinup or re-activation, the error will be VRTrackedCameraError_NoFrameAvailable.
+	* Ideally a caller should be polling at ~16ms intervals */
+	vr::EVRTrackedCameraError GetVideoStreamFrameBuffer( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize ) { return _table.GetVideoStreamFrameBuffer(hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); }
+
+	/** Gets size of the image frame. */
+	vr::EVRTrackedCameraError GetVideoStreamTextureSize( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, vr::VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight ) { return _table.GetVideoStreamTextureSize(nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); }
+
+	/** Access a shared D3D11 texture for the specified tracked camera stream.
+	* The camera frame type VRTrackedCameraFrameType_Undistorted is not supported directly as a shared texture. It is an interior subregion of the shared texture VRTrackedCameraFrameType_MaximumUndistorted.
+	* Instead, use GetVideoStreamTextureSize() with VRTrackedCameraFrameType_Undistorted to determine the proper interior subregion bounds along with GetVideoStreamTextureD3D11() with
+	* VRTrackedCameraFrameType_MaximumUndistorted to provide the texture. The VRTrackedCameraFrameType_MaximumUndistorted will yield an image where the invalid regions are decoded
+	* by the alpha channel having a zero component. The valid regions all have a non-zero alpha component. The subregion as described by VRTrackedCameraFrameType_Undistorted 
+	* guarantees a rectangle where all pixels are valid. */
+	vr::EVRTrackedCameraError GetVideoStreamTextureD3D11( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize ) { return _table.GetVideoStreamTextureD3D11(hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); }
+
+	/** Access a shared GL texture for the specified tracked camera stream */
+	vr::EVRTrackedCameraError GetVideoStreamTextureGL( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, vr::glUInt_t *pglTextureId, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize ) { return _table.GetVideoStreamTextureGL(hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); }
+	vr::EVRTrackedCameraError ReleaseVideoStreamTextureGL( vr::TrackedCameraHandle_t hTrackedCamera, vr::glUInt_t glTextureId ) { return _table.ReleaseVideoStreamTextureGL(hTrackedCamera, glTextureId); }
+};
+
+static const char * const IVRTrackedCamera_Version = "FnTable:IVRTrackedCamera_003";
+
+} // namespace vr
+
+
+// ivrscreenshots.h
+namespace vr
+{
+
+/** Errors that can occur with the VR compositor */
+enum EVRScreenshotError
+{
+	VRScreenshotError_None							= 0,
+	VRScreenshotError_RequestFailed					= 1,
+	VRScreenshotError_IncompatibleVersion			= 100,
+	VRScreenshotError_NotFound						= 101,
+	VRScreenshotError_BufferTooSmall				= 102,
+	VRScreenshotError_ScreenshotAlreadyInProgress	= 108,
+};
+
+/** Allows the application to generate screenshots */
+struct VR_IVRScreenshots_FnTable
+{
+	vr::EVRScreenshotError (__stdcall *RequestScreenshot)( vr::ScreenshotHandle_t *pOutScreenshotHandle, vr::EVRScreenshotType type, const char *pchPreviewFilename, const char *pchVRFilename );
+	vr::EVRScreenshotError (__stdcall *HookScreenshot)(  const vr::EVRScreenshotType *pSupportedTypes, int numTypes );
+	vr::EVRScreenshotType (__stdcall *GetScreenshotPropertyType)( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotError *pError );
+	uint32_t (__stdcall *GetScreenshotPropertyFilename)( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotPropertyFilenames filenameType,  char *pchFilename, uint32_t cchFilename, vr::EVRScreenshotError *pError );
+	vr::EVRScreenshotError (__stdcall *UpdateScreenshotProgress)( vr::ScreenshotHandle_t screenshotHandle, float flProgress );
+	vr::EVRScreenshotError (__stdcall *TakeStereoScreenshot)( vr::ScreenshotHandle_t *pOutScreenshotHandle, const char *pchPreviewFilename, const char *pchVRFilename );
+	vr::EVRScreenshotError (__stdcall *SubmitScreenshot)( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotType type, const char *pchSourcePreviewFilename, const char *pchSourceVRFilename );
+};
+
+class IVRScreenshots
+{
+	VR_IVRScreenshots_FnTable _table;
+public:
+	/** Request a screenshot of the requested type.
+	 *  A request of the VRScreenshotType_Stereo type will always
+	 *  work. Other types will depend on the underlying application
+	 *  support.
+	 *  The first file name is for the preview image and should be a
+	 *  regular screenshot (ideally from the left eye). The second
+	 *  is the VR screenshot in the correct format. They should be
+	 *  in the same aspect ratio.  Formats per type:
+	 *  VRScreenshotType_Mono: the VR filename is ignored (can be
+	 *  nullptr), this is a normal flat single shot.
+	 *  VRScreenshotType_Stereo:  The VR image should be a
+	 *  side-by-side with the left eye image on the left.
+	 *  VRScreenshotType_Cubemap: The VR image should be six square
+	 *  images composited horizontally.
+	 *  VRScreenshotType_StereoPanorama: above/below with left eye
+	 *  panorama being the above image.  Image is typically square
+	 *  with the panorama being 2x horizontal.
+	 *  
+	 *  Note that the VR dashboard will call this function when
+	 *  the user presses the screenshot binding (currently System
+	 *  Button + Trigger).  If Steam is running, the destination
+	 *  file names will be in %TEMP% and will be copied into
+	 *  Steam's screenshot library for the running application
+	 *  once SubmitScreenshot() is called.
+	 *  If Steam is not running, the paths will be in the user's
+	 *  documents folder under Documents\SteamVR\Screenshots.
+	 *  Other VR applications can call this to initate a
+	 *  screenshot outside of user control.
+	 *  The destination file names do not need an extension,
+	 *  will be replaced with the correct one for the format
+	 *  which is currently .png. */
+	vr::EVRScreenshotError RequestScreenshot( vr::ScreenshotHandle_t *pOutScreenshotHandle, vr::EVRScreenshotType type, const char *pchPreviewFilename, const char *pchVRFilename ) { return _table.RequestScreenshot(pOutScreenshotHandle, type, pchPreviewFilename, pchVRFilename); }
+
+	/** Called by the running VR application to indicate that it
+	 *  wishes to be in charge of screenshots.  If the
+	 *  application does not call this, the Compositor will only
+	 *  support VRScreenshotType_Stereo screenshots that will be
+	 *  captured without notification to the running app.
+	 *  Once hooked your application will receive a
+	 *  VREvent_RequestScreenshot event when the user presses the
+	 *  buttons to take a screenshot. */
+	vr::EVRScreenshotError HookScreenshot( VR_ARRAY_COUNT( numTypes ) const vr::EVRScreenshotType *pSupportedTypes, int numTypes ) { return _table.HookScreenshot(pSupportedTypes, numTypes); }
+
+	/** When your application receives a
+	 *  VREvent_RequestScreenshot event, call these functions to get
+	 *  the details of the screenshot request. */
+	vr::EVRScreenshotType GetScreenshotPropertyType( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotError *pError ) { return _table.GetScreenshotPropertyType(screenshotHandle, pError); }
+
+	/** Get the filename for the preview or vr image (see
+	 *  vr::EScreenshotPropertyFilenames).  The return value is
+	 *  the size of the string.   */
+	uint32_t GetScreenshotPropertyFilename( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotPropertyFilenames filenameType, VR_OUT_STRING() char *pchFilename, uint32_t cchFilename, vr::EVRScreenshotError *pError ) { return _table.GetScreenshotPropertyFilename(screenshotHandle, filenameType, pchFilename, cchFilename, pError); }
+
+	/** Call this if the application is taking the screen shot
+	 *  will take more than a few ms processing. This will result
+	 *  in an overlay being presented that shows a completion
+	 *  bar. */
+	vr::EVRScreenshotError UpdateScreenshotProgress( vr::ScreenshotHandle_t screenshotHandle, float flProgress ) { return _table.UpdateScreenshotProgress(screenshotHandle, flProgress); }
+
+	/** Tells the compositor to take an internal screenshot of
+	 *  type VRScreenshotType_Stereo. It will take the current
+	 *  submitted scene textures of the running application and
+	 *  write them into the preview image and a side-by-side file
+	 *  for the VR image.
+	 *  This is similiar to request screenshot, but doesn't ever
+	 *  talk to the application, just takes the shot and submits. */
+	vr::EVRScreenshotError TakeStereoScreenshot( vr::ScreenshotHandle_t *pOutScreenshotHandle, const char *pchPreviewFilename, const char *pchVRFilename ) { return _table.TakeStereoScreenshot(pOutScreenshotHandle, pchPreviewFilename, pchVRFilename); }
+
+	/** Submit the completed screenshot.  If Steam is running
+	 *  this will call into the Steam client and upload the
+	 *  screenshot to the screenshots section of the library for
+	 *  the running application.  If Steam is not running, this
+	 *  function will display a notification to the user that the
+	 *  screenshot was taken. The paths should be full paths with
+	 *  extensions.
+	 *  File paths should be absolute including
+	 *  exntensions.
+	 *  screenshotHandle can be k_unScreenshotHandleInvalid if this
+	 *  was a new shot taking by the app to be saved and not
+	 *  initiated by a user (achievement earned or something) */
+	vr::EVRScreenshotError SubmitScreenshot( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotType type, const char *pchSourcePreviewFilename, const char *pchSourceVRFilename ) { return _table.SubmitScreenshot(screenshotHandle, type, pchSourcePreviewFilename, pchSourceVRFilename); }
+};
+
+static const char * const IVRScreenshots_Version = "FnTable:IVRScreenshots_001";
+
+} // namespace vr
+
+
+
+// ivrresources.h
+namespace vr
+{
+
+struct VR_IVRResources_FnTable
+{
+	uint32_t (__stdcall *LoadSharedResource)( const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen );
+	uint32_t (__stdcall *GetResourceFullPath)( const char *pchResourceName, const char *pchResourceTypeDirectory, char *pchPathBuffer, uint32_t unBufferLen );
+};
+
+class IVRResources
+{
+	VR_IVRResources_FnTable _table;
+public:
+
+	// ------------------------------------
+	// Shared Resource Methods
+	// ------------------------------------
+
+	/** Loads the specified resource into the provided buffer if large enough.
+	* Returns the size in bytes of the buffer required to hold the specified resource. */
+	uint32_t LoadSharedResource( const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen ) { return _table.LoadSharedResource(pchResourceName, pchBuffer, unBufferLen); }
+
+	/** Provides the full path to the specified resource. Resource names can include named directories for
+	* drivers and other things, and this resolves all of those and returns the actual physical path. 
+	* pchResourceTypeDirectory is the subdirectory of resources to look in. */
+	uint32_t GetResourceFullPath( const char *pchResourceName, const char *pchResourceTypeDirectory, char *pchPathBuffer, uint32_t unBufferLen ) { return _table.GetResourceFullPath(pchResourceName, pchResourceTypeDirectory, pchPathBuffer, unBufferLen); }
+};
+
+static const char * const IVRResources_Version = "FnTable:IVRResources_001";
+
+
+}// End
+
+#endif // _OPENVR_API
+
+
+namespace vr
+{
+	/** Finds the active installation of the VR API and initializes it. The provided path must be absolute
+	* or relative to the current working directory. These are the local install versions of the equivalent
+	* functions in steamvr.h and will work without a local Steam install.
+	*
+	* This path is to the "root" of the VR API install. That's the directory with
+	* the "drivers" directory and a platform (i.e. "win32") directory in it, not the directory with the DLL itself.
+	*/
+	inline IVRSystem *VR_Init( EVRInitError *peError, EVRApplicationType eApplicationType );
+
+	/** unloads vrclient.dll. Any interface pointers from the interface are
+	* invalid after this point */
+	inline void VR_Shutdown();
+
+	/** Returns true if there is an HMD attached. This check is as lightweight as possible and
+	* can be called outside of VR_Init/VR_Shutdown. It should be used when an application wants
+	* to know if initializing VR is a possibility but isn't ready to take that step yet.
+	*/
+	VR_INTERFACE bool VR_CALLTYPE VR_IsHmdPresent();
+
+	/** Returns true if the OpenVR runtime is installed. */
+	VR_INTERFACE bool VR_CALLTYPE VR_IsRuntimeInstalled();
+
+	/** Returns where the OpenVR runtime is installed. */
+	VR_INTERFACE const char *VR_CALLTYPE VR_RuntimePath();
+
+	/** Returns the name of the enum value for an EVRInitError. This function may be called outside of VR_Init()/VR_Shutdown(). */
+	VR_INTERFACE const char *VR_CALLTYPE VR_GetVRInitErrorAsSymbol( EVRInitError error );
+
+	/** Returns an english string for an EVRInitError. Applications should call VR_GetVRInitErrorAsSymbol instead and
+	* use that as a key to look up their own localized error message. This function may be called outside of VR_Init()/VR_Shutdown(). */
+	VR_INTERFACE const char *VR_CALLTYPE VR_GetVRInitErrorAsEnglishDescription( EVRInitError error );
+
+	/** Returns the interface of the specified version. This method must be called after VR_Init. The
+	* pointer returned is valid until VR_Shutdown is called.
+	*/
+	VR_INTERFACE void *VR_CALLTYPE VR_GetGenericInterface( const char *pchInterfaceVersion, EVRInitError *peError );
+
+	/** Returns whether the interface of the specified version exists.
+	*/
+	VR_INTERFACE bool VR_CALLTYPE VR_IsInterfaceVersionValid( const char *pchInterfaceVersion );
+
+	/** Returns a token that represents whether the VR interface handles need to be reloaded */
+	VR_INTERFACE uint32_t VR_CALLTYPE VR_GetInitToken();
+
+	// These typedefs allow old enum names from SDK 0.9.11 to be used in applications.
+	// They will go away in the future.
+	typedef EVRInitError HmdError;
+	typedef EVREye Hmd_Eye;
+	typedef EColorSpace ColorSpace;
+	typedef ETrackingResult HmdTrackingResult;
+	typedef ETrackedDeviceClass TrackedDeviceClass;
+	typedef ETrackingUniverseOrigin TrackingUniverseOrigin;
+	typedef ETrackedDeviceProperty TrackedDeviceProperty;
+	typedef ETrackedPropertyError TrackedPropertyError;
+	typedef EVRSubmitFlags VRSubmitFlags_t;
+	typedef EVRState VRState_t;
+	typedef ECollisionBoundsStyle CollisionBoundsStyle_t;
+	typedef EVROverlayError VROverlayError;
+	typedef EVRFirmwareError VRFirmwareError;
+	typedef EVRCompositorError VRCompositorError;
+	typedef EVRScreenshotError VRScreenshotsError;
+
+	inline uint32_t &VRToken()
+	{
+		static uint32_t token;
+		return token;
+	}
+
+	class COpenVRContext
+	{
+	public:
+		COpenVRContext() { Clear(); }
+		void Clear();
+
+		inline void CheckClear()
+		{
+			if ( VRToken() != VR_GetInitToken() )
+			{
+				Clear();
+				VRToken() = VR_GetInitToken();
+			}
+		}
+
+		IVRSystem *VRSystem()
+		{
+			CheckClear();
+			if ( m_pVRSystem == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRSystem = ( IVRSystem * )VR_GetGenericInterface( IVRSystem_Version, &eError );
+			}
+			return m_pVRSystem;
+		}
+		IVRChaperone *VRChaperone()
+		{
+			CheckClear();
+			if ( m_pVRChaperone == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRChaperone = ( IVRChaperone * )VR_GetGenericInterface( IVRChaperone_Version, &eError );
+			}
+			return m_pVRChaperone;
+		}
+
+		IVRChaperoneSetup *VRChaperoneSetup()
+		{
+			CheckClear();
+			if ( m_pVRChaperoneSetup == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRChaperoneSetup = ( IVRChaperoneSetup * )VR_GetGenericInterface( IVRChaperoneSetup_Version, &eError );
+			}
+			return m_pVRChaperoneSetup;
+		}
+
+		IVRCompositor *VRCompositor()
+		{
+			CheckClear();
+			if ( m_pVRCompositor == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRCompositor = ( IVRCompositor * )VR_GetGenericInterface( IVRCompositor_Version, &eError );
+			}
+			return m_pVRCompositor;
+		}
+
+		IVROverlay *VROverlay()
+		{
+			CheckClear();
+			if ( m_pVROverlay == nullptr )
+			{
+				EVRInitError eError;
+				m_pVROverlay = ( IVROverlay * )VR_GetGenericInterface( IVROverlay_Version, &eError );
+			}
+			return m_pVROverlay;
+		}
+
+		IVRResources *VRResources()
+		{
+			CheckClear();
+			if ( m_pVRResources == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRResources = (IVRResources *)VR_GetGenericInterface( IVRResources_Version, &eError );
+			}
+			return m_pVRResources;
+		}
+
+		IVRScreenshots *VRScreenshots()
+		{
+			CheckClear();
+			if ( m_pVRScreenshots == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRScreenshots = ( IVRScreenshots * )VR_GetGenericInterface( IVRScreenshots_Version, &eError );
+			}
+			return m_pVRScreenshots;
+		}
+
+		IVRRenderModels *VRRenderModels()
+		{
+			CheckClear();
+			if ( m_pVRRenderModels == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRRenderModels = ( IVRRenderModels * )VR_GetGenericInterface( IVRRenderModels_Version, &eError );
+			}
+			return m_pVRRenderModels;
+		}
+
+		IVRExtendedDisplay *VRExtendedDisplay()
+		{
+			CheckClear();
+			if ( m_pVRExtendedDisplay == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRExtendedDisplay = ( IVRExtendedDisplay * )VR_GetGenericInterface( IVRExtendedDisplay_Version, &eError );
+			}
+			return m_pVRExtendedDisplay;
+		}
+
+		IVRSettings *VRSettings()
+		{
+			CheckClear();
+			if ( m_pVRSettings == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRSettings = ( IVRSettings * )VR_GetGenericInterface( IVRSettings_Version, &eError );
+			}
+			return m_pVRSettings;
+		}
+
+		IVRApplications *VRApplications()
+		{
+			CheckClear();
+			if ( m_pVRApplications == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRApplications = ( IVRApplications * )VR_GetGenericInterface( IVRApplications_Version, &eError );
+			}
+			return m_pVRApplications;
+		}
+
+		IVRTrackedCamera *VRTrackedCamera()
+		{
+			CheckClear();
+			if ( m_pVRTrackedCamera == nullptr )
+			{
+				EVRInitError eError;
+				m_pVRTrackedCamera = ( IVRTrackedCamera * )VR_GetGenericInterface( IVRTrackedCamera_Version, &eError );
+			}
+			return m_pVRTrackedCamera;
+		}
+
+	private:
+		IVRSystem			*m_pVRSystem;
+		IVRChaperone		*m_pVRChaperone;
+		IVRChaperoneSetup	*m_pVRChaperoneSetup;
+		IVRCompositor		*m_pVRCompositor;
+		IVROverlay			*m_pVROverlay;
+		IVRResources		*m_pVRResources;
+		IVRRenderModels		*m_pVRRenderModels;
+		IVRExtendedDisplay	*m_pVRExtendedDisplay;
+		IVRSettings			*m_pVRSettings;
+		IVRApplications		*m_pVRApplications;
+		IVRTrackedCamera	*m_pVRTrackedCamera;
+		IVRScreenshots		*m_pVRScreenshots;
+	};
+
+	inline COpenVRContext &OpenVRInternal_ModuleContext()
+	{
+		static void *ctx[ sizeof( COpenVRContext ) / sizeof( void * ) ];
+		return *( COpenVRContext * )ctx; // bypass zero-init constructor
+	}
+
+	inline IVRSystem *VR_CALLTYPE VRSystem() { return OpenVRInternal_ModuleContext().VRSystem(); }
+	inline IVRChaperone *VR_CALLTYPE VRChaperone() { return OpenVRInternal_ModuleContext().VRChaperone(); }
+	inline IVRChaperoneSetup *VR_CALLTYPE VRChaperoneSetup() { return OpenVRInternal_ModuleContext().VRChaperoneSetup(); }
+	inline IVRCompositor *VR_CALLTYPE VRCompositor() { return OpenVRInternal_ModuleContext().VRCompositor(); }
+	inline IVROverlay *VR_CALLTYPE VROverlay() { return OpenVRInternal_ModuleContext().VROverlay(); }
+	inline IVRScreenshots *VR_CALLTYPE VRScreenshots() { return OpenVRInternal_ModuleContext().VRScreenshots(); }
+	inline IVRRenderModels *VR_CALLTYPE VRRenderModels() { return OpenVRInternal_ModuleContext().VRRenderModels(); }
+	inline IVRApplications *VR_CALLTYPE VRApplications() { return OpenVRInternal_ModuleContext().VRApplications(); }
+	inline IVRSettings *VR_CALLTYPE VRSettings() { return OpenVRInternal_ModuleContext().VRSettings(); }
+	inline IVRResources *VR_CALLTYPE VRResources() { return OpenVRInternal_ModuleContext().VRResources(); }
+	inline IVRExtendedDisplay *VR_CALLTYPE VRExtendedDisplay() { return OpenVRInternal_ModuleContext().VRExtendedDisplay(); }
+	inline IVRTrackedCamera *VR_CALLTYPE VRTrackedCamera() { return OpenVRInternal_ModuleContext().VRTrackedCamera(); }
+
+	inline void COpenVRContext::Clear()
+	{
+		m_pVRSystem = nullptr;
+		m_pVRChaperone = nullptr;
+		m_pVRChaperoneSetup = nullptr;
+		m_pVRCompositor = nullptr;
+		m_pVROverlay = nullptr;
+		m_pVRRenderModels = nullptr;
+		m_pVRExtendedDisplay = nullptr;
+		m_pVRSettings = nullptr;
+		m_pVRApplications = nullptr;
+		m_pVRTrackedCamera = nullptr;
+		m_pVRResources = nullptr;
+		m_pVRScreenshots = nullptr;
+	}
+
+	VR_INTERFACE uint32_t VR_CALLTYPE VR_InitInternal( EVRInitError *peError, EVRApplicationType eApplicationType );
+	VR_INTERFACE void VR_CALLTYPE VR_ShutdownInternal();
+
+	/** Finds the active installation of vrclient.dll and initializes it */
+	inline IVRSystem *VR_Init( EVRInitError *peError, EVRApplicationType eApplicationType )
+	{
+		IVRSystem *pVRSystem = nullptr;
+
+		EVRInitError eError;
+		VRToken() = VR_InitInternal( &eError, eApplicationType );
+		COpenVRContext &ctx = OpenVRInternal_ModuleContext();
+		ctx.Clear();
+
+		if ( eError == VRInitError_None )
+		{
+			if ( VR_IsInterfaceVersionValid( IVRSystem_Version ) )
+			{
+				pVRSystem = VRSystem();
+			}
+			else
+			{
+				VR_ShutdownInternal();
+				eError = VRInitError_Init_InterfaceNotFound;
+			}
+		}
+
+		if ( peError )
+			*peError = eError;
+		return pVRSystem;
+	}
+
+	/** unloads vrclient.dll. Any interface pointers from the interface are
+	* invalid after this point */
+	inline void VR_Shutdown()
+	{
+		VR_ShutdownInternal();
+	}
+}

+ 576 - 0
modules/mojo3d-vr/openvr/openvr-sdk/openvr.monkey2

@@ -0,0 +1,576 @@
+
+Namespace openvr
+
+#If __DESKTOP_TARGET__
+
+#If __TARGET__="windows"
+
+#If __ARCH__="x86"
+#Import "bin/win32/openvr_api.dll"
+#Import "lib/win32/openvr_api.lib"
+#Elseif __ARCH__="x64"
+#Import "bin/win64/openvr_api.dll"
+#Import "lib/win64/openvr_api.lib"
+#endif
+
+#Elseif __TARGET__="macos"
+
+#Import "bin/osx64/OpenVR.framework"
+
+#Elseif __TARGET__="linux"
+
+#Import "bin/liux64/libopenvr_api.so"
+
+#Endif
+
+#Import "headers/*.h"
+#Import "glue.h"
+
+Extern
+
+Struct HmdMatrix34_t
+	Field m:Float Ptr Ptr
+End	
+
+Struct HmdMatrix44_t
+	Field m:Float Ptr Ptr
+End
+
+Struct HmdVector3_t
+	Field v:Float Ptr
+End
+
+Enum EVRApplicationType
+End
+
+Const VRApplication_Scene:EVRApplicationType		'Application will submit 3D frames 
+
+Enum EVRInitError
+End
+Const VRInitError_None:EVRInitError
+
+Alias HmdError:EVRInitError
+
+Function VR_IsHmdPresent:Bool()
+Function VR_IsRuntimeInstalled:Bool()
+Function VR_RuntimePath:CString()
+Function VR_Init:IVRSystem( peError:HmdError Ptr,eApplicationType:EVRApplicationType )
+Function VR_GetVRInitErrorAsSymbol:CString( error:EVRInitError )
+Function VR_Shutdown()
+
+Function VRSystem:IVRSystem()	
+Function VRCompositor:IVRCompositor()
+Function VROverlay:IVROverlay()
+	
+'***** System *****
+
+Alias TrackedDeviceIndex_t:UInt
+
+Enum EVREye
+End
+Const Eye_Left:EVREye
+Const Eye_Right:EVREye
+
+Const k_unTrackedDeviceIndexInvalid:UInt
+Const k_unMaxTrackedDeviceCount:UInt
+Const k_unTrackedDeviceIndex_Hmd:UInt
+
+Enum ETrackingResult
+End
+Const TrackingResult_Uninitialized:ETrackingResult
+const TrackingResult_Calibrating_InProgress:ETrackingResult
+Const TrackingResult_Calibrating_OutOfRange:ETrackingResult
+Const TrackingResult_Running_OK:ETrackingResult
+Const TrackingResult_Running_OutOfRange:ETrackingResult
+
+Enum ETrackedDeviceClass
+End
+Const TrackedDeviceClass_Invalid:ETrackedDeviceClass					'0: ID was not valid.
+Const TrackedDeviceClass_HMD:ETrackedDeviceClass						'1: "Head-Mounted Displays
+Const TrackedDeviceClass_Controller:ETrackedDeviceClass					'2: Tracked controllers
+Const TrackedDeviceClass_GenericTracker:ETrackedDeviceClass				'3: Generic trackers, similar to controllers
+Const TrackedDeviceClass_TrackingReference:ETrackedDeviceClass			'4: Camera and base stations that serve as tracking reference points
+Const TrackedDeviceClass_DisplayRedirect:ETrackedDeviceClass			'5: Accessories that aren't necessarily tracked themselves, but may redirect video output from other tracked devices
+
+'Describes what specific role associated with a tracked device */
+Enum ETrackedControllerRole
+End
+Const TrackedControllerRole_Invalid:ETrackedControllerRole				'Invalid value for controller type
+Const TrackedControllerRole_LeftHand:ETrackedControllerRole				'Tracked device associated with the left hand
+Const TrackedControllerRole_RightHand:ETrackedControllerRole			'Tracked device associated with the right hand
+
+'describes a single pose for a tracked object
+Struct TrackedDevicePose_t
+	
+	Field mDeviceToAbsoluteTracking:HmdMatrix34_t
+	Field vVelocity:HmdVector3_t					'velocity in tracker space in m/s
+	field vAngularVelocity:HmdVector3_t				'angular velocity in radians/s (?)
+	
+	Field eTrackingResult:ETrackingResult
+	
+	Field bPoseIsValid:bool
+
+	'This indicates that there is a device connected for this spot in the pose array.
+	'It could go from true to false if the user unplugs the device.
+	Field bDeviceIsConnected:Bool
+End
+
+enum ETrackingUniverseOrigin
+End
+Const TrackingUniverseSeated:ETrackingUniverseOrigin					'Poses are provided relative to the seated zero pose
+Const TrackingUniverseStanding:ETrackingUniverseOrigin					'Poses are provided relative to the safe bounds configured by the user
+Const TrackingUniverseRawAndUncalibrated:ETrackingUniverseOrigin		'Poses are provided in the coordinate system defined by the driver.  It has Y up and is unified for devices of the same driver. You usually don't want this one.
+ 
+enum EVREventType
+End
+Const VREvent_None:EVREventType
+Const VREvent_TrackedDeviceActivated:EVREventType
+Const VREvent_TrackedDeviceDeactivated:EVREventType
+Const VREvent_TrackedDeviceUpdated:EVREventType
+Const VREvent_TrackedDeviceUserInteractionStarted:EVREventType
+Const VREvent_TrackedDeviceUserInteractionEnded:EVREventType
+Const VREvent_IpdChanged:EVREventType
+Const VREvent_EnterStandbyMode:EVREventType
+Const VREvent_LeaveStandbyMode:EVREventType
+Const VREvent_TrackedDeviceRoleChanged:EVREventType
+Const VREvent_WatchdogWakeUpRequested:EVREventType
+Const VREvent_LensDistortionChanged:EVREventType
+Const VREvent_PropertyChanged:EVREventType
+Const VREvent_WirelessDisconnect:EVREventType
+Const VREvent_WirelessReconnect:EVREventType
+Const VREvent_ButtonPress:EVREventType
+Const VREvent_ButtonUnpress:EVREventType
+Const VREvent_ButtonTouch:EVREventType
+Const VREvent_ButtonUntouch:EVREventType
+Const VREvent_MouseMove:EVREventType
+Const VREvent_MouseButtonDown:EVREventType
+Const VREvent_MouseButtonUp:EVREventType
+Const VREvent_FocusEnter:EVREventType
+Const VREvent_FocusLeave:EVREventType
+Const VREvent_Scroll:EVREventType
+Const VREvent_TouchPadMove:EVREventType
+Const VREvent_OverlayFocusChanged:EVREventType
+Const VREvent_InputFocusCaptured:EVREventType
+Const VREvent_InputFocusReleased:EVREventType
+Const VREvent_SceneFocusLost:EVREventType
+Const VREvent_SceneFocusGained:EVREventType
+Const VREvent_SceneApplicationChanged:EVREventType
+Const VREvent_SceneFocusChanged:EVREventType
+Const VREvent_InputFocusChanged:EVREventType
+Const VREvent_SceneApplicationSecondaryRenderingStarted:EVREventType
+Const VREvent_HideRenderModels:EVREventType
+Const VREvent_ShowRenderModels:EVREventType
+Const VREvent_OverlayShown:EVREventType
+Const VREvent_OverlayHidden:EVREventType
+Const VREvent_DashboardActivated:EVREventType
+Const VREvent_DashboardDeactivated:EVREventType
+Const VREvent_DashboardThumbSelected:EVREventType
+Const VREvent_DashboardRequested:EVREventType
+Const VREvent_ResetDashboard:EVREventType
+Const VREvent_RenderToast:EVREventType
+Const VREvent_ImageLoaded:EVREventType
+Const VREvent_ShowKeyboard:EVREventType
+Const VREvent_HideKeyboard:EVREventType
+Const VREvent_OverlayGamepadFocusGained:EVREventType
+Const VREvent_OverlayGamepadFocusLost:EVREventType
+Const VREvent_OverlaySharedTextureChanged:EVREventType
+Const VREvent_DashboardGuideButtonDown:EVREventType
+Const VREvent_DashboardGuideButtonUp:EVREventType
+Const VREvent_ScreenshotTriggered:EVREventType
+Const VREvent_ImageFailed:EVREventType
+Const VREvent_DashboardOverlayCreated:EVREventType
+Const VREvent_RequestScreenshot:EVREventType
+Const VREvent_ScreenshotTaken:EVREventType
+Const VREvent_ScreenshotFailed:EVREventType
+Const VREvent_SubmitScreenshotToDashboard:EVREventType
+Const VREvent_ScreenshotProgressToDashboard:EVREventType
+Const VREvent_PrimaryDashboardDeviceChanged:EVREventType
+Const VREvent_Notification_Shown:EVREventType
+Const VREvent_Notification_Hidden:EVREventType
+Const VREvent_Notification_BeginInteraction:EVREventType
+Const VREvent_Notification_Destroyed:EVREventType
+Const VREvent_Quit:EVREventType
+Const VREvent_ProcessQuit:EVREventType
+Const VREvent_QuitAborted_UserPrompt:EVREventType
+Const VREvent_QuitAcknowledged:EVREventType
+Const VREvent_DriverRequestedQuit:EVREventType
+Const VREvent_ChaperoneDataHasChanged:EVREventType
+Const VREvent_ChaperoneUniverseHasChanged:EVREventType
+Const VREvent_ChaperoneTempDataHasChanged:EVREventType
+Const VREvent_ChaperoneSettingsHaveChanged:EVREventType
+Const VREvent_SeatedZeroPoseReset:EVREventType
+Const VREvent_AudioSettingsHaveChanged:EVREventType
+Const VREvent_BackgroundSettingHasChanged:EVREventType
+Const VREvent_CameraSettingsHaveChanged:EVREventType
+Const VREvent_ReprojectionSettingHasChanged:EVREventType
+Const VREvent_ModelSkinSettingsHaveChanged:EVREventType
+Const VREvent_EnvironmentSettingsHaveChanged:EVREventType
+Const VREvent_PowerSettingsHaveChanged:EVREventType
+Const VREvent_EnableHomeAppSettingsHaveChanged:EVREventType
+Const VREvent_StatusUpdate:EVREventType
+Const VREvent_MCImageUpdated:EVREventType
+Const VREvent_FirmwareUpdateStarted:EVREventType
+Const VREvent_FirmwareUpdateFinished:EVREventType
+Const VREvent_KeyboardClosed:EVREventType
+Const VREvent_KeyboardCharInput:EVREventType
+Const VREvent_KeyboardDone:EVREventType
+Const VREvent_ApplicationTransitionStarted:EVREventType
+Const VREvent_ApplicationTransitionAborted:EVREventType
+Const VREvent_ApplicationTransitionNewAppStarted:EVREventType
+Const VREvent_ApplicationListUpdated:EVREventType
+Const VREvent_ApplicationMimeTypeLoad:EVREventType
+Const VREvent_ApplicationTransitionNewAppLaunchComplete:EVREventType
+Const VREvent_ProcessConnected:EVREventType
+Const VREvent_ProcessDisconnected:EVREventType
+Const VREvent_Compositor_MirrorWindowShown:EVREventType
+Const VREvent_Compositor_MirrorWindowHidden:EVREventType
+Const VREvent_Compositor_ChaperoneBoundsShown:EVREventType
+Const VREvent_Compositor_ChaperoneBoundsHidden:EVREventType
+Const VREvent_TrackedCamera_StartVideoStream:EVREventType
+Const VREvent_TrackedCamera_StopVideoStream:EVREventType
+Const VREvent_TrackedCamera_PauseVideoStream:EVREventType
+Const VREvent_TrackedCamera_ResumeVideoStream:EVREventType
+Const VREvent_TrackedCamera_EditingSurface:EVREventType
+Const VREvent_PerformanceTest_EnableCapture:EVREventType
+Const VREvent_PerformanceTest_DisableCapture:EVREventType
+Const VREvent_PerformanceTest_FidelityLevel:EVREventType
+Const VREvent_MessageOverlay_Closed:EVREventType
+Const VREvent_MessageOverlayCloseRequested:EVREventType
+Const VREvent_VendorSpecific_Reserved_Start:EVREventType
+Const VREvent_VendorSpecific_Reserved_End:EVREventType
+
+Enum EVRButtonId
+End
+Const k_EButton_System:EVRButtonId
+Const k_EButton_ApplicationMenu:EVRButtonId
+Const k_EButton_Grip:EVRButtonId
+Const k_EButton_DPad_Left:EVRButtonId
+Const k_EButton_DPad_Up:EVRButtonId
+Const k_EButton_DPad_Right:EVRButtonId
+Const k_EButton_DPad_Down:EVRButtonId
+Const k_EButton_A:EVRButtonId
+Const k_EButton_ProximitySensor:EVRButtonId
+Const k_EButton_Axis0:EVRButtonId
+Const k_EButton_Axis1:EVRButtonId
+Const k_EButton_Axis2:EVRButtonId
+Const k_EButton_Axis3:EVRButtonId
+Const k_EButton_Axis4:EVRButtonId
+Const k_EButton_SteamVR_Touchpad:EVRButtonId
+Const k_EButton_SteamVR_Trigger:EVRButtonId
+Const k_EButton_Dashboard_Back:EVRButtonId
+Const k_EButton_Max:EVRButtonId
+
+Struct VREvent_Controller_t
+	Field button:UInt	'EVRButtonId Enum
+End
+
+'Hmmm, not actually the controller touchpad!
+struct VREvent_TouchPadMove_t
+	Field bFingerDown:Bool
+	Field flSecondsFingerDown:Float
+	Field fValueXFirst:Float
+	Field fValueYFirst:Float
+	Field fValueXRaw:Float
+	Field fValueYRaw:Float
+End
+
+Struct VREvent_Data_t
+	Field controller:VREvent_Controller_t
+	Field touchPadMove:VREvent_TouchPadMove_t
+End
+ 
+Struct VREvent_t
+	'	
+	Field eventType:UInt		'EVREventType enum
+	Field trackedDeviceIndex:UInt
+	Field eventAgeSeconds:Float
+	'
+	Field data:VREvent_Data_t
+End
+
+Enum EVRControllerAxisType
+End
+Const k_eControllerAxis_None:EVRControllerAxisType
+Const k_eControllerAxis_TrackPad:EVRControllerAxisType
+Const k_eControllerAxis_Joystick:EVRControllerAxisType
+Const k_eControllerAxis_Trigger:EVRControllerAxisType
+
+Struct VRControllerAxis_t
+	Field x:Float	'Ranges from -1.0 to 1.0 for joysticks and track pads. Ranges from 0.0 to 1.0 for triggers were 0 is fully released.
+	Field y:Float	'Ranges from -1.0 to 1.0 for joysticks and track pads. Is always 0.0 for triggers.
+End
+
+Const k_unControllerStateAxisCount:UInt
+
+Struct VRControllerState001_t
+	'If packet num matches that on your prior call, then the controller state hasn't been changed since 
+	'your last call and there is no need to process it
+	Field unPacketNum:Uint
+
+	'bit flags for each of the buttons. Use ButtonMaskFromId to turn an ID into a mask
+	Field ulButtonPressed:ULong
+	Field ulButtonTouched:ULong
+
+	'Axis data for the controller's analog inputs
+	Field rAxis:VRControllerAxis_t Ptr	'[k_unControllerStateAxisCount]
+End
+
+Alias VRControllerState_t:VRControllerState001_t
+ 
+Class IVRSystem Extends Void
+	
+	'------------------------------------
+	'Display Methods
+	'------------------------------------
+
+	'Suggested size for the intermediate render target that the distortion pulls from.
+	Method GetRecommendedRenderTargetSize( pnWidth:UInt Ptr,pnHeight:UInt Ptr )
+
+	'The projection matrix for the specified eye
+	Method GetProjectionMatrix:HmdMatrix44_t( eEye:EVREye,fNearZ:float,fFarZ:Float )
+		
+	'The components necessary to build your own projection matrix in case your
+	'application is doing something fancy like infinite Z
+	Method GetProjectionRaw( eEye:EVREye,pfLeft:Float Ptr,pfRight:Float Ptr,pfTop:Float Ptr,pfBottom:Float Ptr )
+		
+	'Returns the transform from eye space to the head space. Eye space is the per-eye flavor of head
+	'space that provides stereo disparity. Instead of Model * View * Projection the sequence is Model * View * Eye^-1 * Projection. 
+	'Normally View and Eye^-1 will be multiplied together and treated as View in your application. 
+	Method GetEyeToHeadTransform:HmdMatrix34_t( eEye:EVREye )
+		
+	'Returns the number of elapsed seconds since the last recorded vsync event. This 
+	'will come from a vsync timer event in the timer if possible or from the application-reported
+	'time if that is not available. If no vsync times are available the function will 
+	'return zero for vsync time and frame counter and return false from the method. */
+	Method GetTimeSinceLastVsync:Bool( pfSecondsSinceLastVsync:Float Ptr,pulFrameCounter:ULong Ptr )
+		
+	' ------------------------------------
+	'Tracking Methods
+	'------------------------------------
+
+	'The pose that the tracker thinks that the HMD will be in at the specified number of seconds into the 
+	'future. Pass 0 to get the state at the instant the method is called. Most of the time the application should
+	'calculate the time until the photons will be emitted from the display and pass that time into the method.
+	'
+	'This is roughly analogous to the inverse of the view matrix in most applications, though 
+	'many games will need to do some additional rotation or translation on top of the rotation
+	'and translation provided by the head pose.
+	'
+	'For devices where bPoseIsValid is true the application can use the pose to position the device
+	'in question. The provided array can be any size up to k_unMaxTrackedDeviceCount. 
+	'
+	'Seated experiences should call this method with TrackingUniverseSeated and receive poses relative
+	'to the seated zero pose. Standing experiences should call this method with TrackingUniverseStanding 
+	'and receive poses relative to the Chaperone Play Area. TrackingUniverseRawAndUncalibrated should 
+	'probably not be used unless the application is the Chaperone calibration tool itself, but will provide
+	'poses relative to the hardware-specific coordinate system in the driver.
+	Method GetDeviceToAbsoluteTrackingPose( eOrigin:ETrackingUniverseOrigin,fPredictedSecondsToPhotonsFromNow:Float,pTrackedDevicePoseArray:TrackedDevicePose_t Ptr,trackedDevicePoseArrayCount:UInt )
+
+	'Sets the zero pose for the seated tracker coordinate system to the current position and yaw of the HMD. After 
+	'ResetSeatedZeroPose all GetDeviceToAbsoluteTrackingPose calls that pass TrackingUniverseSeated as the origin 
+	'will be relative to this new zero pose. The new zero coordinate system will not change the fact that the Y axis 
+	'is up in the real world, so the next pose returned from GetDeviceToAbsoluteTrackingPose after a call to 
+	'ResetSeatedZeroPose may not be exactly an identity matrix.
+	'
+	'NOTE: This function overrides the user's previously saved seated zero pose and should only be called as the result of a user action. 
+	'Users are also able to set their seated zero pose via the OpenVR Dashboard.
+	'
+	Method ResetSeatedZeroPose()
+
+	'Returns the transform from the seated zero pose to the standing absolute tracking system. This allows 
+	'applications to represent the seated origin to used or transform object positions from one coordinate
+	'system to the other. 
+	'
+	'The seated origin may or may not be inside the Play Area or Collision Bounds returned by IVRChaperone. Its position 
+	'depends on what the user has set from the Dashboard settings and previous calls to ResetSeatedZeroPose. */
+	Method GetSeatedZeroPoseToStandingAbsoluteTrackingPose:HmdMatrix34_t()
+		
+	'Get a sorted array of device indices of a given class of tracked devices (e.g. controllers).  Devices are sorted right to left
+	'relative to the specified tracked device (default: hmd -- pass in -1 for absolute tracking space).  Returns the number of devices
+	'in the list, or the size of the array needed if not large enough. */
+	Method GetSortedTrackedDeviceIndicesOfClass:UInt( 
+		eTrackedDeviceClass:ETrackedDeviceClass,
+		punTrackedDeviceIndexArray:TrackedDeviceIndex_t Ptr,unTrackedDeviceIndexArrayCount:UInt,
+		unRelativeToTrackedDeviceIndex:TrackedDeviceIndex_t = k_unTrackedDeviceIndex_Hmd )
+		
+	'Returns the device index associated with a specific role, for example the left hand or the right hand. */
+	Method GetTrackedDeviceIndexForControllerRole:TrackedDeviceIndex_t( unDeviceType:ETrackedControllerRole )
+
+	'Returns the controller type associated with a device index. */
+	Method GetControllerRoleForTrackedDeviceIndex:ETrackedControllerRole( unDeviceIndex:TrackedDeviceIndex_t )
+		
+	'------------------------------------
+	'Property methods
+	'------------------------------------
+
+	'Returns the device class of a tracked device. If there has not been a device connected in this slot
+	'since the application started this function will return TrackedDevice_Invalid. For previous detected
+	'devices the function will return the previously observed device class. 
+	'
+	'To determine which devices exist on the system, just loop from 0 to k_unMaxTrackedDeviceCount and check
+	'the device class. Every device with something other than TrackedDevice_Invalid is associated with an 
+	'actual tracked device. */
+	Method GetTrackedDeviceClass:ETrackedDeviceClass( unDeviceIndex:TrackedDeviceIndex_t )
+
+	'Returns true if there is a device connected in this slot. */
+	Method IsTrackedDeviceConnected:Bool( unDeviceIndex:TrackedDeviceIndex_t )
+		
+	'------------------------------------
+	'Event methods
+	'------------------------------------
+
+	'Returns true and fills the event with the next event on the queue if there is one. If there are no events
+	'this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct */
+	method PollNextEvent:bool( pEvent:VREvent_t Ptr,uncbVREvent:UInt )
+
+	'Returns true and fills the event with the next event on the queue if there is one. If there are no events
+	'this method returns false. Fills in the pose of the associated tracked device in the provided pose struct. 
+	'This pose will always be older than the call to this function and should not be used to render the device. 
+	'uncbVREvent should be the size in bytes of the VREvent_t struct */
+	Method PollNextEventWithPose:Bool( oRigin:ETrackingUniverseOrigin,pEvent:VREvent_t Ptr,uncbVREvent:UInt,pTrackedDevicePose:TrackedDevicePose_t Ptr )
+
+	'returns the name of an EVREvent enum value */
+	Method GetEventTypeNameFromEnum:CString( eType:EVREventType )
+		
+
+	'------------------------------------
+	'Controller methods
+	'------------------------------------
+
+	'Fills the supplied struct with the current state of the controller. Returns false if the controller index
+	'is invalid.
+	Method GetControllerState:Bool( unControllerDeviceIndex:TrackedDeviceIndex_t,pControllerState:VRControllerState_t Ptr,unControllerStateSize:uint  )
+
+	'fills the supplied struct with the current state of the controller and the provided pose with the pose of 
+	'the controller when the controller state was updated most recently. Use this form if you need a precise controller
+	'pose as input to your application when the user presses or releases a button. */
+	Method GetControllerStateWithPose:Bool( eOrigin:ETrackingUniverseOrigin,unControllerDeviceIndex:TrackedDeviceIndex_t,pControllerState:VRControllerState_t Ptr,unControllerStateSize:UInt,pTrackedDevicePose:TrackedDevicePose_t Ptr )
+		
+	'Trigger a single haptic pulse on a controller. After this call the application may not trigger another haptic pulse on this controller
+	'and axis combination for 5ms. */
+	Method TriggerHapticPulse:Void( unControllerDeviceIndex:TrackedDeviceIndex_t,unAxisId:UInt,usDurationMicroSec:UShort )
+		
+	'returns the name of an EVRButtonId enum value */
+	Method GetButtonIdNameFromEnum:CString( eButtonId:EVRButtonId )
+
+	'returns the name of an EVRControllerAxisType enum value */
+	Method GetControllerAxisTypeNameFromEnum:CString( eAxisType:EVRControllerAxisType )
+		
+End
+
+'***** Compositor *****
+
+enum EVRCompositorError
+End
+Const VRCompositorError_None:EVRCompositorError
+Const VRCompositorError_RequestFailed:EVRCompositorError
+Const VRCompositorError_IncompatibleVersion:EVRCompositorError
+Const VRCompositorError_DoNotHaveFocus:EVRCompositorError
+Const VRCompositorError_InvalidTexture:EVRCompositorError
+Const VRCompositorError_IsNotSceneApplication:EVRCompositorError
+Const VRCompositorError_TextureIsOnWrongDevice:EVRCompositorError
+Const VRCompositorError_TextureUsesUnsupportedFormat:EVRCompositorError
+Const VRCompositorError_SharedTexturesNotSupported:EVRCompositorError
+Const VRCompositorError_IndexOutOfRange:EVRCompositorError
+Const VRCompositorError_AlreadySubmitted:EVRCompositorError
+Const VRCompositorError_InvalidBounds:EVRCompositorError
+
+enum EVRSubmitFlags
+End
+'Simple render path. App submits rendered left and right eye images with no lens distortion correction applied.
+Const Submit_Default:EVRSubmitFlags
+ 
+'App submits final left and right eye images with lens distortion already applied (lens distortion makes the images appear
+'barrel distorted with chromatic aberration correction applied). The app would have used the data returned by
+'vr::IVRSystem::ComputeDistortion() to apply the correct distortion to the rendered images before calling Submit().
+Const Submit_LensDistortionAlreadyApplied:EVRSubmitFlags
+
+'If the texture pointer passed in is actually a renderbuffer (e.g. for MSAA in OpenGL) then set this flag.
+Const Submit_GlRenderBuffer:EVRSubmitFlags
+
+'Do not use
+Const Submit_Reserved:EVRSubmitFlags
+
+'Set to indicate that pTexture is a pointer to a VRTextureWithPose_t.
+Const Submit_TextureWithPose:EVRSubmitFlags
+
+enum ETextureType
+End
+Const TextureType_OpenGL:ETextureType	'Handle is an OpenGL texture name or an OpenGL render buffer name, depending on submit flags
+Const TextureType_Vulkan:ETextureType	'Handle is a pointer to a VRVulkanTextureData_t structure
+
+enum EColorSpace
+End
+Const ColorSpace_Auto:EColorSpace		'Assumes 'gamma' for 8-bit per component formats, otherwise 'linear'.  This mirrors the DXGI formats which have _SRGB variants.
+Const ColorSpace_Gamma:EColorSpace		'Texture data can be displayed directly on the display without any conversion (a.k.a. display native format).
+Const ColorSpace_Linear:EColorSpace		'Same as gamma but has been converted to a linear representation using DXGI's sRGB conversion algorithm.
+
+struct Texture_t
+	Field handle:Void Ptr
+	Field eType:ETextureType
+	Field eColorSpace:EColorSpace
+End
+
+'Allows the application to control what part of the provided texture will be used in the
+'frame buffer.
+struct VRTextureBounds_t
+	Field uMin:Float
+	Field vMin:Float
+	Field uMax:Float
+	Field vMax:Float
+End
+
+Class IVRCompositor Extends Void
+	
+	'Sets tracking space returned by WaitGetPoses */
+	Method SetTrackingSpace( eOrigin:ETrackingUniverseOrigin )
+	
+
+	'Scene applications should call this function to get poses to render with (and optionally poses predicted an additional frame out to use for gameplay).
+	'This function will block until "running start" milliseconds before the start of the frame, and should be called at the last moment before needing to
+	'start rendering.
+	'
+	'Return codes:
+	'	- IsNotSceneApplication (make sure to call VR_Init with VRApplicaiton_Scene)
+	'	- DoNotHaveFocus (some other app has taken focus - this will throttle the call to 10hz to reduce the impact on that app)
+	Method WaitGetPoses:EVRCompositorError( 
+		pRenderPoseArray:TrackedDevicePose_t Ptr,unRenderPoseArrayCount:UInt,
+		pGamePoseArray:TrackedDevicePose_t Ptr,unGamePoseArrayCount:UInt )
+
+	'Updated scene texture to display. If pBounds is NULL the entire texture will be used.  If called from an OpenGL app, consider adding a glFlush after
+	'Submitting both frames to signal the driver to start processing, otherwise it may wait until the command buffer fills up, causing the app to miss frames.
+	'
+	'OpenGL dirty state:
+	'	glBindTexture
+	'
+	'Return codes:
+	'	- IsNotSceneApplication (make sure to call VR_Init with VRApplicaiton_Scene)
+	'	- DoNotHaveFocus (some other app has taken focus)
+	'	- TextureIsOnWrongDevice (application did not use proper AdapterIndex - see IVRSystem.GetDXGIOutputInfo)
+	'	- SharedTexturesNotSupported (application needs to call CreateDXGIFactory1 or later before creating DX device)
+	'	- TextureUsesUnsupportedFormat (scene textures must be compatible with DXGI sharing rules - e.g. uncompressed, no mips, etc.)
+	'	- InvalidTexture (usually means bad arguments passed in)
+	'	- AlreadySubmitted (app has submitted two left textures or two right textures in a single frame - i.e. before calling WaitGetPoses again)
+	Method Submit:EVRCompositorError( eEye:EVREye,pTexture:Texture_t Ptr,pBounds:VRTextureBounds_t Ptr=Null,nSubmitFlags:EVRSubmitFlags=Submit_Default )
+
+	'Clears the frame that was sent with the last call to Submit. This will cause the 
+	'compositor to show the grid until Submit is called again. */
+	Method ClearLastSubmittedFrame()
+
+	'Call immediately after presenting your app's window (i.e. companion window) to unblock the compositor.
+	'This is an optional call, which only needs to be used if you can't instead call WaitGetPoses immediately after Present.
+	'For example, if your engine's render and game loop are not on separate threads, or blocking the render thread until 3ms before the next vsync would
+	'introduce a deadlock of some sort.  This function tells the compositor that you have finished all rendering after having Submitted buffers for both
+	'eyes, and it is free to start its rendering work.  This should only be called from the same thread you are rendering on. */
+	Method PostPresentHandoff()
+
+End
+
+Class IVROverlay Extends Void
+	
+	'** Returns true if the dashboard is visible */
+	Method IsDashboardVisible:Bool()
+
+End
+
+#end

+ 408 - 0
modules/mojo3d-vr/openvr/vrrenderer.monkey2

@@ -0,0 +1,408 @@
+
+Namespace mojo3d.vr
+
+Enum VRTrackingSpace
+	Seated
+	Standing
+End
+
+Enum VRAxis
+	Trackpad=			0
+	Trigger=			1
+End
+
+Enum VRButton
+	
+	System=				0
+	Menu=				1
+	Grip=				2
+	DPadLeft=			3
+	DPadUp=				4
+	DPadRight=			5
+	DPadDown=			6
+	A=					7
+
+	ProximitySensor=	15	'31 in openvr, but lets stick to an int for now...
+	Axis0=				16
+	Axis1=				17
+	Axis2=				18
+	Axis3=				19
+	Axis4=				20
+	Trackpad=			Axis0
+	Trigger=			Axis1
+	DashboardBack=		Grip
+End
+
+Class VRControllerState
+	
+	Field Changed:Void()
+	
+	Property Seq:Int()
+		
+		Return _seq
+	End
+	
+	Property Matrix:AffineMat4f()
+		
+		Return Cast<AffineMat4f>( _pose.mDeviceToAbsoluteTracking )		
+	End
+	
+	Property ButtonPressedMask:Int()
+		
+		Return _pressed
+	End
+	
+	Property ButtonTouchedMask:Int()
+		
+		Return _touched
+	End
+	
+	Property Trackpad:Vec2f()
+		
+		Return New Vec2f( _state.rAxis[0].x,_state.rAxis[0].y )
+	End
+	
+	Property Trigger:Float()
+		
+		Return _state.rAxis[1].x
+	End
+	
+	Method GetButtonPressed:Bool( button:VRButton )
+		
+		Return _pressed & (1 Shl button)
+	End
+	
+	Method GetButtonTouched:Bool( button:VRButton )
+		
+		Return _touched & (1 Shl button)
+	End
+	
+	Method GetAxis:Vec2f( axis:VRAxis )
+		
+		Return New Vec2f( _state.rAxis[axis].x,_state.rAxis[axis].y )
+	End
+	
+	Internal
+	
+	Method Update( index:Int,origin:ETrackingUniverseOrigin )
+
+		If Not VRSystem().GetControllerStateWithPose( origin,index,Varptr _state,libc.sizeof( _state ),Varptr _pose )
+'			Print "OpenVR GetControllerState Failed!"
+			Return
+		Endif
+		
+		If _state.unPacketNum=_seq Return
+		
+		_pressed=(_state.ulButtonPressed Shr 16 & ~$7fff) | (_state.ulButtonPressed & $7fff)
+		
+		_touched=(_state.ulButtonTouched Shr 16 & ~$7fff) | (_state.ulButtonTouched & $7fff)
+			
+		_seq=_state.unPacketNum
+				
+		Changed()
+	End
+	
+	Private
+	
+	Field _state:VRControllerState_t
+	
+	Field _pose:TrackedDevicePose_t
+	
+	Field _pressed:Int
+	
+	Field _touched:Int
+	
+	Field _seq:Int
+End
+
+Class VRRenderer Extends Renderer
+	
+	Field OpenvrEventFilter:Void( vrevent:VREvent_t Ptr )
+	
+	Method New()
+		
+		InitVR()
+		
+		InitRender()
+	End
+	
+	Property Active:Bool()
+		
+		Return Not VROverlay().IsDashboardVisible()
+	End
+	
+	Property NumControllers:Int()
+		
+		Return _numControllers
+	End
+	
+	Property NumBaseStations:Int()
+		
+		Return _numBaseStations
+	End
+	
+	Property HeadMatrix:AffineMat4f()
+		
+		Return _headMatrix
+	End
+	
+	Property ControllerMatrices:AffineMat4f[]()
+		
+		Return _controllerMatrices
+	End
+	
+	Property BaseStationMatrices:AffineMat4f[]()
+		
+		Return _baseStationMatrices
+	End
+
+	Property LeftEyeImage:Image()
+		
+		Return _leftEyeImage
+	End
+	
+	Property RightEyeImage:Image()
+		
+		Return _rightEyeImage
+	End
+	
+	Property TrackingSpace:VRTrackingSpace()
+		
+		Return _trackingSpace
+	
+	Setter( space:VRTrackingSpace )
+		
+		If space=_trackingSpace Return
+		
+		_trackingSpace=space
+		
+		Select _trackingSpace
+		Case VRTrackingSpace.Seated
+	 		VRCompositor().SetTrackingSpace( TrackingUniverseSeated )
+		Case VRTrackingSpace.Standing
+	 		VRCompositor().SetTrackingSpace( TrackingUniverseStanding )
+		End
+	 
+	End
+	
+	Method GetControllerState:VRControllerState( index:Int )
+		
+		Return _controllerStates[index]
+	End
+	
+	Method Update()
+
+		Local vrevent:VREvent_t
+		
+		While VRSystem().PollNextEvent( Varptr vrevent,libc.sizeof( vrevent ) )
+			
+			OpenvrEventFilter( Varptr vrevent )
+		Wend
+		
+		Local poses:=New TrackedDevicePose_t[k_unMaxTrackedDeviceCount]
+
+		If VRCompositor().WaitGetPoses( poses.Data,k_unMaxTrackedDeviceCount,Null,0 )<>VRCompositorError_None
+
+			RuntimeError( "Compositor error for WaitGetPoses!" )
+		Endif
+		
+		Local origin:=_trackingSpace=VRTrackingSpace.Seated ? TrackingUniverseSeated Else TrackingUniverseStanding
+		
+		_numControllers=0
+		_numBaseStations=0
+
+		_headId=-1
+		_headMatrix=New AffineMat4f
+		
+		For Local i:=0 Until k_unMaxTrackedDeviceCount
+			
+			Local p:=poses.Data+i
+			
+			If Not p->bDeviceIsConnected Continue
+			
+			Local c:=VRSystem().GetTrackedDeviceClass( i )
+			
+			Select c
+			Case TrackedDeviceClass_HMD
+				
+				_headId=i
+				_headMatrix=Cast<AffineMat4f>( p->mDeviceToAbsoluteTracking )
+				
+			Case TrackedDeviceClass_Controller
+				
+				If _numControllers<2
+					_controllerIds[_numControllers]=i
+					_controllerStates[_numControllers].Update( i,origin )
+					_controllerMatrices[_numControllers]=Cast<AffineMat4f>( p->mDeviceToAbsoluteTracking )
+					_numControllers+=1
+				Endif
+
+			Case TrackedDeviceClass_TrackingReference
+				
+				If _numBaseStations<2
+					_baseStationIds[_numBaseStations]=i
+					_baseStationMatrices[_numBaseStations]=Cast<AffineMat4f>( p->mDeviceToAbsoluteTracking )
+					_numBaseStations+=1
+				Endif
+				
+			End
+		Next
+		
+		For Local i:=_numControllers Until 2
+			_controllerIds[i]=-1
+			_controllerMatrices[i]=New AffineMat4f
+		Next
+		
+		For Local i:=_numBaseStations Until 2
+			_baseStationIds[i]=-1
+			_baseStationMatrices[i]=New AffineMat4f
+		Next
+	End
+	
+	Method ResetSeatedPose()
+
+		VRSystem().ResetSeatedZeroPose()
+	End
+	
+	Method Openvr_GetHMDTrackedDeviceIndex:TrackedDeviceIndex_t()
+		
+		Return _headId
+	End
+	
+	Method Openvr_GetControllerTrackedDeviceIndex:TrackedDeviceIndex_t( index:Int )
+		
+		Return _controllerIds[index]
+	End
+	
+	Method Openvr_GetTrackingReferenceTrackedDeviceIndex:TrackedDeviceIndex_t( index:Int )
+		
+		Return _baseStationIds[index]
+	End
+	
+	Protected
+	
+	Method Render( target:RenderTarget,targetSize:Vec2i,viewport:Recti,scene:Scene,viewMatrix:AffineMat4f,projMatrix:Mat4f,near:Float,far:Float ) Override
+		
+		Local ptexture:Texture_t
+		
+		ptexture.eType=TextureType_OpenGL
+		ptexture.eColorSpace=ColorSpace_Auto
+		
+		Local tviewMatrix:AffineMat4f
+		Local tprojMatrix:Mat4f
+		
+		'***** Render left eye *****
+		'	
+		tviewMatrix=_leftEyeMatrix * viewMatrix
+
+		tprojMatrix=vr.Frustum( _leftEyeFrustum.min.x,_leftEyeFrustum.max.x,_leftEyeFrustum.min.y,_leftEyeFrustum.max.y,near,far )
+		
+		Super.Render( _leftEyeRTarget,_eyeRect.Size,_eyeRect,scene,tviewMatrix,tprojMatrix,near,far )
+		
+		ptexture.handle=Cast<Void Ptr>( _leftEyeTex.ValidateGLTexture() )
+
+		If VRCompositor().Submit( Eye_Left,Varptr ptexture )<>VRCompositorError_None
+			
+			RuntimeError( "OpenVR Compositor error for Submit left eye!" )
+		Endif
+
+		
+		'***** Render righteye *****
+		'
+		tviewMatrix=_rightEyeMatrix * viewMatrix
+
+		tprojMatrix=vr.Frustum( _rightEyeFrustum.min.x,_rightEyeFrustum.max.x,_rightEyeFrustum.min.y,_rightEyeFrustum.max.y,near,far )
+		
+		Super.Render( _rightEyeRTarget,_eyeRect.Size,_eyeRect,scene,tviewMatrix,tprojMatrix,near,far )
+		
+		ptexture.handle=Cast<Void Ptr>( _rightEyeTex.ValidateGLTexture() )
+
+		If VRCompositor().Submit( Eye_Right,Varptr ptexture )<>VRCompositorError_None
+			
+			RuntimeError( "OpenVR Compositor error for Submit right eye!" )
+		Endif
+		
+		'***** Finished VR *****
+		
+		VRCompositor().PostPresentHandoff()
+	End
+	
+	Private
+	
+	'VR
+	Field _headMatrix:AffineMat4f
+	Field _numControllers:Int
+	Field _numBaseStations:Int
+	Field _controllerMatrices:=New AffineMat4f[2]
+	Field _baseStationMatrices:=New AffineMat4f[2]
+	
+	Field _controllerStates:=New VRControllerState[2]
+	
+	Field _headId:Int
+	Field _controllerIds:=New Int[2]
+	Field _baseStationIds:=New Int[2]
+	
+	Field _eyeRect:Recti
+	
+	Field _leftEyeMatrix:=New AffineMat4f
+	Field _rightEyeMatrix:=New AffineMat4f
+	
+	Field _leftEyeFrustum:Rectf
+	Field _rightEyeFrustum:Rectf
+	
+	Field _trackingSpace:VRTrackingSpace
+	
+	'Render
+	Field _leftEyeTex:Texture
+	Field _leftEyeRTarget:RenderTarget
+	
+	Field _rightEyeTex:Texture
+	Field _rightEyeRTarget:RenderTarget
+	
+	Field _leftEyeImage:Image
+	Field _rightEyeImage:Image
+	
+	Method InitVR()
+
+		local type:=VRApplication_Scene,error:HmdError
+		
+		VR_Init( Varptr error,type )
+		
+		If error<>VRInitError_None RuntimeError( "VR_Init error:"+VR_GetVRInitErrorAsSymbol( error ) )
+
+		Local w:UInt,h:UInt
+		VRSystem().GetRecommendedRenderTargetSize( Varptr w,Varptr h )
+		_eyeRect=New Recti( 0,0,w,h )
+
+		_leftEyeMatrix=-Cast<AffineMat4f>( VRSystem().GetEyeToHeadTransform( Eye_Left ) )
+		_rightEyeMatrix=-Cast<AffineMat4f>( VRSystem().GetEyeToHeadTransform( Eye_Right ) )
+		
+		VRSystem().GetProjectionRaw( Eye_Left,Varptr _leftEyeFrustum.min.x,Varptr _leftEyeFrustum.max.x,Varptr _leftEyeFrustum.min.y,Varptr _leftEyeFrustum.max.y )
+		
+		VRSystem().GetProjectionRaw( Eye_Right,Varptr _rightEyeFrustum.min.x,Varptr _rightEyeFrustum.max.x,Varptr _rightEyeFrustum.min.y,Varptr _rightEyeFrustum.max.y )
+		
+		_headId=-1;_controllerIds[0]=-1;_controllerIds[1]=-1;_baseStationIds[0]=-1;_baseStationIds[1]=-1
+		
+		_controllerStates[0]=New VRControllerState
+		_controllerStates[1]=New VRControllerState
+
+ 		VRCompositor().SetTrackingSpace( TrackingUniverseSeated )
+		_trackingSpace=VRTrackingSpace.Seated
+	End
+	
+	Method InitRender()
+		
+		Local w:UInt,h:UInt
+		VRSystem().GetRecommendedRenderTargetSize( Varptr w,Varptr h )
+		
+		_leftEyeTex=New Texture( _eyeRect.Width,_eyeRect.Height,PixelFormat.RGBA8,TextureFlags.Dynamic|TextureFlags.Filter )
+		_leftEyeRTarget=New RenderTarget( New Texture[]( _leftEyeTex ),Null )
+		
+		_rightEyeTex=New Texture( _eyeRect.Width,_eyeRect.Height,PixelFormat.RGBA8,TextureFlags.Dynamic|TextureFlags.Filter )
+		_rightEyeRTarget=New RenderTarget( New Texture[]( _rightEyeTex ),Null )
+		
+		_leftEyeImage=New Image( _leftEyeTex )
+		_rightEyeImage=New Image( _rightEyeTex )
+	End
+			
+End

+ 7 - 0
modules/mojo3d-vr/tests/assets/basestation/lh_basestation_vive.mtl

@@ -0,0 +1,7 @@
+newmtl lambert5SG
+illum 4
+Kd 0.00 0.00 0.00
+Ka 0.00 0.00 0.00
+Tf 1.00 1.00 1.00
+map_Kd lh_basestation_vive.tga
+Ni 1.00

+ 7218 - 0
modules/mojo3d-vr/tests/assets/basestation/lh_basestation_vive.obj

@@ -0,0 +1,7218 @@
+# This file uses centimeters as units for non-parametric coordinates.
+
+mtllib lh_basestation_vive.mtl
+g default
+v -0.002450 -0.000000 0.030143
+v -0.002367 0.000634 0.030143
+v -0.002122 0.001225 0.030143
+v -0.001732 0.001732 0.030143
+v -0.001225 0.002122 0.030143
+v -0.000634 0.002367 0.030143
+v 0.000000 0.002450 0.030143
+v 0.000634 0.002367 0.030143
+v 0.001225 0.002122 0.030143
+v 0.001732 0.001732 0.030143
+v 0.002122 0.001225 0.030143
+v 0.002367 0.000634 0.030143
+v 0.002450 -0.000000 0.030143
+v 0.002367 -0.000634 0.030143
+v 0.002122 -0.001225 0.030143
+v 0.001732 -0.001732 0.030143
+v 0.001225 -0.002122 0.030143
+v 0.000634 -0.002367 0.030143
+v -0.000000 -0.002450 0.030143
+v -0.000634 -0.002367 0.030143
+v -0.001225 -0.002122 0.030143
+v -0.001732 -0.001732 0.030143
+v -0.002122 -0.001225 0.030143
+v -0.002367 -0.000634 0.030143
+v -0.002450 -0.000000 0.024222
+v -0.002367 0.000634 0.024222
+v -0.002122 0.001225 0.024222
+v -0.001732 0.001732 0.024222
+v -0.001225 0.002122 0.024222
+v -0.000634 0.002367 0.024222
+v 0.000000 0.002450 0.024222
+v 0.000634 0.002367 0.024222
+v 0.001225 0.002122 0.024222
+v 0.001732 0.001732 0.024222
+v 0.002122 0.001225 0.024222
+v 0.002367 0.000634 0.024222
+v 0.002450 -0.000000 0.024222
+v 0.002367 -0.000634 0.024222
+v 0.002122 -0.001225 0.024222
+v 0.001732 -0.001732 0.024222
+v 0.001225 -0.002122 0.024222
+v 0.000634 -0.002367 0.024222
+v -0.000000 -0.002450 0.024222
+v -0.000634 -0.002367 0.024222
+v -0.001225 -0.002122 0.024222
+v -0.001732 -0.001732 0.024222
+v -0.002122 -0.001225 0.024222
+v -0.002367 -0.000634 0.024222
+v -0.000000 0.000000 0.022576
+v -0.004250 -0.000000 0.030750
+v -0.004105 0.001100 0.030750
+v -0.003681 0.002125 0.030750
+v -0.003005 0.003005 0.030750
+v -0.002125 0.003681 0.030750
+v -0.001100 0.004105 0.030750
+v 0.000000 0.004250 0.030750
+v 0.001100 0.004105 0.030750
+v 0.002125 0.003681 0.030750
+v 0.003005 0.003005 0.030750
+v 0.003681 0.002125 0.030750
+v 0.004105 0.001100 0.030750
+v 0.004250 -0.000000 0.030750
+v 0.004105 -0.001100 0.030750
+v 0.003681 -0.002125 0.030750
+v 0.003005 -0.003005 0.030750
+v 0.002125 -0.003681 0.030750
+v 0.001100 -0.004105 0.030750
+v -0.000000 -0.004250 0.030750
+v -0.001100 -0.004105 0.030750
+v -0.002125 -0.003681 0.030750
+v -0.003005 -0.003005 0.030750
+v -0.003681 -0.002125 0.030750
+v -0.004105 -0.001100 0.030750
+v 0.001541 0.002670 0.030750
+v 0.002180 0.002180 0.030750
+v 0.002670 0.001541 0.030750
+v 0.002978 0.000798 0.030750
+v 0.003083 -0.000000 0.030750
+v 0.002978 -0.000798 0.030750
+v 0.002670 -0.001541 0.030750
+v 0.002180 -0.002180 0.030750
+v 0.001541 -0.002670 0.030750
+v 0.000798 -0.002978 0.030750
+v -0.000000 -0.003083 0.030750
+v -0.000798 -0.002978 0.030750
+v -0.001541 -0.002670 0.030750
+v -0.002180 -0.002180 0.030750
+v -0.002670 -0.001541 0.030750
+v -0.002978 -0.000798 0.030750
+v -0.003083 0.000000 0.030750
+v -0.002978 0.000798 0.030750
+v -0.002670 0.001541 0.030750
+v -0.002180 0.002180 0.030750
+v -0.001541 0.002670 0.030750
+v -0.000798 0.002978 0.030750
+v -0.000000 0.003083 0.030750
+v 0.000798 0.002978 0.030750
+v 0.012550 -0.021696 0.015328
+v 0.012375 -0.022126 0.015328
+v 0.019199 -0.021696 0.015328
+v 0.018178 -0.020654 0.015328
+v 0.017752 -0.020475 0.015328
+v 0.013997 -0.020475 0.015328
+v 0.013571 -0.020654 0.015328
+v 0.019375 -0.022126 0.015328
+v 0.019124 -0.023275 0.015328
+v 0.019375 -0.023025 0.015328
+v 0.012375 -0.023025 0.015328
+v 0.012625 -0.023275 0.015328
+v 0.019375 -0.023025 0.018828
+v 0.019124 -0.023275 0.018828
+v 0.013250 -0.023275 0.018828
+v 0.018467 -0.023275 0.018828
+v 0.012625 -0.023275 0.018828
+v 0.012375 -0.023025 0.018828
+v 0.012375 -0.022126 0.018828
+v 0.012382 -0.022108 0.018828
+v 0.012550 -0.021696 0.018828
+v 0.012557 -0.021689 0.018828
+v 0.013571 -0.020654 0.018828
+v 0.013997 -0.020475 0.018828
+v 0.017752 -0.020475 0.018828
+v 0.018178 -0.020654 0.018828
+v 0.019186 -0.021683 0.018828
+v 0.019199 -0.021696 0.018828
+v 0.019371 -0.022118 0.018828
+v 0.019375 -0.022126 0.018828
+v 0.038682 0.033137 0.027582
+v 0.038366 0.034811 0.027266
+v 0.037148 0.033264 0.028821
+v 0.036983 0.035059 0.028327
+v 0.039921 0.033264 0.026048
+v 0.039427 0.035059 0.025883
+v 0.038682 0.038682 0.022037
+v 0.038366 0.038366 0.023711
+v 0.039921 0.037148 0.022164
+v 0.039427 0.036983 0.023959
+v 0.037148 0.039921 0.022164
+v 0.036983 0.039427 0.023959
+v 0.033137 0.038682 0.027582
+v 0.034811 0.038366 0.027266
+v 0.033264 0.039921 0.026048
+v 0.035059 0.039427 0.025883
+v 0.033264 0.037148 0.028821
+v 0.035059 0.036983 0.028327
+v 0.035244 0.035244 0.029219
+v 0.036715 0.036715 0.027523
+v 0.037854 0.036353 0.026754
+v 0.038623 0.036715 0.025615
+v 0.040319 0.035244 0.024144
+v 0.037854 0.037854 0.025253
+v 0.036715 0.038623 0.025615
+v 0.035244 0.040319 0.024144
+v 0.036353 0.037854 0.026754
+v 0.037345 0.037345 0.026245
+v -0.038682 0.033137 0.027582
+v -0.038366 0.034811 0.027266
+v -0.039921 0.033264 0.026048
+v -0.039427 0.035059 0.025883
+v -0.037148 0.033264 0.028821
+v -0.036983 0.035059 0.028327
+v -0.033137 0.038682 0.027582
+v -0.034811 0.038366 0.027266
+v -0.033264 0.037148 0.028821
+v -0.035059 0.036983 0.028327
+v -0.033264 0.039921 0.026048
+v -0.035059 0.039427 0.025883
+v -0.038682 0.038682 0.022037
+v -0.038366 0.038366 0.023711
+v -0.037148 0.039921 0.022164
+v -0.036983 0.039427 0.023959
+v -0.039921 0.037148 0.022164
+v -0.039427 0.036983 0.023959
+v -0.040319 0.035244 0.024144
+v -0.038623 0.036715 0.025615
+v -0.037854 0.036353 0.026754
+v -0.036715 0.036715 0.027523
+v -0.035244 0.035244 0.029219
+v -0.036353 0.037854 0.026754
+v -0.036715 0.038623 0.025615
+v -0.035244 0.040319 0.024144
+v -0.037854 0.037854 0.025253
+v -0.037345 0.037345 0.026245
+v 0.038682 -0.038682 0.022037
+v 0.038366 -0.038366 0.023711
+v 0.037148 -0.039921 0.022164
+v 0.036983 -0.039427 0.023959
+v 0.039921 -0.037148 0.022164
+v 0.039427 -0.036983 0.023959
+v 0.038682 -0.033137 0.027582
+v 0.038366 -0.034811 0.027266
+v 0.039921 -0.033264 0.026048
+v 0.039427 -0.035059 0.025883
+v 0.037148 -0.033264 0.028821
+v 0.036983 -0.035059 0.028327
+v 0.033137 -0.038682 0.027582
+v 0.034811 -0.038366 0.027266
+v 0.033264 -0.037148 0.028821
+v 0.035059 -0.036983 0.028327
+v 0.033264 -0.039921 0.026048
+v 0.035059 -0.039427 0.025883
+v 0.035244 -0.040319 0.024144
+v 0.036715 -0.038623 0.025615
+v 0.037854 -0.037854 0.025253
+v 0.038623 -0.036715 0.025615
+v 0.040319 -0.035244 0.024144
+v 0.037854 -0.036353 0.026754
+v 0.036715 -0.036715 0.027523
+v 0.035244 -0.035244 0.029219
+v 0.036353 -0.037854 0.026754
+v 0.037345 -0.037345 0.026245
+v -0.038682 -0.038682 0.022037
+v -0.038366 -0.038366 0.023711
+v -0.039921 -0.037148 0.022164
+v -0.039427 -0.036983 0.023959
+v -0.037148 -0.039921 0.022164
+v -0.036983 -0.039427 0.023959
+v -0.033137 -0.038682 0.027582
+v -0.034811 -0.038366 0.027266
+v -0.033264 -0.039921 0.026048
+v -0.035059 -0.039427 0.025883
+v -0.033264 -0.037148 0.028821
+v -0.035059 -0.036983 0.028327
+v -0.038682 -0.033137 0.027582
+v -0.038366 -0.034811 0.027266
+v -0.037148 -0.033264 0.028821
+v -0.036983 -0.035059 0.028327
+v -0.039921 -0.033264 0.026048
+v -0.039427 -0.035059 0.025883
+v -0.040319 -0.035244 0.024144
+v -0.038623 -0.036715 0.025615
+v -0.037854 -0.037854 0.025253
+v -0.036715 -0.038623 0.025615
+v -0.035244 -0.040319 0.024144
+v -0.036353 -0.037854 0.026754
+v -0.036715 -0.036715 0.027523
+v -0.035244 -0.035244 0.029219
+v -0.037854 -0.036353 0.026754
+v -0.037345 -0.037345 0.026245
+v -0.019776 -0.020475 0.020028
+v -0.020221 -0.019895 0.020028
+v -0.022201 -0.021875 0.020028
+v -0.019496 -0.021151 0.020028
+v -0.019401 -0.021875 0.020028
+v -0.019496 -0.022600 0.020028
+v -0.019776 -0.023275 0.020028
+v -0.020221 -0.023855 0.020028
+v -0.020801 -0.024300 0.020028
+v -0.021476 -0.024580 0.020028
+v -0.022201 -0.024675 0.020028
+v -0.022925 -0.024580 0.020028
+v -0.023601 -0.024300 0.020028
+v -0.024181 -0.023855 0.020028
+v -0.024626 -0.023275 0.020028
+v -0.024905 -0.022600 0.020028
+v -0.025001 -0.021875 0.020028
+v -0.024905 -0.021151 0.020028
+v -0.024626 -0.020475 0.020028
+v -0.024181 -0.019895 0.020028
+v -0.023601 -0.019450 0.020028
+v -0.022925 -0.019171 0.020028
+v -0.022201 -0.019075 0.020028
+v -0.021476 -0.019171 0.020028
+v -0.020801 -0.019450 0.020028
+v -0.020221 -0.019895 0.022828
+v -0.019776 -0.020475 0.022828
+v -0.019496 -0.021151 0.022828
+v -0.019401 -0.021875 0.022828
+v -0.019496 -0.022600 0.022828
+v -0.019776 -0.023275 0.022828
+v -0.020221 -0.023855 0.022828
+v -0.020801 -0.024300 0.022828
+v -0.021476 -0.024580 0.022828
+v -0.022201 -0.024675 0.022828
+v -0.022925 -0.024580 0.022828
+v -0.023601 -0.024300 0.022828
+v -0.024181 -0.023855 0.022828
+v -0.024626 -0.023275 0.022828
+v -0.024905 -0.022600 0.022828
+v -0.025001 -0.021875 0.022828
+v -0.024905 -0.021151 0.022828
+v -0.024626 -0.020475 0.022828
+v -0.024181 -0.019895 0.022828
+v -0.023601 -0.019450 0.022828
+v -0.022925 -0.019171 0.022828
+v -0.022201 -0.019075 0.022828
+v -0.021476 -0.019171 0.022828
+v -0.020801 -0.019450 0.022828
+v -0.001472 -0.021025 0.018578
+v -0.001202 -0.020673 0.018578
+v -0.003005 -0.018870 0.018578
+v -0.003681 -0.019750 0.018578
+v -0.000850 -0.020403 0.018578
+v -0.002125 -0.018195 0.018578
+v -0.000440 -0.020233 0.018578
+v -0.001100 -0.017770 0.018578
+v 0.000000 -0.020175 0.018578
+v 0.000000 -0.017625 0.018578
+v 0.000440 -0.020233 0.018578
+v 0.001100 -0.017770 0.018578
+v 0.000850 -0.020403 0.018578
+v 0.002125 -0.018195 0.018578
+v 0.001202 -0.020673 0.018578
+v 0.003005 -0.018870 0.018578
+v 0.001472 -0.021025 0.018578
+v 0.003681 -0.019750 0.018578
+v 0.001642 -0.021435 0.018578
+v 0.004105 -0.020775 0.018578
+v 0.001700 -0.021875 0.018578
+v 0.004250 -0.021875 0.018578
+v 0.001642 -0.022315 0.018578
+v 0.004105 -0.022975 0.018578
+v 0.001472 -0.022725 0.018578
+v 0.003681 -0.024000 0.018578
+v 0.001202 -0.023077 0.018578
+v 0.003005 -0.024880 0.018578
+v 0.000850 -0.023347 0.018578
+v 0.002125 -0.025556 0.018578
+v 0.000440 -0.023517 0.018578
+v 0.001100 -0.025980 0.018578
+v 0.000000 -0.023575 0.018578
+v 0.000000 -0.026125 0.018578
+v -0.000440 -0.023517 0.018578
+v -0.001100 -0.025980 0.018578
+v -0.000850 -0.023347 0.018578
+v -0.002125 -0.025556 0.018578
+v -0.001202 -0.023077 0.018578
+v -0.003005 -0.024880 0.018578
+v -0.001472 -0.022725 0.018578
+v -0.003681 -0.024000 0.018578
+v -0.001642 -0.022315 0.018578
+v -0.004105 -0.022975 0.018578
+v -0.001700 -0.021875 0.018578
+v -0.004250 -0.021875 0.018578
+v -0.001642 -0.021435 0.018578
+v -0.004105 -0.020775 0.018578
+v -0.003681 -0.019750 0.022828
+v -0.003005 -0.018870 0.022828
+v -0.002125 -0.018195 0.022828
+v -0.001100 -0.017770 0.022828
+v 0.000000 -0.017625 0.022828
+v 0.001100 -0.017770 0.022828
+v 0.002125 -0.018195 0.022828
+v 0.003005 -0.018870 0.022828
+v 0.003681 -0.019750 0.022828
+v 0.004105 -0.020775 0.022828
+v 0.004250 -0.021875 0.022828
+v 0.004105 -0.022975 0.022828
+v 0.003681 -0.024000 0.022828
+v 0.003005 -0.024880 0.022828
+v 0.002125 -0.025556 0.022828
+v 0.001100 -0.025980 0.022828
+v 0.000000 -0.026125 0.022828
+v -0.001100 -0.025980 0.022828
+v -0.002125 -0.025556 0.022828
+v -0.003005 -0.024880 0.022828
+v -0.003681 -0.024000 0.022828
+v -0.004105 -0.022975 0.022828
+v -0.004250 -0.021875 0.022828
+v -0.004105 -0.020775 0.022828
+v -0.010449 -0.020409 0.020565
+v -0.010858 -0.020240 0.020565
+v -0.011296 -0.021875 0.020565
+v -0.010099 -0.020678 0.020565
+v -0.009830 -0.021029 0.020565
+v -0.009661 -0.021437 0.020565
+v -0.009603 -0.021875 0.020565
+v -0.009661 -0.022313 0.020565
+v -0.009830 -0.022722 0.020565
+v -0.010099 -0.023072 0.020565
+v -0.010449 -0.023341 0.020565
+v -0.010858 -0.023510 0.020565
+v -0.011296 -0.023568 0.020565
+v -0.014292 -0.021875 0.020565
+v -0.014292 -0.023568 0.020565
+v -0.014730 -0.023510 0.020565
+v -0.015138 -0.023341 0.020565
+v -0.015489 -0.023072 0.020565
+v -0.015758 -0.022722 0.020565
+v -0.015927 -0.022313 0.020565
+v -0.015985 -0.021875 0.020565
+v -0.015927 -0.021437 0.020565
+v -0.015758 -0.021029 0.020565
+v -0.015489 -0.020678 0.020565
+v -0.015138 -0.020409 0.020565
+v -0.014730 -0.020240 0.020565
+v -0.014292 -0.020182 0.020565
+v -0.011296 -0.020182 0.020565
+v -0.010858 -0.020240 0.022828
+v -0.010449 -0.020409 0.022828
+v -0.010099 -0.020678 0.022828
+v -0.009830 -0.021029 0.022828
+v -0.009661 -0.021437 0.022828
+v -0.009603 -0.021875 0.022828
+v -0.009661 -0.022313 0.022828
+v -0.009830 -0.022722 0.022828
+v -0.010099 -0.023072 0.022828
+v -0.010449 -0.023341 0.022828
+v -0.010858 -0.023510 0.022828
+v -0.011296 -0.023568 0.022828
+v -0.014292 -0.023568 0.022828
+v -0.014730 -0.023510 0.022828
+v -0.015138 -0.023341 0.022828
+v -0.015489 -0.023072 0.022828
+v -0.015758 -0.022722 0.022828
+v -0.015927 -0.022313 0.022828
+v -0.015985 -0.021875 0.022828
+v -0.015927 -0.021437 0.022828
+v -0.015758 -0.021029 0.022828
+v -0.015489 -0.020678 0.022828
+v -0.015138 -0.020409 0.022828
+v -0.014730 -0.020240 0.022828
+v -0.014292 -0.020182 0.022828
+v -0.011296 -0.020182 0.022828
+v 0.013250 -0.025875 0.018828
+v 0.018467 -0.025875 0.018828
+v 0.012215 -0.025739 0.018828
+v 0.011250 -0.025339 0.018828
+v 0.010422 -0.024704 0.018828
+v 0.009786 -0.023875 0.018828
+v 0.009386 -0.022911 0.018828
+v 0.009250 -0.021875 0.018828
+v 0.009386 -0.020840 0.018828
+v 0.009786 -0.019875 0.018828
+v 0.010422 -0.019047 0.018828
+v 0.011250 -0.018411 0.018828
+v 0.012215 -0.018012 0.018828
+v 0.013250 -0.017875 0.018828
+v 0.018467 -0.017875 0.018828
+v 0.019502 -0.018012 0.018828
+v 0.020467 -0.018411 0.018828
+v 0.021295 -0.019047 0.018828
+v 0.021931 -0.019875 0.018828
+v 0.022330 -0.020840 0.018828
+v 0.022467 -0.021875 0.018828
+v 0.022330 -0.022911 0.018828
+v 0.021931 -0.023875 0.018828
+v 0.021295 -0.024704 0.018828
+v 0.020467 -0.025339 0.018828
+v 0.019502 -0.025739 0.018828
+v 0.018467 -0.025875 0.022828
+v 0.013250 -0.025875 0.022828
+v 0.012215 -0.025739 0.022828
+v 0.011250 -0.025339 0.022828
+v 0.010422 -0.024704 0.022828
+v 0.009786 -0.023875 0.022828
+v 0.009386 -0.022911 0.022828
+v 0.009250 -0.021875 0.022828
+v 0.009386 -0.020840 0.022828
+v 0.009786 -0.019875 0.022828
+v 0.010422 -0.019047 0.022828
+v 0.011250 -0.018411 0.022828
+v 0.012215 -0.018012 0.022828
+v 0.013250 -0.017875 0.022828
+v 0.018467 -0.017875 0.022828
+v 0.019502 -0.018012 0.022828
+v 0.020467 -0.018411 0.022828
+v 0.021295 -0.019047 0.022828
+v 0.021931 -0.019875 0.022828
+v 0.022330 -0.020840 0.022828
+v 0.022467 -0.021875 0.022828
+v 0.022330 -0.022911 0.022828
+v 0.021931 -0.023875 0.022828
+v 0.021295 -0.024704 0.022828
+v 0.020467 -0.025339 0.022828
+v 0.019502 -0.025739 0.022828
+v 0.022201 -0.028875 0.022828
+v 0.029200 -0.021875 0.022828
+v 0.000000 -0.028875 0.022828
+v -0.022201 -0.028875 0.022828
+v -0.029200 -0.021875 0.022828
+v 0.040059 -0.030052 -0.030750
+v 0.030052 -0.040059 -0.030750
+v 0.000000 -0.040059 -0.030750
+v 0.000000 -0.000000 -0.030750
+v 0.040059 -0.000000 -0.030750
+v 0.000000 0.040059 -0.030750
+v 0.030052 0.040059 -0.030750
+v 0.040059 0.030052 -0.030750
+v -0.031396 -0.041850 0.020296
+v -0.004105 -0.041850 -0.003650
+v -0.003681 -0.041850 -0.002625
+v -0.001100 -0.041850 -0.000645
+v -0.000000 -0.041850 -0.000500
+v 0.000000 -0.041850 0.020296
+v 0.002125 -0.041850 -0.001069
+v 0.031396 -0.041850 0.020296
+v 0.001100 -0.041850 -0.000645
+v 0.031396 -0.041850 -0.004227
+v 0.004105 -0.041850 -0.003650
+v 0.004250 -0.041850 -0.004750
+v 0.031396 -0.041850 -0.028750
+v 0.004105 -0.041850 -0.005850
+v 0.003681 -0.041850 -0.006875
+v 0.001100 -0.041850 -0.008855
+v -0.000000 -0.041850 -0.009000
+v -0.000000 -0.041850 -0.028750
+v -0.031396 -0.041850 -0.028750
+v -0.001100 -0.041850 -0.008855
+v -0.002125 -0.041850 -0.008431
+v -0.004105 -0.041850 -0.005850
+v -0.004250 -0.041850 -0.004750
+v -0.031396 -0.041850 -0.004227
+v -0.003005 -0.041850 -0.007755
+v -0.003681 -0.041850 -0.006875
+v 0.003005 -0.041850 -0.007755
+v 0.002125 -0.041850 -0.008431
+v 0.003681 -0.041850 -0.002625
+v 0.003005 -0.041850 -0.001745
+v -0.003005 -0.041850 -0.001745
+v -0.002125 -0.041850 -0.001069
+v -0.004105 0.001100 0.030750
+v -0.003681 0.002125 0.030750
+v -0.031396 0.031396 0.030750
+v -0.001100 0.004105 0.030750
+v -0.002125 0.003681 0.030750
+v 0.031396 0.031396 0.030750
+v 0.001100 0.004105 0.030750
+v 0.002125 0.003681 0.030750
+v 0.003681 0.002125 0.030750
+v 0.004105 0.001100 0.030750
+v 0.003005 0.003005 0.030750
+v -0.003005 0.003005 0.030750
+v 0.022201 -0.014875 0.030750
+v 0.004105 -0.001100 0.030750
+v 0.003681 -0.002125 0.030750
+v -0.023566 -0.015010 0.030750
+v -0.022201 -0.014875 0.030750
+v -0.004105 -0.001100 0.030750
+v -0.004250 0.000000 0.030750
+v -0.031396 0.000000 0.030750
+v -0.003005 -0.003005 0.030750
+v -0.003681 -0.002125 0.030750
+v 0.003005 -0.003005 0.030750
+v 0.002125 -0.003681 0.030750
+v 0.001100 -0.004105 0.030750
+v 0.000000 -0.004250 0.030750
+v 0.000000 -0.012681 0.030750
+v 0.000000 -0.014875 0.030750
+v -0.001100 -0.004105 0.030750
+v -0.002125 -0.003681 0.030750
+v 0.000000 -0.028875 0.030750
+v -0.022201 -0.028875 0.030750
+v 0.000000 -0.014875 0.022828
+v -0.022201 -0.014875 0.022828
+v -0.033436 -0.041649 -0.004227
+v -0.033436 -0.041649 -0.028750
+v -0.035397 -0.041054 -0.004227
+v -0.035397 -0.041054 -0.028750
+v -0.037204 -0.040088 -0.004227
+v -0.037204 -0.040088 -0.028750
+v -0.038788 -0.038788 -0.004227
+v -0.038788 -0.038788 -0.028750
+v -0.040088 -0.037204 -0.004227
+v -0.040088 -0.037204 -0.028750
+v -0.041054 -0.035397 -0.004227
+v -0.041054 -0.035397 -0.028750
+v -0.041649 -0.033436 -0.004227
+v -0.041649 -0.033436 -0.028750
+v -0.041850 -0.031396 -0.004227
+v -0.041850 -0.031396 -0.028750
+v -0.041850 0.000000 -0.004227
+v -0.041850 0.000000 -0.028750
+v -0.041850 0.031396 -0.004227
+v -0.041850 0.031396 -0.028750
+v -0.041649 0.033436 -0.004227
+v -0.041649 0.033436 -0.028750
+v -0.041054 0.035397 -0.004227
+v -0.041054 0.035397 -0.028750
+v -0.040088 0.037204 -0.004227
+v -0.040088 0.037204 -0.028750
+v -0.038788 0.038788 -0.004227
+v -0.038788 0.038788 -0.028750
+v -0.037204 0.040088 -0.004227
+v -0.037204 0.040088 -0.028750
+v -0.035397 0.041054 -0.004227
+v -0.035397 0.041054 -0.028750
+v -0.033436 0.041649 -0.004227
+v -0.033436 0.041649 -0.028750
+v -0.031396 0.041850 -0.004227
+v -0.031396 0.041850 -0.028750
+v -0.000000 0.041850 -0.004227
+v -0.000000 0.041850 -0.028750
+v 0.031396 0.041850 -0.004227
+v 0.031396 0.041850 -0.028750
+v 0.033436 0.041649 -0.004227
+v 0.033436 0.041649 -0.028750
+v 0.035397 0.041054 -0.004227
+v 0.035397 0.041054 -0.028750
+v 0.037204 0.040088 -0.004227
+v 0.037204 0.040088 -0.028750
+v 0.038788 0.038788 -0.004227
+v 0.038788 0.038788 -0.028750
+v 0.040088 0.037204 -0.004227
+v 0.040088 0.037204 -0.028750
+v 0.041054 0.035397 -0.004227
+v 0.041054 0.035397 -0.028750
+v 0.041649 0.033436 -0.004227
+v 0.041649 0.033436 -0.028750
+v 0.041850 0.031396 -0.004227
+v 0.041850 0.031396 -0.028750
+v 0.041850 0.000000 -0.004227
+v 0.041850 0.000000 -0.028750
+v 0.041850 -0.031396 -0.004227
+v 0.041850 -0.031396 -0.028750
+v 0.041649 -0.033436 -0.004227
+v 0.041649 -0.033436 -0.028750
+v 0.041054 -0.035397 -0.004227
+v 0.041054 -0.035397 -0.028750
+v 0.040088 -0.037204 -0.004227
+v 0.040088 -0.037204 -0.028750
+v 0.038788 -0.038788 -0.004227
+v 0.038788 -0.038788 -0.028750
+v 0.037204 -0.040088 -0.004227
+v 0.037204 -0.040088 -0.028750
+v 0.035397 -0.041054 -0.004227
+v 0.035397 -0.041054 -0.028750
+v 0.033436 -0.041649 -0.004227
+v 0.033436 -0.041649 -0.028750
+v 0.000000 0.031396 0.030750
+v 0.000000 0.004250 0.030750
+v 0.004250 0.000000 0.030750
+v 0.031396 0.000000 0.030750
+v 0.023566 -0.015010 0.030750
+v -0.029066 -0.020509 0.030750
+v -0.028667 -0.019196 0.030750
+v -0.028020 -0.017986 0.030750
+v -0.027150 -0.016925 0.030750
+v -0.026089 -0.016055 0.030750
+v -0.024879 -0.015408 0.030750
+v 0.029200 -0.021875 0.030750
+v 0.031396 -0.031396 0.030750
+v 0.029066 -0.020509 0.030750
+v 0.029066 -0.023241 0.030750
+v -0.031396 -0.031396 0.030750
+v -0.029200 -0.021875 0.030750
+v 0.024879 -0.015408 0.030750
+v 0.026089 -0.016055 0.030750
+v 0.027150 -0.016925 0.030750
+v 0.028020 -0.017986 0.030750
+v 0.028667 -0.019196 0.030750
+v 0.028667 -0.024554 0.030750
+v 0.028020 -0.025765 0.030750
+v 0.027150 -0.026825 0.030750
+v 0.026089 -0.027696 0.030750
+v 0.024879 -0.028342 0.030750
+v 0.023566 -0.028741 0.030750
+v 0.022201 -0.028875 0.030750
+v -0.029066 -0.023241 0.030750
+v -0.023566 -0.028741 0.030750
+v -0.024879 -0.028342 0.030750
+v -0.026089 -0.027696 0.030750
+v -0.027150 -0.026825 0.030750
+v -0.028020 -0.025765 0.030750
+v -0.028667 -0.024554 0.030750
+v 0.000000 -0.031396 0.030750
+v -0.040059 -0.000000 -0.030750
+v -0.040059 0.030052 -0.030750
+v -0.030052 0.040059 -0.030750
+v 0.041850 0.031396 0.020296
+v 0.041850 0.000000 0.020296
+v 0.000000 0.041850 0.020296
+v 0.031396 0.041850 0.020296
+v -0.041850 0.000000 0.020296
+v -0.041850 0.031396 0.020296
+v 0.041649 0.031396 0.022336
+v 0.041649 0.000000 0.022336
+v 0.041054 0.031396 0.024297
+v 0.041054 0.000000 0.024297
+v 0.040088 0.031396 0.026104
+v 0.040088 0.000000 0.026104
+v 0.038788 0.031396 0.027688
+v 0.038788 0.000000 0.027688
+v 0.037204 0.031396 0.028988
+v 0.037204 0.000000 0.028988
+v 0.035397 0.031396 0.029954
+v 0.035397 0.000000 0.029954
+v 0.033436 0.031396 0.030549
+v 0.033436 0.000000 0.030549
+v 0.033436 0.041649 0.020296
+v 0.035397 0.041054 0.020296
+v 0.037204 0.040088 0.020296
+v 0.038788 0.038788 0.020296
+v 0.040088 0.037204 0.020296
+v 0.041054 0.035397 0.020296
+v 0.041649 0.033436 0.020296
+v 0.031396 0.033436 0.030549
+v 0.000000 0.033436 0.030549
+v 0.031396 0.035397 0.029954
+v 0.000000 0.035397 0.029954
+v 0.031396 0.037204 0.028988
+v 0.000000 0.037204 0.028988
+v 0.031396 0.038788 0.027688
+v 0.000000 0.038788 0.027688
+v 0.031396 0.040088 0.026104
+v 0.000000 0.040088 0.026104
+v 0.031396 0.041054 0.024297
+v 0.000000 0.041054 0.024297
+v 0.031396 0.041649 0.022336
+v 0.000000 0.041649 0.022336
+v -0.033436 0.031396 0.030549
+v -0.035397 0.031396 0.029954
+v -0.035397 0.000000 0.029954
+v -0.033436 0.000000 0.030549
+v -0.037204 0.031396 0.028988
+v -0.037204 0.000000 0.028988
+v -0.038788 0.031396 0.027688
+v -0.038788 0.000000 0.027688
+v -0.040088 0.031396 0.026104
+v -0.040088 0.000000 0.026104
+v -0.041054 0.031396 0.024297
+v -0.041054 0.000000 0.024297
+v -0.041649 0.031396 0.022336
+v -0.041649 0.000000 0.022336
+v -0.041649 0.033436 0.020296
+v -0.041054 0.035397 0.020296
+v -0.040088 0.037204 0.020296
+v -0.038788 0.038788 0.020296
+v -0.037204 0.040088 0.020296
+v -0.035397 0.041054 0.020296
+v -0.033436 0.041649 0.020296
+v -0.031396 0.041850 0.020296
+v 0.041850 -0.031396 0.020296
+v 0.041649 -0.033436 0.020296
+v 0.041054 -0.035397 0.020296
+v 0.040088 -0.037204 0.020296
+v 0.038788 -0.038788 0.020296
+v 0.037204 -0.040088 0.020296
+v 0.035397 -0.041054 0.020296
+v 0.033436 -0.041649 0.020296
+v 0.031396 -0.041649 0.022336
+v 0.000000 -0.041649 0.022336
+v 0.031396 -0.041054 0.024297
+v 0.000000 -0.041054 0.024297
+v 0.031396 -0.040088 0.026104
+v 0.000000 -0.040088 0.026104
+v 0.031396 -0.038788 0.027688
+v 0.000000 -0.038788 0.027688
+v 0.031396 -0.037204 0.028988
+v 0.000000 -0.037204 0.028988
+v 0.031396 -0.035397 0.029954
+v 0.000000 -0.035397 0.029954
+v 0.031396 -0.033436 0.030549
+v 0.000000 -0.033436 0.030549
+v -0.033436 -0.041649 0.020296
+v -0.035397 -0.041054 0.020296
+v -0.037204 -0.040088 0.020296
+v -0.038788 -0.038788 0.020296
+v -0.040088 -0.037204 0.020296
+v -0.041054 -0.035397 0.020296
+v -0.041649 -0.033436 0.020296
+v -0.041850 -0.031396 0.020296
+v 0.032004 0.039867 -0.030750
+v 0.033882 0.039297 -0.030750
+v 0.035612 0.038372 -0.030750
+v 0.037128 0.037128 -0.030750
+v 0.038372 0.035612 -0.030750
+v 0.039297 0.033882 -0.030750
+v 0.039867 0.032004 -0.030750
+v -0.039867 0.032004 -0.030750
+v -0.039297 0.033882 -0.030750
+v -0.038372 0.035612 -0.030750
+v -0.037128 0.037128 -0.030750
+v -0.035612 0.038372 -0.030750
+v -0.033882 0.039297 -0.030750
+v -0.032004 0.039867 -0.030750
+v 0.039867 -0.032004 -0.030750
+v 0.039297 -0.033882 -0.030750
+v 0.038372 -0.035612 -0.030750
+v 0.037128 -0.037128 -0.030750
+v 0.035612 -0.038372 -0.030750
+v 0.033882 -0.039297 -0.030750
+v 0.032004 -0.039867 -0.030750
+v -0.032004 -0.039867 -0.030750
+v -0.033882 -0.039297 -0.030750
+v -0.035612 -0.038372 -0.030750
+v -0.037128 -0.037128 -0.030750
+v -0.038372 -0.035612 -0.030750
+v -0.039297 -0.033882 -0.030750
+v -0.039867 -0.032004 -0.030750
+v -0.040059 -0.030052 -0.030750
+v -0.030052 -0.040059 -0.030750
+v 0.033416 0.033416 0.030352
+v 0.035358 0.033358 0.029769
+v 0.040869 0.033358 0.024258
+v 0.041452 0.033416 0.022316
+v 0.040869 0.035358 0.022258
+v 0.035358 0.040869 0.022258
+v 0.033416 0.041452 0.022316
+v 0.033358 0.040869 0.024258
+v 0.033358 0.035358 0.029769
+v -0.041452 0.033416 0.022316
+v -0.040869 0.033358 0.024258
+v -0.035358 0.033358 0.029769
+v -0.033416 0.033416 0.030352
+v -0.031396 0.033436 0.030549
+v -0.031396 0.035397 0.029954
+v -0.033358 0.035358 0.029769
+v -0.031396 0.037204 0.028988
+v -0.031396 0.038788 0.027688
+v -0.031396 0.040088 0.026104
+v -0.031396 0.041054 0.024297
+v -0.033358 0.040869 0.024258
+v -0.031396 0.041649 0.022336
+v -0.033416 0.041452 0.022316
+v -0.035358 0.040869 0.022258
+v -0.040869 0.035358 0.022258
+v 0.033416 -0.041452 0.022316
+v 0.035358 -0.040869 0.022258
+v 0.040869 -0.035358 0.022258
+v 0.041452 -0.033416 0.022316
+v 0.041649 -0.031396 0.022336
+v 0.041054 -0.031396 0.024297
+v 0.040869 -0.033358 0.024258
+v 0.040088 -0.031396 0.026104
+v 0.038788 -0.031396 0.027688
+v 0.037204 -0.031396 0.028988
+v 0.035397 -0.031396 0.029954
+v 0.035358 -0.033358 0.029769
+v 0.033436 -0.031396 0.030549
+v 0.033416 -0.033416 0.030352
+v 0.033358 -0.035358 0.029769
+v 0.033358 -0.040869 0.024258
+v -0.041649 -0.031396 0.022336
+v -0.041452 -0.033416 0.022316
+v -0.040869 -0.035358 0.022258
+v -0.035358 -0.040869 0.022258
+v -0.033416 -0.041452 0.022316
+v -0.031396 -0.041649 0.022336
+v -0.031396 -0.041054 0.024297
+v -0.033358 -0.040869 0.024258
+v -0.031396 -0.040088 0.026104
+v -0.031396 -0.038788 0.027688
+v -0.031396 -0.037204 0.028988
+v -0.031396 -0.035397 0.029954
+v -0.033358 -0.035358 0.029769
+v -0.031396 -0.033436 0.030549
+v -0.033416 -0.033416 0.030352
+v -0.033436 -0.031396 0.030549
+v -0.035397 -0.031396 0.029954
+v -0.035358 -0.033358 0.029769
+v -0.037204 -0.031396 0.028988
+v -0.038788 -0.031396 0.027688
+v -0.040088 -0.031396 0.026104
+v -0.041054 -0.031396 0.024297
+v -0.040869 -0.033358 0.024258
+v 0.022201 -0.014875 0.022828
+v -0.023566 -0.015010 0.022828
+v -0.024879 -0.015408 0.022828
+v -0.026089 -0.016055 0.022828
+v -0.027150 -0.016925 0.022828
+v -0.028020 -0.017986 0.022828
+v -0.028667 -0.019196 0.022828
+v -0.029066 -0.020509 0.022828
+v -0.029066 -0.023241 0.022828
+v -0.028667 -0.024554 0.022828
+v -0.028020 -0.025765 0.022828
+v -0.027150 -0.026825 0.022828
+v -0.026089 -0.027696 0.022828
+v -0.024879 -0.028342 0.022828
+v -0.023566 -0.028741 0.022828
+v 0.023566 -0.028741 0.022828
+v 0.024879 -0.028342 0.022828
+v 0.026089 -0.027696 0.022828
+v 0.027150 -0.026825 0.022828
+v 0.028020 -0.025765 0.022828
+v 0.028667 -0.024554 0.022828
+v 0.029066 -0.023241 0.022828
+v 0.029066 -0.020509 0.022828
+v 0.028667 -0.019196 0.022828
+v 0.028020 -0.017986 0.022828
+v 0.027150 -0.016925 0.022828
+v 0.026089 -0.016055 0.022828
+v 0.024879 -0.015408 0.022828
+v 0.023566 -0.015010 0.022828
+v -0.001472 -0.021025 0.015880
+v -0.001202 -0.020673 0.015880
+v -0.001642 -0.021435 0.015880
+v -0.001700 -0.021875 0.015880
+v -0.001642 -0.022315 0.015880
+v -0.001472 -0.022725 0.015880
+v -0.001202 -0.023077 0.015880
+v -0.000850 -0.023347 0.015880
+v -0.000440 -0.023517 0.015880
+v 0.000000 -0.023575 0.015880
+v 0.000440 -0.023517 0.015880
+v 0.000850 -0.023347 0.015880
+v 0.001202 -0.023077 0.015880
+v 0.001472 -0.022725 0.015880
+v 0.001642 -0.022315 0.015880
+v 0.001700 -0.021875 0.015880
+v 0.001642 -0.021435 0.015880
+v 0.001472 -0.021025 0.015880
+v 0.001202 -0.020673 0.015880
+v 0.000850 -0.020403 0.015880
+v 0.000440 -0.020233 0.015880
+v 0.000000 -0.020175 0.015880
+v -0.000440 -0.020233 0.015880
+v -0.000850 -0.020403 0.015880
+v 0.000000 -0.021875 0.015880
+v 0.005550 -0.014875 0.022828
+v 0.005550 -0.028875 0.022828
+v -0.011100 -0.028875 0.022828
+v -0.011100 -0.014875 0.022828
+v -0.016651 -0.028875 0.022828
+v -0.016651 -0.014875 0.022828
+v 0.041649 0.033436 -0.030588
+v 0.041507 0.033321 -0.030750
+v 0.041689 0.031275 -0.030750
+v 0.041850 0.031396 -0.030588
+v 0.041688 -0.000000 -0.030750
+v 0.041850 0.000000 -0.030588
+v 0.041689 -0.031275 -0.030750
+v 0.041850 -0.031396 -0.030588
+v 0.041507 -0.033321 -0.030750
+v 0.041649 -0.033436 -0.030588
+v 0.040925 -0.035285 -0.030750
+v 0.041054 -0.035397 -0.030588
+v 0.039968 -0.037092 -0.030750
+v 0.040088 -0.037204 -0.030588
+v 0.038674 -0.038674 -0.030750
+v 0.038788 -0.038788 -0.030588
+v 0.037092 -0.039968 -0.030750
+v 0.037204 -0.040088 -0.030588
+v 0.035285 -0.040925 -0.030750
+v 0.035397 -0.041054 -0.030588
+v 0.033321 -0.041507 -0.030750
+v 0.033436 -0.041649 -0.030588
+v 0.031275 -0.041689 -0.030750
+v 0.031396 -0.041850 -0.030588
+v 0.000000 -0.041688 -0.030750
+v -0.000000 -0.041850 -0.030588
+v -0.031275 -0.041689 -0.030750
+v -0.031396 -0.041850 -0.030588
+v -0.033321 -0.041507 -0.030750
+v -0.033436 -0.041649 -0.030588
+v -0.035285 -0.040925 -0.030750
+v -0.035397 -0.041054 -0.030588
+v -0.037092 -0.039968 -0.030750
+v -0.037204 -0.040088 -0.030588
+v -0.038674 -0.038674 -0.030750
+v -0.038788 -0.038788 -0.030588
+v -0.039968 -0.037092 -0.030750
+v -0.040088 -0.037204 -0.030588
+v -0.040925 -0.035285 -0.030750
+v -0.041054 -0.035397 -0.030588
+v -0.041507 -0.033321 -0.030750
+v -0.041649 -0.033436 -0.030588
+v -0.041689 -0.031275 -0.030750
+v -0.041850 -0.031396 -0.030588
+v -0.041688 -0.000000 -0.030750
+v -0.041850 0.000000 -0.030588
+v -0.041689 0.031275 -0.030750
+v -0.041850 0.031396 -0.030588
+v -0.041507 0.033321 -0.030750
+v -0.041649 0.033436 -0.030588
+v -0.040925 0.035285 -0.030750
+v -0.041054 0.035397 -0.030588
+v -0.039968 0.037092 -0.030750
+v -0.040088 0.037204 -0.030588
+v -0.038674 0.038674 -0.030750
+v -0.038788 0.038788 -0.030588
+v -0.037092 0.039968 -0.030750
+v -0.037204 0.040088 -0.030588
+v -0.035285 0.040925 -0.030750
+v -0.035397 0.041054 -0.030588
+v -0.033321 0.041507 -0.030750
+v -0.033436 0.041649 -0.030588
+v -0.031275 0.041689 -0.030750
+v -0.031396 0.041850 -0.030588
+v 0.000000 0.041688 -0.030750
+v -0.000000 0.041850 -0.030588
+v 0.031275 0.041689 -0.030750
+v 0.031396 0.041850 -0.030588
+v 0.033321 0.041507 -0.030750
+v 0.033436 0.041649 -0.030588
+v 0.035285 0.040925 -0.030750
+v 0.035397 0.041054 -0.030588
+v 0.037092 0.039968 -0.030750
+v 0.037204 0.040088 -0.030588
+v 0.038674 0.038674 -0.030750
+v 0.038788 0.038788 -0.030588
+v 0.039968 0.037092 -0.030750
+v 0.040088 0.037204 -0.030588
+v 0.040925 0.035285 -0.030750
+v 0.041054 0.035397 -0.030588
+v -0.002450 -0.042567 -0.004750
+v -0.002367 -0.042567 -0.004116
+v -0.002122 -0.042567 -0.003525
+v -0.001732 -0.042567 -0.003018
+v -0.001225 -0.042567 -0.002628
+v -0.000634 -0.042567 -0.002383
+v -0.000000 -0.042567 -0.002300
+v 0.000634 -0.042567 -0.002383
+v 0.001225 -0.042567 -0.002628
+v 0.001732 -0.042567 -0.003018
+v 0.002122 -0.042567 -0.003525
+v 0.002367 -0.042567 -0.004116
+v 0.002450 -0.042567 -0.004750
+v 0.002367 -0.042567 -0.005384
+v 0.002122 -0.042567 -0.005975
+v 0.001732 -0.042567 -0.006482
+v 0.001225 -0.042567 -0.006872
+v 0.000634 -0.042567 -0.007117
+v -0.000000 -0.042567 -0.007200
+v -0.000634 -0.042567 -0.007117
+v -0.001225 -0.042567 -0.006872
+v -0.001732 -0.042567 -0.006482
+v -0.002122 -0.042567 -0.005975
+v -0.002367 -0.042567 -0.005384
+v -0.002450 -0.036674 -0.004750
+v -0.002367 -0.036674 -0.004116
+v -0.002122 -0.036674 -0.003525
+v -0.001732 -0.036674 -0.003018
+v -0.001225 -0.036674 -0.002628
+v -0.000634 -0.036674 -0.002383
+v -0.000000 -0.036674 -0.002300
+v 0.000634 -0.036674 -0.002383
+v 0.001225 -0.036674 -0.002628
+v 0.001732 -0.036674 -0.003018
+v 0.002122 -0.036674 -0.003525
+v 0.002367 -0.036674 -0.004116
+v 0.002450 -0.036674 -0.004750
+v 0.002367 -0.036674 -0.005384
+v 0.002122 -0.036674 -0.005975
+v 0.001732 -0.036674 -0.006482
+v 0.001225 -0.036674 -0.006872
+v 0.000634 -0.036674 -0.007117
+v -0.000000 -0.036674 -0.007200
+v -0.000634 -0.036674 -0.007117
+v -0.001225 -0.036674 -0.006872
+v -0.001732 -0.036674 -0.006482
+v -0.002122 -0.036674 -0.005975
+v -0.002367 -0.036674 -0.005384
+v -0.000000 -0.035297 -0.004750
+v -0.004250 -0.043197 -0.004750
+v -0.004105 -0.043197 -0.003650
+v -0.003681 -0.043197 -0.002625
+v -0.003005 -0.043197 -0.001745
+v -0.002125 -0.043197 -0.001069
+v -0.001100 -0.043197 -0.000645
+v -0.000000 -0.043197 -0.000500
+v 0.001100 -0.043197 -0.000645
+v 0.002125 -0.043197 -0.001069
+v 0.003005 -0.043197 -0.001745
+v 0.003681 -0.043197 -0.002625
+v 0.004105 -0.043197 -0.003650
+v 0.004250 -0.043197 -0.004750
+v 0.004105 -0.043197 -0.005850
+v 0.003681 -0.043197 -0.006875
+v 0.003005 -0.043197 -0.007755
+v 0.002125 -0.043197 -0.008431
+v 0.001100 -0.043197 -0.008855
+v -0.000000 -0.043197 -0.009000
+v -0.001100 -0.043197 -0.008855
+v -0.002125 -0.043197 -0.008431
+v -0.003005 -0.043197 -0.007755
+v -0.003681 -0.043197 -0.006875
+v -0.004105 -0.043197 -0.005850
+v 0.001541 -0.043197 -0.002080
+v 0.002180 -0.043197 -0.002570
+v 0.002670 -0.043197 -0.003209
+v 0.002978 -0.043197 -0.003952
+v 0.003083 -0.043197 -0.004750
+v 0.002978 -0.043197 -0.005548
+v 0.002670 -0.043197 -0.006291
+v 0.002180 -0.043197 -0.006930
+v 0.001541 -0.043197 -0.007420
+v 0.000798 -0.043197 -0.007728
+v -0.000000 -0.043197 -0.007833
+v -0.000798 -0.043197 -0.007728
+v -0.001541 -0.043197 -0.007420
+v -0.002180 -0.043197 -0.006930
+v -0.002670 -0.043197 -0.006291
+v -0.002978 -0.043197 -0.005548
+v -0.003083 -0.043197 -0.004750
+v -0.002978 -0.043197 -0.003952
+v -0.002670 -0.043197 -0.003209
+v -0.002180 -0.043197 -0.002570
+v -0.001541 -0.043197 -0.002080
+v -0.000798 -0.043197 -0.001772
+v -0.000000 -0.043197 -0.001667
+v 0.000798 -0.043197 -0.001772
+v -0.015741 -0.021487 0.023532
+v -0.015591 -0.021125 0.023532
+v -0.015353 -0.020815 0.023532
+v -0.015042 -0.020576 0.023532
+v -0.014680 -0.020426 0.023532
+v -0.014292 -0.020375 0.023532
+v -0.014292 -0.023375 0.023532
+v -0.014680 -0.023324 0.023532
+v -0.015042 -0.023174 0.023532
+v -0.015353 -0.022936 0.023532
+v -0.015591 -0.022625 0.023532
+v -0.015741 -0.022263 0.023532
+v -0.015792 -0.021875 0.023532
+v -0.015741 -0.021487 0.020532
+v -0.015591 -0.021125 0.020532
+v -0.015353 -0.020815 0.020532
+v -0.015042 -0.020576 0.020532
+v -0.014680 -0.020426 0.020532
+v -0.014292 -0.020375 0.020532
+v -0.014292 -0.023375 0.020532
+v -0.014680 -0.023324 0.020532
+v -0.015042 -0.023174 0.020532
+v -0.015353 -0.022936 0.020532
+v -0.015591 -0.022625 0.020532
+v -0.015741 -0.022263 0.020532
+v -0.015792 -0.021875 0.020532
+v -0.014292 -0.021875 0.023532
+v -0.014292 -0.021875 0.020532
+v -0.011294 -0.020375 0.023532
+v -0.010906 -0.020426 0.023532
+v -0.010906 -0.020426 0.020532
+v -0.011294 -0.020375 0.020532
+v -0.010544 -0.020576 0.023532
+v -0.010544 -0.020576 0.020532
+v -0.010234 -0.020815 0.023532
+v -0.010234 -0.020815 0.020532
+v -0.009995 -0.021125 0.023532
+v -0.009995 -0.021125 0.020532
+v -0.009846 -0.021487 0.023532
+v -0.009846 -0.021487 0.020532
+v -0.009794 -0.021875 0.023532
+v -0.009794 -0.021875 0.020532
+v -0.009846 -0.022263 0.023532
+v -0.009846 -0.022263 0.020532
+v -0.009995 -0.022625 0.023532
+v -0.009995 -0.022625 0.020532
+v -0.010234 -0.022936 0.023532
+v -0.010234 -0.022936 0.020532
+v -0.010544 -0.023174 0.023532
+v -0.010544 -0.023174 0.020532
+v -0.010906 -0.023324 0.023532
+v -0.010906 -0.023324 0.020532
+v -0.011294 -0.023375 0.023532
+v -0.011294 -0.023375 0.020532
+v -0.011294 -0.021875 0.023532
+v -0.011294 -0.021875 0.020532
+v 0.023048 -0.043197 0.004251
+v 0.013041 -0.043197 0.014257
+v 0.000000 -0.043197 0.014257
+v 0.023048 -0.043197 -0.004750
+v -0.000000 -0.043197 -0.026594
+v 0.013041 -0.043197 -0.026594
+v 0.023048 -0.043197 -0.016587
+v 0.014385 -0.041850 0.016048
+v -0.000000 -0.041850 0.016048
+v -0.014391 -0.041850 0.016048
+v -0.016431 -0.041850 0.015848
+v -0.018392 -0.041850 0.015253
+v -0.020199 -0.041850 0.014287
+v -0.021783 -0.041850 0.012987
+v -0.023083 -0.041850 0.011402
+v -0.024049 -0.041850 0.009595
+v -0.024644 -0.041850 0.007634
+v -0.024845 -0.041850 0.005595
+v -0.024845 -0.041850 -0.004750
+v -0.024845 -0.041850 -0.017931
+v -0.024644 -0.041850 -0.019970
+v -0.024049 -0.041850 -0.021932
+v -0.023083 -0.041850 -0.023739
+v -0.021783 -0.041850 -0.025323
+v -0.020199 -0.041850 -0.026623
+v -0.018392 -0.041850 -0.027589
+v -0.016431 -0.041850 -0.028184
+v -0.014391 -0.041850 -0.028385
+v -0.000000 -0.041850 -0.028385
+v 0.014385 -0.041850 -0.028385
+v 0.016425 -0.041850 -0.028184
+v 0.018386 -0.041850 -0.027589
+v 0.020193 -0.041850 -0.026623
+v 0.021777 -0.041850 -0.025323
+v 0.023077 -0.041850 -0.023739
+v 0.024043 -0.041850 -0.021932
+v 0.024638 -0.041850 -0.019970
+v 0.024839 -0.041850 -0.017931
+v 0.024839 -0.041850 -0.004750
+v 0.024839 -0.041850 0.005595
+v 0.024638 -0.041850 0.007634
+v 0.024043 -0.041850 0.009595
+v 0.023077 -0.041850 0.011402
+v 0.021777 -0.041850 0.012987
+v 0.020193 -0.041850 0.014287
+v 0.018386 -0.041850 0.015253
+v 0.016425 -0.041850 0.015848
+v -0.023054 -0.043197 -0.004750
+v -0.023054 -0.043197 -0.016587
+v -0.013047 -0.043197 -0.026594
+v 0.014994 -0.043197 -0.026402
+v 0.016871 -0.043197 -0.025832
+v 0.018601 -0.043197 -0.024907
+v 0.020117 -0.043197 -0.023663
+v 0.021361 -0.043197 -0.022147
+v 0.022286 -0.043197 -0.020417
+v 0.022856 -0.043197 -0.018539
+v -0.022862 -0.043197 -0.018539
+v -0.022292 -0.043197 -0.020417
+v -0.021368 -0.043197 -0.022147
+v -0.020123 -0.043197 -0.023663
+v -0.018607 -0.043197 -0.024907
+v -0.016877 -0.043197 -0.025832
+v -0.015000 -0.043197 -0.026402
+v 0.022856 -0.043197 0.006203
+v 0.022286 -0.043197 0.008080
+v 0.021361 -0.043197 0.009810
+v 0.020117 -0.043197 0.011326
+v 0.018601 -0.043197 0.012571
+v 0.016871 -0.043197 0.013496
+v 0.014994 -0.043197 0.014065
+v -0.015000 -0.043197 0.014065
+v -0.016877 -0.043197 0.013496
+v -0.018607 -0.043197 0.012571
+v -0.020123 -0.043197 0.011326
+v -0.021368 -0.043197 0.009810
+v -0.022292 -0.043197 0.008080
+v -0.022862 -0.043197 0.006203
+v -0.023054 -0.043197 0.004251
+v -0.013047 -0.043197 0.014257
+v 0.024638 -0.043035 -0.019970
+v 0.024496 -0.043197 -0.019856
+v 0.024678 -0.043197 -0.017810
+v 0.024839 -0.043035 -0.017931
+v 0.024677 -0.043197 -0.004750
+v 0.024839 -0.043035 -0.004750
+v 0.024678 -0.043197 0.005474
+v 0.024839 -0.043035 0.005595
+v 0.024496 -0.043197 0.007520
+v 0.024638 -0.043035 0.007634
+v 0.023914 -0.043197 0.009484
+v 0.024043 -0.043035 0.009595
+v 0.022957 -0.043197 0.011291
+v 0.023077 -0.043035 0.011402
+v 0.021663 -0.043197 0.012872
+v 0.021777 -0.043035 0.012987
+v 0.020081 -0.043197 0.014166
+v 0.020193 -0.043035 0.014287
+v 0.018274 -0.043197 0.015124
+v 0.018386 -0.043035 0.015253
+v 0.016310 -0.043197 0.015705
+v 0.016425 -0.043035 0.015848
+v 0.014264 -0.043197 0.015887
+v 0.014385 -0.043035 0.016048
+v -0.000000 -0.043197 0.015887
+v -0.000000 -0.043035 0.016048
+v -0.014270 -0.043197 0.015887
+v -0.014391 -0.043035 0.016048
+v -0.016316 -0.043197 0.015705
+v -0.016431 -0.043035 0.015848
+v -0.018280 -0.043197 0.015124
+v -0.018392 -0.043035 0.015253
+v -0.020088 -0.043197 0.014166
+v -0.020199 -0.043035 0.014287
+v -0.021669 -0.043197 0.012872
+v -0.021783 -0.043035 0.012987
+v -0.022963 -0.043197 0.011291
+v -0.023083 -0.043035 0.011402
+v -0.023920 -0.043197 0.009484
+v -0.024049 -0.043035 0.009595
+v -0.024502 -0.043197 0.007520
+v -0.024644 -0.043035 0.007634
+v -0.024684 -0.043197 0.005474
+v -0.024845 -0.043035 0.005595
+v -0.024683 -0.043197 -0.004750
+v -0.024845 -0.043035 -0.004750
+v -0.024684 -0.043197 -0.017810
+v -0.024845 -0.043035 -0.017931
+v -0.024502 -0.043197 -0.019856
+v -0.024644 -0.043035 -0.019970
+v -0.023920 -0.043197 -0.021820
+v -0.024049 -0.043035 -0.021932
+v -0.022963 -0.043197 -0.023627
+v -0.023083 -0.043035 -0.023739
+v -0.021669 -0.043197 -0.025209
+v -0.021783 -0.043035 -0.025323
+v -0.020088 -0.043197 -0.026503
+v -0.020199 -0.043035 -0.026623
+v -0.018280 -0.043197 -0.027460
+v -0.018392 -0.043035 -0.027589
+v -0.016316 -0.043197 -0.028042
+v -0.016431 -0.043035 -0.028184
+v -0.014270 -0.043197 -0.028224
+v -0.014391 -0.043035 -0.028385
+v -0.000000 -0.043197 -0.028223
+v -0.000000 -0.043035 -0.028385
+v 0.014264 -0.043197 -0.028224
+v 0.014385 -0.043035 -0.028385
+v 0.016310 -0.043197 -0.028042
+v 0.016425 -0.043035 -0.028184
+v 0.018274 -0.043197 -0.027460
+v 0.018386 -0.043035 -0.027589
+v 0.020081 -0.043197 -0.026503
+v 0.020193 -0.043035 -0.026623
+v 0.021663 -0.043197 -0.025209
+v 0.021777 -0.043035 -0.025323
+v 0.022957 -0.043197 -0.023627
+v 0.023077 -0.043035 -0.023739
+v 0.023914 -0.043197 -0.021820
+v 0.024043 -0.043035 -0.021932
+v -0.000000 -0.043197 -0.000500
+v 0.004250 -0.043197 -0.004750
+v -0.000000 -0.043197 -0.009000
+v -0.004250 -0.043197 -0.004750
+v 0.003005 -0.043197 -0.001745
+v -0.003005 -0.043197 -0.007755
+v -0.003005 -0.043197 -0.001745
+v 0.003005 -0.043197 -0.007755
+v 0.002125 -0.043197 -0.001069
+v 0.001100 -0.043197 -0.000645
+v 0.003681 -0.043197 -0.002625
+v 0.004105 -0.043197 -0.003650
+v 0.003681 -0.043197 -0.006875
+v 0.004105 -0.043197 -0.005850
+v 0.002125 -0.043197 -0.008431
+v 0.001100 -0.043197 -0.008855
+v -0.001100 -0.043197 -0.008855
+v -0.002125 -0.043197 -0.008431
+v -0.003681 -0.043197 -0.006875
+v -0.004105 -0.043197 -0.005850
+v -0.003681 -0.043197 -0.002625
+v -0.004105 -0.043197 -0.003650
+v -0.002125 -0.043197 -0.001069
+v -0.001100 -0.043197 -0.000645
+vt 0.130771 0.604234
+vt 0.135566 0.608929
+vt 0.136391 0.610886
+vt 0.136395 0.628154
+vt 0.135576 0.630112
+vt 0.130785 0.634811
+vt 0.128812 0.635617
+vt 0.128797 0.603430
+vt 0.123512 0.604581
+vt 0.124662 0.603431
+vt 0.124677 0.635619
+vt 0.123525 0.634469
+vt 0.107417 0.603442
+vt 0.123511 0.603428
+vt 0.107418 0.604592
+vt 0.107429 0.631601
+vt 0.107419 0.607614
+vt 0.107430 0.634475
+vt 0.123525 0.635621
+vt 0.107431 0.635626
+vt 0.123526 0.639756
+vt 0.107432 0.639761
+vt 0.107432 0.639843
+vt 0.123527 0.641729
+vt 0.107433 0.641735
+vt 0.107433 0.641767
+vt 0.123528 0.646522
+vt 0.107434 0.646528
+vt 0.152487 0.630111
+vt 0.136393 0.630111
+vt 0.152487 0.628154
+vt 0.152487 0.610886
+vt 0.136393 0.608929
+vt 0.152487 0.608929
+vt 0.107411 0.597270
+vt 0.107407 0.592541
+vt 0.123501 0.592527
+vt 0.123506 0.597320
+vt 0.107411 0.597334
+vt 0.107413 0.599271
+vt 0.123507 0.599293
+vt 0.107413 0.599307
+vt 0.739010 0.718906
+vt 0.739010 0.726090
+vt 0.731263 0.727157
+vt 0.731972 0.719450
+vt 0.746048 0.719450
+vt 0.746757 0.727157
+vt 0.763262 0.742702
+vt 0.756079 0.741348
+vt 0.755011 0.735412
+vt 0.762718 0.736121
+vt 0.738553 0.767411
+vt 0.731972 0.766867
+vt 0.731263 0.759160
+vt 0.737199 0.760228
+vt 0.714757 0.743159
+vt 0.721941 0.743159
+vt 0.723008 0.750906
+vt 0.715301 0.750197
+vt 0.715301 0.736121
+vt 0.723008 0.735412
+vt 0.723802 0.727951
+vt 0.730624 0.734347
+vt 0.738089 0.733628
+vt 0.747137 0.734127
+vt 0.754218 0.727951
+vt 0.749458 0.739149
+vt 0.729878 0.750732
+vt 0.735000 0.753607
+vt 0.723802 0.758367
+vt 0.729467 0.743098
+vt 0.736064 0.740268
+vt 0.740212 0.742483
+vt 0.406089 0.718906
+vt 0.406089 0.726090
+vt 0.398341 0.727157
+vt 0.399051 0.719450
+vt 0.413127 0.719450
+vt 0.413836 0.727157
+vt 0.430341 0.743159
+vt 0.423158 0.743159
+vt 0.422090 0.735412
+vt 0.429797 0.736121
+vt 0.429797 0.750197
+vt 0.422090 0.750906
+vt 0.406546 0.767411
+vt 0.407900 0.760228
+vt 0.413836 0.759160
+vt 0.413127 0.766867
+vt 0.381836 0.742701
+vt 0.382380 0.736121
+vt 0.390087 0.735412
+vt 0.389020 0.741348
+vt 0.390880 0.727951
+vt 0.397962 0.734127
+vt 0.407008 0.733631
+vt 0.414471 0.734346
+vt 0.421297 0.727951
+vt 0.415637 0.743097
+vt 0.415219 0.750731
+vt 0.421297 0.758367
+vt 0.410099 0.753607
+vt 0.395640 0.739149
+vt 0.404887 0.742478
+vt 0.409041 0.740268
+vt 0.738553 0.385985
+vt 0.737199 0.393169
+vt 0.731263 0.394236
+vt 0.731972 0.386529
+vt 0.763263 0.410695
+vt 0.762719 0.417276
+vt 0.755012 0.417985
+vt 0.756079 0.412049
+vt 0.739010 0.434490
+vt 0.739010 0.427307
+vt 0.746757 0.426239
+vt 0.746048 0.433946
+vt 0.731972 0.433946
+vt 0.731263 0.426239
+vt 0.714757 0.410238
+vt 0.721941 0.410238
+vt 0.723008 0.417985
+vt 0.715301 0.417276
+vt 0.715301 0.403200
+vt 0.723008 0.402491
+vt 0.723802 0.395030
+vt 0.729969 0.402109
+vt 0.735000 0.399789
+vt 0.745606 0.418727
+vt 0.749459 0.414248
+vt 0.754218 0.425446
+vt 0.738264 0.420082
+vt 0.730915 0.418766
+vt 0.723802 0.425446
+vt 0.730114 0.411297
+vt 0.737664 0.409465
+vt 0.734715 0.412506
+vt 0.381836 0.410695
+vt 0.389020 0.412049
+vt 0.390088 0.417985
+vt 0.382381 0.417276
+vt 0.406546 0.385986
+vt 0.413127 0.386530
+vt 0.413836 0.394237
+vt 0.407900 0.393169
+vt 0.430341 0.410238
+vt 0.423158 0.410238
+vt 0.422090 0.402491
+vt 0.429797 0.403200
+vt 0.429797 0.417276
+vt 0.422090 0.417985
+vt 0.406089 0.434490
+vt 0.406089 0.427307
+vt 0.413836 0.426239
+vt 0.413127 0.433946
+vt 0.399051 0.433946
+vt 0.398342 0.426239
+vt 0.390881 0.425446
+vt 0.397961 0.419273
+vt 0.395640 0.414248
+vt 0.415222 0.402665
+vt 0.410099 0.399790
+vt 0.421297 0.395030
+vt 0.415635 0.410300
+vt 0.414472 0.419051
+vt 0.421297 0.425446
+vt 0.407009 0.419764
+vt 0.404882 0.410912
+vt 0.409035 0.413123
+vt 0.144578 0.636394
+vt 0.147245 0.638440
+vt 0.138141 0.647544
+vt 0.141473 0.635108
+vt 0.138141 0.634669
+vt 0.134808 0.635108
+vt 0.131703 0.636394
+vt 0.129037 0.638440
+vt 0.126991 0.641107
+vt 0.125704 0.644212
+vt 0.125266 0.647544
+vt 0.125704 0.650876
+vt 0.126991 0.653982
+vt 0.129037 0.656648
+vt 0.131703 0.658694
+vt 0.134808 0.659980
+vt 0.138141 0.660419
+vt 0.141473 0.659980
+vt 0.144578 0.658694
+vt 0.147245 0.656648
+vt 0.149291 0.653982
+vt 0.150577 0.650876
+vt 0.151016 0.647544
+vt 0.150577 0.644212
+vt 0.149291 0.641106
+vt 0.075963 0.601667
+vt 0.088838 0.601669
+vt 0.088837 0.604336
+vt 0.075962 0.604333
+vt 0.088837 0.607441
+vt 0.075962 0.607438
+vt 0.088836 0.610773
+vt 0.075961 0.610771
+vt 0.088836 0.614106
+vt 0.075961 0.614103
+vt 0.088835 0.617211
+vt 0.075960 0.617208
+vt 0.088835 0.619877
+vt 0.075959 0.619876
+vt 0.088835 0.622543
+vt 0.075960 0.622543
+vt 0.088835 0.625648
+vt 0.075959 0.625648
+vt 0.088835 0.628980
+vt 0.075959 0.628980
+vt 0.088834 0.632313
+vt 0.075959 0.632313
+vt 0.088835 0.635418
+vt 0.075959 0.635418
+vt 0.088835 0.638080
+vt 0.075959 0.638089
+vt 0.088838 0.640742
+vt 0.075963 0.640760
+vt 0.088843 0.643847
+vt 0.075968 0.643865
+vt 0.088847 0.647180
+vt 0.075972 0.647198
+vt 0.088852 0.650512
+vt 0.075977 0.650530
+vt 0.088856 0.653617
+vt 0.075981 0.653635
+vt 0.088860 0.656288
+vt 0.075985 0.656297
+vt 0.088860 0.658958
+vt 0.075985 0.658960
+vt 0.088860 0.662064
+vt 0.075985 0.662065
+vt 0.088861 0.665396
+vt 0.075986 0.665397
+vt 0.088861 0.668728
+vt 0.075986 0.668730
+vt 0.088862 0.671834
+vt 0.075986 0.671835
+vt 0.088862 0.674500
+vt 0.075987 0.674502
+vt 0.097900 0.496762
+vt 0.099519 0.495520
+vt 0.107810 0.503812
+vt 0.103763 0.506917
+vt 0.100761 0.493901
+vt 0.110916 0.499764
+vt 0.101542 0.492016
+vt 0.112868 0.495051
+vt 0.101808 0.489993
+vt 0.113534 0.489993
+vt 0.101542 0.487970
+vt 0.112868 0.484935
+vt 0.100761 0.486084
+vt 0.110916 0.480221
+vt 0.099519 0.484465
+vt 0.107810 0.476174
+vt 0.097900 0.483223
+vt 0.103763 0.473068
+vt 0.096015 0.482442
+vt 0.099049 0.471116
+vt 0.093991 0.482176
+vt 0.093991 0.470450
+vt 0.091968 0.482442
+vt 0.088933 0.471116
+vt 0.090083 0.483223
+vt 0.084220 0.473068
+vt 0.088464 0.484465
+vt 0.080172 0.476174
+vt 0.087221 0.486084
+vt 0.077067 0.480221
+vt 0.086440 0.487970
+vt 0.075115 0.484935
+vt 0.086174 0.489993
+vt 0.074449 0.489993
+vt 0.086441 0.492016
+vt 0.075115 0.495051
+vt 0.087221 0.493901
+vt 0.077067 0.499764
+vt 0.088464 0.495520
+vt 0.080173 0.503811
+vt 0.090083 0.496762
+vt 0.084220 0.506917
+vt 0.091968 0.497543
+vt 0.088933 0.508870
+vt 0.093991 0.497810
+vt 0.093991 0.509535
+vt 0.096015 0.497544
+vt 0.099049 0.508869
+vt 0.072481 0.633104
+vt 0.052939 0.633102
+vt 0.052939 0.629055
+vt 0.072482 0.629056
+vt 0.052939 0.625008
+vt 0.072482 0.625008
+vt 0.052939 0.620295
+vt 0.072482 0.620295
+vt 0.052939 0.615237
+vt 0.072482 0.615237
+vt 0.052939 0.610179
+vt 0.072482 0.610179
+vt 0.052939 0.605466
+vt 0.072482 0.605466
+vt 0.052939 0.601418
+vt 0.072482 0.601418
+vt 0.072493 0.711963
+vt 0.052951 0.711973
+vt 0.052949 0.707925
+vt 0.072491 0.707916
+vt 0.052947 0.703212
+vt 0.072489 0.703203
+vt 0.052944 0.698154
+vt 0.072487 0.698145
+vt 0.052942 0.693096
+vt 0.072484 0.693087
+vt 0.052939 0.688383
+vt 0.072482 0.688373
+vt 0.052938 0.684333
+vt 0.072480 0.684328
+vt 0.052937 0.680283
+vt 0.072480 0.680283
+vt 0.052937 0.675570
+vt 0.072480 0.675569
+vt 0.052937 0.670512
+vt 0.072480 0.670511
+vt 0.052937 0.665454
+vt 0.072480 0.665453
+vt 0.052937 0.660741
+vt 0.072479 0.660740
+vt 0.052937 0.656693
+vt 0.072479 0.656693
+vt 0.052937 0.652645
+vt 0.072480 0.652647
+vt 0.052937 0.647931
+vt 0.072480 0.647933
+vt 0.052938 0.642873
+vt 0.072480 0.642875
+vt 0.052938 0.637815
+vt 0.072481 0.637817
+vt 0.105788 0.684264
+vt 0.106566 0.686141
+vt 0.099047 0.688156
+vt 0.104551 0.682651
+vt 0.102939 0.681414
+vt 0.101062 0.680637
+vt 0.099047 0.680372
+vt 0.097032 0.680637
+vt 0.095155 0.681414
+vt 0.093543 0.682651
+vt 0.092306 0.684264
+vt 0.091528 0.686141
+vt 0.091259 0.688156
+vt 0.099047 0.701933
+vt 0.091267 0.701933
+vt 0.091528 0.703948
+vt 0.092306 0.705825
+vt 0.093543 0.707437
+vt 0.095155 0.708674
+vt 0.097032 0.709452
+vt 0.099047 0.709717
+vt 0.101062 0.709452
+vt 0.102939 0.708674
+vt 0.104551 0.707437
+vt 0.105788 0.705825
+vt 0.106566 0.703948
+vt 0.106834 0.701933
+vt 0.106828 0.688156
+vt 0.117229 0.686131
+vt 0.106823 0.686141
+vt 0.106821 0.684263
+vt 0.117227 0.684254
+vt 0.106820 0.682656
+vt 0.117226 0.682638
+vt 0.106816 0.681048
+vt 0.117222 0.681021
+vt 0.106811 0.679171
+vt 0.117217 0.679144
+vt 0.106805 0.677156
+vt 0.117211 0.677129
+vt 0.106800 0.675142
+vt 0.117206 0.675114
+vt 0.106795 0.673264
+vt 0.117201 0.673237
+vt 0.106791 0.671652
+vt 0.117197 0.671625
+vt 0.080844 0.682662
+vt 0.091250 0.682651
+vt 0.091252 0.684263
+vt 0.080846 0.684274
+vt 0.091254 0.686141
+vt 0.080848 0.686152
+vt 0.080850 0.688166
+vt 0.080864 0.701944
+vt 0.091272 0.703948
+vt 0.080866 0.703958
+vt 0.091274 0.705825
+vt 0.080868 0.705836
+vt 0.091276 0.707437
+vt 0.080870 0.707448
+vt 0.117233 0.718448
+vt 0.106827 0.718433
+vt 0.106829 0.716822
+vt 0.117235 0.716836
+vt 0.106831 0.714944
+vt 0.117238 0.714959
+vt 0.106834 0.712929
+vt 0.117240 0.712944
+vt 0.106837 0.710915
+vt 0.117243 0.710929
+vt 0.106840 0.709037
+vt 0.117246 0.709052
+vt 0.106842 0.707431
+vt 0.117248 0.707434
+vt 0.106841 0.705825
+vt 0.117247 0.705816
+vt 0.106839 0.703948
+vt 0.117245 0.703938
+vt 0.117243 0.701924
+vt 0.117231 0.688146
+vt 0.096060 0.557430
+vt 0.096060 0.533443
+vt 0.108015 0.533443
+vt 0.108017 0.557430
+vt 0.107389 0.528682
+vt 0.096060 0.530568
+vt 0.090692 0.529450
+vt 0.089623 0.515050
+vt 0.094383 0.515676
+vt 0.084007 0.534920
+vt 0.071856 0.528682
+vt 0.073694 0.524246
+vt 0.089623 0.575823
+vt 0.084862 0.575196
+vt 0.088737 0.560736
+vt 0.088800 0.560799
+vt 0.090737 0.561590
+vt 0.094909 0.561605
+vt 0.098819 0.573358
+vt 0.094383 0.575196
+vt 0.090774 0.561605
+vt 0.126411 0.557426
+vt 0.126407 0.533440
+vt 0.108013 0.528682
+vt 0.126406 0.528679
+vt 0.108012 0.524246
+vt 0.126405 0.524243
+vt 0.108012 0.520437
+vt 0.126405 0.520434
+vt 0.052844 0.494423
+vt 0.071237 0.494427
+vt 0.071236 0.498236
+vt 0.052843 0.498232
+vt 0.071235 0.502672
+vt 0.052842 0.502668
+vt 0.071234 0.507433
+vt 0.052841 0.507428
+vt 0.071233 0.512193
+vt 0.052840 0.512189
+vt 0.071232 0.516629
+vt 0.052839 0.516625
+vt 0.071231 0.520438
+vt 0.052838 0.520435
+vt 0.071231 0.524246
+vt 0.052837 0.524245
+vt 0.071230 0.528682
+vt 0.052837 0.528681
+vt 0.071230 0.533443
+vt 0.052837 0.533442
+vt 0.071229 0.557430
+vt 0.052836 0.557429
+vt 0.071229 0.562190
+vt 0.052836 0.562189
+vt 0.071229 0.566626
+vt 0.052836 0.566625
+vt 0.071228 0.570434
+vt 0.052835 0.570436
+vt 0.071229 0.574242
+vt 0.052836 0.574247
+vt 0.071231 0.578678
+vt 0.052837 0.578683
+vt 0.071232 0.583439
+vt 0.052839 0.583443
+vt 0.071233 0.588199
+vt 0.052840 0.588204
+vt 0.071234 0.592635
+vt 0.052841 0.592640
+vt 0.071235 0.596444
+vt 0.052842 0.596449
+vt 0.126413 0.570432
+vt 0.108020 0.570435
+vt 0.108019 0.566626
+vt 0.126412 0.566623
+vt 0.108019 0.562190
+vt 0.126412 0.562187
+vt 0.110826 0.965585
+vt 0.097017 0.945294
+vt 0.098855 0.940858
+vt 0.112658 0.959547
+vt 0.083103 0.806761
+vt 0.086146 0.832307
+vt 0.081088 0.831641
+vt 0.081088 0.807027
+vt 0.113276 0.749099
+vt 0.093963 0.749099
+vt 0.093525 0.745766
+vt 0.112658 0.742820
+vt 0.029492 0.070499
+vt 0.073267 0.026728
+vt 0.205168 0.026617
+vt 0.205161 0.202406
+vt 0.029372 0.202406
+vt 0.205167 0.378195
+vt 0.073267 0.378083
+vt 0.029492 0.334312
+vt 0.437812 0.378515
+vt 0.554932 0.275749
+vt 0.556754 0.280148
+vt 0.567829 0.288646
+vt 0.572549 0.289268
+vt 0.572549 0.378515
+vt 0.581669 0.286824
+vt 0.707286 0.378514
+vt 0.577270 0.288646
+vt 0.707286 0.273273
+vt 0.590167 0.275749
+vt 0.590788 0.271029
+vt 0.707286 0.168032
+vt 0.590167 0.266308
+vt 0.588345 0.261909
+vt 0.577270 0.253411
+vt 0.572549 0.252790
+vt 0.572549 0.168032
+vt 0.437812 0.168032
+vt 0.567829 0.253411
+vt 0.563430 0.255233
+vt 0.554932 0.266308
+vt 0.554310 0.271029
+vt 0.437812 0.273273
+vt 0.559652 0.258132
+vt 0.556754 0.261909
+vt 0.585446 0.258132
+vt 0.581669 0.255233
+vt 0.588345 0.280148
+vt 0.585446 0.283926
+vt 0.559652 0.283926
+vt 0.563430 0.286824
+vt 0.554932 0.581419
+vt 0.556754 0.585818
+vt 0.437812 0.711435
+vt 0.567829 0.594316
+vt 0.563430 0.592494
+vt 0.707286 0.711435
+vt 0.577270 0.594316
+vt 0.581669 0.592494
+vt 0.588345 0.585818
+vt 0.590167 0.581419
+vt 0.585446 0.589595
+vt 0.559652 0.589595
+vt 0.667824 0.512861
+vt 0.590167 0.571978
+vt 0.588345 0.567579
+vt 0.471414 0.512284
+vt 0.477274 0.512861
+vt 0.554932 0.571978
+vt 0.554310 0.576698
+vt 0.437812 0.576698
+vt 0.559652 0.563801
+vt 0.556754 0.567579
+vt 0.585446 0.563801
+vt 0.581669 0.560903
+vt 0.577270 0.559081
+vt 0.572549 0.558459
+vt 0.572549 0.522279
+vt 0.572549 0.512861
+vt 0.567829 0.559081
+vt 0.563430 0.560903
+vt 0.012483 0.555975
+vt 0.048908 0.555976
+vt 0.048906 0.607018
+vt 0.079074 0.777946
+vt 0.077756 0.761535
+vt 0.081088 0.761974
+vt 0.081088 0.777681
+vt 0.012475 0.749098
+vt 0.048900 0.774620
+vt 0.048900 0.800141
+vt 0.012475 0.851183
+vt 0.429060 0.273273
+vt 0.429059 0.168032
+vt 0.420644 0.273273
+vt 0.420643 0.168032
+vt 0.412887 0.273273
+vt 0.412887 0.168032
+vt 0.406089 0.273273
+vt 0.406089 0.168032
+vt 0.269124 0.410238
+vt 0.269124 0.417036
+vt 0.163883 0.417036
+vt 0.163883 0.410237
+vt 0.269124 0.424792
+vt 0.163883 0.424792
+vt 0.269124 0.433209
+vt 0.163883 0.433208
+vt 0.269124 0.441961
+vt 0.163883 0.441961
+vt 0.269124 0.576698
+vt 0.163883 0.576698
+vt 0.269124 0.711435
+vt 0.163883 0.711435
+vt 0.269124 0.720188
+vt 0.163883 0.720188
+vt 0.269124 0.728604
+vt 0.163883 0.728604
+vt 0.269124 0.736360
+vt 0.163882 0.736360
+vt 0.269124 0.743159
+vt 0.163882 0.743159
+vt 0.406089 0.880123
+vt 0.412887 0.880123
+vt 0.412887 0.985365
+vt 0.406089 0.985365
+vt 0.420644 0.880123
+vt 0.420644 0.985365
+vt 0.429060 0.880123
+vt 0.429060 0.985365
+vt 0.437812 0.880123
+vt 0.437812 0.985365
+vt 0.572549 0.880123
+vt 0.572549 0.985365
+vt 0.707286 0.880124
+vt 0.707286 0.985365
+vt 0.716039 0.880124
+vt 0.716039 0.985365
+vt 0.724455 0.880124
+vt 0.724455 0.985365
+vt 0.732211 0.880124
+vt 0.732211 0.985365
+vt 0.739010 0.880124
+vt 0.739010 0.985365
+vt 0.875974 0.743159
+vt 0.875974 0.736361
+vt 0.981216 0.736361
+vt 0.981216 0.743159
+vt 0.875974 0.728604
+vt 0.981216 0.728604
+vt 0.875974 0.720188
+vt 0.981216 0.720188
+vt 0.875974 0.711436
+vt 0.981216 0.711436
+vt 0.875975 0.576698
+vt 0.981216 0.576699
+vt 0.875975 0.441961
+vt 0.981216 0.441961
+vt 0.875975 0.433209
+vt 0.981216 0.433209
+vt 0.875975 0.424793
+vt 0.981216 0.424793
+vt 0.875975 0.417036
+vt 0.981216 0.417037
+vt 0.875975 0.410238
+vt 0.981216 0.410238
+vt 0.739010 0.273273
+vt 0.732211 0.273273
+vt 0.732211 0.168032
+vt 0.739010 0.168032
+vt 0.724455 0.273273
+vt 0.724455 0.168032
+vt 0.716039 0.273273
+vt 0.716039 0.168032
+vt 0.572549 0.711435
+vt 0.572549 0.594937
+vt 0.590788 0.576698
+vt 0.707286 0.576698
+vt 0.673684 0.512284
+vt 0.447814 0.488683
+vt 0.449523 0.494318
+vt 0.452299 0.499511
+vt 0.456034 0.504063
+vt 0.460586 0.507798
+vt 0.465779 0.510574
+vt 0.697862 0.482820
+vt 0.707286 0.441961
+vt 0.697285 0.488683
+vt 0.697285 0.476957
+vt 0.437812 0.441961
+vt 0.447237 0.482820
+vt 0.679319 0.510574
+vt 0.684513 0.507798
+vt 0.689064 0.504063
+vt 0.692800 0.499511
+vt 0.695576 0.494318
+vt 0.695576 0.471322
+vt 0.692800 0.466129
+vt 0.689064 0.461577
+vt 0.684512 0.457842
+vt 0.679319 0.455066
+vt 0.673684 0.453356
+vt 0.667824 0.452779
+vt 0.447814 0.476957
+vt 0.477274 0.452779
+vt 0.471414 0.453356
+vt 0.465779 0.455066
+vt 0.460586 0.457842
+vt 0.456034 0.461577
+vt 0.452299 0.466129
+vt 0.449523 0.471322
+vt 0.572549 0.452779
+vt 0.572549 0.441961
+vt 0.380952 0.202406
+vt 0.380856 0.334296
+vt 0.337062 0.378092
+vt 0.770733 0.711435
+vt 0.770733 0.576698
+vt 0.572549 0.774882
+vt 0.707286 0.774882
+vt 0.374365 0.576698
+vt 0.374365 0.711435
+vt 0.761981 0.711435
+vt 0.761981 0.576698
+vt 0.753564 0.711435
+vt 0.753565 0.576698
+vt 0.745808 0.711435
+vt 0.745808 0.576698
+vt 0.739010 0.711435
+vt 0.739010 0.576698
+vt 0.732211 0.711435
+vt 0.732211 0.576698
+vt 0.724455 0.711435
+vt 0.724455 0.576698
+vt 0.716039 0.711435
+vt 0.716039 0.576698
+vt 0.716039 0.774882
+vt 0.724455 0.774882
+vt 0.732211 0.774882
+vt 0.739010 0.774882
+vt 0.770733 0.743159
+vt 0.770733 0.736360
+vt 0.770733 0.728604
+vt 0.770733 0.720188
+vt 0.707286 0.720188
+vt 0.572549 0.720188
+vt 0.707286 0.728604
+vt 0.572549 0.728604
+vt 0.707286 0.736360
+vt 0.572549 0.736360
+vt 0.707286 0.743159
+vt 0.572549 0.743159
+vt 0.707286 0.749957
+vt 0.572549 0.749957
+vt 0.707286 0.757714
+vt 0.572549 0.757713
+vt 0.707286 0.766130
+vt 0.572549 0.766130
+vt 0.429060 0.711436
+vt 0.420644 0.711435
+vt 0.420644 0.576698
+vt 0.429060 0.576698
+vt 0.412887 0.711435
+vt 0.412887 0.576698
+vt 0.406089 0.711435
+vt 0.406089 0.576698
+vt 0.399290 0.711435
+vt 0.399290 0.576698
+vt 0.391534 0.711435
+vt 0.391534 0.576698
+vt 0.383118 0.711435
+vt 0.383118 0.576698
+vt 0.374365 0.720188
+vt 0.374365 0.728604
+vt 0.374365 0.736360
+vt 0.374365 0.743159
+vt 0.406089 0.774882
+vt 0.412887 0.774882
+vt 0.420644 0.774882
+vt 0.429060 0.774882
+vt 0.437812 0.774882
+vt 0.770733 0.441961
+vt 0.770733 0.433209
+vt 0.770733 0.424793
+vt 0.770734 0.417036
+vt 0.770734 0.410238
+vt 0.739010 0.378514
+vt 0.732211 0.378514
+vt 0.724455 0.378514
+vt 0.716039 0.378514
+vt 0.707286 0.387267
+vt 0.572549 0.387267
+vt 0.707286 0.395683
+vt 0.572549 0.395683
+vt 0.707286 0.403439
+vt 0.572549 0.403439
+vt 0.707286 0.410238
+vt 0.572549 0.410238
+vt 0.707286 0.417036
+vt 0.572549 0.417036
+vt 0.707286 0.424793
+vt 0.572549 0.424793
+vt 0.707286 0.433209
+vt 0.572549 0.433209
+vt 0.429060 0.378515
+vt 0.420644 0.378515
+vt 0.412887 0.378515
+vt 0.406089 0.378515
+vt 0.374366 0.410238
+vt 0.374366 0.417036
+vt 0.374366 0.424793
+vt 0.374366 0.433209
+vt 0.374366 0.441961
+vt 0.064749 0.377209
+vt 0.056563 0.374693
+vt 0.049011 0.370639
+vt 0.042385 0.365194
+vt 0.036940 0.358568
+vt 0.032885 0.351016
+vt 0.030368 0.342830
+vt 0.379983 0.342821
+vt 0.377463 0.351010
+vt 0.373403 0.358563
+vt 0.367955 0.365188
+vt 0.361331 0.370636
+vt 0.353777 0.374697
+vt 0.345588 0.377217
+vt 0.030368 0.061981
+vt 0.032885 0.053795
+vt 0.036941 0.046243
+vt 0.042386 0.039617
+vt 0.049012 0.034173
+vt 0.056563 0.030119
+vt 0.064749 0.027603
+vt 0.345589 0.027595
+vt 0.353778 0.030115
+vt 0.361332 0.034176
+vt 0.367956 0.039624
+vt 0.373404 0.046249
+vt 0.377464 0.053802
+vt 0.379983 0.061992
+vt 0.380857 0.070516
+vt 0.337063 0.026720
+vt 0.715955 0.720104
+vt 0.724290 0.719855
+vt 0.753729 0.719855
+vt 0.762065 0.720104
+vt 0.762314 0.728439
+vt 0.724290 0.766463
+vt 0.715955 0.766214
+vt 0.715706 0.757878
+vt 0.715706 0.728439
+vt 0.383034 0.720104
+vt 0.391369 0.719855
+vt 0.420809 0.719855
+vt 0.429144 0.720104
+vt 0.437812 0.720188
+vt 0.437812 0.728604
+vt 0.429393 0.728439
+vt 0.437812 0.736360
+vt 0.437812 0.743159
+vt 0.437812 0.749957
+vt 0.437812 0.757713
+vt 0.429393 0.757878
+vt 0.437812 0.766130
+vt 0.429144 0.766214
+vt 0.420809 0.766463
+vt 0.382785 0.728439
+vt 0.715955 0.387183
+vt 0.724290 0.386934
+vt 0.762314 0.424958
+vt 0.762065 0.433293
+vt 0.761981 0.441961
+vt 0.753565 0.441961
+vt 0.753730 0.433542
+vt 0.745809 0.441961
+vt 0.739010 0.441961
+vt 0.732211 0.441961
+vt 0.724455 0.441961
+vt 0.724290 0.433542
+vt 0.716039 0.441961
+vt 0.715955 0.433293
+vt 0.715706 0.424958
+vt 0.715706 0.395518
+vt 0.383118 0.441961
+vt 0.383034 0.433293
+vt 0.382785 0.424958
+vt 0.420809 0.386934
+vt 0.429144 0.387183
+vt 0.437812 0.387267
+vt 0.437812 0.395683
+vt 0.429393 0.395518
+vt 0.437812 0.403440
+vt 0.437812 0.410238
+vt 0.437812 0.417036
+vt 0.437812 0.424793
+vt 0.429393 0.424958
+vt 0.437812 0.433209
+vt 0.429144 0.433293
+vt 0.429060 0.441961
+vt 0.420644 0.441961
+vt 0.420809 0.433542
+vt 0.412887 0.441961
+vt 0.406089 0.441961
+vt 0.399290 0.441961
+vt 0.391534 0.441961
+vt 0.391369 0.433542
+vt 0.050485 0.381728
+vt 0.042584 0.377563
+vt 0.059014 0.384272
+vt 0.067854 0.385222
+vt 0.205169 0.385355
+vt 0.351321 0.384280
+vt 0.342476 0.385229
+vt 0.359858 0.381734
+vt 0.367764 0.377565
+vt 0.374680 0.371911
+vt 0.380334 0.364995
+vt 0.384501 0.357088
+vt 0.387045 0.348552
+vt 0.387992 0.339708
+vt 0.388113 0.202406
+vt 0.387046 0.056261
+vt 0.387993 0.065104
+vt 0.384502 0.047725
+vt 0.380334 0.039817
+vt 0.374680 0.032901
+vt 0.367765 0.027247
+vt 0.359859 0.023078
+vt 0.351322 0.020532
+vt 0.342477 0.019583
+vt 0.067855 0.019589
+vt 0.205168 0.019457
+vt 0.059015 0.020539
+vt 0.050486 0.023083
+vt 0.042585 0.027249
+vt 0.035671 0.032902
+vt 0.030018 0.039814
+vt 0.025851 0.047714
+vt 0.023304 0.056244
+vt 0.022353 0.065085
+vt 0.022353 0.339726
+vt 0.022215 0.202406
+vt 0.023304 0.348568
+vt 0.025850 0.357097
+vt 0.030017 0.364997
+vt 0.035670 0.371910
+vt 0.048900 0.876705
+vt 0.048900 0.953268
+vt 0.012475 0.953268
+vt 0.012475 0.742820
+vt 0.048901 0.742820
+vt 0.048901 0.749099
+vt 0.012475 0.736782
+vt 0.048901 0.736782
+vt 0.012475 0.731218
+vt 0.048901 0.731218
+vt 0.012475 0.726340
+vt 0.048901 0.726341
+vt 0.012476 0.721462
+vt 0.048901 0.721464
+vt 0.012476 0.715898
+vt 0.048901 0.715900
+vt 0.012476 0.709860
+vt 0.048902 0.709862
+vt 0.012477 0.703578
+vt 0.048902 0.703580
+vt 0.012477 0.697296
+vt 0.048902 0.697298
+vt 0.012477 0.691258
+vt 0.048903 0.691261
+vt 0.012478 0.685694
+vt 0.048903 0.685696
+vt 0.012478 0.680817
+vt 0.048903 0.680819
+vt 0.012478 0.675940
+vt 0.048904 0.675942
+vt 0.012478 0.670376
+vt 0.048904 0.670377
+vt 0.012479 0.664338
+vt 0.048904 0.664340
+vt 0.012479 0.658059
+vt 0.048904 0.658061
+vt 0.048909 0.530455
+vt 0.012488 0.447611
+vt 0.048913 0.447612
+vt 0.048913 0.453891
+vt 0.012487 0.453890
+vt 0.012488 0.441573
+vt 0.048913 0.441575
+vt 0.012488 0.436009
+vt 0.048913 0.436010
+vt 0.012488 0.431131
+vt 0.048913 0.431134
+vt 0.012489 0.426254
+vt 0.048914 0.426257
+vt 0.012489 0.420690
+vt 0.048914 0.420693
+vt 0.012490 0.414652
+vt 0.048915 0.414655
+vt 0.012490 0.408370
+vt 0.048915 0.408373
+vt 0.012475 0.992505
+vt 0.048900 0.992505
+vt 0.012475 0.986467
+vt 0.048900 0.986468
+vt 0.012475 0.980903
+vt 0.048900 0.980903
+vt 0.012475 0.976026
+vt 0.048900 0.976026
+vt 0.012475 0.971149
+vt 0.048900 0.971149
+vt 0.048916 0.402091
+vt 0.012491 0.402088
+vt 0.012475 0.965585
+vt 0.048900 0.965585
+vt 0.012475 0.959547
+vt 0.048900 0.959547
+vt 0.049519 0.742820
+vt 0.068652 0.745766
+vt 0.068213 0.749099
+vt 0.063322 0.940858
+vt 0.049519 0.959547
+vt 0.062695 0.936097
+vt 0.092110 0.644238
+vt 0.104519 0.644257
+vt 0.104517 0.645876
+vt 0.092107 0.645857
+vt 0.092112 0.642353
+vt 0.104522 0.642371
+vt 0.092116 0.640330
+vt 0.104525 0.640348
+vt 0.092119 0.638306
+vt 0.104528 0.638325
+vt 0.092121 0.636421
+vt 0.104531 0.636439
+vt 0.092124 0.634799
+vt 0.104533 0.634824
+vt 0.092128 0.633176
+vt 0.104537 0.633209
+vt 0.092133 0.631291
+vt 0.104542 0.631324
+vt 0.092139 0.629267
+vt 0.104548 0.629300
+vt 0.092144 0.627244
+vt 0.104553 0.627277
+vt 0.092149 0.625359
+vt 0.104558 0.625392
+vt 0.092153 0.623742
+vt 0.104563 0.623771
+vt 0.092157 0.622125
+vt 0.104566 0.622150
+vt 0.092160 0.620240
+vt 0.104570 0.620265
+vt 0.092165 0.618216
+vt 0.104574 0.618241
+vt 0.092168 0.616193
+vt 0.104578 0.616218
+vt 0.092172 0.614308
+vt 0.104581 0.614333
+vt 0.092175 0.612695
+vt 0.104585 0.612707
+vt 0.092175 0.611082
+vt 0.104585 0.611082
+vt 0.092175 0.609197
+vt 0.104585 0.609197
+vt 0.092175 0.607174
+vt 0.104585 0.607174
+vt 0.092176 0.605151
+vt 0.104585 0.605151
+vt 0.092176 0.603265
+vt 0.104585 0.603265
+vt 0.092175 0.601646
+vt 0.104585 0.601646
+vt 0.095160 0.663284
+vt 0.093918 0.661665
+vt 0.100688 0.657757
+vt 0.093137 0.659780
+vt 0.092871 0.657757
+vt 0.093137 0.655734
+vt 0.093918 0.653848
+vt 0.095160 0.652229
+vt 0.096779 0.650987
+vt 0.098665 0.650206
+vt 0.100688 0.649940
+vt 0.102711 0.650206
+vt 0.104596 0.650987
+vt 0.106215 0.652229
+vt 0.107457 0.653848
+vt 0.108238 0.655734
+vt 0.108505 0.657757
+vt 0.108238 0.659780
+vt 0.107458 0.661665
+vt 0.106215 0.663284
+vt 0.104596 0.664527
+vt 0.102711 0.665308
+vt 0.100688 0.665574
+vt 0.098665 0.665308
+vt 0.096779 0.664526
+vt 0.080426 0.573358
+vt 0.083185 0.536876
+vt 0.083185 0.554145
+vt 0.105552 0.524246
+vt 0.094909 0.529417
+vt 0.102629 0.520437
+vt 0.107389 0.562190
+vt 0.096060 0.560454
+vt 0.098819 0.517514
+vt 0.090774 0.529417
+vt 0.105552 0.566626
+vt 0.102629 0.570435
+vt 0.088800 0.530223
+vt 0.088768 0.530254
+vt 0.084862 0.515676
+vt 0.084007 0.556102
+vt 0.071856 0.562190
+vt 0.073694 0.566626
+vt 0.076617 0.520437
+vt 0.080426 0.517514
+vt 0.076617 0.570435
+vt 0.062211 0.856241
+vt 0.048900 0.851183
+vt 0.061546 0.851183
+vt 0.113276 0.876705
+vt 0.099481 0.912110
+vt 0.098855 0.907350
+vt 0.065159 0.945294
+vt 0.051350 0.965585
+vt 0.099481 0.936097
+vt 0.113276 0.953268
+vt 0.081088 0.985453
+vt 0.081088 0.954490
+vt 0.087370 0.984834
+vt 0.107852 0.971149
+vt 0.094094 0.949103
+vt 0.071892 0.952026
+vt 0.058327 0.976026
+vt 0.054325 0.971149
+vt 0.068082 0.949103
+vt 0.076328 0.953864
+vt 0.074806 0.984834
+vt 0.068769 0.983003
+vt 0.063204 0.980029
+vt 0.093408 0.983003
+vt 0.085849 0.953864
+vt 0.098972 0.980029
+vt 0.103850 0.976026
+vt 0.090285 0.952026
+vt 0.051350 0.736782
+vt 0.069938 0.742661
+vt 0.077756 0.736662
+vt 0.068769 0.719364
+vt 0.074806 0.717532
+vt 0.054325 0.731218
+vt 0.071984 0.739994
+vt 0.110826 0.736782
+vt 0.092238 0.742661
+vt 0.090192 0.739994
+vt 0.107852 0.731218
+vt 0.087526 0.737948
+vt 0.103850 0.726341
+vt 0.084421 0.736662
+vt 0.098972 0.722338
+vt 0.058327 0.726341
+vt 0.074651 0.737948
+vt 0.063204 0.722338
+vt 0.093408 0.719364
+vt 0.087370 0.717532
+vt 0.081088 0.716914
+vt 0.081088 0.736223
+vt 0.063322 0.907350
+vt 0.062695 0.912110
+vt 0.067270 0.865002
+vt 0.064164 0.860955
+vt 0.065159 0.902914
+vt 0.068082 0.899104
+vt 0.071317 0.868108
+vt 0.071892 0.896181
+vt 0.076328 0.894344
+vt 0.076030 0.870060
+vt 0.081088 0.870726
+vt 0.081088 0.893717
+vt 0.099965 0.856241
+vt 0.100631 0.851183
+vt 0.113276 0.851183
+vt 0.098013 0.860955
+vt 0.097017 0.902914
+vt 0.094094 0.899104
+vt 0.094907 0.865002
+vt 0.090285 0.896181
+vt 0.090860 0.868108
+vt 0.086146 0.870060
+vt 0.085849 0.894344
+vt 0.084980 0.805984
+vt 0.090860 0.834259
+vt 0.076030 0.832307
+vt 0.079074 0.806761
+vt 0.071317 0.834259
+vt 0.077196 0.805984
+vt 0.086592 0.804747
+vt 0.094907 0.837365
+vt 0.088872 0.785465
+vt 0.113276 0.800141
+vt 0.088872 0.799243
+vt 0.084421 0.761535
+vt 0.083103 0.777946
+vt 0.073304 0.785465
+vt 0.073304 0.799243
+vt 0.073570 0.801257
+vt 0.067270 0.837365
+vt 0.075584 0.804747
+vt 0.062211 0.846125
+vt 0.064164 0.841412
+vt 0.074347 0.803135
+vt 0.088607 0.801257
+vt 0.087829 0.803135
+vt 0.099965 0.846125
+vt 0.098013 0.841412
+vt 0.088607 0.783450
+vt 0.113276 0.774620
+vt 0.087526 0.760249
+vt 0.084980 0.778724
+vt 0.068652 0.752431
+vt 0.069938 0.755536
+vt 0.071984 0.758203
+vt 0.075584 0.779961
+vt 0.074347 0.781573
+vt 0.077196 0.778724
+vt 0.074651 0.760249
+vt 0.090192 0.758203
+vt 0.086592 0.779961
+vt 0.092238 0.755536
+vt 0.093525 0.752431
+vt 0.087829 0.781573
+vt 0.073570 0.783450
+vt 0.048905 0.632540
+vt 0.014035 0.350752
+vt 0.013237 0.340382
+vt 0.021352 0.340266
+vt 0.022411 0.349116
+vt 0.021209 0.202406
+vt 0.013132 0.202406
+vt 0.021353 0.064546
+vt 0.013238 0.064430
+vt 0.014036 0.054059
+vt 0.022411 0.055695
+vt 0.017006 0.043829
+vt 0.025021 0.047122
+vt 0.022004 0.034350
+vt 0.029251 0.039167
+vt 0.028800 0.026031
+vt 0.034964 0.032195
+vt 0.037120 0.019232
+vt 0.041937 0.026482
+vt 0.046604 0.014237
+vt 0.049894 0.022253
+vt 0.056833 0.011271
+vt 0.058467 0.019646
+vt 0.067200 0.010474
+vt 0.067316 0.018589
+vt 0.205169 0.018451
+vt 0.205170 0.010375
+vt 0.343016 0.018583
+vt 0.343132 0.010469
+vt 0.353504 0.011257
+vt 0.351870 0.019638
+vt 0.363746 0.014225
+vt 0.360451 0.022247
+vt 0.373234 0.019228
+vt 0.368413 0.026479
+vt 0.381554 0.026029
+vt 0.375387 0.032195
+vt 0.388356 0.034350
+vt 0.381102 0.039170
+vt 0.393356 0.043841
+vt 0.385332 0.047133
+vt 0.396319 0.054081
+vt 0.387939 0.055713
+vt 0.397106 0.064450
+vt 0.388993 0.064565
+vt 0.389119 0.202406
+vt 0.397196 0.202406
+vt 0.388993 0.340248
+vt 0.397105 0.340363
+vt 0.396318 0.350731
+vt 0.387938 0.349099
+vt 0.393355 0.360972
+vt 0.385332 0.357679
+vt 0.388355 0.370462
+vt 0.381102 0.365643
+vt 0.381553 0.378784
+vt 0.375386 0.372618
+vt 0.373233 0.385584
+vt 0.368412 0.378333
+vt 0.363745 0.390587
+vt 0.360450 0.382565
+vt 0.353503 0.393555
+vt 0.351869 0.385174
+vt 0.343131 0.394343
+vt 0.343016 0.386229
+vt 0.205168 0.386361
+vt 0.205169 0.394437
+vt 0.067315 0.386223
+vt 0.067199 0.394337
+vt 0.056832 0.393540
+vt 0.058467 0.385166
+vt 0.046604 0.390575
+vt 0.049894 0.382558
+vt 0.037120 0.385579
+vt 0.041937 0.378330
+vt 0.028800 0.378781
+vt 0.034964 0.372616
+vt 0.022003 0.370461
+vt 0.029250 0.365644
+vt 0.017006 0.360982
+vt 0.025021 0.357689
+vt 0.238458 0.940881
+vt 0.230049 0.940881
+vt 0.230049 0.862356
+vt 0.238458 0.862356
+vt 0.221640 0.940881
+vt 0.221640 0.862356
+vt 0.246293 0.940881
+vt 0.246293 0.862356
+vt 0.213804 0.940881
+vt 0.213804 0.862356
+vt 0.253022 0.940881
+vt 0.253022 0.862356
+vt 0.207075 0.940881
+vt 0.207075 0.862356
+vt 0.259751 0.940881
+vt 0.133120 0.820684
+vt 0.123329 0.823308
+vt 0.259751 0.862356
+vt 0.267586 0.940881
+vt 0.267587 0.862356
+vt 0.275995 0.940881
+vt 0.275996 0.862356
+vt 0.284404 0.940881
+vt 0.284404 0.862356
+vt 0.292240 0.940881
+vt 0.292240 0.862356
+vt 0.298969 0.940881
+vt 0.298969 0.862356
+vt 0.305698 0.940881
+vt 0.133120 0.806824
+vt 0.123329 0.804200
+vt 0.305698 0.862356
+vt 0.313534 0.940881
+vt 0.313533 0.862356
+vt 0.321942 0.940881
+vt 0.321942 0.862356
+vt 0.330351 0.940881
+vt 0.330351 0.862356
+vt 0.338187 0.940881
+vt 0.338187 0.862356
+vt 0.344916 0.940881
+vt 0.344916 0.862356
+vt 0.351645 0.940881
+vt 0.140556 0.803114
+vt 0.143937 0.828801
+vt 0.351645 0.862356
+vt 0.359481 0.940881
+vt 0.359481 0.862356
+vt 0.367889 0.940881
+vt 0.367889 0.862356
+vt 0.376298 0.940881
+vt 0.376298 0.862356
+vt 0.384134 0.940881
+vt 0.384134 0.862356
+vt 0.390863 0.940881
+vt 0.390863 0.862356
+vt 0.155280 0.883703
+vt 0.159844 0.883103
+vt 0.159844 0.900736
+vt 0.164408 0.883703
+vt 0.151027 0.885465
+vt 0.168661 0.885465
+vt 0.147375 0.888267
+vt 0.172312 0.888267
+vt 0.144573 0.891919
+vt 0.175115 0.891919
+vt 0.142811 0.896172
+vt 0.176876 0.896172
+vt 0.142211 0.900736
+vt 0.177477 0.900736
+vt 0.142811 0.905300
+vt 0.176876 0.905300
+vt 0.144573 0.909552
+vt 0.175115 0.909552
+vt 0.147375 0.913204
+vt 0.172312 0.913204
+vt 0.151027 0.916007
+vt 0.168661 0.916007
+vt 0.155280 0.917768
+vt 0.164408 0.917768
+vt 0.159844 0.918369
+vt 0.195166 0.891375
+vt 0.196422 0.900917
+vt 0.186298 0.900917
+vt 0.185387 0.893995
+vt 0.195166 0.910458
+vt 0.185387 0.907838
+vt 0.180808 0.900917
+vt 0.180084 0.895416
+vt 0.191482 0.882484
+vt 0.182716 0.887546
+vt 0.191482 0.919349
+vt 0.182716 0.914288
+vt 0.180084 0.906417
+vt 0.177961 0.890291
+vt 0.185624 0.874849
+vt 0.178466 0.882007
+vt 0.185624 0.926984
+vt 0.178466 0.919826
+vt 0.177961 0.911542
+vt 0.174584 0.885889
+vt 0.177989 0.868990
+vt 0.172928 0.877757
+vt 0.177989 0.932843
+vt 0.172928 0.924076
+vt 0.174584 0.915944
+vt 0.170182 0.882512
+vt 0.169098 0.865308
+vt 0.166478 0.875086
+vt 0.169098 0.936526
+vt 0.166478 0.926747
+vt 0.170182 0.919321
+vt 0.165057 0.880389
+vt 0.159557 0.864052
+vt 0.159557 0.874175
+vt 0.159557 0.937782
+vt 0.159557 0.927659
+vt 0.165057 0.921444
+vt 0.159557 0.879665
+vt 0.150015 0.865308
+vt 0.152635 0.875086
+vt 0.150015 0.936526
+vt 0.152635 0.926747
+vt 0.159557 0.922168
+vt 0.154056 0.880389
+vt 0.141124 0.868990
+vt 0.146185 0.877757
+vt 0.141124 0.932843
+vt 0.146185 0.924076
+vt 0.154056 0.921444
+vt 0.148931 0.882512
+vt 0.133489 0.874849
+vt 0.140647 0.882007
+vt 0.133489 0.926984
+vt 0.140647 0.919826
+vt 0.148931 0.919321
+vt 0.144529 0.885889
+vt 0.127630 0.882484
+vt 0.136397 0.887546
+vt 0.127630 0.919349
+vt 0.136397 0.914288
+vt 0.144529 0.915944
+vt 0.141152 0.890291
+vt 0.123948 0.891375
+vt 0.133726 0.893995
+vt 0.123948 0.910458
+vt 0.133726 0.907838
+vt 0.141152 0.911542
+vt 0.139029 0.895416
+vt 0.122692 0.900917
+vt 0.132815 0.900917
+vt 0.139029 0.906417
+vt 0.138305 0.900917
+vt 0.313332 0.775627
+vt 0.321752 0.775627
+vt 0.321752 0.853875
+vt 0.313332 0.853875
+vt 0.330172 0.775627
+vt 0.330172 0.853875
+vt 0.305486 0.775627
+vt 0.305486 0.853875
+vt 0.338018 0.775627
+vt 0.338018 0.853875
+vt 0.298749 0.775627
+vt 0.298749 0.853875
+vt 0.344755 0.775627
+vt 0.344755 0.853875
+vt 0.292011 0.775627
+vt 0.132208 0.813754
+vt 0.122071 0.813754
+vt 0.292011 0.853875
+vt 0.284165 0.775627
+vt 0.284165 0.853875
+vt 0.275746 0.775627
+vt 0.275746 0.853875
+vt 0.267326 0.775627
+vt 0.267326 0.853875
+vt 0.259480 0.775627
+vt 0.259480 0.853875
+vt 0.252742 0.775627
+vt 0.252742 0.853875
+vt 0.246005 0.775627
+vt 0.137705 0.813754
+vt 0.138430 0.819261
+vt 0.246005 0.853875
+vt 0.238159 0.775627
+vt 0.238159 0.853875
+vt 0.229739 0.775627
+vt 0.229739 0.853875
+vt 0.221319 0.775627
+vt 0.221319 0.853875
+vt 0.213473 0.775627
+vt 0.213473 0.853875
+vt 0.206736 0.775627
+vt 0.206736 0.853875
+vt 0.384024 0.775627
+vt 0.390762 0.775627
+vt 0.390761 0.853875
+vt 0.384024 0.853875
+vt 0.376178 0.775627
+vt 0.376178 0.853875
+vt 0.367758 0.775627
+vt 0.367758 0.853875
+vt 0.359339 0.775627
+vt 0.359339 0.853875
+vt 0.351493 0.775627
+vt 0.351493 0.853875
+vt 0.138430 0.808246
+vt 0.140556 0.824394
+vt 0.154397 0.796975
+vt 0.158923 0.796379
+vt 0.158923 0.813868
+vt 0.163450 0.796975
+vt 0.150179 0.798722
+vt 0.167667 0.798722
+vt 0.146557 0.801502
+vt 0.171290 0.801502
+vt 0.143777 0.805124
+vt 0.174069 0.805124
+vt 0.142030 0.809342
+vt 0.175816 0.809342
+vt 0.141434 0.813868
+vt 0.176412 0.813868
+vt 0.142030 0.818395
+vt 0.175816 0.818395
+vt 0.143777 0.822613
+vt 0.174069 0.822613
+vt 0.146557 0.826235
+vt 0.171290 0.826235
+vt 0.150179 0.829014
+vt 0.167667 0.829014
+vt 0.154397 0.830761
+vt 0.163450 0.830761
+vt 0.158923 0.831357
+vt 0.194639 0.804200
+vt 0.195897 0.813754
+vt 0.185760 0.813754
+vt 0.184848 0.806824
+vt 0.194639 0.823308
+vt 0.184848 0.820684
+vt 0.180263 0.813754
+vt 0.179538 0.808246
+vt 0.190952 0.795298
+vt 0.182173 0.800366
+vt 0.190952 0.832210
+vt 0.182173 0.827142
+vt 0.179538 0.819261
+vt 0.177412 0.803114
+vt 0.185085 0.787653
+vt 0.177918 0.794820
+vt 0.185085 0.839855
+vt 0.177918 0.832688
+vt 0.177412 0.824394
+vt 0.174031 0.798707
+vt 0.177441 0.781787
+vt 0.172372 0.790565
+vt 0.177441 0.845721
+vt 0.172372 0.836943
+vt 0.174031 0.828801
+vt 0.169623 0.795326
+vt 0.168538 0.778099
+vt 0.165914 0.787890
+vt 0.168538 0.849409
+vt 0.165914 0.839618
+vt 0.169623 0.832182
+vt 0.164492 0.793200
+vt 0.158984 0.776841
+vt 0.158984 0.786977
+vt 0.158984 0.850667
+vt 0.158984 0.840531
+vt 0.164492 0.834308
+vt 0.158984 0.792475
+vt 0.149430 0.778099
+vt 0.152054 0.787890
+vt 0.149430 0.849409
+vt 0.152054 0.839618
+vt 0.158984 0.835033
+vt 0.153477 0.793200
+vt 0.140528 0.781787
+vt 0.145596 0.790565
+vt 0.140528 0.845721
+vt 0.145596 0.836943
+vt 0.153477 0.834308
+vt 0.148345 0.795326
+vt 0.132883 0.787653
+vt 0.140050 0.794820
+vt 0.132883 0.839855
+vt 0.140050 0.832688
+vt 0.148345 0.832182
+vt 0.143937 0.798707
+vt 0.127016 0.795298
+vt 0.135795 0.800366
+vt 0.127016 0.832210
+vt 0.135795 0.827142
+vt 0.870441 0.303398
+vt 0.870441 0.307809
+vt 0.833863 0.307809
+vt 0.833863 0.303398
+vt 0.870441 0.311597
+vt 0.833863 0.311597
+vt 0.870441 0.298665
+vt 0.833863 0.298665
+vt 0.870441 0.293931
+vt 0.833863 0.293931
+vt 0.870441 0.289520
+vt 0.833863 0.289520
+vt 0.870441 0.285732
+vt 0.833863 0.285732
+vt 0.810840 0.378743
+vt 0.870441 0.315385
+vt 0.833863 0.315385
+vt 0.815574 0.379366
+vt 0.870441 0.319796
+vt 0.833863 0.319796
+vt 0.870441 0.324529
+vt 0.833863 0.324529
+vt 0.870441 0.361077
+vt 0.833863 0.361077
+vt 0.870441 0.365810
+vt 0.833863 0.365810
+vt 0.870441 0.370221
+vt 0.833863 0.370221
+vt 0.870441 0.374009
+vt 0.833863 0.374009
+vt 0.760707 0.399874
+vt 0.760707 0.396086
+vt 0.797285 0.396086
+vt 0.797285 0.399874
+vt 0.760706 0.391675
+vt 0.797285 0.391675
+vt 0.760706 0.386942
+vt 0.797285 0.386941
+vt 0.760706 0.382208
+vt 0.797285 0.382208
+vt 0.760706 0.377797
+vt 0.797285 0.377797
+vt 0.760706 0.374009
+vt 0.797285 0.374009
+vt 0.797908 0.365810
+vt 0.760706 0.370221
+vt 0.797285 0.370221
+vt 0.831413 0.370221
+vt 0.760706 0.365811
+vt 0.797285 0.365810
+vt 0.760706 0.361077
+vt 0.797285 0.361077
+vt 0.760706 0.324529
+vt 0.797285 0.324529
+vt 0.760706 0.319796
+vt 0.797285 0.319796
+vt 0.760706 0.315385
+vt 0.797285 0.315385
+vt 0.760706 0.311597
+vt 0.797285 0.311597
+vt 0.879585 0.308690
+vt 0.883996 0.306863
+vt 0.888730 0.324529
+vt 0.888730 0.306240
+vt 0.875798 0.311597
+vt 0.893464 0.306863
+vt 0.872891 0.315385
+vt 0.897874 0.308690
+vt 0.871064 0.319796
+vt 0.901662 0.311597
+vt 0.802641 0.374009
+vt 0.904569 0.315385
+vt 0.888730 0.361077
+vt 0.824718 0.376916
+vt 0.906396 0.319796
+vt 0.907019 0.324529
+vt 0.907019 0.361076
+vt 0.871064 0.365810
+vt 0.906396 0.365810
+vt 0.872891 0.370221
+vt 0.904569 0.370221
+vt 0.875798 0.374009
+vt 0.901663 0.374009
+vt 0.879586 0.376916
+vt 0.897875 0.376915
+vt 0.883997 0.378743
+vt 0.893464 0.378743
+vt 0.888730 0.379366
+vt 0.820307 0.306863
+vt 0.824718 0.308691
+vt 0.815574 0.324529
+vt 0.828506 0.311597
+vt 0.815574 0.306240
+vt 0.831413 0.315385
+vt 0.810840 0.306863
+vt 0.833240 0.319796
+vt 0.806429 0.308691
+vt 0.806429 0.376916
+vt 0.802641 0.311597
+vt 0.820307 0.378743
+vt 0.815574 0.361077
+vt 0.799735 0.315385
+vt 0.833240 0.365810
+vt 0.799735 0.370221
+vt 0.828506 0.374009
+vt 0.797908 0.319796
+vt 0.963035 0.041265
+vt 0.897177 0.127471
+vt 0.892730 0.124066
+vt 0.946800 0.030372
+vt 0.955449 0.035028
+vt 0.802866 0.030125
+vt 0.871246 0.124059
+vt 0.866796 0.127464
+vt 0.786560 0.041015
+vt 0.794180 0.034772
+vt 0.771706 0.208756
+vt 0.861224 0.148189
+vt 0.863376 0.153367
+vt 0.775616 0.227994
+vt 0.772715 0.218575
+vt 0.977802 0.208632
+vt 0.976799 0.218418
+vt 0.973913 0.227804
+vt 0.900593 0.153361
+vt 0.902748 0.148186
+vt 0.767561 0.050263
+vt 0.772373 0.041209
+vt 0.780297 0.048618
+vt 0.775626 0.057291
+vt 0.764621 0.060053
+vt 0.772723 0.066710
+vt 0.763499 0.070214
+vt 0.771713 0.076530
+vt 0.771441 0.142628
+vt 0.763146 0.142628
+vt 0.764613 0.225231
+vt 0.763493 0.215071
+vt 0.767551 0.235020
+vt 0.772361 0.244074
+vt 0.780286 0.236668
+vt 0.778865 0.251992
+vt 0.786547 0.244272
+vt 0.786800 0.258456
+vt 0.794166 0.250516
+vt 0.795847 0.263230
+vt 0.802851 0.255165
+vt 0.805628 0.266151
+vt 0.812274 0.258046
+vt 0.815778 0.267258
+vt 0.822091 0.259039
+vt 0.882065 0.259164
+vt 0.882082 0.267471
+vt 0.944074 0.265867
+vt 0.933964 0.267024
+vt 0.927611 0.258860
+vt 0.937406 0.257834
+vt 0.953803 0.262924
+vt 0.946795 0.254931
+vt 0.962798 0.258146
+vt 0.955444 0.250274
+vt 0.970698 0.251705
+vt 0.963031 0.244038
+vt 0.977166 0.243808
+vt 0.969267 0.236451
+vt 0.981933 0.234787
+vt 0.984848 0.225050
+vt 0.985983 0.214942
+vt 0.977808 0.076673
+vt 0.985989 0.070363
+vt 0.986409 0.142639
+vt 0.978123 0.142639
+vt 0.984855 0.060253
+vt 0.976804 0.066886
+vt 0.981939 0.050514
+vt 0.973917 0.057499
+vt 0.977171 0.041493
+vt 0.969270 0.048851
+vt 0.970703 0.033596
+vt 0.962801 0.027155
+vt 0.953807 0.022378
+vt 0.944077 0.019436
+vt 0.937411 0.027469
+vt 0.933968 0.018279
+vt 0.927616 0.026443
+vt 0.822105 0.026254
+vt 0.815795 0.018034
+vt 0.882092 0.017832
+vt 0.882074 0.026138
+vt 0.805645 0.019139
+vt 0.812288 0.027245
+vt 0.795864 0.022058
+vt 0.786816 0.026829
+vt 0.778879 0.033292
+vt 0.803062 0.008535
+vt 0.814873 0.007454
+vt 0.815161 0.016883
+vt 0.805009 0.018117
+vt 0.882096 0.016665
+vt 0.882117 0.007286
+vt 0.934610 0.017135
+vt 0.935012 0.007699
+vt 0.946724 0.008903
+vt 0.944717 0.018423
+vt 0.958258 0.012329
+vt 0.954485 0.021436
+vt 0.969045 0.017993
+vt 0.963542 0.026279
+vt 0.978556 0.025727
+vt 0.971509 0.032788
+vt 0.986337 0.035249
+vt 0.978049 0.040753
+vt 0.992025 0.046079
+vt 0.982884 0.049837
+vt 0.995425 0.057667
+vt 0.985870 0.059619
+vt 0.996537 0.069426
+vt 0.987136 0.069728
+vt 0.987572 0.142639
+vt 0.996925 0.142640
+vt 0.987130 0.215577
+vt 0.996531 0.215878
+vt 0.995417 0.227636
+vt 0.985864 0.225684
+vt 0.992017 0.239221
+vt 0.982878 0.235465
+vt 0.986331 0.250050
+vt 0.978044 0.244548
+vt 0.978552 0.259573
+vt 0.971505 0.252513
+vt 0.969042 0.267308
+vt 0.963539 0.259022
+vt 0.958256 0.272973
+vt 0.954483 0.263866
+vt 0.946722 0.276401
+vt 0.944713 0.266880
+vt 0.935007 0.277608
+vt 0.934607 0.268169
+vt 0.882085 0.268638
+vt 0.882106 0.278017
+vt 0.815144 0.268410
+vt 0.814855 0.277840
+vt 0.803042 0.276755
+vt 0.804992 0.267173
+vt 0.791400 0.273355
+vt 0.795167 0.264180
+vt 0.780550 0.267658
+vt 0.786060 0.259337
+vt 0.770998 0.259900
+vt 0.778056 0.252804
+vt 0.763165 0.250371
+vt 0.771481 0.244820
+vt 0.757412 0.239499
+vt 0.766601 0.235703
+vt 0.753991 0.227820
+vt 0.763591 0.225868
+vt 0.752912 0.216000
+vt 0.762342 0.215706
+vt 0.761981 0.142628
+vt 0.752618 0.142628
+vt 0.762348 0.069579
+vt 0.752919 0.069283
+vt 0.753998 0.057461
+vt 0.763598 0.059415
+vt 0.757422 0.045781
+vt 0.766611 0.049580
+vt 0.763178 0.034909
+vt 0.771494 0.040463
+vt 0.771014 0.025381
+vt 0.778071 0.032479
+vt 0.780568 0.017625
+vt 0.786076 0.025948
+vt 0.791420 0.011931
+vt 0.795184 0.021108
+vt 0.900595 0.131909
+vt 0.871247 0.161213
+vt 0.876433 0.163353
+vt 0.892731 0.161202
+vt 0.887553 0.163345
+vt 0.863376 0.131901
+vt 0.861225 0.137077
+vt 0.902749 0.137084
+vt 0.903482 0.142633
+vt 0.887552 0.121923
+vt 0.881992 0.121190
+vt 0.876431 0.121919
+vt 0.860490 0.142631
+vt 0.866795 0.157808
+vt 0.881995 0.164080
+vt 0.897176 0.157798
+vn 0.965926 -0.258819 0.000000
+vn 1.000000 0.000000 0.000000
+vn 1.000000 0.000000 0.000000
+vn 0.965926 -0.258819 0.000000
+vn 0.866025 -0.500000 0.000000
+vn 0.866025 -0.500000 0.000000
+vn 0.707107 -0.707107 0.000000
+vn 0.707107 -0.707107 0.000000
+vn 0.500000 -0.866025 0.000000
+vn 0.500000 -0.866025 0.000000
+vn 0.258819 -0.965926 -0.000000
+vn 0.258819 -0.965926 -0.000000
+vn -0.000000 -1.000000 -0.000000
+vn -0.000000 -1.000000 -0.000000
+vn -0.258819 -0.965926 0.000000
+vn -0.258819 -0.965926 0.000000
+vn -0.500000 -0.866025 0.000000
+vn -0.500000 -0.866025 0.000000
+vn -0.707107 -0.707107 0.000000
+vn -0.707107 -0.707107 0.000000
+vn -0.866025 -0.500000 0.000000
+vn -0.866025 -0.500000 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn -0.965926 0.258819 0.000000
+vn -0.965926 0.258819 0.000000
+vn -0.866025 0.500000 0.000000
+vn -0.866025 0.500000 0.000000
+vn -0.707107 0.707107 0.000000
+vn -0.707107 0.707107 0.000000
+vn -0.500000 0.866025 0.000000
+vn -0.500000 0.866025 0.000000
+vn -0.258819 0.965926 0.000000
+vn -0.258819 0.965926 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.258819 0.965926 0.000000
+vn 0.258819 0.965926 0.000000
+vn 0.500000 0.866025 0.000000
+vn 0.500000 0.866025 0.000000
+vn 0.707107 0.707107 0.000000
+vn 0.707107 0.707107 0.000000
+vn 0.866025 0.500000 0.000000
+vn 0.866025 0.500000 0.000000
+vn 0.965926 0.258820 0.000000
+vn 0.965926 0.258820 0.000000
+vn 0.538538 -0.144301 0.830153
+vn 0.557536 0.000000 0.830153
+vn -0.000000 -0.000000 1.000000
+vn 0.482840 -0.278768 0.830153
+vn 0.394238 -0.394238 0.830153
+vn 0.278767 -0.482841 0.830153
+vn 0.144300 -0.538539 0.830153
+vn 0.000003 -0.557536 0.830153
+vn -0.144298 -0.538539 0.830153
+vn -0.278767 -0.482841 0.830153
+vn -0.394238 -0.394237 0.830153
+vn -0.482841 -0.278768 0.830152
+vn -0.538538 -0.144301 0.830153
+vn -0.557536 0.000000 0.830153
+vn -0.538539 0.144301 0.830153
+vn -0.482840 0.278768 0.830153
+vn -0.394237 0.394238 0.830153
+vn -0.278766 0.482841 0.830153
+vn -0.144303 0.538538 0.830152
+vn 0.000000 0.557536 0.830153
+vn 0.144303 0.538538 0.830152
+vn 0.278766 0.482841 0.830153
+vn 0.394235 0.394238 0.830154
+vn 0.482839 0.278768 0.830153
+vn 0.538539 0.144301 0.830152
+vn -0.000001 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000003 0.000000 1.000000
+vn 0.000003 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000003 0.000000 1.000000
+vn -0.000003 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000003 0.000000 1.000000
+vn 0.000003 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn -0.489278 -0.489277 0.721953
+vn -0.345973 -0.599239 0.721953
+vn -0.345973 -0.599239 0.721953
+vn -0.489278 -0.489276 0.721953
+vn -0.599240 -0.345971 0.721953
+vn -0.599240 -0.345971 0.721952
+vn -0.668365 -0.179088 0.721953
+vn -0.668365 -0.179087 0.721953
+vn -0.691942 0.000000 0.721953
+vn -0.691942 0.000000 0.721953
+vn -0.668366 0.179087 0.721952
+vn -0.668366 0.179087 0.721952
+vn -0.599240 0.345971 0.721952
+vn -0.599240 0.345971 0.721952
+vn -0.489277 0.489277 0.721953
+vn -0.489277 0.489277 0.721953
+vn -0.345970 0.599240 0.721953
+vn -0.345971 0.599240 0.721953
+vn -0.179087 0.668365 0.721953
+vn -0.179087 0.668365 0.721953
+vn 0.000001 0.691942 0.721953
+vn 0.000001 0.691942 0.721953
+vn 0.179089 0.668365 0.721953
+vn 0.179089 0.668365 0.721953
+vn 0.345974 0.599239 0.721952
+vn 0.345974 0.599239 0.721952
+vn 0.489279 0.489276 0.721952
+vn 0.489279 0.489276 0.721952
+vn 0.599240 0.345971 0.721953
+vn 0.599240 0.345971 0.721953
+vn 0.668365 0.179088 0.721953
+vn 0.668365 0.179088 0.721953
+vn 0.691942 0.000000 0.721953
+vn 0.691942 0.000000 0.721953
+vn 0.668365 -0.179088 0.721953
+vn 0.668365 -0.179088 0.721953
+vn 0.599240 -0.345971 0.721953
+vn 0.599240 -0.345971 0.721953
+vn 0.489277 -0.489277 0.721953
+vn 0.489277 -0.489277 0.721953
+vn 0.345972 -0.599239 0.721953
+vn 0.345972 -0.599239 0.721953
+vn 0.179089 -0.668364 0.721953
+vn 0.179089 -0.668364 0.721953
+vn 0.000001 -0.691942 0.721953
+vn 0.000001 -0.691942 0.721953
+vn -0.179088 -0.668365 0.721953
+vn -0.179088 -0.668365 0.721953
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.707111 0.707102 0.000000
+vn -0.707111 0.707102 0.000000
+vn -0.707111 0.707102 0.000000
+vn -0.707111 0.707102 0.000000
+vn 0.000000 1.000000 -0.000000
+vn 0.000000 1.000000 -0.000000
+vn 0.000000 1.000000 -0.000000
+vn 0.000000 1.000000 -0.000000
+vn 0.000000 1.000000 -0.000000
+vn 0.000000 1.000000 -0.000000
+vn 0.707112 0.707101 0.000000
+vn 0.707112 0.707101 0.000000
+vn 0.707112 0.707101 0.000000
+vn 0.707112 0.707101 0.000000
+vn 1.000000 0.000000 0.000000
+vn 1.000000 0.000000 0.000000
+vn 0.991413 -0.130772 0.000000
+vn 0.991413 -0.130772 0.000000
+vn 0.925809 -0.377991 0.000000
+vn 0.775848 -0.630920 0.000000
+vn 0.775848 -0.630920 0.000000
+vn 0.714240 -0.699901 0.000000
+vn 0.644948 -0.764227 0.000000
+vn 0.644948 -0.764227 0.000000
+vn 0.042730 -0.999087 0.000000
+vn 0.042730 -0.999087 0.000000
+vn -0.042730 -0.999087 0.000000
+vn -0.042730 -0.999087 0.000000
+vn -0.644948 -0.764226 0.000000
+vn -0.644948 -0.764226 0.000000
+vn -0.714240 -0.699901 0.000001
+vn -0.775847 -0.630921 0.000000
+vn -0.775847 -0.630921 0.000000
+vn -0.925808 -0.377994 0.000000
+vn -0.991412 -0.130773 0.000000
+vn -0.991412 -0.130773 0.000000
+vn -1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn 0.697276 0.166168 0.697276
+vn 0.668093 0.327575 0.668092
+vn 0.527071 0.350197 0.774311
+vn 0.544768 0.177193 0.819653
+vn 0.819653 0.177193 0.544768
+vn 0.774312 0.350196 0.527070
+vn 0.697277 0.697275 0.166170
+vn 0.668093 0.668093 0.327573
+vn 0.774313 0.527070 0.350196
+vn 0.819653 0.544767 0.177195
+vn 0.544766 0.819653 0.177195
+vn 0.527069 0.774313 0.350195
+vn 0.166169 0.697275 0.697277
+vn 0.327574 0.668092 0.668093
+vn 0.350195 0.774313 0.527070
+vn 0.177193 0.819653 0.544767
+vn 0.177193 0.544769 0.819652
+vn 0.350195 0.527071 0.774312
+vn 0.367148 0.367149 0.854636
+vn 0.503810 0.503812 0.701676
+vn 0.623626 0.471361 0.623626
+vn 0.701675 0.503812 0.503811
+vn 0.854637 0.367149 0.367148
+vn 0.623626 0.623626 0.471361
+vn 0.503812 0.701675 0.503812
+vn 0.367148 0.854637 0.367148
+vn 0.471360 0.623625 0.623628
+vn 0.577350 0.577350 0.577351
+vn -0.697276 0.166168 0.697277
+vn -0.668092 0.327574 0.668092
+vn -0.774313 0.350195 0.527070
+vn -0.819653 0.177193 0.544768
+vn -0.544768 0.177192 0.819653
+vn -0.527070 0.350197 0.774312
+vn -0.166168 0.697276 0.697277
+vn -0.327574 0.668093 0.668092
+vn -0.350197 0.527071 0.774311
+vn -0.177194 0.544768 0.819652
+vn -0.177193 0.819653 0.544767
+vn -0.350196 0.774313 0.527070
+vn -0.697276 0.697276 0.166169
+vn -0.668093 0.668093 0.327572
+vn -0.527070 0.774314 0.350194
+vn -0.544767 0.819653 0.177194
+vn -0.819653 0.544767 0.177195
+vn -0.774313 0.527070 0.350195
+vn -0.854638 0.367147 0.367148
+vn -0.701675 0.503812 0.503811
+vn -0.623625 0.471361 0.623627
+vn -0.503811 0.503812 0.701675
+vn -0.367149 0.367149 0.854636
+vn -0.471361 0.623626 0.623626
+vn -0.503812 0.701675 0.503811
+vn -0.367148 0.854637 0.367147
+vn -0.623626 0.623626 0.471362
+vn -0.577350 0.577350 0.577350
+vn 0.697276 -0.697276 0.166170
+vn 0.668093 -0.668093 0.327573
+vn 0.527070 -0.774312 0.350196
+vn 0.544767 -0.819653 0.177195
+vn 0.819653 -0.544767 0.177194
+vn 0.774312 -0.527070 0.350196
+vn 0.697276 -0.166168 0.697276
+vn 0.668093 -0.327575 0.668092
+vn 0.774312 -0.350196 0.527070
+vn 0.819652 -0.177193 0.544768
+vn 0.544768 -0.177193 0.819653
+vn 0.527071 -0.350196 0.774312
+vn 0.166169 -0.697276 0.697276
+vn 0.327574 -0.668093 0.668092
+vn 0.350196 -0.527072 0.774311
+vn 0.177193 -0.544769 0.819652
+vn 0.177193 -0.819652 0.544768
+vn 0.350196 -0.774312 0.527071
+vn 0.367149 -0.854637 0.367149
+vn 0.503812 -0.701675 0.503811
+vn 0.623626 -0.623626 0.471361
+vn 0.701675 -0.503812 0.503811
+vn 0.854637 -0.367149 0.367148
+vn 0.623625 -0.471361 0.623626
+vn 0.503811 -0.503812 0.701675
+vn 0.367149 -0.367149 0.854636
+vn 0.471360 -0.623626 0.623626
+vn 0.577350 -0.577351 0.577351
+vn -0.697276 -0.697276 0.166170
+vn -0.668093 -0.668093 0.327573
+vn -0.774313 -0.527070 0.350196
+vn -0.819653 -0.544767 0.177195
+vn -0.544767 -0.819653 0.177195
+vn -0.527070 -0.774313 0.350196
+vn -0.166169 -0.697276 0.697276
+vn -0.327574 -0.668092 0.668093
+vn -0.350196 -0.774312 0.527071
+vn -0.177193 -0.819652 0.544769
+vn -0.177193 -0.544768 0.819652
+vn -0.350197 -0.527071 0.774312
+vn -0.697276 -0.166168 0.697277
+vn -0.668092 -0.327574 0.668093
+vn -0.527071 -0.350196 0.774312
+vn -0.544768 -0.177193 0.819653
+vn -0.819653 -0.177193 0.544767
+vn -0.774313 -0.350195 0.527070
+vn -0.854637 -0.367148 0.367148
+vn -0.701675 -0.503812 0.503811
+vn -0.623625 -0.623626 0.471362
+vn -0.503812 -0.701674 0.503812
+vn -0.367149 -0.854637 0.367148
+vn -0.471360 -0.623625 0.623627
+vn -0.503811 -0.503812 0.701675
+vn -0.367149 -0.367149 0.854636
+vn -0.623625 -0.471361 0.623626
+vn -0.577350 -0.577350 0.577351
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.707106 -0.707108 0.000000
+vn -0.707106 -0.707108 0.000000
+vn -0.866025 -0.500001 0.000000
+vn -0.866025 -0.500001 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn -0.965926 0.258819 0.000000
+vn -0.965926 0.258819 0.000000
+vn -0.866026 0.499999 0.000000
+vn -0.866026 0.499999 0.000000
+vn -0.707106 0.707108 0.000000
+vn -0.707106 0.707108 0.000000
+vn -0.499999 0.866026 0.000000
+vn -0.499999 0.866026 0.000000
+vn -0.258820 0.965926 0.000000
+vn -0.258820 0.965926 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.258819 0.965926 0.000000
+vn 0.258819 0.965926 0.000000
+vn 0.500000 0.866025 0.000000
+vn 0.500000 0.866025 0.000000
+vn 0.707106 0.707107 0.000000
+vn 0.707106 0.707107 0.000000
+vn 0.866025 0.500001 0.000000
+vn 0.866025 0.500001 0.000000
+vn 0.965926 0.258819 0.000000
+vn 0.965926 0.258819 0.000000
+vn 1.000000 0.000000 0.000000
+vn 1.000000 0.000000 0.000000
+vn 0.965926 -0.258819 0.000000
+vn 0.965926 -0.258819 0.000000
+vn 0.866024 -0.500002 0.000000
+vn 0.866024 -0.500002 0.000000
+vn 0.707106 -0.707107 0.000000
+vn 0.707106 -0.707107 0.000000
+vn 0.500001 -0.866025 0.000000
+vn 0.500001 -0.866025 0.000000
+vn 0.258819 -0.965926 0.000000
+vn 0.258819 -0.965926 0.000000
+vn 0.000001 -1.000000 0.000000
+vn 0.000001 -1.000000 0.000000
+vn -0.258819 -0.965926 0.000000
+vn -0.258819 -0.965926 0.000000
+vn -0.500000 -0.866025 0.000000
+vn -0.500000 -0.866025 0.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.866026 -0.500000 0.000000
+vn 0.866026 -0.500000 0.000000
+vn 0.707107 -0.707106 0.000000
+vn 0.707107 -0.707106 0.000000
+vn 0.500000 -0.866025 0.000000
+vn 0.500000 -0.866025 0.000000
+vn 0.258819 -0.965926 0.000000
+vn 0.258819 -0.965926 0.000000
+vn 0.000001 -1.000000 0.000000
+vn 0.000001 -1.000000 0.000000
+vn -0.258818 -0.965926 0.000000
+vn -0.258818 -0.965926 0.000000
+vn -0.500000 -0.866026 0.000000
+vn -0.500000 -0.866026 0.000000
+vn -0.707106 -0.707107 0.000000
+vn -0.707106 -0.707107 0.000000
+vn -0.866025 -0.500000 0.000000
+vn -0.866025 -0.500000 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn -0.965926 0.258819 0.000000
+vn -0.965926 0.258819 0.000000
+vn -0.866025 0.500000 0.000000
+vn -0.866025 0.500000 0.000000
+vn -0.707107 0.707106 0.000000
+vn -0.707107 0.707106 0.000000
+vn -0.500000 0.866025 0.000000
+vn -0.500000 0.866025 0.000000
+vn -0.258819 0.965926 0.000000
+vn -0.258819 0.965926 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.258819 0.965926 0.000000
+vn 0.258819 0.965926 0.000000
+vn 0.500000 0.866026 0.000000
+vn 0.500000 0.866026 0.000000
+vn 0.707107 0.707107 0.000000
+vn 0.707107 0.707107 0.000000
+vn 0.866026 0.499999 0.000000
+vn 0.866026 0.499999 0.000000
+vn 0.965926 0.258819 0.000000
+vn 0.965926 0.258819 0.000000
+vn 1.000000 -0.000001 0.000000
+vn 1.000000 -0.000001 0.000000
+vn 0.965926 -0.258820 0.000000
+vn 0.965926 -0.258820 0.000000
+vn -0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.258817 -0.965926 0.000000
+vn -0.258817 -0.965926 0.000000
+vn -0.500000 -0.866025 0.000000
+vn -0.500000 -0.866025 0.000000
+vn -0.707105 -0.707108 0.000000
+vn -0.707105 -0.707108 0.000000
+vn -0.866024 -0.500003 0.000000
+vn -0.866024 -0.500003 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn -0.965926 0.258819 0.000000
+vn -0.965926 0.258819 0.000000
+vn -0.866024 0.500003 0.000000
+vn -0.866024 0.500003 0.000000
+vn -0.707106 0.707107 0.000000
+vn -0.707106 0.707107 0.000000
+vn -0.500001 0.866025 0.000000
+vn -0.500001 0.866025 0.000000
+vn -0.258822 0.965925 0.000000
+vn -0.258822 0.965925 0.000000
+vn -0.130531 0.991444 0.000000
+vn -0.130531 0.991444 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.130530 0.991444 0.000000
+vn 0.130530 0.991444 0.000000
+vn 0.258821 0.965925 0.000000
+vn 0.258821 0.965925 0.000000
+vn 0.500003 0.866024 0.000000
+vn 0.500003 0.866024 0.000000
+vn 0.707106 0.707107 0.000000
+vn 0.707106 0.707107 0.000000
+vn 0.866024 0.500002 0.000000
+vn 0.866024 0.500002 0.000000
+vn 0.965925 0.258821 0.000000
+vn 0.965925 0.258821 0.000000
+vn 1.000000 0.000000 0.000000
+vn 1.000000 0.000000 0.000000
+vn 0.965925 -0.258821 0.000000
+vn 0.965925 -0.258821 0.000000
+vn 0.866024 -0.500002 0.000000
+vn 0.866024 -0.500002 0.000000
+vn 0.707106 -0.707107 0.000000
+vn 0.707106 -0.707107 0.000000
+vn 0.500003 -0.866024 0.000000
+vn 0.500003 -0.866024 0.000000
+vn 0.258816 -0.965927 0.000000
+vn 0.258816 -0.965927 0.000000
+vn 0.130519 -0.991446 0.000000
+vn 0.130519 -0.991446 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn -0.130521 -0.991445 0.000000
+vn -0.130521 -0.991445 0.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.130529 0.991445 0.000000
+vn 0.130529 0.991445 0.000000
+vn 0.258819 0.965926 0.000000
+vn 0.258819 0.965926 0.000000
+vn 0.499999 0.866026 0.000000
+vn 0.499999 0.866026 0.000000
+vn 0.707106 0.707107 0.000000
+vn 0.707106 0.707107 0.000000
+vn 0.866026 0.500000 0.000000
+vn 0.866026 0.500000 0.000000
+vn 0.965926 0.258818 -0.000000
+vn 0.965926 0.258818 -0.000000
+vn 1.000000 -0.000001 -0.000000
+vn 1.000000 -0.000001 -0.000000
+vn 0.965926 -0.258820 -0.000000
+vn 0.965926 -0.258820 -0.000000
+vn 0.866025 -0.500000 0.000000
+vn 0.866025 -0.500000 0.000000
+vn 0.707107 -0.707107 0.000000
+vn 0.707107 -0.707107 0.000000
+vn 0.500000 -0.866025 0.000000
+vn 0.500000 -0.866025 0.000000
+vn 0.258820 -0.965926 0.000000
+vn 0.258820 -0.965926 0.000000
+vn 0.130528 -0.991445 0.000000
+vn 0.130528 -0.991445 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn -0.130527 -0.991445 0.000000
+vn -0.130527 -0.991445 0.000000
+vn -0.258819 -0.965926 0.000000
+vn -0.258819 -0.965926 0.000000
+vn -0.500000 -0.866025 0.000000
+vn -0.500000 -0.866025 0.000000
+vn -0.707107 -0.707106 0.000000
+vn -0.707107 -0.707106 0.000000
+vn -0.866026 -0.500000 0.000000
+vn -0.866026 -0.500000 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -1.000000 0.000000 -0.000000
+vn -1.000000 -0.000000 -0.000000
+vn -0.965926 0.258817 -0.000000
+vn -0.965926 0.258817 -0.000000
+vn -0.866026 0.499999 0.000000
+vn -0.866026 0.499999 0.000000
+vn -0.707107 0.707107 0.000000
+vn -0.707107 0.707107 0.000000
+vn -0.499999 0.866026 0.000000
+vn -0.499999 0.866026 0.000000
+vn -0.258819 0.965926 0.000000
+vn -0.258819 0.965926 0.000000
+vn -0.130528 0.991445 0.000000
+vn -0.130528 0.991445 0.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -0.999878 0.015600
+vn -0.012153 -0.999809 0.015301
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.012327 -0.999924 -0.000000
+vn 0.012153 -0.999809 0.015301
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.012452 -0.999922 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn -0.012452 -0.999922 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn -0.012327 -0.999924 -0.000000
+vn 0.000000 -1.000000 0.000005
+vn 0.000000 -1.000000 0.000005
+vn 0.000000 -1.000000 0.000005
+vn 0.000000 -1.000000 -0.000005
+vn 0.000000 -1.000000 -0.000005
+vn 0.000000 -1.000000 -0.000005
+vn 0.000000 -1.000000 0.000005
+vn 0.000000 -1.000000 0.000005
+vn 0.000000 -1.000000 0.000005
+vn 0.000000 -1.000000 -0.000005
+vn 0.000000 -1.000000 -0.000005
+vn 0.000000 -1.000000 -0.000005
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 0.000006
+vn 0.000000 -1.000000 0.000006
+vn 0.000000 -1.000000 0.000006
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.017292 0.000000 0.999850
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000005
+vn 0.000000 -1.000000 -0.000005
+vn 0.000000 -1.000000 -0.000005
+vn -0.195087 -0.980786 0.000000
+vn -0.195087 -0.980786 0.000000
+vn -0.382681 -0.923881 0.000000
+vn -0.382681 -0.923881 0.000000
+vn -0.555572 -0.831469 0.000000
+vn -0.555572 -0.831469 -0.000000
+vn -0.707106 -0.707107 0.000000
+vn -0.707106 -0.707107 -0.000000
+vn -0.831469 -0.555571 0.000000
+vn -0.831469 -0.555571 0.000000
+vn -0.923881 -0.382681 0.000000
+vn -0.923881 -0.382681 0.000000
+vn -0.980786 -0.195086 0.000000
+vn -0.980786 -0.195086 0.000000
+vn -0.999982 -0.006007 0.000000
+vn -0.999982 -0.006007 0.000000
+vn -1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn -0.999982 0.006007 0.000000
+vn -0.999982 0.006007 0.000000
+vn -0.980786 0.195086 0.000000
+vn -0.980786 0.195086 0.000000
+vn -0.923881 0.382681 0.000000
+vn -0.923881 0.382681 0.000000
+vn -0.831469 0.555571 0.000000
+vn -0.831469 0.555571 0.000000
+vn -0.707107 0.707107 0.000000
+vn -0.707107 0.707107 0.000000
+vn -0.555571 0.831469 0.000000
+vn -0.555571 0.831469 0.000000
+vn -0.382681 0.923881 0.000000
+vn -0.382681 0.923881 0.000000
+vn -0.195086 0.980786 0.000000
+vn -0.195086 0.980786 0.000000
+vn -0.006007 0.999982 0.000000
+vn -0.006007 0.999982 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.006007 0.999982 0.000000
+vn 0.006007 0.999982 0.000000
+vn 0.195086 0.980786 0.000000
+vn 0.195086 0.980786 0.000000
+vn 0.382680 0.923881 0.000000
+vn 0.382681 0.923881 0.000000
+vn 0.555572 0.831469 0.000000
+vn 0.555572 0.831469 0.000000
+vn 0.707108 0.707106 0.000000
+vn 0.707108 0.707106 0.000000
+vn 0.831468 0.555572 0.000000
+vn 0.831468 0.555572 0.000000
+vn 0.923881 0.382681 0.000000
+vn 0.923881 0.382681 0.000000
+vn 0.980786 0.195087 0.000000
+vn 0.980786 0.195087 0.000000
+vn 0.999982 0.006007 0.000000
+vn 0.999982 0.006007 0.000000
+vn 1.000000 0.000000 0.000000
+vn 1.000000 0.000000 0.000000
+vn 0.999982 -0.006007 0.000000
+vn 0.999982 -0.006007 0.000000
+vn 0.980786 -0.195087 0.000000
+vn 0.980786 -0.195087 0.000000
+vn 0.923881 -0.382681 0.000000
+vn 0.923881 -0.382681 0.000000
+vn 0.831468 -0.555572 0.000000
+vn 0.831468 -0.555572 0.000000
+vn 0.707107 -0.707106 0.000000
+vn 0.707107 -0.707106 -0.000000
+vn 0.555572 -0.831468 0.000000
+vn 0.555572 -0.831468 -0.000000
+vn 0.382680 -0.923881 0.000000
+vn 0.382681 -0.923881 0.000000
+vn 0.195087 -0.980786 0.000000
+vn 0.195087 -0.980786 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 0.000000 1.000000
+vn -0.012285 0.012285 0.999849
+vn 0.000000 0.012429 0.999923
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.012285 0.012285 0.999849
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.017292 0.000000 0.999850
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000006
+vn 0.000000 -1.000000 -0.000006
+vn 0.000000 -1.000000 -0.000006
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.044919 -0.044920 0.997980
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.044919 -0.044920 0.997980
+vn -0.000001 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000001 -0.000000 1.000000
+vn 0.000001 -0.000000 1.000000
+vn 0.000001 -0.000000 1.000000
+vn 0.000001 -0.000000 1.000000
+vn 0.000001 -0.000000 1.000000
+vn 0.000001 -0.000000 1.000000
+vn 0.000001 -0.000000 1.000000
+vn 0.000001 -0.000000 1.000000
+vn 0.000001 -0.000000 1.000000
+vn -0.000003 0.000000 1.000000
+vn -0.000003 0.000000 1.000000
+vn -0.000003 0.000000 1.000000
+vn 0.000000 -0.000000 1.000000
+vn 0.000000 -0.000000 1.000000
+vn 0.000000 -0.000000 1.000000
+vn 0.000000 -0.000000 1.000000
+vn 0.000000 -0.000000 1.000000
+vn 0.000000 -0.000000 1.000000
+vn 0.000000 -0.000000 1.000000
+vn 0.000000 -0.000000 1.000000
+vn 0.000000 -0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 -0.047872 0.998854
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.999953 0.006000 0.007555
+vn 0.999971 0.000000 0.007562
+vn 0.000000 0.999971 0.007562
+vn 0.006000 0.999953 0.007555
+vn -0.999971 0.000000 0.007562
+vn -0.999953 0.006000 0.007555
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.980787 0.005812 0.194994
+vn 0.980786 0.000000 0.195087
+vn 0.923933 0.005506 0.382515
+vn 0.923881 0.000000 0.382680
+vn 0.831626 0.004984 0.555314
+vn 0.831469 0.000000 0.555572
+vn 0.707099 0.004652 0.707099
+vn 0.707107 0.000000 0.707106
+vn 0.555314 0.004983 0.831626
+vn 0.555571 0.000000 0.831469
+vn 0.382521 0.005506 0.923930
+vn 0.382687 0.000000 0.923878
+vn 0.194995 0.005812 0.980787
+vn 0.195088 0.000000 0.980786
+vn 0.194968 0.980782 0.007319
+vn 0.382470 0.923942 0.006937
+vn 0.555245 0.831663 0.006284
+vn 0.707096 0.707093 0.005869
+vn 0.831663 0.555245 0.006284
+vn 0.923942 0.382470 0.006937
+vn 0.980782 0.194968 0.007319
+vn 0.005812 0.194994 0.980787
+vn 0.000000 0.195088 0.980786
+vn 0.005506 0.382521 0.923930
+vn 0.000000 0.382687 0.923878
+vn 0.004983 0.555314 0.831626
+vn 0.000000 0.555571 0.831469
+vn 0.004652 0.707099 0.707100
+vn 0.000000 0.707106 0.707107
+vn 0.004984 0.831626 0.555314
+vn 0.000000 0.831469 0.555571
+vn 0.005506 0.923933 0.382515
+vn 0.000000 0.923881 0.382681
+vn 0.005812 0.980787 0.194993
+vn 0.000000 0.980786 0.195086
+vn -0.194994 0.005812 0.980787
+vn -0.382521 0.005506 0.923930
+vn -0.382687 0.000000 0.923878
+vn -0.195087 0.000000 0.980786
+vn -0.555314 0.004983 0.831626
+vn -0.555571 0.000000 0.831469
+vn -0.707098 0.004652 0.707100
+vn -0.707106 0.000000 0.707107
+vn -0.831626 0.004984 0.555314
+vn -0.831469 0.000000 0.555571
+vn -0.923933 0.005506 0.382515
+vn -0.923881 0.000000 0.382680
+vn -0.980787 0.005812 0.194993
+vn -0.980786 0.000000 0.195086
+vn -0.980782 0.194967 0.007319
+vn -0.923942 0.382470 0.006937
+vn -0.831663 0.555245 0.006284
+vn -0.707095 0.707094 0.005869
+vn -0.555245 0.831663 0.006284
+vn -0.382470 0.923942 0.006937
+vn -0.194968 0.980782 0.007319
+vn -0.006000 0.999953 0.007555
+vn 0.999953 -0.006000 0.007555
+vn 0.980782 -0.194969 0.007319
+vn 0.923942 -0.382470 0.006937
+vn 0.831663 -0.555245 0.006284
+vn 0.707095 -0.707094 0.005869
+vn 0.555245 -0.831663 0.006284
+vn 0.382470 -0.923942 0.006937
+vn 0.194969 -0.980782 0.007319
+vn 0.005812 -0.980787 0.194994
+vn 0.000000 -0.980786 0.195087
+vn 0.005506 -0.923933 0.382515
+vn 0.000000 -0.923881 0.382681
+vn 0.004984 -0.831625 0.555315
+vn 0.000000 -0.831468 0.555572
+vn 0.004652 -0.707099 0.707099
+vn 0.000000 -0.707107 0.707107
+vn 0.004983 -0.555314 0.831626
+vn 0.000000 -0.555571 0.831469
+vn 0.005506 -0.382521 0.923930
+vn 0.000000 -0.382687 0.923878
+vn 0.005812 -0.194995 0.980787
+vn 0.000000 -0.195088 0.980786
+vn -0.194969 -0.980782 0.007319
+vn -0.382470 -0.923942 0.006937
+vn -0.555245 -0.831663 0.006284
+vn -0.707094 -0.707095 0.005869
+vn -0.831663 -0.555245 0.006284
+vn -0.923942 -0.382470 0.006937
+vn -0.980782 -0.194968 0.007319
+vn -0.999953 -0.006000 0.007555
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn 0.191805 0.191805 0.962508
+vn 0.376614 0.186756 0.907350
+vn 0.907351 0.186755 0.376612
+vn 0.962508 0.191804 0.191805
+vn 0.907350 0.376613 0.186757
+vn 0.376612 0.907350 0.186758
+vn 0.191805 0.962508 0.191806
+vn 0.186757 0.907351 0.376612
+vn 0.186755 0.376614 0.907350
+vn -0.962508 0.191804 0.191806
+vn -0.907351 0.186756 0.376612
+vn -0.376614 0.186756 0.907350
+vn -0.191805 0.191805 0.962508
+vn -0.005812 0.194994 0.980787
+vn -0.005506 0.382521 0.923930
+vn -0.186756 0.376614 0.907350
+vn -0.004984 0.555314 0.831626
+vn -0.004652 0.707099 0.707100
+vn -0.004984 0.831626 0.555314
+vn -0.005506 0.923933 0.382515
+vn -0.186757 0.907351 0.376612
+vn -0.005812 0.980787 0.194993
+vn -0.191805 0.962508 0.191806
+vn -0.376613 0.907350 0.186758
+vn -0.907350 0.376613 0.186758
+vn 0.191804 -0.962508 0.191806
+vn 0.376613 -0.907350 0.186757
+vn 0.907350 -0.376613 0.186757
+vn 0.962508 -0.191804 0.191805
+vn 0.980787 -0.005812 0.194994
+vn 0.923933 -0.005506 0.382515
+vn 0.907351 -0.186755 0.376612
+vn 0.831626 -0.004984 0.555314
+vn 0.707100 -0.004652 0.707099
+vn 0.555314 -0.004983 0.831626
+vn 0.382521 -0.005506 0.923930
+vn 0.376614 -0.186756 0.907350
+vn 0.194994 -0.005812 0.980787
+vn 0.191806 -0.191805 0.962508
+vn 0.186756 -0.376614 0.907350
+vn 0.186756 -0.907351 0.376613
+vn -0.980788 -0.005812 0.194993
+vn -0.962508 -0.191804 0.191806
+vn -0.907350 -0.376613 0.186758
+vn -0.376612 -0.907350 0.186757
+vn -0.191804 -0.962508 0.191805
+vn -0.005812 -0.980787 0.194994
+vn -0.005506 -0.923933 0.382515
+vn -0.186756 -0.907350 0.376613
+vn -0.004984 -0.831625 0.555315
+vn -0.004652 -0.707099 0.707099
+vn -0.004983 -0.555314 0.831626
+vn -0.005506 -0.382521 0.923930
+vn -0.186756 -0.376614 0.907350
+vn -0.005812 -0.194995 0.980787
+vn -0.191805 -0.191805 0.962508
+vn -0.194994 -0.005812 0.980787
+vn -0.382521 -0.005506 0.923930
+vn -0.376614 -0.186756 0.907350
+vn -0.555314 -0.004983 0.831626
+vn -0.707099 -0.004652 0.707099
+vn -0.831626 -0.004984 0.555314
+vn -0.923933 -0.005506 0.382515
+vn -0.907351 -0.186756 0.376612
+vn 0.000001 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn -0.000001 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000001 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn -0.000001 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000001 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn -0.000000 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn 0.000001 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn -0.006468 -0.999979 0.000000
+vn -0.006468 -0.999979 0.000000
+vn 0.195090 -0.980785 0.000000
+vn 0.195090 -0.980785 0.000000
+vn 0.032464 -0.999473 0.000000
+vn 0.054918 -0.998491 0.000000
+vn 0.382684 -0.923879 0.000000
+vn 0.382684 -0.923879 0.000000
+vn 0.555570 -0.831469 0.000000
+vn 0.555570 -0.831469 0.000000
+vn 0.707106 -0.707107 0.000000
+vn 0.707106 -0.707107 0.000000
+vn 0.831469 -0.555570 0.000000
+vn 0.831469 -0.555570 0.000000
+vn 0.923879 -0.382685 0.000000
+vn 0.923879 -0.382685 0.000000
+vn 0.980795 -0.195041 0.000000
+vn 0.980795 -0.195041 0.000000
+vn 1.000000 0.000000 0.000000
+vn 1.000000 0.000000 0.000000
+vn 0.980795 0.195041 0.000000
+vn 0.980795 0.195041 0.000000
+vn 0.923879 0.382685 0.000000
+vn 0.923879 0.382685 0.000000
+vn 0.831469 0.555571 0.000000
+vn 0.831469 0.555571 0.000000
+vn 0.707106 0.707107 0.000000
+vn 0.707106 0.707107 0.000000
+vn 0.555569 0.831470 0.000000
+vn 0.555569 0.831470 0.000000
+vn 0.382684 0.923879 0.000000
+vn 0.382684 0.923879 0.000000
+vn 0.195090 0.980785 0.000000
+vn 0.195090 0.980785 0.000000
+vn 0.054918 0.998491 0.000000
+vn 0.032464 0.999473 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn -0.195090 0.980785 0.000000
+vn -0.195090 0.980785 0.000000
+vn -0.006468 0.999979 -0.000000
+vn -0.006468 0.999979 -0.000000
+vn -0.382683 0.923880 0.000000
+vn -0.382683 0.923880 0.000000
+vn -0.555571 0.831469 0.000000
+vn -0.555571 0.831469 0.000000
+vn -0.707107 0.707106 0.000000
+vn -0.707107 0.707106 0.000000
+vn -0.831469 0.555571 0.000000
+vn -0.831469 0.555571 0.000000
+vn -0.923879 0.382684 0.000000
+vn -0.923879 0.382684 0.000000
+vn -0.980795 0.195043 0.000000
+vn -0.980795 0.195043 0.000000
+vn -1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn -0.980795 -0.195043 0.000000
+vn -0.980795 -0.195043 0.000000
+vn -0.923879 -0.382684 0.000000
+vn -0.923879 -0.382684 0.000000
+vn -0.831469 -0.555570 0.000000
+vn -0.831469 -0.555570 0.000000
+vn -0.707107 -0.707106 0.000000
+vn -0.707108 -0.707106 0.000000
+vn -0.555571 -0.831469 0.000000
+vn -0.555571 -0.831469 0.000000
+vn -0.382683 -0.923880 0.000000
+vn -0.382683 -0.923880 0.000000
+vn -0.195090 -0.980785 0.000000
+vn -0.195090 -0.980785 0.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.866025 -0.500001 -0.000000
+vn 0.866025 -0.500001 -0.000000
+vn 0.707106 -0.707107 -0.000000
+vn 0.707106 -0.707107 -0.000000
+vn 0.965925 -0.258821 0.000000
+vn 0.965925 -0.258821 0.000000
+vn 1.000000 -0.000001 0.000000
+vn 1.000000 -0.000001 0.000000
+vn 0.965926 0.258820 0.000000
+vn 0.965926 0.258820 0.000000
+vn 0.866025 0.500000 0.000000
+vn 0.866025 0.500000 0.000000
+vn 0.707107 0.707106 0.000000
+vn 0.707107 0.707106 0.000000
+vn 0.500000 0.866026 0.000000
+vn 0.500000 0.866026 0.000000
+vn 0.258819 0.965926 0.000000
+vn 0.258819 0.965926 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn -0.258821 0.965925 -0.000000
+vn -0.258821 0.965925 -0.000000
+vn -0.500002 0.866024 -0.000000
+vn -0.500002 0.866024 -0.000000
+vn -0.707106 0.707108 0.000000
+vn -0.707106 0.707108 0.000000
+vn -0.866025 0.500001 0.000000
+vn -0.866025 0.500001 0.000000
+vn -0.965926 0.258819 0.000000
+vn -0.965926 0.258819 0.000000
+vn -1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -0.965926 -0.258819 0.000000
+vn -0.866025 -0.500001 0.000000
+vn -0.866025 -0.500001 -0.000000
+vn -0.707106 -0.707108 -0.000000
+vn -0.707106 -0.707108 -0.000000
+vn -0.500000 -0.866025 0.000000
+vn -0.500000 -0.866025 0.000000
+vn -0.258819 -0.965926 0.000000
+vn -0.258819 -0.965926 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.258819 -0.965926 0.000000
+vn 0.258819 -0.965926 0.000000
+vn 0.500000 -0.866025 0.000000
+vn 0.500000 -0.866025 0.000000
+vn -0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000004 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000002 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000004 0.000000 1.000000
+vn -0.000004 0.000000 1.000000
+vn -0.000004 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn -0.000002 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000010 0.000000 1.000000
+vn -0.000010 0.000000 1.000000
+vn -0.000010 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000005 0.000000 1.000000
+vn -0.000005 0.000000 1.000000
+vn -0.000005 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000005 0.000000 1.000000
+vn 0.000005 0.000000 1.000000
+vn 0.000005 0.000000 1.000000
+vn -0.000005 0.000000 1.000000
+vn -0.000005 0.000000 1.000000
+vn -0.000005 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000004 0.000000 1.000000
+vn -0.000004 0.000000 1.000000
+vn -0.000004 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000004 0.000000 1.000000
+vn -0.000004 0.000000 1.000000
+vn -0.000004 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 -0.000000
+vn 0.000000 1.000000 -0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.999982 0.006008 0.000001
+vn 0.980786 0.195089 0.000001
+vn 1.000000 0.000000 0.000001
+vn 0.999982 -0.006007 0.000001
+vn 0.980786 -0.195089 0.000001
+vn 0.923881 -0.382680 0.000000
+vn 0.831469 -0.555571 0.000000
+vn 0.707107 -0.707107 -0.000000
+vn 0.555572 -0.831469 -0.000000
+vn 0.382680 -0.923881 0.000000
+vn 0.195088 -0.980786 0.000001
+vn 0.006007 -0.999982 0.000002
+vn 0.000000 -1.000000 0.000002
+vn -0.006008 -0.999982 0.000002
+vn -0.195088 -0.980786 0.000002
+vn -0.382681 -0.923881 0.000001
+vn -0.555572 -0.831469 -0.000000
+vn -0.707106 -0.707108 -0.000001
+vn -0.831469 -0.555571 0.000000
+vn -0.923881 -0.382680 0.000000
+vn -0.980786 -0.195086 0.000000
+vn -0.999982 -0.006007 0.000000
+vn -1.000000 0.000000 0.000000
+vn -0.999982 0.006007 0.000000
+vn -0.980786 0.195086 0.000000
+vn -0.923881 0.382681 0.000001
+vn -0.831469 0.555571 0.000001
+vn -0.707107 0.707107 0.000001
+vn -0.555571 0.831469 0.000000
+vn -0.382681 0.923881 0.000000
+vn -0.195086 0.980786 0.000001
+vn -0.006007 0.999982 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.006007 0.999982 0.000000
+vn 0.195086 0.980786 0.000000
+vn 0.382680 0.923881 0.000000
+vn 0.555571 0.831469 0.000000
+vn 0.707108 0.707106 0.000001
+vn 0.831469 0.555571 0.000001
+vn 0.923881 0.382681 0.000001
+vn 0.688342 0.150690 -0.709562
+vn 0.694558 0.119694 -0.709410
+vn 0.655112 0.258632 -0.709886
+vn 0.647303 0.277624 -0.709876
+vn 0.707591 0.007072 -0.706587
+vn 0.707802 0.002319 -0.706407
+vn 0.707899 -0.000000 -0.706314
+vn 0.707899 -0.000000 -0.706314
+vn 0.707591 -0.007072 -0.706587
+vn 0.707802 -0.002319 -0.706408
+vn 0.688338 -0.150690 -0.709566
+vn 0.694555 -0.119694 -0.709413
+vn 0.647301 -0.277625 -0.709877
+vn 0.655109 -0.258634 -0.709888
+vn 0.583199 -0.394899 -0.709883
+vn 0.588805 -0.386486 -0.709885
+vn 0.498030 -0.498027 -0.709884
+vn 0.498030 -0.498027 -0.709884
+vn 0.394901 -0.583201 -0.709881
+vn 0.386488 -0.588807 -0.709883
+vn 0.277625 -0.647302 -0.709877
+vn 0.258633 -0.655110 -0.709887
+vn 0.150692 -0.688339 -0.709565
+vn 0.119697 -0.694557 -0.709411
+vn 0.007072 -0.707592 -0.706586
+vn 0.002319 -0.707802 -0.706407
+vn 0.000000 -0.707899 -0.706313
+vn 0.000000 -0.707899 -0.706313
+vn -0.007072 -0.707591 -0.706586
+vn -0.002319 -0.707802 -0.706407
+vn -0.150692 -0.688339 -0.709564
+vn -0.119696 -0.694557 -0.709411
+vn -0.277625 -0.647301 -0.709877
+vn -0.258634 -0.655110 -0.709887
+vn -0.394901 -0.583200 -0.709881
+vn -0.386488 -0.588806 -0.709883
+vn -0.498031 -0.498028 -0.709882
+vn -0.498031 -0.498028 -0.709882
+vn -0.583201 -0.394898 -0.709882
+vn -0.588807 -0.386485 -0.709884
+vn -0.647301 -0.277626 -0.709877
+vn -0.655109 -0.258634 -0.709888
+vn -0.688338 -0.150689 -0.709566
+vn -0.694556 -0.119693 -0.709412
+vn -0.707591 -0.007072 -0.706587
+vn -0.707802 -0.002319 -0.706407
+vn -0.707899 0.000000 -0.706314
+vn -0.707899 0.000000 -0.706314
+vn -0.707591 0.007072 -0.706587
+vn -0.707802 0.002319 -0.706407
+vn -0.688343 0.150688 -0.709561
+vn -0.694559 0.119692 -0.709409
+vn -0.647303 0.277624 -0.709876
+vn -0.655112 0.258632 -0.709886
+vn -0.583199 0.394899 -0.709883
+vn -0.588805 0.386486 -0.709885
+vn -0.498028 0.498030 -0.709883
+vn -0.498028 0.498030 -0.709883
+vn -0.394898 0.583201 -0.709882
+vn -0.386486 0.588807 -0.709884
+vn -0.277625 0.647301 -0.709877
+vn -0.258633 0.655110 -0.709887
+vn -0.150691 0.688340 -0.709564
+vn -0.119694 0.694557 -0.709411
+vn -0.007072 0.707597 -0.706580
+vn -0.002319 0.707808 -0.706401
+vn -0.000000 0.707906 -0.706307
+vn -0.000000 0.707906 -0.706307
+vn 0.007072 0.707597 -0.706580
+vn 0.002319 0.707808 -0.706401
+vn 0.150691 0.688339 -0.709565
+vn 0.119694 0.694557 -0.709411
+vn 0.277625 0.647302 -0.709876
+vn 0.258633 0.655110 -0.709887
+vn 0.394898 0.583201 -0.709881
+vn 0.386485 0.588807 -0.709884
+vn 0.498029 0.498027 -0.709884
+vn 0.498029 0.498027 -0.709884
+vn 0.583200 0.394897 -0.709883
+vn 0.588806 0.386484 -0.709886
+vn 0.965926 0.000000 -0.258819
+vn 1.000000 0.000000 0.000000
+vn 1.000000 0.000000 0.000000
+vn 0.965926 0.000000 -0.258819
+vn 0.866025 0.000000 -0.500000
+vn 0.866025 0.000000 -0.500000
+vn 0.707107 0.000000 -0.707107
+vn 0.707107 0.000000 -0.707107
+vn 0.500000 0.000000 -0.866025
+vn 0.500000 0.000000 -0.866025
+vn 0.258819 0.000000 -0.965926
+vn 0.258819 0.000000 -0.965926
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn -0.258819 0.000000 -0.965926
+vn -0.258819 0.000000 -0.965926
+vn -0.500000 0.000000 -0.866025
+vn -0.500000 0.000000 -0.866025
+vn -0.707107 0.000000 -0.707107
+vn -0.707107 0.000000 -0.707107
+vn -0.866025 0.000000 -0.500000
+vn -0.866025 0.000000 -0.500000
+vn -0.965926 0.000000 -0.258819
+vn -0.965926 0.000000 -0.258819
+vn -1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn -0.965926 0.000000 0.258819
+vn -0.965926 0.000000 0.258819
+vn -0.866025 0.000000 0.500000
+vn -0.866025 0.000000 0.500000
+vn -0.707107 0.000000 0.707107
+vn -0.707107 0.000000 0.707107
+vn -0.500000 0.000000 0.866025
+vn -0.500000 0.000000 0.866025
+vn -0.258819 0.000000 0.965926
+vn -0.258819 0.000000 0.965926
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.258819 0.000000 0.965926
+vn 0.258819 0.000000 0.965926
+vn 0.500000 0.000000 0.866025
+vn 0.500000 0.000000 0.866025
+vn 0.707107 0.000000 0.707107
+vn 0.707107 0.000000 0.707107
+vn 0.866026 0.000000 0.500000
+vn 0.866026 0.000000 0.500000
+vn 0.965926 0.000000 0.258819
+vn 0.965926 0.000000 0.258819
+vn 0.473260 -0.871748 -0.126807
+vn 0.489955 -0.871747 0.000003
+vn 0.000000 -1.000000 -0.000000
+vn 0.424314 -0.871747 -0.244978
+vn 0.346451 -0.871747 -0.346451
+vn 0.244978 -0.871748 -0.424314
+vn 0.126810 -0.871748 -0.473260
+vn 0.000000 -0.871748 -0.489955
+vn -0.126810 -0.871748 -0.473259
+vn -0.244978 -0.871747 -0.424314
+vn -0.346450 -0.871746 -0.346455
+vn -0.424314 -0.871747 -0.244978
+vn -0.473261 -0.871748 -0.126807
+vn -0.489956 -0.871747 0.000000
+vn -0.473261 -0.871748 0.126807
+vn -0.424314 -0.871748 0.244978
+vn -0.346450 -0.871746 0.346454
+vn -0.244978 -0.871747 0.424314
+vn -0.126810 -0.871748 0.473260
+vn -0.000000 -0.871748 0.489954
+vn 0.126810 -0.871748 0.473260
+vn 0.244978 -0.871748 0.424313
+vn 0.346451 -0.871747 0.346452
+vn 0.424314 -0.871747 0.244978
+vn 0.473261 -0.871748 0.126807
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000003
+vn 0.000000 -1.000000 0.000003
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000002
+vn 0.000000 -1.000000 0.000002
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn -0.498888 -0.708675 -0.498889
+vn -0.352767 -0.708675 -0.611012
+vn -0.352767 -0.708675 -0.611012
+vn -0.498888 -0.708675 -0.498889
+vn -0.611010 -0.708675 -0.352769
+vn -0.611010 -0.708675 -0.352769
+vn -0.681494 -0.708675 -0.182605
+vn -0.681494 -0.708676 -0.182605
+vn -0.705534 -0.708676 0.000000
+vn -0.705535 -0.708676 0.000000
+vn -0.681494 -0.708676 0.182605
+vn -0.681494 -0.708676 0.182605
+vn -0.611010 -0.708675 0.352769
+vn -0.611010 -0.708675 0.352769
+vn -0.498888 -0.708676 0.498889
+vn -0.498888 -0.708676 0.498888
+vn -0.352767 -0.708675 0.611012
+vn -0.352767 -0.708675 0.611012
+vn -0.182605 -0.708676 0.681494
+vn -0.182605 -0.708676 0.681494
+vn -0.000000 -0.708678 0.705532
+vn -0.000000 -0.708678 0.705532
+vn 0.182606 -0.708676 0.681494
+vn 0.182606 -0.708675 0.681494
+vn 0.352767 -0.708675 0.611012
+vn 0.352767 -0.708675 0.611012
+vn 0.498888 -0.708675 0.498890
+vn 0.498888 -0.708675 0.498890
+vn 0.611011 -0.708675 0.352769
+vn 0.611011 -0.708675 0.352769
+vn 0.681494 -0.708675 0.182608
+vn 0.681494 -0.708675 0.182608
+vn 0.705534 -0.708676 -0.000000
+vn 0.705534 -0.708676 0.000000
+vn 0.681494 -0.708676 -0.182605
+vn 0.681494 -0.708676 -0.182605
+vn 0.611011 -0.708676 -0.352767
+vn 0.611011 -0.708676 -0.352767
+vn 0.498888 -0.708675 -0.498889
+vn 0.498888 -0.708675 -0.498889
+vn 0.352767 -0.708675 -0.611012
+vn 0.352767 -0.708675 -0.611012
+vn 0.182605 -0.708674 -0.681496
+vn 0.182605 -0.708674 -0.681496
+vn 0.000000 -0.708676 -0.705535
+vn 0.000000 -0.708675 -0.705535
+vn -0.182606 -0.708676 -0.681494
+vn -0.182606 -0.708676 -0.681494
+vn -0.965925 0.258821 0.000000
+vn -0.866026 0.499999 0.000000
+vn -0.866026 0.499999 0.000000
+vn -0.965925 0.258821 0.000000
+vn -0.707107 0.707107 0.000000
+vn -0.707107 0.707107 0.000000
+vn -0.500001 0.866025 0.000000
+vn -0.500001 0.866025 0.000000
+vn -0.258818 0.965926 0.000000
+vn -0.258818 0.965926 0.000000
+vn -0.130522 0.991445 0.000000
+vn -0.130522 0.991445 0.000000
+vn 0.130523 0.991445 0.000000
+vn 0.258818 0.965926 0.000000
+vn 0.258818 0.965926 0.000000
+vn 0.130523 0.991445 0.000000
+vn 0.500000 0.866025 0.000000
+vn 0.500000 0.866025 0.000000
+vn 0.707106 0.707107 0.000000
+vn 0.707106 0.707107 0.000000
+vn 0.866025 0.500000 0.000000
+vn 0.866025 0.500000 0.000000
+vn 0.965925 0.258821 0.000000
+vn 0.965925 0.258821 0.000000
+vn 1.000000 0.000000 0.000000
+vn 1.000000 0.000000 0.000000
+vn 0.965925 -0.258821 0.000000
+vn 0.965925 -0.258821 0.000000
+vn 0.866025 -0.500000 0.000000
+vn 0.866025 -0.500000 0.000000
+vn 0.707107 -0.707107 0.000000
+vn 0.707107 -0.707107 0.000000
+vn 0.500001 -0.866025 0.000000
+vn 0.500001 -0.866025 0.000000
+vn 0.258820 -0.965925 0.000000
+vn 0.258820 -0.965925 0.000000
+vn 0.130528 -0.991445 0.000000
+vn 0.130528 -0.991445 0.000000
+vn -0.130528 -0.991445 0.000000
+vn -0.258820 -0.965925 0.000000
+vn -0.258820 -0.965925 0.000000
+vn -0.130528 -0.991445 0.000000
+vn -0.500001 -0.866025 0.000000
+vn -0.500001 -0.866025 0.000000
+vn -0.707107 -0.707107 0.000000
+vn -0.707107 -0.707107 0.000000
+vn -0.866025 -0.500000 0.000000
+vn -0.866025 -0.500000 0.000000
+vn -0.965925 -0.258821 0.000000
+vn -0.965925 -0.258821 0.000000
+vn -1.000000 0.000001 0.000000
+vn -1.000000 0.000001 0.000000
+vn -0.000003 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn -0.000003 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000003 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000003 0.000000 1.000000
+vn 0.000003 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn -0.000003 0.000000 1.000000
+vn -0.000001 0.000000 1.000000
+vn 0.000001 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.980786 0.000002 -0.195088
+vn 0.999913 0.000003 -0.013196
+vn 0.999913 0.000003 -0.013196
+vn 0.980786 0.000002 -0.195088
+vn 1.000000 0.000003 -0.000000
+vn 1.000000 0.000003 -0.000000
+vn 0.999869 0.000002 0.016218
+vn 0.999869 0.000002 0.016218
+vn 0.980786 0.000001 0.195088
+vn 0.980786 0.000001 0.195088
+vn 0.923881 0.000001 0.382680
+vn 0.923881 0.000001 0.382680
+vn 0.831469 0.000002 0.555571
+vn 0.831469 0.000002 0.555572
+vn 0.707106 0.000001 0.707107
+vn 0.707106 0.000001 0.707107
+vn 0.555571 0.000000 0.831469
+vn 0.555571 0.000000 0.831469
+vn 0.382680 0.000000 0.923881
+vn 0.382680 0.000000 0.923881
+vn 0.195088 0.000001 0.980786
+vn 0.195088 0.000001 0.980786
+vn 0.012229 0.000002 0.999925
+vn 0.012229 0.000002 0.999925
+vn 0.000000 0.000002 1.000000
+vn 0.000000 0.000002 1.000000
+vn -0.012224 0.000002 0.999925
+vn -0.012224 0.000002 0.999925
+vn -0.195087 0.000001 0.980786
+vn -0.195088 0.000001 0.980786
+vn -0.382680 0.000000 0.923881
+vn -0.382680 0.000000 0.923881
+vn -0.555571 0.000001 0.831469
+vn -0.555571 0.000001 0.831469
+vn -0.707106 0.000001 0.707107
+vn -0.707106 0.000001 0.707107
+vn -0.831469 0.000000 0.555571
+vn -0.831469 0.000000 0.555571
+vn -0.923881 -0.000000 0.382680
+vn -0.923881 -0.000000 0.382680
+vn -0.980786 0.000000 0.195086
+vn -0.980786 0.000000 0.195086
+vn -0.999868 0.000000 0.016217
+vn -0.999868 0.000000 0.016217
+vn -1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn -0.999913 0.000001 -0.013196
+vn -0.999913 0.000001 -0.013196
+vn -0.980786 0.000001 -0.195086
+vn -0.980786 0.000001 -0.195086
+vn -0.923881 0.000001 -0.382681
+vn -0.923881 0.000001 -0.382681
+vn -0.831469 0.000001 -0.555571
+vn -0.831469 0.000001 -0.555571
+vn -0.707108 0.000002 -0.707106
+vn -0.707107 0.000002 -0.707106
+vn -0.555571 0.000001 -0.831469
+vn -0.555571 0.000001 -0.831469
+vn -0.382680 0.000000 -0.923881
+vn -0.382680 0.000000 -0.923881
+vn -0.195086 0.000000 -0.980786
+vn -0.195086 0.000000 -0.980786
+vn -0.012224 0.000000 -0.999925
+vn -0.012224 0.000000 -0.999925
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.012229 0.000000 -0.999925
+vn 0.012229 0.000000 -0.999925
+vn 0.195086 0.000000 -0.980786
+vn 0.195086 0.000000 -0.980786
+vn 0.382680 0.000000 -0.923881
+vn 0.382680 0.000000 -0.923881
+vn 0.555571 0.000001 -0.831469
+vn 0.555571 0.000001 -0.831469
+vn 0.707108 0.000001 -0.707106
+vn 0.707107 0.000001 -0.707106
+vn 0.831469 0.000001 -0.555572
+vn 0.831469 0.000001 -0.555572
+vn 0.923881 0.000001 -0.382681
+vn 0.923881 0.000001 -0.382681
+vn 0.688343 -0.709561 -0.150693
+vn 0.694561 -0.709407 -0.119697
+vn 0.655113 -0.709884 -0.258635
+vn 0.647304 -0.709873 -0.277628
+vn 0.707227 -0.706834 -0.014702
+vn 0.707680 -0.706514 -0.005281
+vn 0.707907 -0.706306 -0.000000
+vn 0.707907 -0.706306 0.000000
+vn 0.707071 -0.706922 0.017671
+vn 0.707620 -0.706562 0.006592
+vn 0.688346 -0.709557 0.150693
+vn 0.694563 -0.709404 0.119697
+vn 0.647306 -0.709872 0.277627
+vn 0.655115 -0.709882 0.258636
+vn 0.583205 -0.709881 0.394894
+vn 0.588810 -0.709883 0.386482
+vn 0.498032 -0.709883 0.498027
+vn 0.498032 -0.709883 0.498026
+vn 0.394901 -0.709880 0.583201
+vn 0.386488 -0.709883 0.588806
+vn 0.277627 -0.709875 0.647303
+vn 0.258636 -0.709884 0.655112
+vn 0.150692 -0.709558 0.688345
+vn 0.119696 -0.709406 0.694562
+vn 0.013723 -0.706805 0.707275
+vn 0.004870 -0.706499 0.707697
+vn 0.000000 -0.706309 0.707903
+vn 0.000000 -0.706309 0.707903
+vn -0.013719 -0.706810 0.707270
+vn -0.004868 -0.706505 0.707692
+vn -0.150692 -0.709561 0.688342
+vn -0.119697 -0.709410 0.694558
+vn -0.277628 -0.709872 0.647305
+vn -0.258636 -0.709882 0.655114
+vn -0.394900 -0.709877 0.583206
+vn -0.386488 -0.709879 0.588811
+vn -0.498029 -0.709878 0.498036
+vn -0.498029 -0.709878 0.498036
+vn -0.583206 -0.709876 0.394901
+vn -0.588812 -0.709878 0.386489
+vn -0.647307 -0.709871 0.277628
+vn -0.655114 -0.709882 0.258636
+vn -0.688344 -0.709560 0.150692
+vn -0.694562 -0.709406 0.119695
+vn -0.707075 -0.706918 0.017670
+vn -0.707625 -0.706557 0.006592
+vn -0.707909 -0.706303 0.000000
+vn -0.707909 -0.706303 0.000000
+vn -0.707225 -0.706836 -0.014702
+vn -0.707679 -0.706514 -0.005281
+vn -0.688342 -0.709561 -0.150691
+vn -0.694559 -0.709409 -0.119694
+vn -0.647306 -0.709872 -0.277628
+vn -0.655114 -0.709882 -0.258636
+vn -0.583204 -0.709878 -0.394900
+vn -0.588810 -0.709880 -0.386489
+vn -0.498029 -0.709879 -0.498035
+vn -0.498030 -0.709879 -0.498034
+vn -0.394900 -0.709877 -0.583206
+vn -0.386488 -0.709879 -0.588811
+vn -0.277628 -0.709872 -0.647305
+vn -0.258636 -0.709882 -0.655114
+vn -0.150691 -0.709561 -0.688343
+vn -0.119694 -0.709409 -0.694559
+vn -0.013718 -0.706810 -0.707270
+vn -0.004868 -0.706505 -0.707692
+vn -0.000000 -0.706310 -0.707903
+vn -0.000000 -0.706310 -0.707903
+vn 0.013723 -0.706805 -0.707276
+vn 0.004870 -0.706499 -0.707697
+vn 0.150691 -0.709558 -0.688345
+vn 0.119694 -0.709405 -0.694563
+vn 0.277627 -0.709875 -0.647303
+vn 0.258636 -0.709884 -0.655112
+vn 0.394902 -0.709880 -0.583201
+vn 0.386488 -0.709883 -0.588807
+vn 0.498034 -0.709881 -0.498028
+vn 0.498035 -0.709881 -0.498027
+vn 0.583207 -0.709878 -0.394895
+vn 0.588812 -0.709880 -0.386484
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 0.000003
+vn 0.000000 -1.000000 0.000003
+vn 0.000000 -1.000000 0.000003
+vn 0.000000 -1.000000 0.000003
+vn 0.000000 -1.000000 0.000003
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000001
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000001
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+vn 0.000000 -1.000000 -0.000000
+s 1
+g lh_basestation_vive
+usemtl lambert5SG
+f 2/1316/1 1/1317/2 25/1318/3 26/1319/4
+f 3/1322/5 2/1316/1 26/1319/4 27/1323/6
+f 4/1326/7 3/1322/5 27/1323/6 28/1327/8
+f 5/1330/9 4/1326/7 28/1327/8 29/1333/10
+f 6/1334/11 5/1330/9 29/1333/10 30/1335/12
+f 7/1336/13 6/1334/11 30/1335/12 31/1337/14
+f 8/1338/15 7/1336/13 31/1337/14 32/1339/16
+f 9/1340/17 8/1338/15 32/1339/16 33/1341/18
+f 10/1342/19 9/1340/17 33/1341/18 34/1343/20
+f 11/1344/21 10/1342/19 34/1343/20 35/1347/22
+f 12/1348/23 11/1344/21 35/1347/22 36/1349/24
+f 13/1350/25 12/1348/23 36/1349/24 37/1351/26
+f 14/1352/27 13/1350/25 37/1351/26 38/1353/28
+f 15/1354/29 14/1352/27 38/1353/28 39/1355/30
+f 16/1356/31 15/1354/29 39/1355/30 40/1357/32
+f 17/1358/33 16/1356/31 40/1357/32 41/1361/34
+f 18/1362/35 17/1358/33 41/1361/34 42/1363/36
+f 19/1364/37 18/1362/35 42/1363/36 43/1365/38
+f 20/1366/39 19/1364/37 43/1365/38 44/1367/40
+f 21/1368/41 20/1366/39 44/1367/40 45/1369/42
+f 22/1370/43 21/1368/41 45/1369/42 46/1371/44
+f 23/1324/45 22/1328/43 46/1329/44 47/1325/46
+f 24/1320/47 23/1324/45 47/1325/46 48/1321/48
+f 1/1317/2 24/1320/47 48/1321/48 25/1318/3
+s 2
+f 26/1372/49 25/1373/50 49/1374/51
+f 27/1376/52 26/1372/49 49/1374/51
+f 28/1378/53 27/1376/52 49/1374/51
+f 29/1380/54 28/1378/53 49/1374/51
+f 30/1382/55 29/1380/54 49/1374/51
+f 31/1384/56 30/1382/55 49/1374/51
+f 32/1386/57 31/1384/56 49/1374/51
+f 33/1388/58 32/1386/57 49/1374/51
+f 34/1390/59 33/1388/58 49/1374/51
+f 35/1392/60 34/1390/59 49/1374/51
+f 36/1394/61 35/1392/60 49/1374/51
+f 37/1396/62 36/1394/61 49/1374/51
+f 38/1395/63 37/1396/62 49/1374/51
+f 39/1393/64 38/1395/63 49/1374/51
+f 40/1391/65 39/1393/64 49/1374/51
+f 41/1389/66 40/1391/65 49/1374/51
+f 42/1387/67 41/1389/66 49/1374/51
+f 43/1385/68 42/1387/67 49/1374/51
+f 44/1383/69 43/1385/68 49/1374/51
+f 45/1381/70 44/1383/69 49/1374/51
+f 46/1379/71 45/1381/70 49/1374/51
+f 47/1377/72 46/1379/71 49/1374/51
+f 48/1375/73 47/1377/72 49/1374/51
+f 25/1373/50 48/1375/73 49/1374/51
+s 3
+f 51/1397/74 50/1398/75 90/1399/76 91/1400/77
+f 52/1405/78 51/1397/74 91/1400/77 92/1406/79
+f 53/1411/80 52/1405/78 92/1406/79 93/1412/81
+f 54/1417/82 53/1411/80 93/1412/81 94/1418/83
+f 55/1423/84 54/1417/82 94/1418/83 95/1424/85
+f 56/1429/86 55/1423/84 95/1424/85 96/1430/87
+f 57/1435/88 56/1429/86 96/1430/87 97/1436/89
+f 58/1441/90 57/1435/88 97/1436/89 74/1442/91
+f 59/1447/92 58/1441/90 74/1442/91 75/1448/93
+f 60/1453/94 59/1447/92 75/1448/93 76/1454/95
+f 61/1459/96 60/1453/94 76/1454/95 77/1460/97
+f 62/1465/98 61/1459/96 77/1460/97 78/1466/99
+f 63/1461/100 62/1465/98 78/1466/99 79/1462/101
+f 64/1455/102 63/1461/100 79/1462/101 80/1456/103
+f 65/1449/104 64/1455/102 80/1456/103 81/1450/105
+f 66/1443/106 65/1449/104 81/1450/105 82/1444/107
+f 67/1437/108 66/1443/106 82/1444/107 83/1438/109
+f 68/1431/110 67/1437/108 83/1438/109 84/1432/111
+f 69/1425/112 68/1431/110 84/1432/111 85/1426/113
+f 70/1419/114 69/1425/112 85/1426/113 86/1420/115
+f 71/1413/116 70/1419/114 86/1420/115 87/1414/117
+f 72/1407/118 71/1413/116 87/1414/117 88/1408/119
+f 73/1401/120 72/1407/118 88/1408/119 89/1402/121
+f 50/1398/75 73/1401/120 89/1402/121 90/1399/76
+s 4
+f 75/1448/122 74/1442/123 9/1446/124 10/1452/125
+f 76/1454/126 75/1448/122 10/1452/125 11/1458/127
+f 77/1460/128 76/1454/126 11/1458/127 12/1464/129
+f 78/1466/130 77/1460/128 12/1464/129 13/1468/131
+f 79/1462/132 78/1466/130 13/1468/131 14/1467/133
+f 80/1456/134 79/1462/132 14/1467/133 15/1463/135
+f 81/1450/136 80/1456/134 15/1463/135 16/1457/137
+f 82/1444/138 81/1450/136 16/1457/137 17/1451/139
+f 83/1438/140 82/1444/138 17/1451/139 18/1445/141
+f 84/1432/142 83/1438/140 18/1445/141 19/1439/143
+f 85/1426/144 84/1432/142 19/1439/143 20/1433/145
+f 86/1420/146 85/1426/144 20/1433/145 21/1427/147
+f 87/1414/148 86/1420/146 21/1427/147 22/1421/149
+f 88/1408/150 87/1414/148 22/1421/149 23/1415/151
+f 89/1402/152 88/1408/150 23/1415/151 24/1409/153
+f 90/1399/154 89/1402/152 24/1409/153 1/1403/155
+f 91/1400/156 90/1399/154 1/1403/155 2/1404/157
+f 92/1406/158 91/1400/156 2/1404/157 3/1410/159
+f 93/1412/160 92/1406/158 3/1410/159 4/1416/161
+f 94/1418/162 93/1412/160 4/1416/161 5/1422/163
+f 95/1424/164 94/1418/162 5/1422/163 6/1428/165
+f 96/1430/166 95/1424/164 6/1428/165 7/1434/167
+f 97/1436/168 96/1430/166 7/1434/167 8/1440/169
+f 74/1442/123 97/1436/168 8/1440/169 9/1446/124
+s 5
+f 100/1/170 101/2/171 102/3/172 103/4/173 104/5/174 98/6/175 99/7/176 105/8/177
+f 106/9/178 107/10/179 105/8/177 99/7/176 108/11/180 109/12/181
+s off
+f 110/13/182 107/14/183 106/9/184 111/15/185
+f 112/16/186 113/17/187 111/15/188 106/9/189 109/12/190 114/18/191
+f 114/18/192 109/12/193 108/19/194 115/20/195
+s 6
+f 115/20/196 108/19/197 99/21/198 116/22/199
+f 117/23/200 116/22/199 99/21/198 98/24/201 118/25/202
+f 119/26/203 118/25/202 98/24/201 104/27/204 120/28/205
+f 120/29/205 104/30/204 103/4/206 121/31/207
+f 121/31/207 103/4/206 102/3/208 122/32/209
+f 122/32/209 102/3/208 101/33/210 123/34/211
+f 124/35/212 123/36/211 101/37/210 100/38/213 125/39/214
+f 126/40/215 125/39/214 100/38/213 105/41/216 127/42/217
+f 127/42/217 105/41/216 107/14/218 110/13/219
+s 7
+f 128/43/220 129/44/221 131/45/222 130/46/223
+f 128/43/220 132/47/224 133/48/225 129/44/221
+f 134/49/226 135/50/227 137/51/228 136/52/229
+f 134/53/226 138/54/230 139/55/231 135/56/227
+f 140/57/232 141/58/233 143/59/234 142/60/235
+f 140/57/232 144/61/236 145/62/237 141/58/233
+f 146/63/238 131/45/222 147/64/239 145/62/237
+f 129/44/221 148/65/240 147/64/239 131/45/222
+f 129/44/221 133/48/225 149/66/241 148/65/240
+f 150/67/242 137/51/228 149/66/241 133/48/225
+f 135/50/227 151/68/243 149/66/241 137/51/228
+f 135/56/227 139/55/231 152/69/244 151/70/243
+f 153/71/245 143/59/234 152/69/244 139/55/231
+f 141/58/233 154/72/246 152/69/244 143/59/234
+f 141/58/233 145/62/237 147/64/239 154/72/246
+f 154/72/246 147/64/239 148/65/240 155/73/247
+f 148/65/240 149/66/241 151/74/243 155/73/247
+f 151/74/243 152/69/244 154/72/246 155/73/247
+f 156/75/248 157/76/249 159/77/250 158/78/251
+f 156/75/248 160/79/252 161/80/253 157/76/249
+f 162/81/254 163/82/255 165/83/256 164/84/257
+f 162/81/254 166/85/258 167/86/259 163/82/255
+f 168/87/260 169/88/261 171/89/262 170/90/263
+f 168/91/260 172/92/264 173/93/265 169/94/261
+f 174/95/266 159/77/250 175/96/267 173/93/265
+f 157/76/249 176/97/268 175/96/267 159/77/250
+f 157/76/249 161/80/253 177/98/269 176/97/268
+f 178/99/270 165/83/256 177/98/269 161/80/253
+f 163/82/255 179/100/271 177/98/269 165/83/256
+f 163/82/255 167/86/259 180/101/272 179/100/271
+f 181/102/273 171/89/262 180/101/272 167/86/259
+f 169/88/261 182/103/274 180/101/272 171/89/262
+f 169/94/261 173/93/265 175/96/267 182/104/274
+f 182/105/274 175/96/267 176/97/268 183/106/275
+f 176/97/268 177/98/269 179/100/271 183/106/275
+f 179/100/271 180/101/272 182/105/274 183/106/275
+f 184/107/276 185/108/277 187/109/278 186/110/279
+f 184/111/276 188/112/280 189/113/281 185/114/277
+f 190/115/282 191/116/283 193/117/284 192/118/285
+f 190/115/282 194/119/286 195/120/287 191/116/283
+f 196/121/288 197/122/289 199/123/290 198/124/291
+f 196/121/288 200/125/292 201/126/293 197/122/289
+f 202/127/294 187/109/278 203/128/295 201/126/293
+f 185/108/277 204/129/296 203/128/295 187/109/278
+f 185/114/277 189/113/281 205/130/297 204/131/296
+f 206/132/298 193/117/284 205/130/297 189/113/281
+f 191/116/283 207/133/299 205/130/297 193/117/284
+f 191/116/283 195/120/287 208/134/300 207/133/299
+f 209/135/301 199/123/290 208/134/300 195/120/287
+f 197/122/289 210/136/302 208/134/300 199/123/290
+f 197/122/289 201/126/293 203/128/295 210/136/302
+f 210/136/302 203/128/295 204/137/296 211/138/303
+f 204/137/296 205/130/297 207/133/299 211/138/303
+f 207/133/299 208/134/300 210/136/302 211/138/303
+f 212/139/304 213/140/305 215/141/306 214/142/307
+f 212/143/304 216/144/308 217/145/309 213/146/305
+f 218/147/310 219/148/311 221/149/312 220/150/313
+f 218/147/310 222/151/314 223/152/315 219/148/311
+f 224/153/316 225/154/317 227/155/318 226/156/319
+f 224/153/316 228/157/320 229/158/321 225/154/317
+f 230/159/322 215/141/306 231/160/323 229/158/321
+f 213/140/305 232/161/324 231/160/323 215/141/306
+f 213/146/305 217/145/309 233/162/325 232/163/324
+f 234/164/326 221/149/312 233/162/325 217/145/309
+f 219/148/311 235/165/327 233/162/325 221/149/312
+f 219/148/311 223/152/315 236/166/328 235/165/327
+f 237/167/329 227/155/318 236/166/328 223/152/315
+f 225/154/317 238/168/330 236/166/328 227/155/318
+f 225/154/317 229/158/321 231/160/323 238/168/330
+f 238/168/330 231/160/323 232/169/324 239/170/331
+f 232/169/324 233/162/325 235/165/327 239/170/331
+f 235/165/327 236/166/328 238/168/330 239/170/331
+s 19
+f 240/171/332 241/172/333 242/173/334
+f 243/174/335 240/171/332 242/173/334
+f 244/175/336 243/174/335 242/173/334
+f 245/176/337 244/175/336 242/173/334
+f 246/177/338 245/176/337 242/173/334
+f 247/178/339 246/177/338 242/173/334
+f 248/179/340 247/178/339 242/173/334
+f 249/180/341 248/179/340 242/173/334
+f 250/181/342 249/180/341 242/173/334
+f 251/182/343 250/181/342 242/173/334
+f 252/183/344 251/182/343 242/173/334
+f 253/184/345 252/183/344 242/173/334
+f 254/185/346 253/184/345 242/173/334
+f 255/186/347 254/185/346 242/173/334
+f 256/187/348 255/186/347 242/173/334
+f 257/188/349 256/187/348 242/173/334
+f 258/189/350 257/188/349 242/173/334
+f 259/190/351 258/189/350 242/173/334
+f 260/191/352 259/190/351 242/173/334
+f 261/192/353 260/191/352 242/173/334
+f 262/193/354 261/192/353 242/173/334
+f 263/194/355 262/193/354 242/173/334
+f 264/195/356 263/194/355 242/173/334
+f 241/172/333 264/195/356 242/173/334
+s 20
+f 265/196/357 241/197/358 240/198/359 266/199/360
+f 266/199/360 240/198/359 243/200/361 267/201/362
+f 267/201/362 243/200/361 244/202/363 268/203/364
+f 268/203/364 244/202/363 245/204/365 269/205/366
+f 269/205/366 245/204/365 246/206/367 270/207/368
+f 270/207/368 246/206/367 247/208/369 271/209/370
+f 271/209/370 247/208/369 248/210/371 272/211/372
+f 272/211/372 248/210/371 249/212/373 273/213/374
+f 273/213/374 249/212/373 250/214/375 274/215/376
+f 274/215/376 250/214/375 251/216/377 275/217/378
+f 275/217/378 251/216/377 252/218/379 276/219/380
+f 276/219/380 252/218/379 253/220/381 277/221/382
+f 277/221/382 253/220/381 254/222/383 278/223/384
+f 278/223/384 254/222/383 255/224/385 279/225/386
+f 279/225/386 255/224/385 256/226/387 280/227/388
+f 280/227/388 256/226/387 257/228/389 281/229/390
+f 281/229/390 257/228/389 258/230/391 282/231/392
+f 282/231/392 258/230/391 259/232/393 283/233/394
+f 283/233/394 259/232/393 260/234/395 284/235/396
+f 284/235/396 260/234/395 261/236/397 285/237/398
+f 285/237/398 261/236/397 262/238/399 286/239/400
+f 286/239/400 262/238/399 263/240/401 287/241/402
+f 287/241/402 263/240/401 264/242/403 288/243/404
+f 288/243/404 264/242/403 241/244/358 265/245/357
+s 21
+f 289/246/405 290/247/406 291/248/407 292/249/408
+f 290/247/406 293/250/409 294/251/410 291/248/407
+f 293/250/409 295/252/411 296/253/412 294/251/410
+f 295/252/411 297/254/413 298/255/414 296/253/412
+f 297/254/413 299/256/415 300/257/416 298/255/414
+f 299/256/415 301/258/417 302/259/418 300/257/416
+f 301/258/417 303/260/419 304/261/420 302/259/418
+f 303/260/419 305/262/421 306/263/422 304/261/420
+f 305/262/421 307/264/423 308/265/424 306/263/422
+f 307/264/423 309/266/425 310/267/426 308/265/424
+f 309/266/425 311/268/427 312/269/428 310/267/426
+f 311/268/427 313/270/429 314/271/430 312/269/428
+f 313/270/429 315/272/431 316/273/432 314/271/430
+f 315/272/431 317/274/433 318/275/434 316/273/432
+f 317/274/433 319/276/435 320/277/436 318/275/434
+f 319/276/435 321/278/437 322/279/438 320/277/436
+f 321/278/437 323/280/439 324/281/440 322/279/438
+f 323/280/439 325/282/441 326/283/442 324/281/440
+f 325/282/441 327/284/443 328/285/444 326/283/442
+f 327/284/443 329/286/445 330/287/446 328/285/444
+f 329/286/445 331/288/447 332/289/448 330/287/446
+f 331/288/447 333/290/449 334/291/450 332/289/448
+f 333/290/449 335/292/451 336/293/452 334/291/450
+f 335/292/451 289/246/405 292/249/408 336/293/452
+s 22
+f 337/294/453 292/295/454 291/296/455 338/297/456
+f 338/297/456 291/296/455 294/298/457 339/299/458
+f 339/299/458 294/298/457 296/300/459 340/301/460
+f 340/301/460 296/300/459 298/302/461 341/303/462
+f 341/303/462 298/302/461 300/304/463 342/305/464
+f 342/305/464 300/304/463 302/306/465 343/307/466
+f 343/307/466 302/306/465 304/308/467 344/309/468
+f 344/310/468 304/311/467 306/312/469 345/313/470
+f 345/313/470 306/312/469 308/314/471 346/315/472
+f 346/315/472 308/314/471 310/316/473 347/317/474
+f 347/317/474 310/316/473 312/318/475 348/319/476
+f 348/319/476 312/318/475 314/320/477 349/321/478
+f 349/321/478 314/320/477 316/322/479 350/323/480
+f 350/323/480 316/322/479 318/324/481 351/325/482
+f 351/325/482 318/324/481 320/326/483 352/327/484
+f 352/327/484 320/326/483 322/328/485 353/329/486
+f 353/329/486 322/328/485 324/330/487 354/331/488
+f 354/331/488 324/330/487 326/332/489 355/333/490
+f 355/333/490 326/332/489 328/334/491 356/335/492
+f 356/335/492 328/334/491 330/336/493 357/337/494
+f 357/337/494 330/336/493 332/338/495 358/339/496
+f 358/339/496 332/338/495 334/340/497 359/341/498
+f 359/341/498 334/340/497 336/342/499 360/343/500
+f 360/343/500 336/342/499 292/295/454 337/294/453
+s 23
+f 361/344/501 362/345/502 363/346/503
+f 364/347/504 361/344/501 363/346/503
+f 365/348/505 364/347/504 363/346/503
+f 366/349/506 365/348/505 363/346/503
+f 367/350/507 366/349/506 363/346/503
+f 368/351/508 367/350/507 363/346/503
+f 369/352/509 368/351/508 363/346/503
+f 370/353/510 369/352/509 363/346/503
+f 371/354/511 370/353/510 363/346/503
+f 372/355/512 371/354/511 363/346/503
+f 373/356/513 372/355/512 363/346/503
+s off
+f 374/357/514 375/358/515 373/356/516 363/346/517
+s 24
+f 376/359/518 375/358/519 374/357/520
+f 377/360/521 376/359/518 374/357/520
+f 378/361/522 377/360/521 374/357/520
+f 379/362/523 378/361/522 374/357/520
+f 380/363/524 379/362/523 374/357/520
+f 381/364/525 380/363/524 374/357/520
+f 382/365/526 381/364/525 374/357/520
+f 383/366/527 382/365/526 374/357/520
+f 384/367/528 383/366/527 374/357/520
+f 385/368/529 384/367/528 374/357/520
+f 386/369/530 385/368/529 374/357/520
+f 387/370/531 386/369/530 374/357/520
+s off
+f 387/370/532 374/357/533 363/346/534 388/371/535
+s 23
+f 362/345/502 388/371/536 363/346/503
+s 25
+f 389/372/537 362/373/538 361/374/539 390/375/540
+f 390/375/540 361/374/539 364/376/541 391/377/542
+f 391/377/542 364/376/541 365/378/543 392/379/544
+f 392/379/544 365/378/543 366/380/545 393/381/546
+f 393/381/546 366/380/545 367/382/547 394/383/548
+f 394/383/548 367/382/547 368/384/549 395/385/550
+f 395/385/550 368/384/549 369/386/551 396/387/552
+f 396/387/552 369/386/551 370/388/553 397/389/554
+f 397/390/554 370/391/553 371/392/555 398/393/556
+f 398/393/556 371/392/555 372/394/557 399/395/558
+f 399/395/558 372/394/557 373/356/559 400/396/560
+s off
+f 400/396/561 373/356/562 375/358/563 401/397/564
+s 26
+f 401/397/565 375/358/566 376/398/567 402/399/568
+f 402/399/568 376/398/567 377/400/569 403/401/570
+f 403/401/570 377/400/569 378/402/571 404/403/572
+f 404/404/572 378/405/571 379/406/573 405/407/574
+f 405/407/574 379/406/573 380/408/575 406/409/576
+f 406/409/576 380/408/575 381/410/577 407/411/578
+f 407/411/578 381/410/577 382/412/579 408/413/580
+f 408/413/580 382/412/579 383/414/581 409/415/582
+f 409/415/582 383/414/581 384/416/583 410/417/584
+f 410/417/584 384/416/583 385/418/585 411/419/586
+f 411/419/586 385/418/585 386/420/587 412/421/588
+f 412/421/588 386/420/587 387/370/589 413/422/590
+s off
+f 413/422/591 387/370/592 388/371/593 414/423/594
+s 25
+f 414/423/595 388/371/596 362/373/538 389/372/537
+s off
+f 113/424/597 112/425/598 415/426/599 416/427/600
+f 417/428/601 415/426/602 112/425/603 114/429/604
+s 27
+f 117/430/605 422/431/606 421/432/607
+s off
+f 120/433/608 427/434/609 426/435/610
+s 28
+f 435/436/611 434/437/612 124/438/613 125/439/614 126/440/615
+s 29
+f 110/441/616 437/442/617 436/443/618 126/440/619 127/444/620
+s off
+f 441/445/621 416/427/622 415/426/623 442/446/624
+s 30
+f 442/446/625 415/426/626 417/447/627 443/448/628
+f 443/448/628 417/447/627 418/449/629 444/450/630
+f 444/450/630 418/449/629 419/451/631 445/452/632
+f 445/453/632 419/454/631 420/455/633 446/456/634
+f 446/456/634 420/455/633 421/457/635 447/458/636
+f 447/458/636 421/457/635 422/459/637 448/460/638
+f 448/460/638 422/459/637 423/461/639 449/462/640
+f 449/462/640 423/461/639 424/463/641 450/464/642
+f 450/464/642 424/463/641 425/465/643 451/466/644
+f 451/466/644 425/465/643 426/467/645 452/468/646
+f 452/468/646 426/467/645 427/469/647 453/470/648
+f 453/470/648 427/469/647 428/471/649 454/472/650
+s off
+f 454/472/651 428/471/652 429/473/653 455/474/654
+s 31
+f 455/474/655 429/473/656 430/475/657 456/476/658
+f 456/476/658 430/475/657 431/477/659 457/478/660
+f 457/478/660 431/477/659 432/479/661 458/480/662
+f 458/480/662 432/479/661 433/481/663 459/482/664
+f 459/482/664 433/481/663 434/483/665 460/484/666
+f 460/484/666 434/483/665 435/485/667 461/486/668
+f 461/486/668 435/485/667 436/487/669 462/488/670
+f 462/488/670 436/487/669 437/489/671 463/490/672
+f 463/490/672 437/489/671 438/491/673 464/492/674
+f 464/493/674 438/494/673 439/495/675 465/496/676
+f 465/496/676 439/495/675 440/497/677 466/498/678
+f 466/498/678 440/497/677 416/427/679 441/445/680
+s off
+f 863/499/681 465/500/682 466/501/683 862/502/684
+f 395/503/685 358/504/686 359/505/687 394/506/688
+f 470/507/689 274/508/690 275/509/691 861/510/692
+s 32
+f 472/511/693 473/512/694 474/513/695 475/514/696 476/515/697
+f 476/515/697 475/514/696 477/516/698 478/517/699 479/518/700
+s off
+f 480/519/701 481/520/702 482/521/703
+s 7
+f 483/522/704 484/523/705 485/524/706 480/519/707
+s off
+f 486/525/708 487/526/709 488/527/710
+s 7
+f 489/528/711 487/526/712 490/529/713 491/530/714
+s off
+f 492/531/715 493/532/716 494/533/717
+s 7
+f 492/531/718 495/534/719 496/535/720 497/536/721
+s off
+f 498/537/722 499/538/723 500/539/724
+s 7
+f 498/537/725 501/540/726 502/541/727 503/542/728
+s off
+f 498/537/729 504/543/730 505/544/731
+f 498/537/732 500/539/733 504/543/734
+f 492/531/735 506/545/736 507/546/737
+f 492/531/738 494/533/739 506/545/740
+f 508/547/741 487/526/742 509/548/743
+f 509/548/744 487/526/745 486/525/746
+f 510/549/747 511/550/748 480/519/749
+f 480/519/750 482/521/751 510/549/752
+f 512/551/753 513/552/754 514/553/755
+f 515/554/756 514/553/757 516/555/758
+f 517/556/759 518/557/760 519/558/761
+f 517/556/762 520/559/763 521/560/764
+f 517/556/765 522/561/766 520/559/767
+f 517/556/768 519/558/769 522/561/770
+f 516/555/771 514/553/772 523/562/773
+f 513/552/774 523/562/775 514/553/776
+f 524/563/777 525/564/778 526/565/779
+s 7
+f 527/566/780 528/567/781 529/568/782 530/569/783 531/570/784
+s off
+f 532/571/785 533/572/786 528/567/787
+f 524/563/788 534/573/789 535/574/790
+s 38
+f 524/563/791 536/575/792 537/576/793 538/577/794 539/578/795
+s off
+f 528/567/796 540/579/797 541/580/798
+f 524/563/799 535/574/800 536/575/801
+s 38
+f 537/576/793 540/579/802 528/567/803 539/578/795 538/577/794
+s off
+f 542/581/804 469/582/805 903/583/806
+f 408/584/807 267/585/808 268/586/809 407/587/810
+f 528/588/811 906/589/812 904/590/813 539/591/814
+f 498/537/815 505/544/816 501/540/817
+s 7
+f 503/542/728 546/592/818 547/593/819 498/537/725
+f 546/592/818 548/594/820 549/595/821 547/593/819
+f 548/594/820 550/596/822 551/597/823 549/595/821
+f 550/596/822 552/598/824 553/599/825 551/597/823
+f 552/600/824 554/601/826 555/602/827 553/603/825
+f 554/601/826 556/604/828 557/605/829 555/602/827
+f 556/604/828 558/606/830 559/607/831 557/605/829
+f 558/606/830 560/608/832 561/609/833 559/607/831
+f 561/609/833 560/608/832 562/610/834 563/611/835
+f 563/611/835 562/610/834 564/612/836 565/613/837
+f 564/612/836 566/614/838 567/615/839 565/613/837
+f 566/614/838 568/616/840 569/617/841 567/615/839
+f 568/616/840 570/618/842 571/619/843 569/617/841
+f 570/618/842 572/620/844 573/621/845 571/619/843
+f 572/622/844 574/623/846 575/624/847 573/625/845
+f 574/623/846 576/626/848 577/627/849 575/624/847
+f 576/626/848 578/628/850 579/629/851 577/627/849
+f 578/628/850 580/630/852 581/631/853 579/629/851
+f 581/631/853 580/630/852 582/632/854 583/633/855
+f 583/633/855 582/632/854 584/634/856 585/635/857
+f 584/634/856 586/636/858 587/637/859 585/635/857
+f 586/636/858 588/638/860 589/639/861 587/637/859
+f 588/638/860 590/640/862 591/641/863 589/639/861
+f 590/640/862 592/642/864 593/643/865 591/641/863
+f 592/644/864 594/645/866 595/646/867 593/647/865
+f 594/645/866 596/648/868 597/649/869 595/646/867
+f 596/648/868 598/650/870 599/651/871 597/649/869
+f 598/650/870 600/652/872 601/653/873 599/651/871
+f 601/653/873 600/652/872 602/654/874 603/655/875
+f 603/655/875 602/654/874 604/656/876 605/657/877
+f 604/656/876 606/658/878 607/659/879 605/657/877
+f 606/658/878 608/660/880 609/661/881 607/659/879
+f 608/660/880 610/662/882 611/663/883 609/661/881
+f 610/662/882 612/664/884 613/665/885 611/663/883
+f 612/666/884 614/667/886 615/668/887 613/669/885
+f 614/667/886 616/670/888 617/671/889 615/668/887
+f 616/670/888 618/672/890 619/673/891 617/671/889
+f 618/672/890 489/528/711 492/531/718 619/673/891
+f 492/531/718 489/528/711 491/530/714 493/532/892
+f 530/569/783 512/551/893 514/553/894 531/570/784
+f 620/674/895 514/553/894 515/554/896 621/675/897
+f 517/556/898 620/674/895 621/675/897 518/557/899
+f 517/556/898 521/560/900 622/676/901 623/677/902
+f 624/678/903 623/677/902 622/676/901 525/564/904 524/563/905
+s off
+f 524/563/906 526/565/907 534/573/908
+f 541/580/909 532/571/910 528/567/911
+f 529/568/912 528/567/913 533/572/914
+s 7
+f 503/542/728 502/541/727 481/520/915 480/519/707
+f 488/527/916 487/526/712 485/524/706 484/523/705
+s off
+f 492/531/917 507/546/918 495/534/919
+s 7
+f 497/536/721 496/535/720 499/538/920 498/537/725
+s off
+f 527/566/921 531/570/922 625/679/923 626/680/924 627/681/925 628/682/926 629/683/927 630/684/928
+s 7
+f 631/685/929 632/686/930 623/677/902 633/687/931
+s off
+f 631/685/932 634/688/933 632/686/934
+s 7
+f 625/679/935 531/570/784 635/689/936 636/690/937
+s off
+f 633/687/938 623/677/939 624/678/940 637/691/941 638/692/942 639/693/943 640/694/944 641/695/945
+f 632/686/946 634/688/947 642/696/948 643/697/949 644/698/950 645/699/951 646/700/952 647/701/953 648/702/954
+f 636/690/955 635/689/956 649/703/957
+f 649/703/958 635/689/959 543/704/960 650/705/961 651/706/962 652/707/963 653/708/964 654/709/965 655/710/966
+s 7
+f 632/686/930 648/702/967 542/711/968 656/712/969
+s 44
+f 475/514/970 657/713/971 658/714/972 659/715/973 477/516/974
+s 7
+f 600/652/872 660/716/975 661/717/976 602/654/874
+f 582/632/854 662/718/977 663/719/978 584/634/856
+f 562/610/834 664/720/979 665/721/980 564/612/836
+s off
+f 490/529/981 487/526/982 508/547/983
+s 7
+f 660/716/975 666/722/984 667/723/985 661/717/976
+f 666/722/984 668/724/986 669/725/987 667/723/985
+f 668/724/986 670/726/988 671/727/989 669/725/987
+f 670/726/988 672/728/990 673/729/991 671/727/989
+f 672/728/990 674/730/992 675/731/993 673/729/991
+f 674/730/992 676/732/994 677/733/995 675/731/993
+f 676/732/994 678/734/996 679/735/997 677/733/995
+f 663/719/978 680/736/998 586/636/858 584/634/856
+f 680/736/998 681/737/999 588/638/860 586/636/858
+f 681/737/999 682/738/1000 590/640/862 588/638/860
+f 682/738/1000 683/739/1001 592/642/864 590/640/862
+f 683/740/1001 684/741/1002 594/645/866 592/644/864
+f 684/741/1002 685/742/1003 596/648/868 594/645/866
+f 685/742/1003 686/743/1004 598/650/870 596/648/868
+f 686/743/1004 660/716/975 600/652/872 598/650/870
+f 517/556/898 687/744/1005 688/745/1006 620/674/895
+f 687/744/1005 689/746/1007 690/747/1008 688/745/1006
+f 689/746/1007 691/748/1009 692/749/1010 690/747/1008
+f 691/748/1009 693/750/1011 694/751/1012 692/749/1010
+f 693/750/1011 695/752/1013 696/753/1014 694/751/1012
+f 695/752/1013 697/754/1015 698/755/1016 696/753/1014
+f 697/754/1015 699/756/1017 700/757/1018 698/755/1016
+f 699/756/1017 663/719/978 662/718/977 700/757/1018
+f 701/758/1019 702/759/1020 703/760/1021 704/761/1022
+f 702/759/1020 705/762/1023 706/763/1024 703/760/1021
+f 705/762/1023 707/764/1025 708/765/1026 706/763/1024
+f 707/764/1025 709/766/1027 710/767/1028 708/765/1026
+f 709/766/1027 711/768/1029 712/769/1030 710/767/1028
+f 711/768/1029 713/770/1031 714/771/1032 712/769/1030
+f 713/770/1031 665/721/980 664/720/979 714/771/1032
+f 665/721/980 715/772/1033 566/614/838 564/612/836
+f 715/772/1033 716/773/1034 568/616/840 566/614/838
+f 716/773/1034 717/774/1035 570/618/842 568/616/840
+f 717/774/1035 718/775/1036 572/620/844 570/618/842
+f 718/776/1036 719/777/1037 574/623/846 572/622/844
+f 719/777/1037 720/778/1038 576/626/848 574/623/846
+f 720/778/1038 721/779/1039 578/628/850 576/626/848
+f 721/779/1039 722/780/1040 580/630/852 578/628/850
+f 723/781/1041 724/782/1042 606/658/878 604/656/876
+f 724/782/1042 725/783/1043 608/660/880 606/658/878
+f 725/783/1043 726/784/1044 610/662/882 608/660/880
+f 726/784/1044 727/785/1045 612/664/884 610/662/882
+f 727/786/1045 728/787/1046 614/667/886 612/666/884
+f 728/787/1046 729/788/1047 616/670/888 614/667/886
+f 729/788/1047 730/789/1048 618/672/890 616/670/888
+f 730/789/1048 487/526/712 489/528/711 618/672/890
+f 487/526/712 731/790/1049 732/791/1050 485/524/706
+f 731/790/1049 733/792/1051 734/793/1052 732/791/1050
+f 733/792/1051 735/794/1053 736/795/1054 734/793/1052
+f 735/794/1053 737/796/1055 738/797/1056 736/795/1054
+f 737/796/1055 739/798/1057 740/799/1058 738/797/1056
+f 739/798/1057 741/800/1059 742/801/1060 740/799/1058
+f 741/800/1059 743/802/1061 744/803/1062 742/801/1060
+f 743/802/1061 632/686/930 656/712/969 744/803/1062
+f 480/519/707 745/804/1063 546/592/818 503/542/728
+f 745/804/1063 746/805/1064 548/594/820 546/592/818
+f 746/805/1064 747/806/1065 550/596/822 548/594/820
+f 747/806/1065 748/807/1066 552/598/824 550/596/822
+f 748/808/1066 749/809/1067 554/601/826 552/600/824
+f 749/809/1067 750/810/1068 556/604/828 554/601/826
+f 750/810/1068 751/811/1069 558/606/830 556/604/828
+f 751/811/1069 752/812/1070 560/608/832 558/606/830
+s 32
+f 753/813/1071 754/814/1072 755/815/1073 756/816/1074 757/817/1075 758/818/1076 759/819/1077 479/518/700 478/517/699
+s 44
+f 760/820/1078 761/821/1079 762/822/1080 763/823/1081 764/824/1082 765/825/1083 766/826/1084 659/715/973 658/714/972
+s 32
+f 767/827/1085 768/828/1086 769/829/1087 770/830/1088 771/831/1089 772/832/1090 773/833/1091 473/512/694 472/511/693
+s 44
+f 774/834/1092 775/835/1093 776/836/1094 777/837/1095 778/838/1096 779/839/1097 780/840/1098 781/841/1099 782/842/1100
+s 7
+f 687/744/1005 517/556/898 678/734/996 783/843/1101
+f 783/843/1101 678/734/996 676/732/994 784/844/1102
+f 784/844/1102 676/732/994 674/730/992 130/46/223
+f 130/46/223 674/730/992 672/728/990 128/43/220
+f 132/47/224 670/726/988 668/724/986 785/845/1103
+f 785/845/1103 668/724/986 666/722/984 786/846/1104
+f 666/722/984 660/716/975 686/743/1004 786/846/1104
+f 786/846/1104 686/743/1004 685/742/1003 787/847/1105
+f 787/847/1105 685/742/1003 684/741/1002 136/52/229
+f 136/52/229 684/741/1002 683/740/1001 134/49/226
+f 138/54/230 682/738/1000 681/737/999 788/848/1106
+f 788/848/1106 681/737/999 680/736/998 789/849/1107
+f 680/736/998 663/719/978 699/756/1017 789/849/1107
+f 789/849/1107 699/756/1017 697/754/1015 790/850/1108
+f 790/850/1108 697/754/1015 695/752/1013 142/60/235
+f 142/60/235 695/752/1013 693/750/1011 140/57/232
+f 144/61/236 691/748/1009 689/746/1007 791/851/1109
+f 791/851/1109 689/746/1007 687/744/1005 783/843/1101
+f 791/851/1109 783/843/1101 784/844/1102 146/63/238
+f 146/63/238 784/844/1102 130/46/223 131/45/222
+f 133/48/225 132/47/224 785/845/1103 150/67/242
+f 785/845/1103 786/846/1104 787/847/1105 150/67/242
+f 150/67/242 787/847/1105 136/52/229 137/51/228
+f 139/55/231 138/54/230 788/848/1106 153/71/245
+f 788/848/1106 789/849/1107 790/850/1108 153/71/245
+f 153/71/245 790/850/1108 142/60/235 143/59/234
+f 145/62/237 144/61/236 791/851/1109 146/63/238
+f 715/772/1033 665/721/980 713/770/1031 792/852/1110
+f 792/852/1110 713/770/1031 711/768/1029 793/853/1111
+f 793/853/1111 711/768/1029 709/766/1027 158/78/251
+f 158/78/251 709/766/1027 707/764/1025 156/75/248
+f 160/79/252 705/762/1023 702/759/1020 794/854/1112
+f 794/854/1112 702/759/1020 701/758/1019 795/855/1113
+f 701/758/1019 514/553/894 796/856/1114 795/855/1113
+f 795/855/1113 796/856/1114 797/857/1115 798/858/1116
+f 798/858/1116 797/857/1115 799/859/1117 164/84/257
+f 164/84/257 799/859/1117 800/860/1118 162/81/254
+f 166/85/258 801/861/1119 802/862/1120 803/863/1121
+f 803/863/1121 802/862/1120 804/864/1122 805/865/1123
+f 804/864/1122 722/780/1040 721/779/1039 805/865/1123
+f 805/865/1123 721/779/1039 720/778/1038 806/866/1124
+f 806/866/1124 720/778/1038 719/777/1037 170/90/263
+f 170/90/263 719/777/1037 718/776/1036 168/87/260
+f 172/92/264 717/774/1035 716/773/1034 807/867/1125
+f 807/867/1125 716/773/1034 715/772/1033 792/852/1110
+f 807/867/1125 792/852/1110 793/853/1111 174/95/266
+f 174/95/266 793/853/1111 158/78/251 159/77/250
+f 161/80/253 160/79/252 794/854/1112 178/99/270
+f 794/854/1112 795/855/1113 798/858/1116 178/99/270
+f 178/99/270 798/858/1116 164/84/257 165/83/256
+f 167/86/259 166/85/258 803/863/1121 181/102/273
+f 803/863/1121 805/865/1123 806/866/1124 181/102/273
+f 181/102/273 806/866/1124 170/90/263 171/89/262
+f 173/93/265 172/92/264 807/867/1125 174/95/266
+f 731/790/1049 487/526/712 730/789/1048 808/868/1126
+f 808/868/1126 730/789/1048 729/788/1047 809/869/1127
+f 809/869/1127 729/788/1047 728/787/1046 186/110/279
+f 186/110/279 728/787/1046 727/786/1045 184/107/276
+f 188/112/280 726/784/1044 725/783/1043 810/870/1128
+f 810/870/1128 725/783/1043 724/782/1042 811/871/1129
+f 724/782/1042 723/781/1041 812/872/1130 811/871/1129
+f 811/871/1129 812/872/1130 813/873/1131 814/874/1132
+f 814/874/1132 813/873/1131 815/875/1133 192/118/285
+f 192/118/285 815/875/1133 816/876/1134 190/115/282
+f 194/119/286 817/877/1135 818/878/1136 819/879/1137
+f 819/879/1137 818/878/1136 820/880/1138 821/881/1139
+f 820/880/1138 632/686/930 743/802/1061 821/881/1139
+f 821/881/1139 743/802/1061 741/800/1059 822/882/1140
+f 822/882/1140 741/800/1059 739/798/1057 198/124/291
+f 198/124/291 739/798/1057 737/796/1055 196/121/288
+f 200/125/292 735/794/1053 733/792/1051 823/883/1141
+f 823/883/1141 733/792/1051 731/790/1049 808/868/1126
+f 823/883/1141 808/868/1126 809/869/1127 202/127/294
+f 202/127/294 809/869/1127 186/110/279 187/109/278
+f 189/113/281 188/112/280 810/870/1128 206/132/298
+f 810/870/1128 811/871/1129 814/874/1132 206/132/298
+f 206/132/298 814/874/1132 192/118/285 193/117/284
+f 195/120/287 194/119/286 819/879/1137 209/135/301
+f 819/879/1137 821/881/1139 822/882/1140 209/135/301
+f 209/135/301 822/882/1140 198/124/291 199/123/290
+f 201/126/293 200/125/292 823/883/1141 202/127/294
+f 824/884/1142 752/812/1070 751/811/1069 825/885/1143
+f 825/885/1143 751/811/1069 750/810/1068 826/886/1144
+f 826/886/1144 750/810/1068 749/809/1067 214/142/307
+f 214/142/307 749/809/1067 748/808/1066 212/139/304
+f 216/144/308 747/806/1065 746/805/1064 827/887/1145
+f 827/887/1145 746/805/1064 745/804/1063 828/888/1146
+f 745/804/1063 480/519/707 829/889/1147 828/888/1146
+f 828/888/1146 829/889/1147 830/890/1148 831/891/1149
+f 831/891/1149 830/890/1148 832/892/1150 220/150/313
+f 220/150/313 832/892/1150 833/893/1151 218/147/310
+f 222/151/314 834/894/1152 835/895/1153 836/896/1154
+f 836/896/1154 835/895/1153 837/897/1155 838/898/1156
+f 837/897/1155 635/689/936 839/899/1157 838/898/1156
+f 838/898/1156 839/899/1157 840/900/1158 841/901/1159
+f 841/901/1159 840/900/1158 842/902/1160 226/156/319
+f 226/156/319 842/902/1160 843/903/1161 224/153/316
+f 228/157/320 844/904/1162 845/905/1163 846/906/1164
+f 846/906/1164 845/905/1163 824/884/1142 825/885/1143
+f 846/906/1164 825/885/1143 826/886/1144 230/159/322
+f 230/159/322 826/886/1144 214/142/307 215/141/306
+f 217/145/309 216/144/308 827/887/1145 234/164/326
+f 827/887/1145 828/888/1146 831/891/1149 234/164/326
+f 234/164/326 831/891/1149 220/150/313 221/149/312
+f 223/152/315 222/151/314 836/896/1154 237/167/329
+f 836/896/1154 838/898/1156 841/901/1159 237/167/329
+f 237/167/329 841/901/1159 226/156/319 227/155/318
+f 229/158/321 228/157/320 846/906/1164 230/159/322
+s 46
+f 977/907/1165 979/908/1166 755/815/1167 754/814/1168
+f 975/909/1169 977/907/1165 754/814/1168 753/813/1170
+f 973/910/1171 975/909/1169 753/813/1170 478/517/1172
+f 477/516/1173 971/911/1174 973/910/1171 478/517/1172
+f 967/912/1175 969/913/1176 659/715/1177 766/826/1178
+f 965/914/1179 967/912/1175 766/826/1178 765/825/1180
+f 963/915/1181 965/914/1179 765/825/1180 764/824/1182
+f 961/916/1183 963/915/1181 764/824/1182 763/823/1184
+f 959/917/1185 961/916/1183 763/823/1184 762/822/1186
+f 957/918/1187 959/917/1185 762/822/1186 761/821/1188
+f 955/919/1189 957/918/1187 761/821/1188 760/820/1190
+f 953/920/1191 955/919/1189 760/820/1190 658/714/1192
+f 657/713/1193 951/921/1194 953/920/1191 658/714/1192
+f 947/922/1195 949/923/1196 781/841/1197 780/840/1198
+f 945/924/1199 947/922/1195 780/840/1198 779/839/1200
+f 943/925/1201 945/924/1199 779/839/1200 778/838/1202
+f 941/926/1203 943/925/1201 778/838/1202 777/837/1204
+f 939/927/1205 941/926/1203 777/837/1204 776/836/1206
+f 937/928/1207 939/927/1205 776/836/1206 775/835/1208
+f 935/929/1209 937/928/1207 775/835/1208 774/834/1210
+f 933/930/1211 935/929/1209 774/834/1210 782/842/1212
+f 473/512/1213 929/931/1214 931/932/1215 474/513/1216
+f 927/933/1217 929/931/1214 473/512/1213 773/833/1218
+f 925/934/1219 927/933/1217 773/833/1218 772/832/1220
+f 923/935/1221 925/934/1219 772/832/1220 771/831/1222
+f 921/936/1223 923/935/1221 771/831/1222 770/830/1224
+f 919/937/1225 921/936/1223 770/830/1224 769/829/1226
+f 917/938/1227 919/937/1225 769/829/1226 768/828/1228
+f 915/939/1229 917/938/1227 768/828/1228 767/827/1230
+f 913/940/1231 915/939/1229 767/827/1230 472/511/1232
+f 479/518/1233 909/941/1234 911/942/1235 476/515/1236
+f 908/943/1237 909/941/1234 479/518/1233 759/819/1238
+f 985/944/1239 908/943/1237 759/819/1238 758/818/1240
+f 983/945/1241 985/944/1239 758/818/1240 757/817/1242
+f 981/946/1243 983/945/1241 757/817/1242 756/816/1244
+f 979/908/1166 981/946/1243 756/816/1244 755/815/1167
+s 7
+f 677/733/995 679/735/997 820/880/1138 818/878/1136
+f 675/731/993 677/733/995 818/878/1136 817/877/1135
+f 673/729/991 675/731/993 817/877/1135 816/876/1134
+f 671/727/989 673/729/991 816/876/1134 815/875/1133
+f 669/725/987 671/727/989 815/875/1133 813/873/1131
+f 667/723/985 669/725/987 813/873/1131 812/872/1130
+f 661/717/976 667/723/985 812/872/1130 723/781/1041
+f 602/654/874 661/717/976 723/781/1041 604/656/876
+s 46
+f 476/515/1236 911/942/1235 913/940/1231 472/511/1232
+s 44
+f 475/514/970 474/513/1245 782/842/1100 781/841/1099 657/713/971
+s 46
+f 781/841/1197 949/923/1196 951/921/1194 657/713/1193
+s 7
+f 560/608/832 752/812/1070 664/720/979 562/610/834
+f 714/771/1032 664/720/979 752/812/1070 824/884/1142
+f 712/769/1030 714/771/1032 824/884/1142 845/905/1163
+f 710/767/1028 712/769/1030 845/905/1163 844/904/1162
+f 708/765/1026 710/767/1028 844/904/1162 843/903/1161
+f 706/763/1024 708/765/1026 843/903/1161 842/902/1160
+f 703/760/1021 706/763/1024 842/902/1160 840/900/1158
+f 704/761/1022 703/760/1021 840/900/1158 839/899/1157
+s 46
+f 659/715/1177 969/913/1176 971/911/1174 477/516/1173
+s 7
+f 580/630/852 722/780/1040 662/718/977 582/632/854
+f 700/757/1018 662/718/977 722/780/1040 804/864/1122
+f 698/755/1016 700/757/1018 804/864/1122 802/862/1120
+f 696/753/1014 698/755/1016 802/862/1120 801/861/1119
+f 694/751/1012 696/753/1014 801/861/1119 800/860/1118
+f 692/749/1010 694/751/1012 800/860/1118 799/859/1117
+f 690/747/1008 692/749/1010 799/859/1117 797/857/1115
+f 688/745/1006 690/747/1008 797/857/1115 796/856/1114
+f 620/674/895 688/745/1006 796/856/1114 514/553/894
+f 744/803/1062 656/712/969 635/689/936 837/897/1155
+f 742/801/1060 744/803/1062 837/897/1155 835/895/1153
+f 740/799/1058 742/801/1060 835/895/1153 834/894/1152
+f 738/797/1056 740/799/1058 834/894/1152 833/893/1151
+f 736/795/1054 738/797/1056 833/893/1151 832/892/1150
+f 734/793/1052 736/795/1054 832/892/1150 830/890/1148
+f 732/791/1050 734/793/1052 830/890/1148 829/889/1147
+f 485/524/706 732/791/1050 829/889/1147 480/519/707
+s off
+f 511/550/1246 483/522/1247 480/519/1248
+s 46
+f 474/513/1216 931/932/1215 933/930/1211 782/842/1212
+s 7
+f 679/735/997 678/734/996 517/556/898 623/677/902
+f 531/570/784 514/553/894 701/758/1019 704/761/1022
+f 820/880/1138 679/735/997 623/677/902 632/686/930
+f 635/689/936 531/570/784 704/761/1022 839/899/1157
+f 543/704/1249 635/689/936 656/712/969 542/711/968
+f 670/726/988 132/47/224 128/43/220 672/728/990
+f 682/738/1000 138/54/230 134/53/226 683/739/1001
+f 691/748/1009 144/61/236 140/57/232 693/750/1011
+f 705/762/1023 160/79/252 156/75/248 707/764/1025
+f 801/861/1119 166/85/258 162/81/254 800/860/1118
+f 717/774/1035 172/92/264 168/91/260 718/775/1036
+f 726/784/1044 188/112/280 184/111/276 727/785/1045
+f 817/877/1135 194/119/286 190/115/282 816/876/1134
+f 735/794/1053 200/125/292 196/121/288 737/796/1055
+f 747/806/1065 216/144/308 212/143/304 748/807/1066
+f 834/894/1152 222/151/314 218/147/310 833/893/1151
+f 844/904/1162 228/157/320 224/153/316 843/903/1161
+s 49
+f 539/591/1250 901/947/1251 847/948/1252 524/949/1253
+s 50
+f 527/950/1254 848/951/1255 545/952/1256 528/588/1257
+f 630/953/1258 849/954/1259 848/951/1255 527/950/1254
+f 629/955/1260 850/956/1261 849/954/1259 630/953/1258
+f 628/957/1262 851/958/1263 850/956/1261 629/955/1260
+f 627/959/1264 852/960/1265 851/958/1263 628/957/1262
+f 626/961/1266 853/962/1267 852/960/1265 627/959/1264
+f 625/963/1268 854/964/1269 853/962/1267 626/961/1266
+f 636/965/1270 471/966/1271 854/964/1269 625/963/1268
+f 649/967/1272 855/968/1273 471/966/1271 636/965/1270
+f 655/969/1274 856/970/1275 855/968/1273 649/967/1272
+f 654/971/1276 857/972/1277 856/970/1275 655/969/1274
+f 653/973/1278 858/974/1279 857/972/1277 654/971/1276
+f 652/975/1280 859/976/1281 858/974/1279 653/973/1278
+f 651/977/1282 860/978/1283 859/976/1281 652/975/1280
+f 650/979/1284 861/980/1285 860/978/1283 651/977/1282
+f 543/981/1286 470/982/1287 861/980/1285 650/979/1284
+s off
+f 542/581/1288 902/983/1289 469/582/1290
+s 49
+f 647/984/1291 862/985/1292 467/986/1293 648/987/1294
+f 646/988/1295 863/989/1296 862/985/1292 647/984/1291
+f 645/990/1297 864/991/1298 863/989/1296 646/988/1295
+f 644/992/1299 865/993/1300 864/991/1298 645/990/1297
+f 643/994/1301 866/995/1302 865/993/1300 644/992/1299
+f 642/996/1303 867/997/1304 866/995/1302 643/994/1301
+f 634/998/1305 868/999/1306 867/997/1304 642/996/1303
+f 631/1000/1307 468/1001/1308 868/999/1306 634/998/1305
+f 633/1013/1309 869/1012/1310 468/1001/1308 631/1000/1307
+f 641/1004/1311 870/1005/1312 869/1003/1310 633/1002/1309
+f 640/1006/1313 871/1007/1314 870/1005/1312 641/1004/1311
+f 639/1008/1315 872/1009/1316 871/1007/1314 640/1006/1313
+f 638/1010/1317 873/1011/1318 872/1009/1316 639/1008/1315
+f 637/1014/1319 874/1015/1320 873/1011/1318 638/1010/1317
+f 624/1016/1321 875/1017/1322 874/1015/1320 637/1014/1319
+f 524/949/1253 847/948/1252 875/1017/1322 624/1016/1321
+s off
+f 545/952/1323 848/1018/1324 285/1019/1325 286/1020/1326
+f 456/1021/1327 875/1022/1328 847/948/1329 455/1023/1330
+s 52
+f 289/1024/1331 876/1025/1332 877/1026/1333 290/1027/1334
+f 335/1028/1335 878/1029/1336 876/1025/1332 289/1024/1331
+f 333/1030/1337 879/1031/1338 878/1029/1336 335/1028/1335
+f 331/1032/1339 880/1033/1340 879/1031/1338 333/1030/1337
+f 329/1034/1341 881/1035/1342 880/1033/1340 331/1032/1339
+f 327/1036/1343 882/1037/1344 881/1035/1342 329/1034/1341
+f 325/1038/1345 883/1039/1346 882/1037/1344 327/1036/1343
+f 323/1040/1347 884/1041/1348 883/1039/1346 325/1038/1345
+f 321/1042/1349 885/1043/1350 884/1041/1348 323/1040/1347
+f 319/1044/1351 886/1045/1352 885/1043/1350 321/1042/1349
+f 317/1046/1353 887/1047/1354 886/1045/1352 319/1044/1351
+f 315/1048/1355 888/1049/1356 887/1047/1354 317/1046/1353
+f 313/1050/1357 889/1051/1358 888/1049/1356 315/1048/1355
+f 311/1052/1359 890/1053/1360 889/1051/1358 313/1050/1357
+f 309/1054/1361 891/1055/1362 890/1053/1360 311/1052/1359
+f 307/1056/1363 892/1057/1364 891/1055/1362 309/1054/1361
+f 305/1058/1365 893/1059/1366 892/1057/1364 307/1056/1363
+f 303/1060/1367 894/1061/1368 893/1059/1366 305/1058/1365
+f 301/1062/1369 895/1063/1370 894/1061/1368 303/1060/1367
+f 299/1064/1371 896/1065/1372 895/1063/1370 301/1062/1369
+f 297/1066/1373 897/1067/1374 896/1065/1372 299/1064/1371
+f 295/1068/1375 898/1069/1376 897/1067/1374 297/1066/1373
+f 293/1070/1377 899/1071/1378 898/1069/1376 295/1068/1375
+f 290/1072/1334 877/1073/1333 899/1071/1378 293/1070/1377
+s 53
+f 877/1074/1379 876/1075/1380 900/1076/1381
+f 876/1075/1380 878/1077/1382 900/1076/1381
+f 878/1077/1382 879/1078/1383 900/1076/1381
+f 879/1078/1383 880/1079/1384 900/1076/1381
+f 880/1079/1384 881/1080/1385 900/1076/1381
+f 881/1080/1385 882/1081/1386 900/1076/1381
+f 882/1081/1386 883/1082/1387 900/1076/1381
+f 883/1082/1387 884/1083/1388 900/1076/1381
+f 884/1083/1388 885/1084/1389 900/1076/1381
+f 885/1084/1389 886/1085/1390 900/1076/1381
+f 886/1085/1390 887/1086/1391 900/1076/1381
+f 887/1086/1391 888/1087/1392 900/1076/1381
+f 888/1087/1392 889/1088/1393 900/1076/1381
+f 889/1088/1393 890/1089/1394 900/1076/1381
+f 890/1089/1394 891/1090/1395 900/1076/1381
+f 891/1090/1395 892/1091/1396 900/1076/1381
+f 892/1091/1396 893/1092/1397 900/1076/1381
+f 893/1092/1397 894/1093/1398 900/1076/1381
+f 894/1093/1398 895/1094/1399 900/1076/1381
+f 895/1094/1399 896/1095/1400 900/1076/1381
+f 896/1095/1400 897/1096/1401 900/1076/1381
+f 897/1096/1401 898/1097/1402 900/1076/1381
+f 898/1097/1402 899/1098/1403 900/1076/1381
+f 899/1098/1403 877/1074/1379 900/1076/1381
+s 28
+f 433/1099/1404 124/438/613 434/437/612
+s off
+f 428/471/1405 121/1100/1406 122/1101/1407 429/473/1408
+f 418/1102/1409 417/428/1410 114/429/1411 115/1103/1412 419/1104/1413
+f 440/1105/1414 111/1106/1415 113/424/1416 416/427/1417
+s 27
+f 420/1107/1418 419/1104/1419 115/1103/1420 116/1108/1421 117/430/605 421/432/607
+s off
+f 439/1109/1422 438/1110/1423 110/441/1424 111/1106/1425
+s 29
+f 435/436/1426 126/440/619 436/443/618
+s 54
+f 422/431/1427 117/430/1428 118/1111/1429 119/1112/1430 423/1113/1431
+s off
+f 428/471/1432 427/434/1433 120/433/1434 121/1100/1435
+f 123/1114/1436 430/1115/1437 429/473/1438 122/1101/1439
+f 123/1114/1440 431/1116/1441 430/1115/1442
+f 120/433/1443 426/435/1444 425/1117/1445
+f 120/433/1446 425/1117/1447 424/1118/1448 119/1112/1449
+s 54
+f 119/1112/1430 424/1118/1450 423/1113/1431
+s off
+f 123/1114/1451 432/1119/1452 431/1116/1453
+f 433/1099/1454 432/1119/1455 123/1114/1456 124/438/1457
+f 342/1120/1458 901/947/1459 544/1121/1460 341/1122/1461
+f 902/1123/1462 442/1124/1463 443/1125/1464
+f 457/1126/1465 874/1127/1466 875/1022/1467 456/1021/1468
+f 862/502/1469 466/501/1470 441/1128/1471 467/1129/1472
+f 468/1130/1473 461/1131/1474 868/1132/1475
+f 864/1133/1476 464/1134/1477 465/500/1478 863/499/1479
+f 459/1135/1480 872/1136/1481 873/1137/1482 458/1138/1483
+f 458/1138/1484 873/1137/1485 874/1127/1486 457/1126/1487
+f 460/1139/1488 869/1140/1489 870/1141/1490
+f 468/1130/1491 869/1140/1492 460/1139/1493 461/1131/1494
+f 460/1139/1495 870/1141/1496 871/1142/1497
+f 460/1139/1498 871/1142/1499 872/1136/1500 459/1135/1501
+f 868/1132/1502 461/1131/1503 867/1143/1504
+f 867/1143/1505 461/1131/1506 462/1144/1507 866/1145/1508
+f 438/1110/1509 437/442/1510 110/441/1511
+f 439/1109/1512 111/1106/1513 440/1105/1514
+f 865/1146/1515 463/1147/1516 464/1134/1517 864/1133/1518
+f 866/1145/1519 462/1144/1520 463/1147/1521 865/1146/1522
+f 285/1019/1523 848/1018/1524 849/1148/1525 284/1149/1526
+f 281/1150/1527 853/1151/1528 854/1152/1529
+f 284/1149/1530 849/1148/1531 850/1153/1532 283/1154/1533
+f 860/1155/1534 276/1156/1535 277/1157/1536 859/1158/1537
+f 861/510/1538 275/509/1539 276/1156/1540 860/1155/1541
+f 859/1158/1542 277/1157/1543 278/1159/1544 858/1160/1545
+f 858/1160/1546 278/1159/1547 279/1161/1548 857/1162/1549
+f 283/1154/1550 850/1153/1551 851/1163/1552 282/1164/1553
+f 282/1164/1554 851/1163/1555 852/1165/1556 281/1150/1557
+f 856/1166/1558 279/1161/1559 855/1167/1560
+f 857/1162/1561 279/1161/1562 856/1166/1563
+f 281/1150/1564 852/1165/1565 853/1151/1566
+f 281/1150/1567 854/1152/1568 471/1168/1569 280/1169/1570
+f 855/1167/1571 279/1161/1572 280/1169/1573 471/1168/1574
+f 455/1023/1575 847/948/1576 901/947/1577 453/1170/1578 454/1171/1579
+f 344/1172/1580 901/947/1581 343/1173/1582
+f 453/1170/1583 901/947/1584 452/1174/1585
+f 343/1173/1586 901/947/1587 342/1120/1588
+f 452/1174/1589 901/947/1590 451/1175/1591
+f 345/1176/1592 901/947/1593 344/1172/1594
+f 451/1175/1595 901/947/1596 450/1177/1597
+f 450/1177/1598 901/947/1599 345/1176/1600
+f 449/1178/1601 346/1179/1602 347/1180/1603 448/1181/1604
+f 902/1123/1605 352/1182/1606 353/1183/1607 469/1184/1608
+f 467/1129/1609 441/1128/1610 442/1124/1611 902/1123/1612
+f 902/1123/1613 351/1185/1614 352/1182/1615
+f 902/1123/1616 444/1186/1617 445/1187/1618
+f 902/1123/1619 350/1188/1620 351/1185/1621
+f 902/1123/1622 443/1125/1623 444/1186/1624
+f 902/1123/1625 445/1187/1626 446/1189/1627
+f 902/1123/1628 349/1190/1629 350/1188/1630
+f 348/1191/1631 447/1192/1632 448/1181/1633 347/1180/1634
+f 349/1190/1635 446/1189/1636 447/1192/1637 348/1191/1638
+f 902/1123/1639 446/1189/1640 349/1190/1641
+f 450/1177/1642 345/1176/1643 346/1179/1644 449/1178/1645
+f 396/1193/1646 357/1194/1647 358/504/1648 395/503/1649
+f 360/1195/1650 393/1196/1651 394/506/1652 359/505/1653
+f 337/1197/1654 392/1198/1655 393/1196/1656 360/1195/1657
+f 397/1199/1658 356/1200/1659 357/1194/1660 396/1193/1661
+f 401/1201/1662 903/1202/1663 400/1203/1664
+f 268/586/1665 269/1204/1666 406/1205/1667 407/587/1668
+f 904/590/1669 413/1206/1670 414/1207/1671
+f 904/590/1672 414/1207/1673 389/1208/1674
+f 338/1209/1675 391/1210/1676 392/1198/1677 337/1197/1678
+f 544/1121/1679 340/1211/1680 341/1122/1681
+f 544/1121/1682 339/1212/1683 340/1211/1684
+f 904/590/1685 389/1208/1686 390/1213/1687
+f 904/590/1688 390/1213/1689 391/1210/1690 338/1209/1691 339/1212/1692 544/1121/1693
+f 399/1214/1694 903/1202/1695 398/1215/1696
+f 400/1203/1697 903/1202/1698 399/1214/1699
+f 354/1216/1700 469/1184/1701 353/1183/1702
+f 398/1215/1703 903/1202/1704 469/1184/1705 355/1217/1706 356/1200/1707 397/1199/1708
+f 355/1217/1709 469/1184/1710 354/1216/1711
+f 402/1218/1712 905/1219/1713 903/1202/1714 401/1201/1715
+f 406/1205/1716 269/1204/1717 270/1220/1718 405/1221/1719
+f 286/1020/1720 287/1222/1721 288/1223/1722 265/1224/1723 410/1225/1724 411/1226/1725 906/589/1726 545/952/1727
+f 409/1227/1728 266/1228/1729 267/585/1730 408/584/1731
+f 405/1221/1732 270/1220/1733 271/1229/1734 404/1230/1735
+f 905/1219/1736 272/1231/1737 273/1232/1738
+f 404/1230/1739 271/1229/1740 272/1231/1741 905/1219/1742 403/1233/1743
+f 905/1219/1744 273/1232/1745 274/508/1746 470/507/1747
+f 403/1233/1748 905/1219/1749 402/1218/1750
+f 410/1225/1751 265/1224/1752 266/1228/1753 409/1227/1754
+f 906/589/1755 411/1226/1756 412/1234/1757 413/1206/1758 904/590/1759
+s 50
+f 543/981/1286 905/1235/1760 470/982/1287
+s off
+f 542/581/1761 903/583/1762 905/1235/1763 543/981/1764
+s 49
+f 542/581/1765 648/987/1294 467/986/1293 902/983/1766
+s 50
+f 528/588/1257 545/952/1256 906/589/1767
+s off
+f 539/591/1768 904/590/1769 544/1121/1770
+f 539/591/1771 544/1121/1772 901/947/1773
+s 7
+f 599/1236/871 601/1237/873 910/1238/1774 907/1239/1775
+f 912/1240/1776 910/1238/1774 601/1237/873 603/1241/875
+f 914/1242/1777 912/1240/1776 603/1241/875 605/1243/877
+f 605/1243/877 607/1244/879 916/1245/1778 914/1242/1777
+f 607/1244/879 609/1246/881 918/1247/1779 916/1245/1778
+f 609/1246/881 611/1248/883 920/1249/1780 918/1247/1779
+f 611/1248/883 613/1250/885 922/1251/1781 920/1249/1780
+f 613/1250/885 615/1252/887 924/1253/1782 922/1251/1781
+f 615/1252/887 617/1254/889 926/1255/1783 924/1253/1782
+f 617/1254/889 619/1256/891 928/1257/1784 926/1255/1783
+f 619/1256/891 492/1258/718 930/1259/1785 928/1257/1784
+f 932/1260/1786 930/1259/1785 492/1258/718 497/1261/721
+f 934/1262/1787 932/1260/1786 497/1261/721 498/1263/725
+f 498/1263/725 547/1264/819 936/1265/1788 934/1262/1787
+f 547/1264/819 549/1266/821 938/1267/1789 936/1265/1788
+f 549/1266/821 551/1268/823 940/1269/1790 938/1267/1789
+f 551/1268/823 553/1270/825 942/1271/1791 940/1269/1790
+f 553/1270/825 555/1272/827 944/1273/1792 942/1271/1791
+f 555/1272/827 557/1274/829 946/1275/1793 944/1273/1792
+f 557/1274/829 559/1276/831 948/1277/1794 946/1275/1793
+f 559/1276/831 561/1278/833 950/1279/1795 948/1277/1794
+f 952/1280/1796 950/1279/1795 561/1278/833 563/1281/835
+f 954/1282/1797 952/1280/1796 563/1281/835 565/1283/837
+f 565/1283/837 567/1284/839 956/1285/1798 954/1282/1797
+f 567/1284/839 569/1286/841 958/1287/1799 956/1285/1798
+f 569/1286/841 571/1288/843 960/1289/1800 958/1287/1799
+f 571/1288/843 573/1290/845 962/1291/1801 960/1289/1800
+f 573/1290/845 575/1292/847 964/1293/1802 962/1291/1801
+f 575/1292/847 577/1294/849 966/1295/1803 964/1293/1802
+f 577/1294/849 579/1296/851 968/1297/1804 966/1295/1803
+f 579/1296/851 581/1298/853 970/1299/1805 968/1297/1804
+f 972/1300/1806 970/1299/1805 581/1298/853 583/1301/855
+f 974/1302/1807 972/1300/1806 583/1301/855 585/1303/857
+f 585/1303/857 587/1304/859 976/1305/1808 974/1302/1807
+f 587/1304/859 589/1306/861 978/1307/1809 976/1305/1808
+f 589/1306/861 591/1308/863 980/1309/1810 978/1307/1809
+f 591/1308/863 593/1310/865 982/1311/1811 980/1309/1810
+f 593/1310/865 595/1312/867 984/1313/1812 982/1311/1811
+f 595/1312/867 597/1314/869 986/1315/1813 984/1313/1812
+f 597/1314/869 599/1236/871 907/1239/1775 986/1315/1813
+s 55
+f 907/1239/1814 908/943/1815 985/944/1816 986/1315/1817
+f 908/943/1815 907/1239/1814 910/1238/1818 909/941/1819
+f 909/941/1819 910/1238/1818 912/1240/1820 911/942/1821
+f 911/942/1821 912/1240/1820 914/1242/1822 913/940/1823
+f 913/940/1823 914/1242/1822 916/1245/1824 915/939/1825
+f 915/939/1825 916/1245/1824 918/1247/1826 917/938/1827
+f 917/938/1827 918/1247/1826 920/1249/1828 919/937/1829
+f 919/937/1829 920/1249/1828 922/1251/1830 921/936/1831
+f 921/936/1831 922/1251/1830 924/1253/1832 923/935/1833
+f 923/935/1833 924/1253/1832 926/1255/1834 925/934/1835
+f 925/934/1835 926/1255/1834 928/1257/1836 927/933/1837
+f 927/933/1837 928/1257/1836 930/1259/1838 929/931/1839
+f 929/931/1839 930/1259/1838 932/1260/1840 931/932/1841
+f 931/932/1841 932/1260/1840 934/1262/1842 933/930/1843
+f 933/930/1843 934/1262/1842 936/1265/1844 935/929/1845
+f 935/929/1845 936/1265/1844 938/1267/1846 937/928/1847
+f 937/928/1847 938/1267/1846 940/1269/1848 939/927/1849
+f 939/927/1849 940/1269/1848 942/1271/1850 941/926/1851
+f 941/926/1851 942/1271/1850 944/1273/1852 943/925/1853
+f 943/925/1853 944/1273/1852 946/1275/1854 945/924/1855
+f 945/924/1855 946/1275/1854 948/1277/1856 947/922/1857
+f 947/922/1857 948/1277/1856 950/1279/1858 949/923/1859
+f 949/923/1859 950/1279/1858 952/1280/1860 951/921/1861
+f 951/921/1861 952/1280/1860 954/1282/1862 953/920/1863
+f 953/920/1863 954/1282/1862 956/1285/1864 955/919/1865
+f 955/919/1865 956/1285/1864 958/1287/1866 957/918/1867
+f 957/918/1867 958/1287/1866 960/1289/1868 959/917/1869
+f 959/917/1869 960/1289/1868 962/1291/1870 961/916/1871
+f 961/916/1871 962/1291/1870 964/1293/1872 963/915/1873
+f 963/915/1873 964/1293/1872 966/1295/1874 965/914/1875
+f 965/914/1875 966/1295/1874 968/1297/1876 967/912/1877
+f 967/912/1877 968/1297/1876 970/1299/1878 969/913/1879
+f 969/913/1879 970/1299/1878 972/1300/1880 971/911/1881
+f 971/911/1881 972/1300/1880 974/1302/1882 973/910/1883
+f 973/910/1883 974/1302/1882 976/1305/1884 975/909/1885
+f 975/909/1885 976/1305/1884 978/1307/1886 977/907/1887
+f 977/907/1887 978/1307/1886 980/1309/1888 979/908/1889
+f 979/908/1889 980/1309/1888 982/1311/1890 981/946/1891
+f 981/946/1891 982/1311/1890 984/1313/1892 983/945/1893
+f 983/945/1893 984/1313/1892 986/1315/1817 985/944/1816
+s 56
+f 988/1469/1894 987/1470/1895 1011/1471/1896 1012/1472/1897
+f 989/1475/1898 988/1469/1894 1012/1472/1897 1013/1476/1899
+f 990/1479/1900 989/1475/1898 1013/1476/1899 1014/1480/1901
+f 991/1483/1902 990/1479/1900 1014/1480/1901 1015/1486/1903
+f 992/1487/1904 991/1483/1902 1015/1486/1903 1016/1488/1905
+f 993/1489/1906 992/1487/1904 1016/1488/1905 1017/1490/1907
+f 994/1491/1908 993/1489/1906 1017/1490/1907 1018/1492/1909
+f 995/1493/1910 994/1491/1908 1018/1492/1909 1019/1494/1911
+f 996/1495/1912 995/1493/1910 1019/1494/1911 1020/1496/1913
+f 997/1497/1914 996/1495/1912 1020/1496/1913 1021/1500/1915
+f 998/1501/1916 997/1497/1914 1021/1500/1915 1022/1502/1917
+f 999/1503/1918 998/1501/1916 1022/1502/1917 1023/1504/1919
+f 1000/1505/1920 999/1503/1918 1023/1504/1919 1024/1506/1921
+f 1001/1507/1922 1000/1505/1920 1024/1506/1921 1025/1508/1923
+f 1002/1509/1924 1001/1507/1922 1025/1508/1923 1026/1510/1925
+f 1003/1511/1926 1002/1512/1924 1026/1513/1925 1027/1514/1927
+f 1004/1515/1928 1003/1511/1926 1027/1514/1927 1028/1516/1929
+f 1005/1517/1930 1004/1515/1928 1028/1516/1929 1029/1518/1931
+f 1006/1519/1932 1005/1517/1930 1029/1518/1931 1030/1520/1933
+f 1007/1521/1934 1006/1519/1932 1030/1520/1933 1031/1522/1935
+f 1008/1481/1936 1007/1521/1934 1031/1522/1935 1032/1482/1937
+f 1009/1477/1938 1008/1481/1936 1032/1482/1937 1033/1478/1939
+f 1010/1473/1940 1009/1477/1938 1033/1478/1939 1034/1474/1941
+f 987/1470/1895 1010/1473/1940 1034/1474/1941 1011/1471/1896
+s 57
+f 1012/1525/1942 1011/1526/1943 1035/1527/1944
+f 1013/1529/1945 1012/1525/1942 1035/1527/1944
+f 1014/1531/1946 1013/1529/1945 1035/1527/1944
+f 1015/1533/1947 1014/1531/1946 1035/1527/1944
+f 1016/1535/1948 1015/1533/1947 1035/1527/1944
+f 1017/1537/1949 1016/1535/1948 1035/1527/1944
+f 1018/1539/1950 1017/1537/1949 1035/1527/1944
+f 1019/1541/1951 1018/1539/1950 1035/1527/1944
+f 1020/1543/1952 1019/1541/1951 1035/1527/1944
+f 1021/1545/1953 1020/1543/1952 1035/1527/1944
+f 1022/1547/1954 1021/1545/1953 1035/1527/1944
+f 1023/1549/1955 1022/1547/1954 1035/1527/1944
+f 1024/1548/1956 1023/1549/1955 1035/1527/1944
+f 1025/1546/1957 1024/1548/1956 1035/1527/1944
+f 1026/1544/1958 1025/1546/1957 1035/1527/1944
+f 1027/1542/1959 1026/1544/1958 1035/1527/1944
+f 1028/1540/1960 1027/1542/1959 1035/1527/1944
+f 1029/1538/1961 1028/1540/1960 1035/1527/1944
+f 1030/1536/1962 1029/1538/1961 1035/1527/1944
+f 1031/1534/1963 1030/1536/1962 1035/1527/1944
+f 1032/1532/1964 1031/1534/1963 1035/1527/1944
+f 1033/1530/1965 1032/1532/1964 1035/1527/1944
+f 1034/1528/1966 1033/1530/1965 1035/1527/1944
+f 1011/1526/1943 1034/1528/1966 1035/1527/1944
+s 58
+f 1037/1550/1967 1036/1551/1968 1076/1552/1969 1077/1553/1970
+f 1038/1558/1971 1037/1550/1967 1077/1553/1970 1078/1559/1972
+f 1039/1564/1973 1038/1558/1971 1078/1559/1972 1079/1565/1974
+f 1040/1570/1975 1039/1564/1973 1079/1565/1974 1080/1571/1976
+f 1041/1576/1977 1040/1570/1975 1080/1571/1976 1081/1577/1978
+f 1042/1582/1979 1041/1576/1977 1081/1577/1978 1082/1583/1980
+f 1043/1588/1981 1042/1582/1979 1082/1583/1980 1083/1589/1982
+f 1044/1594/1983 1043/1588/1981 1083/1589/1982 1060/1595/1984
+f 1045/1600/1985 1044/1594/1983 1060/1595/1984 1061/1601/1986
+f 1046/1606/1987 1045/1600/1985 1061/1601/1986 1062/1607/1988
+f 1047/1346/1989 1046/1606/1987 1062/1607/1988 1063/1345/1990
+f 1048/1485/1991 1047/1346/1989 1063/1345/1990 1064/1484/1992
+f 1049/1332/1993 1048/1485/1991 1064/1484/1992 1065/1331/1994
+f 1050/1608/1995 1049/1332/1993 1065/1331/1994 1066/1609/1996
+f 1051/1602/1997 1050/1608/1995 1066/1609/1996 1067/1603/1998
+f 1052/1596/1999 1051/1602/1997 1067/1603/1998 1068/1597/2000
+f 1053/1590/2001 1052/1596/1999 1068/1597/2000 1069/1591/2002
+f 1054/1584/2003 1053/1590/2001 1069/1591/2002 1070/1585/2004
+f 1055/1578/2005 1054/1584/2003 1070/1585/2004 1071/1579/2006
+f 1056/1572/2007 1055/1578/2005 1071/1579/2006 1072/1573/2008
+f 1057/1566/2009 1056/1572/2007 1072/1573/2008 1073/1567/2010
+f 1058/1560/2011 1057/1566/2009 1073/1567/2010 1074/1561/2012
+f 1059/1554/2013 1058/1560/2011 1074/1561/2012 1075/1555/2014
+f 1036/1551/1968 1059/1554/2013 1075/1555/2014 1076/1552/1969
+s 59
+f 1061/1601/2015 1060/1595/2016 995/1599/2017 996/1605/2018
+f 1062/1607/2019 1061/1601/2015 996/1605/2018 997/1359/2020
+f 1063/1345/2021 1062/1607/2019 997/1359/2020 998/1523/2022
+f 1064/1484/2023 1063/1345/2021 998/1523/2022 999/1498/2024
+f 1065/1331/2025 1064/1484/2023 999/1498/2024 1000/1499/2026
+f 1066/1609/2027 1065/1331/2025 1000/1499/2026 1001/1524/2028
+f 1067/1603/2029 1066/1609/2027 1001/1524/2028 1002/1360/2030
+f 1068/1597/2031 1067/1603/2029 1002/1360/2030 1003/1604/2032
+f 1069/1591/2033 1068/1597/2031 1003/1604/2032 1004/1598/2034
+f 1070/1585/2035 1069/1591/2033 1004/1598/2034 1005/1592/2036
+f 1071/1579/2037 1070/1585/2035 1005/1592/2036 1006/1586/2038
+f 1072/1573/2039 1071/1579/2037 1006/1586/2038 1007/1580/2040
+f 1073/1567/2041 1072/1573/2039 1007/1580/2040 1008/1574/2042
+f 1074/1561/2043 1073/1567/2041 1008/1574/2042 1009/1568/2044
+f 1075/1555/2045 1074/1561/2043 1009/1568/2044 1010/1562/2046
+f 1076/1552/2047 1075/1555/2045 1010/1562/2046 987/1556/2048
+f 1077/1553/2049 1076/1552/2047 987/1556/2048 988/1557/2050
+f 1078/1559/2051 1077/1553/2049 988/1557/2050 989/1563/2052
+f 1079/1565/2053 1078/1559/2051 989/1563/2052 990/1569/2054
+f 1080/1571/2055 1079/1565/2053 990/1569/2054 991/1575/2056
+f 1081/1577/2057 1080/1571/2055 991/1575/2056 992/1581/2058
+f 1082/1583/2059 1081/1577/2057 992/1581/2058 993/1587/2060
+f 1083/1589/2061 1082/1583/2059 993/1587/2060 994/1593/2062
+f 1060/1595/2016 1083/1589/2061 994/1593/2062 995/1599/2017
+s 60
+f 1084/1610/2063 1085/1611/2064 1098/1612/2065 1097/1613/2066
+f 1085/1611/2064 1086/1614/2067 1099/1615/2068 1098/1612/2065
+f 1086/1614/2067 1087/1625/2069 1100/1626/2070 1099/1615/2068
+f 1087/1625/2069 1088/1628/2071 1101/1629/2072 1100/1626/2070
+f 1088/1628/2071 1089/1630/2073 1102/1631/2074 1101/1629/2072
+s 61
+f 1112/1632/2075 1113/1634/2076 1114/1635/2077 1115/1633/2078
+f 1113/1634/2076 1116/1636/2079 1117/1637/2080 1114/1635/2077
+f 1116/1636/2079 1118/1638/2081 1119/1639/2082 1117/1637/2080
+f 1118/1640/2081 1120/1641/2083 1121/1642/2084 1119/1643/2082
+f 1120/1641/2083 1122/1644/2085 1123/1645/2086 1121/1642/2084
+f 1122/1644/2085 1124/1646/2087 1125/1647/2088 1123/1645/2086
+f 1124/1646/2087 1126/1648/2089 1127/1649/2090 1125/1647/2088
+f 1126/1648/2089 1128/1650/2091 1129/1651/2092 1127/1649/2090
+f 1128/1650/2091 1130/1652/2093 1131/1653/2094 1129/1651/2092
+f 1130/1652/2093 1132/1655/2095 1133/1656/2096 1131/1653/2094
+f 1132/1655/2095 1134/1658/2097 1135/1659/2098 1133/1656/2096
+f 1134/1658/2097 1136/1660/2099 1137/1661/2100 1135/1659/2098
+s 60
+f 1090/1662/2101 1091/1664/2102 1104/1665/2103 1103/1663/2104
+f 1091/1664/2102 1092/1666/2105 1105/1667/2106 1104/1665/2103
+f 1092/1666/2105 1093/1668/2107 1106/1669/2108 1105/1667/2106
+f 1093/1622/2107 1094/1620/2109 1107/1621/2110 1106/1623/2108
+f 1094/1620/2109 1095/1618/2111 1108/1619/2112 1107/1621/2110
+f 1095/1618/2111 1096/1616/2113 1109/1617/2114 1108/1619/2112
+f 1096/1616/2113 1084/1610/2063 1097/1613/2066 1109/1617/2114
+s 63
+f 1085/1670/2115 1084/1671/2116 1110/1672/2117
+f 1086/1674/2118 1085/1670/2115 1110/1672/2117
+f 1087/1676/2119 1086/1674/2118 1110/1672/2117
+f 1088/1678/2120 1087/1676/2119 1110/1672/2117
+f 1089/1630/2121 1088/1678/2120 1110/1672/2117
+s 64
+f 1113/1687/2122 1112/1632/2123 1138/1682/2124
+f 1116/1689/2125 1113/1687/2122 1138/1682/2124
+f 1118/1691/2126 1116/1689/2125 1138/1682/2124
+f 1120/1693/2127 1118/1691/2126 1138/1682/2124
+f 1122/1695/2128 1120/1693/2127 1138/1682/2124
+f 1124/1697/2129 1122/1695/2128 1138/1682/2124
+f 1126/1696/2130 1124/1697/2129 1138/1682/2124
+f 1128/1694/2131 1126/1696/2130 1138/1682/2124
+f 1130/1692/2132 1128/1694/2131 1138/1682/2124
+f 1132/1690/2133 1130/1692/2132 1138/1682/2124
+f 1134/1688/2134 1132/1690/2133 1138/1682/2124
+f 1136/1686/2135 1134/1688/2134 1138/1682/2124
+s 63
+f 1091/1684/2136 1090/1685/2137 1110/1672/2117
+f 1092/1681/2138 1091/1684/2136 1110/1672/2117
+f 1093/1679/2139 1092/1681/2138 1110/1672/2117
+f 1094/1677/2140 1093/1679/2139 1110/1672/2117
+f 1095/1675/2141 1094/1677/2140 1110/1672/2117
+f 1096/1673/2142 1095/1675/2141 1110/1672/2117
+f 1084/1671/2116 1096/1673/2142 1110/1672/2117
+s 66
+f 1097/1698/2143 1098/1699/2144 1111/1700/2145
+f 1098/1699/2144 1099/1701/2146 1111/1700/2145
+f 1099/1701/2146 1100/1703/2147 1111/1700/2145
+f 1100/1703/2147 1101/1705/2148 1111/1700/2145
+f 1101/1705/2148 1102/1631/2149 1111/1700/2145
+s 67
+f 1115/1633/2150 1114/1712/2151 1139/1710/2152
+f 1114/1712/2151 1117/1657/2153 1139/1710/2152
+f 1117/1657/2153 1119/1714/2154 1139/1710/2152
+f 1119/1714/2154 1121/1683/2155 1139/1710/2152
+f 1121/1683/2155 1123/1709/2156 1139/1710/2152
+f 1123/1709/2156 1125/1627/2157 1139/1710/2152
+f 1125/1627/2157 1127/1624/2158 1139/1710/2152
+f 1127/1624/2158 1129/1707/2159 1139/1710/2152
+f 1129/1707/2159 1131/1680/2160 1139/1710/2152
+f 1131/1680/2160 1133/1713/2161 1139/1710/2152
+f 1133/1713/2161 1135/1654/2162 1139/1710/2152
+f 1135/1654/2162 1137/1661/2163 1139/1710/2152
+s 66
+f 1103/1663/2164 1104/1715/2165 1111/1700/2145
+f 1104/1715/2165 1105/1711/2166 1111/1700/2145
+f 1105/1711/2166 1106/1708/2167 1111/1700/2145
+f 1106/1708/2167 1107/1706/2168 1111/1700/2145
+f 1107/1706/2168 1108/1704/2169 1111/1700/2145
+f 1108/1704/2169 1109/1702/2170 1111/1700/2145
+f 1109/1702/2170 1097/1698/2143 1111/1700/2145
+s off
+f 1102/1631/2171 1089/1630/2172 1112/1632/2173 1115/1633/2174
+f 1090/1662/2175 1103/1663/2176 1137/1661/2177 1136/1660/2178
+f 1089/1630/2179 1110/1672/2180 1138/1682/2181 1112/1632/2182
+f 1110/1672/2183 1090/1685/2184 1136/1686/2185 1138/1682/2186
+f 1111/1700/2187 1102/1631/2188 1115/1633/2189 1139/1710/2190
+f 1103/1663/2191 1111/1700/2192 1139/1710/2193 1137/1661/2194
+f 1207/1716/2195 1304/1717/2196 1310/1718/2197 1205/1719/2198 1206/1720/2199
+f 1195/1721/2200 1312/1722/2201 1307/1723/2202 1193/1724/2203 1194/1725/2204
+f 1189/1726/2205 1316/1727/2206 1317/1728/2207 1202/1729/2208 1203/1730/2209
+f 1219/1731/2210 1211/1732/2211 1212/1733/2212 1322/1734/2213 1323/1735/2214
+s 69
+f 1290/1736/2215 1292/1737/2216 1192/1738/2217 1191/1739/2218
+f 1288/1740/2219 1290/1736/2215 1191/1739/2218 1190/1741/2220
+f 1286/1742/2221 1288/1740/2219 1190/1741/2220 1145/1743/2222
+f 1144/1744/2223 1284/1745/2224 1286/1742/2221 1145/1743/2222
+f 1280/1746/2225 1282/1747/2226 1189/1726/2227 1203/1730/2228
+f 1278/1748/2229 1280/1746/2225 1203/1730/2228 1202/1729/2230
+f 1276/1749/2231 1278/1748/2229 1202/1729/2230 1201/1750/2232
+f 1274/1751/2233 1276/1749/2231 1201/1750/2232 1200/1752/2234
+f 1272/1753/2235 1274/1751/2233 1200/1752/2234 1199/1754/2236
+f 1270/1755/2237 1272/1753/2235 1199/1754/2236 1198/1756/2238
+f 1268/1757/2239 1270/1755/2237 1198/1756/2238 1197/1758/2240
+f 1266/1759/2241 1268/1757/2239 1197/1758/2240 1188/1760/2242
+f 1187/1761/2243 1264/1762/2244 1266/1759/2241 1188/1760/2242
+f 1260/1763/2245 1262/1764/2246 1218/1765/2247 1217/1766/2248
+f 1258/1767/2249 1260/1763/2245 1217/1766/2248 1216/1768/2250
+f 1256/1769/2251 1258/1767/2249 1216/1768/2250 1215/1770/2252
+f 1254/1771/2253 1256/1769/2251 1215/1770/2252 1214/1772/2254
+f 1252/1773/2255 1254/1771/2253 1214/1772/2254 1213/1774/2256
+f 1250/1775/2257 1252/1773/2255 1213/1774/2256 1212/1733/2258
+f 1248/1776/2259 1250/1775/2257 1212/1733/2258 1211/1732/2260
+f 1246/1777/2261 1248/1776/2259 1211/1732/2260 1219/1731/2262
+f 1141/1778/2263 1242/1779/2264 1244/1780/2265 1142/1781/2266
+f 1240/1782/2267 1242/1779/2264 1141/1778/2263 1210/1783/2268
+f 1238/1784/2269 1240/1782/2267 1210/1783/2268 1209/1785/2270
+f 1236/1786/2271 1238/1784/2269 1209/1785/2270 1208/1787/2272
+f 1234/1788/2273 1236/1786/2271 1208/1787/2272 1207/1716/2274
+f 1232/1789/2275 1234/1788/2273 1207/1716/2274 1206/1720/2276
+f 1230/1790/2277 1232/1789/2275 1206/1720/2276 1205/1719/2278
+f 1228/1791/2279 1230/1790/2277 1205/1719/2278 1204/1792/2280
+f 1226/1793/2281 1228/1791/2279 1204/1792/2280 1140/1794/2282
+f 1146/1795/2283 1222/1796/2284 1224/1797/2285 1143/1798/2286
+f 1221/1799/2287 1222/1796/2284 1146/1795/2283 1196/1800/2288
+f 1298/1801/2289 1221/1799/2287 1196/1800/2288 1195/1721/2290
+f 1296/1802/2291 1298/1801/2289 1195/1721/2290 1194/1725/2292
+f 1294/1803/2293 1296/1802/2291 1194/1725/2292 1193/1724/2294
+f 1292/1737/2216 1294/1803/2293 1193/1724/2294 1192/1738/2217
+f 1143/1798/2286 1224/1797/2285 1226/1793/2281 1140/1794/2282
+f 1218/1765/2247 1262/1764/2246 1264/1762/2244 1187/1761/2243
+f 1189/1726/2227 1282/1747/2226 1284/1745/2224 1144/1744/2223
+f 1142/1781/2266 1244/1780/2265 1246/1777/2261 1219/1731/2262
+s 72
+f 1176/1804/2295 1177/1805/2296 1223/1806/2297 1220/1807/2298
+f 1225/1808/2299 1223/1806/2297 1177/1805/2296 1178/1809/2300
+f 1227/1810/2301 1225/1808/2299 1178/1809/2300 1179/1811/2302
+f 1179/1811/2302 1180/1812/2303 1229/1813/2304 1227/1810/2301
+f 1180/1812/2303 1181/1814/2305 1231/1815/2306 1229/1813/2304
+f 1181/1814/2305 1182/1816/2307 1233/1817/2308 1231/1815/2306
+f 1182/1816/2307 1183/1818/2309 1235/1819/2310 1233/1817/2308
+f 1183/1818/2309 1184/1820/2311 1237/1821/2312 1235/1819/2310
+f 1184/1820/2311 1185/1822/2313 1239/1823/2314 1237/1821/2312
+f 1185/1822/2313 1186/1824/2315 1241/1825/2316 1239/1823/2314
+f 1186/1824/2315 1147/1826/2317 1243/1827/2318 1241/1825/2316
+f 1245/1828/2319 1243/1827/2318 1147/1826/2317 1148/1829/2320
+f 1247/1830/2321 1245/1828/2319 1148/1829/2320 1149/1831/2322
+f 1149/1831/2322 1150/1832/2323 1249/1833/2324 1247/1830/2321
+f 1150/1832/2323 1151/1834/2325 1251/1835/2326 1249/1833/2324
+f 1151/1834/2325 1152/1836/2327 1253/1837/2328 1251/1835/2326
+f 1152/1836/2327 1153/1838/2329 1255/1839/2330 1253/1837/2328
+f 1153/1838/2329 1154/1840/2331 1257/1841/2332 1255/1839/2330
+f 1154/1840/2331 1155/1842/2333 1259/1843/2334 1257/1841/2332
+f 1155/1842/2333 1156/1844/2335 1261/1845/2336 1259/1843/2334
+f 1156/1844/2335 1157/1846/2337 1263/1847/2338 1261/1845/2336
+f 1265/1848/2339 1263/1847/2338 1157/1846/2337 1158/1849/2340
+f 1267/1850/2341 1265/1848/2339 1158/1849/2340 1159/1851/2342
+f 1159/1851/2342 1160/1852/2343 1269/1853/2344 1267/1850/2341
+f 1160/1852/2343 1161/1854/2345 1271/1855/2346 1269/1853/2344
+f 1161/1854/2345 1162/1856/2347 1273/1857/2348 1271/1855/2346
+f 1162/1856/2347 1163/1858/2349 1275/1859/2350 1273/1857/2348
+f 1163/1858/2349 1164/1860/2351 1277/1861/2352 1275/1859/2350
+f 1164/1860/2351 1165/1862/2353 1279/1863/2354 1277/1861/2352
+f 1165/1862/2353 1166/1864/2355 1281/1865/2356 1279/1863/2354
+f 1166/1864/2355 1167/1866/2357 1283/1867/2358 1281/1865/2356
+f 1285/1868/2359 1283/1867/2358 1167/1866/2357 1168/1869/2360
+f 1287/1870/2361 1285/1868/2359 1168/1869/2360 1169/1871/2362
+f 1169/1871/2362 1170/1872/2363 1289/1873/2364 1287/1870/2361
+f 1170/1872/2363 1171/1874/2365 1291/1875/2366 1289/1873/2364
+f 1171/1874/2365 1172/1876/2367 1293/1877/2368 1291/1875/2366
+f 1172/1876/2367 1173/1878/2369 1295/1879/2370 1293/1877/2368
+f 1173/1878/2369 1174/1880/2371 1297/1881/2372 1295/1879/2370
+f 1174/1880/2371 1175/1882/2373 1299/1883/2374 1297/1881/2372
+f 1175/1882/2373 1176/1804/2295 1220/1807/2298 1299/1883/2374
+s 73
+f 1220/1807/2375 1221/1799/2376 1298/1801/2377 1299/1883/2378
+f 1221/1799/2376 1220/1807/2375 1223/1806/2379 1222/1796/2380
+f 1222/1796/2380 1223/1806/2379 1225/1808/2381 1224/1797/2382
+f 1224/1797/2382 1225/1808/2381 1227/1810/2383 1226/1793/2384
+f 1226/1793/2384 1227/1810/2383 1229/1813/2385 1228/1791/2386
+f 1228/1791/2386 1229/1813/2385 1231/1815/2387 1230/1790/2388
+f 1230/1790/2388 1231/1815/2387 1233/1817/2389 1232/1789/2390
+f 1232/1789/2390 1233/1817/2389 1235/1819/2391 1234/1788/2392
+f 1234/1788/2392 1235/1819/2391 1237/1821/2393 1236/1786/2394
+f 1236/1786/2394 1237/1821/2393 1239/1823/2395 1238/1784/2396
+f 1238/1784/2396 1239/1823/2395 1241/1825/2397 1240/1782/2398
+f 1240/1782/2398 1241/1825/2397 1243/1827/2399 1242/1779/2400
+f 1242/1779/2400 1243/1827/2399 1245/1828/2401 1244/1780/2402
+f 1244/1780/2402 1245/1828/2401 1247/1830/2403 1246/1777/2404
+f 1246/1777/2404 1247/1830/2403 1249/1833/2405 1248/1776/2406
+f 1248/1776/2406 1249/1833/2405 1251/1835/2407 1250/1775/2408
+f 1250/1775/2408 1251/1835/2407 1253/1837/2409 1252/1773/2410
+f 1252/1773/2410 1253/1837/2409 1255/1839/2411 1254/1771/2412
+f 1254/1771/2412 1255/1839/2411 1257/1841/2413 1256/1769/2414
+f 1256/1769/2414 1257/1841/2413 1259/1843/2415 1258/1767/2416
+f 1258/1767/2416 1259/1843/2415 1261/1845/2417 1260/1763/2418
+f 1260/1763/2418 1261/1845/2417 1263/1847/2419 1262/1764/2420
+f 1262/1764/2420 1263/1847/2419 1265/1848/2421 1264/1762/2422
+f 1264/1762/2422 1265/1848/2421 1267/1850/2423 1266/1759/2424
+f 1266/1759/2424 1267/1850/2423 1269/1853/2425 1268/1757/2426
+f 1268/1757/2426 1269/1853/2425 1271/1855/2427 1270/1755/2428
+f 1270/1755/2428 1271/1855/2427 1273/1857/2429 1272/1753/2430
+f 1272/1753/2430 1273/1857/2429 1275/1859/2431 1274/1751/2432
+f 1274/1751/2432 1275/1859/2431 1277/1861/2433 1276/1749/2434
+f 1276/1749/2434 1277/1861/2433 1279/1863/2435 1278/1748/2436
+f 1278/1748/2436 1279/1863/2435 1281/1865/2437 1280/1746/2438
+f 1280/1746/2438 1281/1865/2437 1283/1867/2439 1282/1747/2440
+f 1282/1747/2440 1283/1867/2439 1285/1868/2441 1284/1745/2442
+f 1284/1745/2442 1285/1868/2441 1287/1870/2443 1286/1742/2444
+f 1286/1742/2444 1287/1870/2443 1289/1873/2445 1288/1740/2446
+f 1288/1740/2446 1289/1873/2445 1291/1875/2447 1290/1736/2448
+f 1290/1736/2448 1291/1875/2447 1293/1877/2449 1292/1737/2450
+f 1292/1737/2450 1293/1877/2449 1295/1879/2451 1294/1803/2452
+f 1294/1803/2452 1295/1879/2451 1297/1881/2453 1296/1802/2454
+f 1296/1802/2454 1297/1881/2453 1299/1883/2378 1298/1801/2377
+s off
+f 1209/1785/2455 1308/1884/2456 1304/1717/2457 1207/1716/2458 1208/1787/2459
+f 1198/1756/2460 1318/1885/2461 1319/1886/2462 1188/1760/2463 1197/1758/2464
+f 1320/1887/2465 1216/1768/2466 1217/1766/2467 1218/1765/2468 1321/1888/2469
+f 1191/1739/2470 1314/1889/2471 1315/1890/2472 1145/1743/2473 1190/1741/2474
+f 1141/1778/2475 1309/1891/2476 1308/1884/2477 1209/1785/2478 1210/1783/2479
+f 1141/1778/2480 1142/1781/2481 1300/1892/2482 1309/1891/2483
+s 74
+f 1140/1794/2484 1311/1893/2485 1301/1894/2486 1143/1798/2487
+s off
+f 1205/1719/2488 1310/1718/2489 1311/1893/2490 1140/1794/2491 1204/1792/2492
+s 74
+f 1146/1795/2493 1143/1798/2487 1301/1894/2486 1313/1895/2494
+s off
+f 1146/1795/2495 1313/1895/2496 1312/1722/2497 1195/1721/2498 1196/1800/2499
+f 1193/1724/2500 1307/1723/2501 1314/1889/2502 1191/1739/2503 1192/1738/2504
+f 1145/1743/2505 1315/1890/2506 1302/1896/2507 1144/1744/2508
+f 1189/1726/2509 1144/1744/2510 1302/1896/2511 1316/1727/2512
+f 1202/1729/2513 1317/1728/2514 1305/1897/2515 1200/1752/2516 1201/1750/2517
+f 1200/1752/2518 1305/1897/2519 1318/1885/2520 1198/1756/2521 1199/1754/2522
+s 75
+f 1188/1760/2523 1319/1886/2524 1303/1898/2525 1187/1761/2526
+s off
+f 1306/1899/2527 1214/1772/2528 1215/1770/2529 1216/1768/2530 1320/1887/2531
+s 75
+f 1321/1888/2532 1218/1765/2533 1187/1761/2526 1303/1898/2525
+s off
+f 1322/1734/2534 1212/1733/2535 1213/1774/2536 1214/1772/2537 1306/1899/2538
+f 1219/1731/2539 1323/1735/2540 1300/1892/2541 1142/1781/2542

BIN
modules/mojo3d-vr/tests/assets/basestation/lh_basestation_vive.tga


BIN
modules/mojo3d-vr/tests/assets/miramar-skybox.jpg


BIN
modules/mojo3d-vr/tests/assets/plane/plane.bin


+ 783 - 0
modules/mojo3d-vr/tests/assets/plane/plane.gltf

@@ -0,0 +1,783 @@
+{
+  "accessors": [
+    {
+      "bufferView": 0,
+      "byteOffset": 0,
+      "componentType": 5126,
+      "count": 3113,
+      "max": [
+        4.68105220794678,
+        2.03515315055847,
+        5.29330253601074
+      ],
+      "min": [
+        -4.68105220794678,
+        -1.03703916072845,
+        -0.69776976108551
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 37356,
+      "componentType": 5126,
+      "count": 3113,
+      "max": [
+        1.00015842914581,
+        1.02504730224609,
+        1.00000989437103
+      ],
+      "min": [
+        -1.0017192363739,
+        -1.00416445732117,
+        -1.00499296188354
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 0,
+      "componentType": 5123,
+      "count": 16590,
+      "max": [
+        3112
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 74712,
+      "componentType": 5126,
+      "count": 663,
+      "max": [
+        0.988089501857758,
+        0.987886369228363,
+        5.21953868865967
+      ],
+      "min": [
+        -0.988089501857758,
+        -0.987957775592804,
+        0.00000140904830914224
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 82668,
+      "componentType": 5126,
+      "count": 663,
+      "max": [
+        0.999987185001373,
+        0.999946057796478,
+        0.45682418346405
+      ],
+      "min": [
+        -0.999967753887177,
+        -0.999999761581421,
+        0.0051216003485024
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 33180,
+      "componentType": 5123,
+      "count": 3558,
+      "max": [
+        662
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 90624,
+      "componentType": 5126,
+      "count": 80,
+      "max": [
+        0.69097912311554,
+        0.990624248981476,
+        2.62822818756104
+      ],
+      "min": [
+        -0.69097912311554,
+        0.0613825805485249,
+        0.579043447971344
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 91584,
+      "componentType": 5126,
+      "count": 80,
+      "max": [
+        0.999592781066895,
+        1,
+        1
+      ],
+      "min": [
+        -0.99959272146225,
+        -0.0000158334223669954,
+        -1.00030207633972
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 40296,
+      "componentType": 5123,
+      "count": 240,
+      "max": [
+        79
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 92544,
+      "componentType": 5126,
+      "count": 386,
+      "max": [
+        0.678145706653595,
+        1.66194987297058,
+        2.62090063095093
+      ],
+      "min": [
+        -0.678145706653595,
+        0.656204462051392,
+        0.590605139732361
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 97176,
+      "componentType": 5126,
+      "count": 386,
+      "max": [
+        0.978718638420105,
+        0.999382793903351,
+        0.962371647357941
+      ],
+      "min": [
+        -0.978718638420105,
+        -0.101600013673306,
+        -0.998229503631592
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 40776,
+      "componentType": 5123,
+      "count": 2184,
+      "max": [
+        385
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 101808,
+      "componentType": 5126,
+      "count": 14,
+      "max": [
+        0.106555357575417,
+        0.396942555904388,
+        5.25511789321899
+      ],
+      "min": [
+        -0.114014521241188,
+        0.163729846477509,
+        5.22003364562988
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 101976,
+      "componentType": 5126,
+      "count": 14,
+      "max": [
+        0.898882031440735,
+        1.00057244300842,
+        0.182471975684166
+      ],
+      "min": [
+        -0.974179446697235,
+        -0.962603569030762,
+        0.182471752166748
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 45144,
+      "componentType": 5123,
+      "count": 42,
+      "max": [
+        13
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 102144,
+      "componentType": 5126,
+      "count": 60,
+      "max": [
+        0.109549164772034,
+        0.386959582567215,
+        5.36068916320801
+      ],
+      "min": [
+        -0.109215214848518,
+        0.168529152870178,
+        5.25511741638184
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 102864,
+      "componentType": 5126,
+      "count": 60,
+      "max": [
+        0.968574404716492,
+        0.980785369873047,
+        0.935444891452789
+      ],
+      "min": [
+        -0.980785369873047,
+        -0.980785489082336,
+        0.194826602935791
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 45228,
+      "componentType": 5123,
+      "count": 294,
+      "max": [
+        59
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 103584,
+      "componentType": 5126,
+      "count": 833,
+      "max": [
+        0.509009063243866,
+        1.73520827293396,
+        0.00460126856341958
+      ],
+      "min": [
+        -0.509009182453156,
+        -1.73520827293396,
+        -0.70354425907135
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 113580,
+      "componentType": 5126,
+      "count": 833,
+      "max": [
+        0.999036967754364,
+        0.999036550521851,
+        0.999951183795929
+      ],
+      "min": [
+        -0.999037027359009,
+        -0.999036550521851,
+        -1
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 45816,
+      "componentType": 5123,
+      "count": 4512,
+      "max": [
+        832
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 123576,
+      "componentType": 5126,
+      "count": 164,
+      "max": [
+        0.247292637825012,
+        1.84529769420624,
+        -0.0384740605950356
+      ],
+      "min": [
+        -0.247292637825012,
+        -1.84529769420624,
+        -0.308697193861008
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 125544,
+      "componentType": 5126,
+      "count": 164,
+      "max": [
+        0.955570816993713,
+        0.933990895748138,
+        0.999984979629517
+      ],
+      "min": [
+        -0.955570816993713,
+        -0.933990895748138,
+        -0.999984979629517
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 54840,
+      "componentType": 5123,
+      "count": 672,
+      "max": [
+        163
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 127512,
+      "componentType": 5126,
+      "count": 16,
+      "max": [
+        0.112000003457069,
+        0.112000003457069,
+        0.5
+      ],
+      "min": [
+        -0.112000003457069,
+        -0.112000003457069,
+        -0.5
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 127704,
+      "componentType": 5126,
+      "count": 16,
+      "max": [
+        1,
+        1,
+        0
+      ],
+      "min": [
+        -1,
+        -1,
+        0
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 56184,
+      "componentType": 5123,
+      "count": 48,
+      "max": [
+        15
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 127896,
+      "componentType": 5126,
+      "count": 929,
+      "max": [
+        0.953999996185303,
+        0.953999996185303,
+        -0.168189957737923
+      ],
+      "min": [
+        -0.953999996185303,
+        -0.953999996185303,
+        -0.679573118686676
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 56280,
+      "componentType": 5123,
+      "count": 3012,
+      "max": [
+        928
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    }
+  ],
+  "asset": {
+    "generator": "qtek fbx2gltf",
+    "version": "2.0"
+  },
+  "bufferViews": [
+    {
+      "buffer": 0,
+      "byteLength": 139044,
+      "byteOffset": 0,
+      "target": 34962
+    },
+    {
+      "buffer": 0,
+      "byteLength": 62304,
+      "byteOffset": 139044,
+      "target": 34963
+    }
+  ],
+  "buffers": [
+    {
+      "byteLength": 201348,
+      "uri": "plane.bin"
+    }
+  ],
+  "materials": [
+    {
+      "name": "Red",
+      "emissiveFactor": [
+        0,
+        0,
+        0
+      ],
+      "pbrMetallicRoughness": {
+        "baseColorFactor": [
+          0.9019607843137255,
+          0,
+          0,
+          1
+        ],
+        "metallicFactor": 0.31,
+        "roughnessFactor": 0.15
+      }
+    },
+    {
+      "name": "White",
+      "emissiveFactor": [
+        0,
+        0,
+        0
+      ],
+      "pbrMetallicRoughness": {
+        "baseColorFactor": [
+          1,
+          1,
+          1,
+          1
+        ],
+        "metallicFactor": 0.25,
+        "roughnessFactor": 0.33
+      }
+    },
+    {
+      "name": "Engine",
+      "emissiveFactor": [
+        0,
+        0,
+        0
+      ],
+      "pbrMetallicRoughness": {
+        "baseColorFactor": [
+          0.12941176470588237,
+          0.12941176470588237,
+          0.19215686274509805,
+          1
+        ],
+        "metallicFactor": 0,
+        "roughnessFactor": 0.8213901449934544
+      }
+    },
+    {
+      "name": "Canopi",
+      "emissiveFactor": [
+        0,
+        0,
+        0
+      ],
+      "pbrMetallicRoughness": {
+        "baseColorFactor": [
+          0.15294117647058825,
+          0.27058823529411763,
+          0.21568627450980393,
+          0.43
+        ],
+        "metallicFactor": 0.23,
+        "roughnessFactor": 0
+      }
+    },
+    {
+      "name": "chrome",
+      "emissiveFactor": [
+        0,
+        0,
+        0
+      ],
+      "pbrMetallicRoughness": {
+        "baseColorFactor": [
+          0.4823529411764706,
+          0.4823529411764706,
+          0.4823529411764706,
+          1
+        ],
+        "metallicFactor": 0.88,
+        "roughnessFactor": 0.05
+      }
+    },
+    {
+      "name": "lights",
+      "emissiveFactor": [
+        0.30196078431372547,
+        0.1803921568627451,
+        0
+      ],
+      "pbrMetallicRoughness": {
+        "baseColorFactor": [
+          0.9019607843137255,
+          0.9019607843137255,
+          0,
+          1
+        ],
+        "metallicFactor": 0,
+        "roughnessFactor": 0.8213901449934544
+      }
+    },
+    {
+      "name": "Wood",
+      "emissiveFactor": [
+        0,
+        0,
+        0
+      ],
+      "pbrMetallicRoughness": {
+        "baseColorFactor": [
+          0.5019607843137255,
+          0,
+          0,
+          1
+        ],
+        "metallicFactor": 0.13,
+        "roughnessFactor": 0.47
+      }
+    }
+  ],
+  "meshes": [
+    {
+      "name": "body_Material0",
+      "primitives": [
+        {
+          "attributes": {
+            "NORMAL": 1,
+            "POSITION": 0
+          },
+          "indices": 2,
+          "material": 0
+        },
+        {
+          "attributes": {
+            "NORMAL": 4,
+            "POSITION": 3
+          },
+          "indices": 5,
+          "material": 1
+        },
+        {
+          "attributes": {
+            "NORMAL": 7,
+            "POSITION": 6
+          },
+          "indices": 8,
+          "material": 2
+        },
+        {
+          "attributes": {
+            "NORMAL": 10,
+            "POSITION": 9
+          },
+          "indices": 11,
+          "material": 3
+        },
+        {
+          "attributes": {
+            "NORMAL": 13,
+            "POSITION": 12
+          },
+          "indices": 14,
+          "material": 4
+        },
+        {
+          "attributes": {
+            "NORMAL": 16,
+            "POSITION": 15
+          },
+          "indices": 17,
+          "material": 5
+        }
+      ]
+    },
+    {
+      "name": "propeller_Material0",
+      "primitives": [
+        {
+          "attributes": {
+            "NORMAL": 19,
+            "POSITION": 18
+          },
+          "indices": 20,
+          "material": 6
+        },
+        {
+          "attributes": {
+            "NORMAL": 22,
+            "POSITION": 21
+          },
+          "indices": 23,
+          "material": 1
+        },
+        {
+          "attributes": {
+            "NORMAL": 25,
+            "POSITION": 24
+          },
+          "indices": 26,
+          "material": 2
+        }
+      ]
+    },
+    {
+      "name": "engine",
+      "primitives": [
+        {
+          "attributes": {
+            "POSITION": 27
+          },
+          "indices": 28,
+          "material": 2
+        }
+      ]
+    }
+  ],
+  "nodes": [
+    {
+      "matrix": [
+        1,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0,
+        0,
+        0,
+        0,
+        1
+      ],
+      "mesh": 0,
+      "name": "body"
+    },
+    {
+      "matrix": [
+        1,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0,
+        0,
+        0,
+        -0.722736489027739,
+        1
+      ],
+      "mesh": 1,
+      "name": "propeller"
+    },
+    {
+      "matrix": [
+        1,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0,
+        0,
+        0,
+        0,
+        1
+      ],
+      "mesh": 2,
+      "name": "engine"
+    }
+  ],
+  "scene": 0,
+  "scenes": [
+    {
+      "nodes": [
+        0,
+        1,
+        2
+      ]
+    }
+  ]
+}

+ 1 - 0
modules/mojo3d-vr/tests/assets/plastic-pattern-pbr/About these PBR files.txt

@@ -0,0 +1 @@
+These texture files were created by FreePBR.com and may be used freely in your video games and 3d work at no cost. They may not however be redistributed on other websites or anywhere else other than FreePBR.com. We think that is more than fair. :) We also would greatly appreciate it if some sorrt of credit was given if you do indeed use these textures in a published game. Other than that, keep on creating and have fun. :)

+ 3 - 0
modules/mojo3d-vr/tests/assets/plastic-pattern-pbr/material.json

@@ -0,0 +1,3 @@
+{
+	"colorFactor":{"r":0.0,"g":0.0,"b":1.0,"a":1.0}
+}

BIN
modules/mojo3d-vr/tests/assets/plastic-pattern-pbr/normal.png


BIN
modules/mojo3d-vr/tests/assets/plastic-pattern-pbr/roughness.png


+ 1 - 0
modules/mojo3d-vr/tests/assets/scuffed-plastic-pbr/About these PBR files.txt

@@ -0,0 +1 @@
+These texture files were created by FreePBR.com and may be used freely in your video games and 3d work at no cost. They may not however be redistributed on other websites or anywhere else other than FreePBR.com. We think that is more than fair. :) We also would greatly appreciate it if some sorrt of credit was given if you do indeed use these textures in a published game. Other than that, keep on creating and have fun. :)

+ 3 - 0
modules/mojo3d-vr/tests/assets/scuffed-plastic-pbr/material.json

@@ -0,0 +1,3 @@
+{
+	"colorFactor":{"r":1.0,"g":0.0,"b":0.0,"a":1.0}
+}

BIN
modules/mojo3d-vr/tests/assets/scuffed-plastic-pbr/roughness.png


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 166 - 0
modules/mojo3d-vr/tests/assets/vivecontroller.gltf


BIN
modules/mojo3d-vr/tests/assets/water.jpg


+ 160 - 0
modules/mojo3d-vr/tests/empty.monkey2

@@ -0,0 +1,160 @@
+
+Namespace myapp
+
+#Import "<std>"
+#Import "<mojo>"
+#Import "<mojo3d>"
+#Import "<mojo3d-vr>"
+
+#Import "assets/vivecontroller.gltf"
+
+Using std..
+Using mojo..
+Using mojo3d..
+
+Class MyWindow Extends Window
+	
+	Field _renderer:VRRenderer
+	
+	Field _scene:Scene
+	
+	Field _camera:Camera
+
+	Field _light:Light
+	
+	Field _ground:Model
+	
+	Field _baseStations:=New Model[2]
+
+	Field _controllers:=New Model[2]
+	
+	Method New( title:String="Simple mojo app",width:Int=640,height:Int=480,flags:WindowFlags=WindowFlags.Resizable )
+
+		Super.New( title,width,height,flags )
+		
+		SwapInterval=0
+		
+		Print "GL_VERSION="+opengl.glGetString( opengl.GL_VERSION )
+		
+		'Enables VR: must happen before Scene.GetCurrent()
+		'
+		_renderer=New VRRenderer
+		
+		'Use more detailed CSM shadow split distances to compensate for the much nearer near clip plane.
+		'
+		_renderer.CSMSplits=New Float[]( 2,4,16,256 )
+		
+		_renderer.TrackingSpace=VRTrackingSpace.Standing
+		
+		'Get current scene
+		'
+		_scene=Scene.GetCurrent()
+
+		'create camera
+		'
+		_camera=New Camera
+		_camera.Viewport=Rect	'Inital viewport same as view.
+		_camera.Near=.01		'Note: near clip plane 1 centimeter from camera so we can look at things nice and close up.
+		_camera.Far=256			'only 10m visiblity.
+		
+		'create light
+		'
+		_light=New Light
+		_light.Rotate( 75,15,0 )
+		_light.CastsShadow=True
+		
+		'create ground
+		'
+		Local groundBox:=New Boxf( -50,-.1,-50,50,0,50 )
+		Local groundMaterial:=New PbrMaterial( Color.Green,0,1 )
+		_ground=Model.CreateBox( groundBox,1,1,1,groundMaterial )
+		Local groundCollider:=New BoxCollider( _ground )
+		Local groundBody:=New RigidBody( _ground )
+		groundCollider.Box=groundBox
+		groundBody.Mass=0
+		
+		_ground.CastsShadow=False
+		
+		'create base stations
+		'
+		Local baseStationBox:=New Boxf( -.042,-.042,-.042,.042,.042,.042 )
+		Local baseStationMaterial:=New PbrMaterial( Color.Aluminum,1.0,1.0 )
+		Local baseStation:=Model.CreateBox( baseStationBox,1,1,1,baseStationMaterial )
+		
+		_baseStations[0]=baseStation
+		_baseStations[1]=baseStation.Copy()
+		
+		'create controllers
+		Local controller:=Model.Load( "asset::vivecontroller.gltf" )
+		controller.Mesh.TransformVertices( AffineMat4f.Rotation( -Pi/2,0,0 ) )
+
+		_controllers[0]=controller
+		_controllers[1]=controller.Copy()
+	End
+	
+	Method OnRender( canvas:Canvas ) Override
+
+		RequestRender()
+		
+		'Update camera viewport, ie: handle window/view resizing
+		'
+		_camera.Viewport=Rect
+		
+		'Update VR - update all VR matrices, controller states etc.
+		'
+		_renderer.Update()
+		
+		'Update camera
+		'
+		_camera.Matrix=_renderer.HeadMatrix
+		
+		'Update controllers
+		'		
+		Local cmatrix:=_renderer.ControllerMatrices[0]
+		
+		Local adj:=AffineMat4f.Rotation( 0,0,-cmatrix.m.GetRoll() )
+		
+		cmatrix=cmatrix * adj
+		
+		'Local yaw:=_controllers[0].Basis.GetYaw()
+		'Local pitch:=_controllers[0].Basis.GetPitch()
+		'Local adj:=AffineMat4f.Rotation( pitch,yaw,0 )
+		
+		_controllers[0].Matrix=cmatrix
+		_controllers[1].Matrix=_renderer.ControllerMatrices[1]
+		
+		'Hide controllers when vr 'paused' (eg: when system menu up)
+		'
+		_controllers[0].Visible=_renderer.Active
+		_controllers[1].Visible=_renderer.Active
+
+		'Update base stations
+		'
+		_baseStations[0].Matrix=_renderer.BaseStationMatrices[0]
+		_baseStations[1].Matrix=_renderer.BaseStationMatrices[1]
+
+		'Update scene unless VR paused
+		'
+		If _renderer.Active _scene.Update()
+			
+		'Render scene!
+		'		
+		_scene.Render( canvas )
+
+		'Render left eye view to canvas
+		'
+		canvas.DrawRect( 0,Height,Width,-Height,_renderer.LeftEyeImage )
+
+		canvas.DrawText( "Camera.Position="+_camera.Position+", FPS="+App.FPS,0,0 )
+	End
+	
+End
+
+Function Main()
+	
+	New AppInstance
+	
+	New MyWindow
+	
+	App.Run()
+End

+ 166 - 0
modules/mojo3d-vr/tests/flyplane.monkey2

@@ -0,0 +1,166 @@
+Namespace myapp3d
+
+#Import "<std>"
+#Import "<mojo>"
+#Import "<mojo3d>"
+#Import "<mojo3d-vr>"
+
+#Import "assets/plane/"
+#Import "assets/water.jpg"
+#Import "assets/miramar-skybox.jpg"
+
+Using std..
+Using mojo..
+Using mojo3d..
+
+Using openvr..
+
+Class MyWindow Extends Window
+	
+	Field _renderer:VRRenderer
+	
+	Field _scene:Scene
+	
+	Field _camera:Camera
+	
+	Field _light:Light
+	
+	Field _water:Model
+	
+	Field _plane:Model
+	
+	Field _headpos:=AffineMat4f.Translation( 0,1.26,-.26 )
+	
+	Method New( title:String="Simple mojo3d app",width:Int=640,height:Int=480,flags:WindowFlags=WindowFlags.Resizable )
+
+		Super.New( title,width,height,flags )
+		
+		_renderer=New VRRenderer
+		
+		_renderer.OpenvrEventFilter+=OnOpenvrEvent
+
+		Local state:=_renderer.GetControllerState( 0 )
+		
+		state.Changed+=Lambda()
+		
+			Print "ControllerState Changed"+
+				", ButtonPressedMask="+Hex(state.ButtonPressedMask)+
+				", ButtonTouchedMask="+Hex(state.ButtonTouchedMask)+
+				", Trackpad="+state.Trackpad+
+				", Trigger="+state.Trigger
+		
+		End
+		
+		
+		_scene=New Scene
+
+		'Use more detailed CSM shadow split distances to compensate for the much nearer near clip plane.
+		'
+		_scene.CSMSplits=New Float[]( 2,4,16,256 )
+		
+		_scene.SkyTexture=Texture.Load( "asset::miramar-skybox.jpg",TextureFlags.FilterMipmap|TextureFlags.Cubemap )
+		
+		'create light
+		'
+		_light=New Light
+		_light.Rotate( 45,15,0 )
+'		_light.CastsShadow=true
+		
+		Local material:=New PbrMaterial( Color.Black )
+		material.EmissiveFactor=New Color( 0,2,0 )
+		
+		'create water material
+		'
+		Local waterMaterial:=New PbrMaterial
+		
+		waterMaterial.ScaleTextureMatrix( 100,100 )
+		waterMaterial.ColorTexture=Texture.Load( "asset::water.jpg",TextureFlags.WrapST|TextureFlags.FilterMipmap )
+		waterMaterial.ColorFactor=New Color( 0.05, 0.25, 0.3 )
+		
+		'create water
+		'
+		_water=Model.CreateBox( New Boxf( -1000,-1,-1000,1000,0,1000 ),1,1,1,waterMaterial )
+
+		'create plane
+		'		
+		_plane=Model.Load( "asset::plane.gltf" )
+		_plane.Mesh.FitVertices( New Boxf( -10,-1.0,-10,10,1.85,9 ) )
+		_plane.Move( 0,10,0 )
+		
+		New FlyBehaviour( _plane )
+		
+		'create camera
+		'
+		_camera=New Camera( Self,_plane )
+		
+		_camera.Near=.1
+		
+		_camera.Far=100
+		
+		_camera.Move( 0,.5,.5 )
+		
+		SwapInterval=0
+		
+	End
+	
+	'for hooking into low level openvr events
+	'
+	Method OnOpenvrEvent( event:VREvent_t Ptr )
+		
+		#rem
+		
+		'Print "OpenvrEvent! type="+VRSystem().GetEventTypeNameFromEnum( Cast<EVREventType>( event->eventType ) )
+		
+		Select event->eventType
+		Case VREvent_ButtonPress
+			Print "Press:"+VRSystem().GetButtonIdNameFromEnum( Cast<EVRButtonId>( event->data.controller.button ) )
+		Case VREvent_ButtonUnpress
+			Print "Unpress:"+VRSystem().GetButtonIdNameFromEnum( Cast<EVRButtonId>( event->data.controller.button ) )
+		Case VREvent_ButtonTouch
+			Print "Touch:"+VRSystem().GetButtonIdNameFromEnum( Cast<EVRButtonId>( event->data.controller.button ) )
+		Case VREvent_ButtonUntouch
+			Print "Untouch:"+VRSystem().GetButtonIdNameFromEnum( Cast<EVRButtonId>( event->data.controller.button ) )
+		End
+		
+		#end
+		
+	End
+	
+	Method OnRender( canvas:Canvas ) Override
+		
+		'Esc to quit
+		'
+		If Keyboard.KeyHit( Key.Escape ) App.Terminate()
+			
+		RequestRender()
+		
+		'need to call this for VRRenderer before renderer or you'll get an error.
+		'
+		_renderer.Update()
+		
+		If Keyboard.KeyHit( Key.Space ) _renderer.ResetSeatedPose()
+		
+		_camera.LocalMatrix=_headpos * _renderer.HeadMatrix
+		
+		_scene.Update()
+		
+		_water.Position=New Vec3f( Round(_camera.Position.x/1000)*1000,0,Round(_camera.Position.z/1000)*1000 )
+		
+		_scene.Render( canvas )
+
+		'upside down? I thought we were over that...		
+		canvas.DrawRect( 0,Height,Width,-Height,_renderer.LeftEyeImage )
+		
+		canvas.DrawText( "Width="+Width+", Height="+Height+", FPS="+App.FPS,0,0 )
+	End
+	
+End
+
+Function Main()
+
+	New AppInstance
+	
+	New MyWindow
+	
+	App.Run()
+End

+ 197 - 0
modules/mojo3d-vr/tests/pointer.monkey2

@@ -0,0 +1,197 @@
+Namespace myapp
+
+#Import "<std>"
+#Import "<mojo>"
+#Import "<mojo3d>"
+#Import "<mojo3d-vr>"
+
+#Import "../../mojo3d/tests/assets/bluspark.png"
+#Import "../../mojo3d/tests/assets/duck.gltf/@/duck.gltf"
+
+#Import "assets/vivecontroller.gltf"
+
+Using std..
+Using mojo..
+Using mojo3d..
+
+Class DuckBehaviour Extends Behaviour
+	
+	Field _speed:Float
+	Field _yawsp:Float
+	Field _timer:Float
+	
+	Method New( entity:Entity )
+		
+		Super.New( entity )
+		Reset()
+	End
+	
+	Method Reset()
+		_speed=Rnd( .001,.002 )
+		_yawsp=Rnd( -1,1 )
+		_timer=Rnd( 1,3 )
+	End
+	
+	Method OnUpdate( elapsed:Float ) Override
+		
+		_timer-=elapsed
+		
+		If _timer<=0 Reset()
+			
+		Entity.RotateY( _yawsp )
+		
+		Entity.MoveZ( _speed )
+	End
+	
+End
+
+Class MyWindow Extends Window
+	
+	Field _renderer:VRRenderer
+	
+	Field _scene:Scene
+	
+	Field _camera:Camera
+
+	Field _light:Light
+	
+	Field _ground:Model
+	
+	Field _particles:ParticleSystem
+	
+	Field _ctrlModel:Model
+	
+	Field _bases:=New Model[2]
+
+	Field _ctrls:=New Model[2]
+	
+	Field _ducks:=New Stack<Model>
+	
+	Method New( title:String="Simple mojo app",width:Int=640,height:Int=480,flags:WindowFlags=WindowFlags.Resizable )
+
+		Super.New( title,width,height,flags )
+		
+		SwapInterval=0
+		
+		Print "GL_VERSION="+opengl.glGetString( opengl.GL_VERSION )
+		
+		'Enables VR: must happen before Scene.GetCurrent()!
+		'
+		_renderer=New VRRenderer
+		
+		'Use more detailed CSM shadow split distances to compensate for the much nearer near clip plane.
+		'
+		_renderer.CSMSplits=New Float[]( 2,4,16,256 )
+		
+		_renderer.TrackingSpace=VRTrackingSpace.Standing
+		
+		_scene=Scene.GetCurrent()
+
+		'very dark!		
+		'_scene.EnvColor=Color.Black
+		'_scene.ClearColor=Color.Black
+		'_scene.AmbientLight=Color.Black
+		
+		'create camera
+		'
+		_camera=New Camera
+		_camera.Near=.01		'Note: near clip plane 1 centimeter from camera so we can look at things nice and close up.
+		_camera.Far=100			'camera far/near ratio is probably a bit much
+		
+		'create light
+		'
+		_light=New Light
+		_light.Rotate( 75,15,0 )
+		_light.CastsShadow=True
+		
+		'ground material
+		'
+		Local groundMaterial:=New PbrMaterial( Color.Green,0,1 )
+		
+		'create ground
+		'
+		Local groundBox:=New Boxf( -50,-.1,-50,50,0,50 )
+		_ground=Model.CreateBox( groundBox,1,1,1,groundMaterial )
+		_ground.CastsShadow=False
+		
+		'create ducks
+		'		
+		Local duck:=Model.Load( "asset::duck.gltf/Duck.gltf" )
+		duck.Mesh.FitVertices( New Boxf( -.05,.05 ) )
+'		duck.Mesh.FitVertices( New Boxf( -.5,.5 ) )
+		duck.Mesh.TransformVertices( AffineMat4f.Rotation( 0,Pi/2,0 ) )
+		duck.Rotate( 0,-Pi/2,0 )
+		
+		For Local i:=0 Until 100
+			
+			Local copy:=duck.Copy()
+			New DuckBehaviour( copy )
+			
+			copy.Position=Null
+			copy.RotateY( Rnd( 360 ) )
+			copy.Move( 0,Rnd( .5,1.5 ),Rnd( -1,1 ) )
+			
+			_ducks.Add( copy )
+		Next
+		
+		New FlyBehaviour( duck ).Speed=.01
+		duck.Move( 0,.7,.5 )
+		
+		Local baseBox:=New Boxf( -.042,-.042,-.042,.042,.042,.042 )
+		Local baseMaterial:=New PbrMaterial( Color.Aluminum,1.0,1.0 )
+		_bases[0]=Model.CreateBox( baseBox,1,1,1,baseMaterial )
+		_bases[1]=_bases[0].Copy()'Model.CreateBox( baseBox,1,1,1,baseMaterial )
+		
+		Local ctrlModel:=Model.Load( "asset::vivecontroller.gltf" )
+		ctrlModel.Mesh.TransformVertices( AffineMat4f.Rotation( -Pi/2,0,0 ) )
+		
+'		Local ctrlMaterial:=New PbrMaterial( Color.Black,0.0,1.0 )
+'		_ctrlModel=Model.CreateCylinder( .03,.23,Axis.Z,24,ctrlMaterial )
+		
+		_ctrls[0]=ctrlModel
+		_ctrls[1]=ctrlModel.Copy()
+		
+	End
+	
+	Method OnRender( canvas:Canvas ) Override
+
+		RequestRender()
+		
+		'need to call this for VRRenderer before renderer or you'll get an error.
+		'
+		_renderer.Update()
+
+		_camera.Matrix=_renderer.HeadMatrix
+		
+		_ctrls[0].Visible=_renderer.Active
+		_ctrls[1].Visible=_renderer.Active
+		
+		_ctrls[0].Matrix=_renderer.ControllerMatrices[0]
+		_ctrls[1].Matrix=_renderer.ControllerMatrices[1]
+		
+		_bases[0].Matrix=_renderer.BaseStationMatrices[0]
+		_bases[1].Matrix=_renderer.BaseStationMatrices[1]
+		
+		If _renderer.Active _scene.Update()
+		
+		_scene.Render( canvas,_camera )
+
+		'Done!
+'		_renderer.LeftEyeImage.Scale=New Vec2f( -1,-1 )
+		canvas.DrawRect( 0,Height,Width,-Height,_renderer.LeftEyeImage )
+
+		canvas.Scale( Width/640.0,Height/480.0 )
+		
+		canvas.DrawText( "Camera.Position="+_camera.Position+", FPS="+App.FPS,0,0 )
+	End
+	
+End
+
+Function Main()
+	
+	New AppInstance
+	
+	New MyWindow
+	
+	App.Run()
+End

+ 271 - 0
modules/mojo3d-vr/tests/projectiles.monkey2

@@ -0,0 +1,271 @@
+
+Namespace myapp
+
+#Import "<mojo3d-vr>"
+
+#Import "assets/scuffed-plastic-pbr/@/scuffed-plastic-pbr"
+
+#Import "assets/plastic-pattern-pbr/@/plastic-pattern-pbr"
+
+#Import "assets/vivecontroller.gltf"
+
+Using std..
+Using mojo..
+Using mojo3d..
+
+Class MyWindow Extends Window
+	
+	Field _renderer:VRRenderer
+	
+	Field _scene:Scene
+	
+	Field _camera:Camera
+
+	Field _light:Light
+	
+	Field _ground:Model
+	
+	Field _ctrlModel:Model
+	
+	Field _bases:=New Model[2]
+
+	Field _ctrls:=New Model[2]
+	
+	Field _bullets:=New Model[2]
+	
+	Method New( title:String="Simple mojo app",width:Int=640,height:Int=480,flags:WindowFlags=WindowFlags.Resizable )
+
+		Super.New( title,width,height,flags )
+	End
+	
+	Method OnCreateWindow() Override
+		
+		SwapInterval=0
+		
+		'Enables VR
+		'
+		_renderer=New VRRenderer
+		
+		_renderer.TrackingSpace=VRTrackingSpace.Standing
+		
+		_scene=New Scene
+		
+		'Use more detailed CSM shadow split distances to compensate for the much nearer near clip plane.
+		'
+		_scene.CSMSplits=New Float[]( 2,4,16,256 )
+		
+		_scene.UpdateRate=90
+
+		'create camera
+		'
+		_camera=New Camera
+		_camera.Near=.01		'Note: near clip plane 1 centimeter from camera so we can look at things nice and close up.
+		_camera.Far=100			'camera far/near ratio is probably a bit much
+		
+		'create light
+		'
+		_light=New Light
+		_light.Rotate( 75,15,0 )
+		_light.CastsShadow=True
+		
+		'ground material
+		'
+		Local groundMaterial:=New PbrMaterial( Color.Green,0,1 )
+		
+		'create ground
+		'
+		Local groundBox:=New Boxf( -10,-.1,-10,10,.1,10 )
+		
+		_ground=Model.CreateBox( groundBox,16,1,16,groundMaterial )
+		_ground.CastsShadow=False
+		_ground.Move( 0,-1,0 )
+		
+		Local groundCollider:=New BoxCollider( _ground )
+		groundCollider.Box=groundBox
+
+		'***** bullet mesh collisions suck badly, big problem? *****
+		'Local groundCollider:=New MeshCollider( _ground )
+		'groundCollider.Mesh=_ground.Mesh
+
+		Local groundBody:=New RigidBody( _ground )
+'		groundBody.Kinematic=True
+		groundBody.Mass=0
+		
+		'create basestations
+		'		
+		Local baseBox:=New Boxf( -.042,.042 )
+		
+		Local baseMaterial:=New PbrMaterial( Color.Aluminum,1.0,1.0 )
+		
+		_bases[0]=Model.CreateBox( baseBox,1,1,1,baseMaterial )
+		
+		Local baseCollider:=New BoxCollider( _bases[0] )
+		baseCollider.Box=baseBox
+		
+		Local baseBody:=New RigidBody( _bases[0] )
+		baseBody.Mass=0
+	
+		_bases[1]=_bases[0].Copy()
+		
+		'create controllers
+		'
+		Local ctrlModel:=Model.Load( "asset::vivecontroller.gltf" )
+		ctrlModel.Mesh.TransformVertices( AffineMat4f.Rotation( -Pi/2,0,0 ) )
+		
+		_ctrls[0]=ctrlModel
+		_ctrls[1]=ctrlModel.Copy()
+		
+		'create bullets
+		'
+		For Local i:=0 Until 2
+			
+			Local mat:=New PbrMaterial( i ? Color.Red Else Color.Blue,0,.5 )
+			
+			_bullets[i]=Model.CreateSphere( .05,24,12,mat,_ctrls[i] )
+			_bullets[i].LocalPosition=New Vec3f( 0,0,.06 )
+			
+			Local collider:=New SphereCollider( _bullets[i] )
+			collider.Radius=.05
+			
+			Local body:=New RigidBody( _bullets[i] )
+			body.Kinematic=True				'while under user control
+			body.Restitution=.7				'bouncy
+			body.Mass=.170					'170g, about a pool ball?
+
+			'Some fudge...launched dynamic bodies seem to be interfering with kinematic bodies,
+			'even when kinematic bodies are hidden? investigate...
+			body.CollisionGroup=0
+			body.CollisionMask=0
+			
+		Next
+		
+#If __CONFIG__="debug"
+		For Local an:=0 Until 360 Step 12
+#else
+		For Local an:=0 Until 360 Step 6
+#endif
+			Local sz:=.2,sz2:=1.50,sz3:=.1
+			
+			Local box:=New Boxf( -sz,-sz2,-sz3,+sz,+sz2,+sz3 )
+			
+			Local mat:=New PbrMaterial( New Color( Rnd(),Rnd(),Rnd() ),1,0 )
+			
+			Local model:=Model.CreateBox( box,1,1,1,mat )
+			model.Rotate( 0,an,0 )
+			model.Move( 0,sz2,Rnd( 2,8 ) )
+			
+			Local collider:=New BoxCollider( model )
+			collider.Box=box
+			
+			Local body:=New RigidBody( model )
+			body.Mass=1		'Default mass, 1kg
+		Next
+		
+	End
+	
+	Method OnRender( canvas:Canvas ) Override
+
+		RequestRender()
+		
+		'need to call this for VRRenderer before renderer or you'll get an error.
+		'
+		_renderer.Update()
+		
+		'***** shoot *****
+		Local i:=0
+		Local cstate:=_renderer.GetControllerState( i )
+		
+		If cstate.GetButtonPressed( VRButton.Trigger )
+			
+			If _bullets[i].Visible
+				
+				Local bullet:=_bullets[i].Copy( Null )
+				
+				bullet.RigidBody.Kinematic=False
+				
+				bullet.RigidBody.CollisionGroup=1
+				bullet.RigidBody.CollisionMask=1
+				
+'				bullet.Position=cstate.Matrix.t
+'				bullet.RigidBody.LinearVelocity=cstate.Matrix.m.k.Normalize() * 6
+
+				bullet.Position=_bullets[i].Position
+				bullet.RigidBody.LinearVelocity=_bullets[i].Basis.k * 6
+
+'				bullet.RigidBody.ApplyImpulse( _bullets[i].Basis.k/90.0 * 6 )
+			
+				_bullets[i].Visible=False
+				
+			Endif
+			
+		Else
+			
+			_bullets[i].Visible=True
+			
+		Endif
+		
+		'***** throw *****
+		i=1
+		cstate=_renderer.GetControllerState( i )
+		
+		If cstate.GetButtonPressed( VRButton.Trigger )
+			
+			_bullets[i].Visible=True
+		
+		Else
+			
+			If _bullets[i].Visible
+				
+				Local bullet:=_bullets[i].Copy( Null )
+
+				bullet.RigidBody.Kinematic=False
+				
+				bullet.RigidBody.CollisionGroup=1
+				bullet.RigidBody.CollisionMask=1
+				
+				bullet.Position=_bullets[i].Position
+				
+				Local vel:=_renderer.ControllerMatrices[i].t-_ctrls[i].Position
+					
+				bullet.RigidBody.LinearVelocity=vel * _scene.UpdateRate * 2
+					
+				_bullets[i].Visible=False
+			
+			Endif
+			
+		Endif
+		
+		_camera.Matrix=_renderer.HeadMatrix
+		
+		_ctrls[0].Visible=_renderer.Active
+		_ctrls[1].Visible=_renderer.Active
+		
+		_ctrls[0].Matrix=_renderer.ControllerMatrices[0]
+		_ctrls[1].Matrix=_renderer.ControllerMatrices[1]
+		
+		_bases[0].Matrix=_renderer.BaseStationMatrices[0]
+		_bases[1].Matrix=_renderer.BaseStationMatrices[1]
+		
+		If _renderer.Active _scene.Update()
+		
+		_scene.Render( canvas )
+
+		'Done!
+'		_renderer.LeftEyeImage.Scale=New Vec2f( -1,-1 )
+		canvas.DrawRect( 0,Height,Width,-Height,_renderer.LeftEyeImage )
+
+		canvas.Scale( Width/640.0,Height/480.0 )
+		
+		canvas.DrawText( "Camera.Position="+_camera.Position+", FPS="+App.FPS,0,0 )
+	End
+	
+End
+
+Function Main()
+	
+	New AppInstance
+	
+	New MyWindow
+	
+	App.Run()
+End

+ 51 - 0
modules/mojo3d-vr/tests/vr_init.monkey2

@@ -0,0 +1,51 @@
+
+#Import "<std>"
+#Import "<mojo3d-vr>"
+
+Using std..
+Using openvr..
+Using mojo3d..
+
+Function Main()
+	
+	Print "Hello from vr_init"
+	
+	Local _leftEyeMatrix:=New AffineMat4f
+	Local _rightEyeMatrix:=New AffineMat4f
+	
+	Local _leftEyeFrustum:Rectf
+	Local _rightEyeFrustum:Rectf
+	
+	local type:=VRApplication_Scene,error:HmdError
+	
+	Print "Calling VR_Init()..."
+	
+	VR_Init( Varptr error,type )
+	
+	If error<>VRInitError_None RuntimeError( "VR_Init error:"+VR_GetVRInitErrorAsSymbol( error ) )
+		
+	Print "VR_Init() Success!"
+
+	_leftEyeMatrix=Cast<AffineMat4f>( VRSystem().GetEyeToHeadTransform( Eye_Left ) )
+
+	_rightEyeMatrix=Cast<AffineMat4f>( VRSystem().GetEyeToHeadTransform( Eye_Right ) )
+	
+	VRSystem().GetProjectionRaw( Eye_Left,Varptr _leftEyeFrustum.min.x,Varptr _leftEyeFrustum.max.x,Varptr _leftEyeFrustum.min.y,Varptr _leftEyeFrustum.max.y )
+	
+	VRSystem().GetProjectionRaw( Eye_Right,Varptr _rightEyeFrustum.min.x,Varptr _rightEyeFrustum.max.x,Varptr _rightEyeFrustum.min.y,Varptr _rightEyeFrustum.max.y )
+	
+	Print "~nleftEyeMatrix:~n"+_leftEyeMatrix
+	Print "~nrightEyeMatrix:~n"+_rightEyeMatrix
+	Print "~nleftEyeFrustum:~n"+_leftEyeMatrix
+	Print "~nleftEyeFrustum:~n"+_leftEyeMatrix
+	
+	Local frustum:=vr.Frustum( _leftEyeFrustum.min.x,_leftEyeFrustum.max.x,_leftEyeFrustum.min.y,_leftEyeFrustum.max.y,.1,100 )
+	Local inv:=-frustum
+	
+	Print (inv * New Vec3f( 0,0,-1 )).z	'near?
+	Print (inv * New Vec3f( 0,0,+1 )).z	'far?
+
+	VR_Shutdown()
+	
+	Print "Later fiend"
+End

+ 217 - 0
modules/mojo3d-vr/tests/vrducks.monkey2

@@ -0,0 +1,217 @@
+Namespace myapp
+
+#Import "<std>"
+#Import "<mojo>"
+#Import "<mojo3d>"
+#Import "<mojo3d-vr>"
+
+#Import "../../mojo3d/tests/assets/bluspark.png"
+#Import "../../mojo3d/tests/assets/duck.gltf/@/duck.gltf"
+
+#Import "assets/vivecontroller.gltf"
+
+Using std..
+Using mojo..
+Using mojo3d..
+
+Class DuckBehaviour Extends Behaviour
+	
+	Field _speed:Float
+	Field _yawsp:Float
+	Field _timer:Float
+	
+	Method New( entity:Entity )
+		
+		Super.New( entity )
+		Reset()
+	End
+	
+	Method Reset()
+		_speed=Rnd( .001,.002 )
+		_yawsp=Rnd( -1,1 )
+		_timer=Rnd( 1,3 )
+	End
+	
+	Method OnUpdate( elapsed:Float ) Override
+		
+		_timer-=elapsed
+		
+		If _timer<=0 Reset()
+			
+		Entity.RotateY( _yawsp )
+		
+		Entity.MoveZ( _speed )
+	End
+	
+End
+
+Class MyWindow Extends Window
+	
+	Field _renderer:VRRenderer
+	
+	Field _scene:Scene
+	
+	Field _camera:Camera
+
+	Field _light:Light
+	
+	Field _ground:Model
+	
+	Field _particles:ParticleSystem
+	
+	Field _ctrlModel:Model
+	
+	Field _bases:=New Model[2]
+
+	Field _ctrls:=New Model[2]
+	
+	Field _ducks:=New Stack<Model>
+	
+	Method New( title:String="Simple mojo app",width:Int=640,height:Int=480,flags:WindowFlags=WindowFlags.Resizable )
+
+		Super.New( title,width,height,flags )
+		
+		SwapInterval=0
+		
+		Print "GL_VERSION="+opengl.glGetString( opengl.GL_VERSION )
+		
+		'Enables VR: must happen before Renderer.GetCurrent()!
+		'
+		_renderer=New VRRenderer
+		
+		'Use more detailed CSM shadow split distances to compensate for the much nearer near clip plane.
+		'
+		_renderer.CSMSplits=New Float[]( 2,4,16,256 )
+		
+		_renderer.TrackingSpace=VRTrackingSpace.Standing
+		
+		_scene=Scene.GetCurrent()
+
+		'very dark!		
+		'_scene.EnvColor=Color.Black
+		'_scene.ClearColor=Color.Black
+		'_scene.AmbientLight=Color.Black
+		
+		'create camera
+		'
+		_camera=New Camera
+		_camera.Near=.01		'Note: near clip plane 1 centimeter from camera so we can look at things nice and close up.
+		_camera.Far=100			'camera far/near ratio is probably a bit much
+		
+		'create light
+		'
+		_light=New Light
+		_light.Rotate( 75,15,0 )
+		_light.CastsShadow=True
+		
+		'ground material
+		'
+		Local groundMaterial:=New PbrMaterial( Color.Green,0,1 )
+		
+		'create ground
+		'
+		Local groundBox:=New Boxf( -50,-.1,-50,50,0,50 )
+		_ground=Model.CreateBox( groundBox,1,1,1,groundMaterial )
+		_ground.CastsShadow=False
+		
+		'purple rain!
+		'
+		_particles=New ParticleSystem( 15000 )
+		_particles.Move( 0,2,0 )
+		_particles.RotateX( -90 )	'point upwards
+		
+		Local pmaterial:=_particles.Material
+		pmaterial.ColorTexture=Texture.Load( "asset::bluspark.png",TextureFlags.FilterMipmap )
+		
+		Local pbuffer:=_particles.ParticleBuffer
+		pbuffer.Gravity=New Vec3f( 0,-.1,0 )	'gravity in world space in m/s^2.
+		pbuffer.Duration=60.0		'how long a single particle lasts in seconds.
+		pbuffer.Fade=0.0			'how long before paticle starts fading out in seconds.
+		pbuffer.Colors=New Color[]( Color.White,Color.Yellow,Color.Orange,Color.Red )
+		pbuffer.ConeAngle=120		'angle of particle emission cone.
+		pbuffer.MinVelocity=1.0	'min particle velocity.
+		pbuffer.MaxVelocity=1.0	'max particle velocity.
+		pbuffer.MinSize=24.0		'min particle size.
+		pbuffer.MaxSize=32.0		'max particle size.
+		
+		'create ducks
+		'		
+		Local duck:=Model.Load( "asset::duck.gltf/Duck.gltf" )
+		duck.Mesh.FitVertices( New Boxf( -.05,.05 ) )
+'		duck.Mesh.FitVertices( New Boxf( -.5,.5 ) )
+		duck.Mesh.TransformVertices( AffineMat4f.Rotation( 0,Pi/2,0 ) )
+		duck.Rotate( 0,-Pi/2,0 )
+		
+		For Local i:=0 Until 100
+			
+			Local copy:=duck.Copy()
+			New DuckBehaviour( copy )
+			
+			copy.Position=Null
+			copy.RotateY( Rnd( 360 ) )
+			copy.Move( 0,Rnd( .5,1.5 ),Rnd( -1,1 ) )
+			
+			_ducks.Add( copy )
+		Next
+		
+		New FlyBehaviour( duck ).Speed=.01
+		duck.Move( 0,.7,.5 )
+		
+		Local baseBox:=New Boxf( -.042,-.042,-.042,.042,.042,.042 )
+		Local baseMaterial:=New PbrMaterial( Color.Aluminum,1.0,1.0 )
+		_bases[0]=Model.CreateBox( baseBox,1,1,1,baseMaterial )
+		_bases[1]=_bases[0].Copy()'Model.CreateBox( baseBox,1,1,1,baseMaterial )
+		
+		Local ctrlModel:=Model.Load( "asset::vivecontroller.gltf" )
+		ctrlModel.Mesh.TransformVertices( AffineMat4f.Rotation( -Pi/2,0,0 ) )
+		
+'		Local ctrlMaterial:=New PbrMaterial( Color.Black,0.0,1.0 )
+'		_ctrlModel=Model.CreateCylinder( .03,.23,Axis.Z,24,ctrlMaterial )
+		
+		_ctrls[0]=ctrlModel
+		_ctrls[1]=ctrlModel.Copy()
+		
+	End
+	
+	Method OnRender( canvas:Canvas ) Override
+
+		RequestRender()
+		
+		'need to call this for VRRenderer before renderer or you'll get an error.
+		'
+		_renderer.Update()
+
+		_camera.Matrix=_renderer.HeadMatrix
+		
+		_ctrls[0].Visible=_renderer.Active
+		_ctrls[1].Visible=_renderer.Active
+		
+		_ctrls[0].Matrix=_renderer.ControllerMatrices[0]
+		_ctrls[1].Matrix=_renderer.ControllerMatrices[1]
+		
+		_bases[0].Matrix=_renderer.BaseStationMatrices[0]
+		_bases[1].Matrix=_renderer.BaseStationMatrices[1]
+		
+		If _renderer.Active _scene.Update()
+		
+		_scene.Render( canvas,_camera )
+
+		'Done!
+'		_renderer.LeftEyeImage.Scale=New Vec2f( -1,-1 )
+		canvas.DrawRect( 0,Height,Width,-Height,_renderer.LeftEyeImage )
+
+		canvas.Scale( Width/640.0,Height/480.0 )
+		
+		canvas.DrawText( "Camera.Position="+_camera.Position+", FPS="+App.FPS,0,0 )
+	End
+	
+End
+
+Function Main()
+	
+	New AppInstance
+	
+	New MyWindow
+	
+	App.Run()
+End

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác