mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-13 23:28:16 +03:00
parent
5ec8d4dcfb
commit
2d93d45926
2
openvr
2
openvr
@ -1 +1 @@
|
||||
Subproject commit 5e45960cf44d6eb19bbadcae4a3d32578a380c17
|
||||
Subproject commit 15f0838a0487feb7da60acd39aab8099b994234c
|
@ -31,7 +31,7 @@ NTSTATUS IVROverlayView_IVROverlayView_003_PostOverlayEvent( void *args )
|
||||
{
|
||||
struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params *params = (struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params *)args;
|
||||
struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side;
|
||||
u_VREvent_t_1168 u_pvrEvent;
|
||||
u_VREvent_t_2010 u_pvrEvent;
|
||||
if (params->pvrEvent) u_pvrEvent = *params->pvrEvent;
|
||||
iface->PostOverlayEvent( params->ulOverlayHandle, params->pvrEvent ? &u_pvrEvent : nullptr );
|
||||
return 0;
|
||||
|
@ -377,7 +377,7 @@ NTSTATUS IVROverlay_IVROverlay_027_PollNextOverlayEvent( void *args )
|
||||
{
|
||||
struct IVROverlay_IVROverlay_027_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_027_PollNextOverlayEvent_params *)args;
|
||||
struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side;
|
||||
u_VREvent_t_1168 u_pEvent;
|
||||
u_VREvent_t_2010 u_pEvent;
|
||||
if (params->pEvent) u_pEvent = *params->pEvent;
|
||||
uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0;
|
||||
params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent );
|
||||
|
@ -233,7 +233,7 @@ NTSTATUS IVRSystem_IVRSystem_022_PollNextEvent( void *args )
|
||||
{
|
||||
struct IVRSystem_IVRSystem_022_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_022_PollNextEvent_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side;
|
||||
u_VREvent_t_1168 u_pEvent;
|
||||
u_VREvent_t_2010 u_pEvent;
|
||||
if (params->pEvent) u_pEvent = *params->pEvent;
|
||||
uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0;
|
||||
params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent );
|
||||
@ -245,7 +245,7 @@ NTSTATUS IVRSystem_IVRSystem_022_PollNextEventWithPose( void *args )
|
||||
{
|
||||
struct IVRSystem_IVRSystem_022_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_022_PollNextEventWithPose_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side;
|
||||
u_VREvent_t_1168 u_pEvent;
|
||||
u_VREvent_t_2010 u_pEvent;
|
||||
if (params->pEvent) u_pEvent = *params->pEvent;
|
||||
uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0;
|
||||
params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose );
|
||||
|
@ -11,6 +11,7 @@ import os
|
||||
import re
|
||||
|
||||
SDK_VERSIONS = [
|
||||
"v2.0.10",
|
||||
"v1.26.7",
|
||||
"v1.23.7",
|
||||
"v1.16.8",
|
||||
|
35
vrclient_x64/openvr_v2.0.10/ivrclientcore.h
Normal file
35
vrclient_x64/openvr_v2.0.10/ivrclientcore.h
Normal file
@ -0,0 +1,35 @@
|
||||
//========= Copyright Valve Corporation ============//
|
||||
#include "openvr.h"
|
||||
|
||||
namespace vr
|
||||
{
|
||||
|
||||
class IVRClientCore
|
||||
{
|
||||
public:
|
||||
/** Initializes the system */
|
||||
virtual EVRInitError Init( vr::EVRApplicationType eApplicationType, const char *pStartupInfo ) = 0;
|
||||
|
||||
/** cleans up everything in vrclient.dll and prepares the DLL to be unloaded */
|
||||
virtual void Cleanup() = 0;
|
||||
|
||||
/** checks to see if the specified interface/version is supported in this vrclient.dll */
|
||||
virtual EVRInitError IsInterfaceVersionValid( const char *pchInterfaceVersion ) = 0;
|
||||
|
||||
/** Retrieves any interface from vrclient.dll */
|
||||
virtual void *GetGenericInterface( const char *pchNameAndVersion, EVRInitError *peError ) = 0;
|
||||
|
||||
/** Returns true if any driver has an HMD attached. Can be called outside of Init/Cleanup */
|
||||
virtual bool BIsHmdPresent() = 0;
|
||||
|
||||
/** Returns an English error string from inside vrclient.dll which might be newer than the API DLL */
|
||||
virtual const char *GetEnglishStringForHmdError( vr::EVRInitError eError ) = 0;
|
||||
|
||||
/** Returns an error symbol from inside vrclient.dll which might be newer than the API DLL */
|
||||
virtual const char *GetIDForVRInitError( vr::EVRInitError eError ) = 0;
|
||||
};
|
||||
|
||||
static const char * const IVRClientCore_Version = "IVRClientCore_003";
|
||||
|
||||
|
||||
}
|
5798
vrclient_x64/openvr_v2.0.10/openvr.h
Normal file
5798
vrclient_x64/openvr_v2.0.10/openvr.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -3825,7 +3825,7 @@ struct u_IVROverlayView_IVROverlayView_003
|
||||
#ifdef __cplusplus
|
||||
virtual uint32_t AcquireOverlayView( uint64_t, u_VRNativeDevice_t *, u_VROverlayView_t *, uint32_t ) = 0;
|
||||
virtual uint32_t ReleaseOverlayView( u_VROverlayView_t * ) = 0;
|
||||
virtual void PostOverlayEvent( uint64_t, const u_VREvent_t_1168 * ) = 0;
|
||||
virtual void PostOverlayEvent( uint64_t, const u_VREvent_t_2010 * ) = 0;
|
||||
virtual int8_t IsViewingPermitted( uint64_t ) = 0;
|
||||
#endif /* __cplusplus */
|
||||
};
|
||||
@ -3944,8 +3944,8 @@ struct u_IVRSystem_IVRSystem_022
|
||||
virtual uint32_t GetArrayTrackedDeviceProperty( uint32_t, uint32_t, uint32_t, void *, uint32_t, uint32_t * ) = 0;
|
||||
virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0;
|
||||
virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0;
|
||||
virtual int8_t PollNextEvent( u_VREvent_t_1168 *, uint32_t ) = 0;
|
||||
virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_1168 *, uint32_t, TrackedDevicePose_t * ) = 0;
|
||||
virtual int8_t PollNextEvent( u_VREvent_t_2010 *, uint32_t ) = 0;
|
||||
virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_2010 *, uint32_t, TrackedDevicePose_t * ) = 0;
|
||||
virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0;
|
||||
virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0;
|
||||
virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0;
|
||||
@ -4258,7 +4258,7 @@ struct u_IVROverlay_IVROverlay_027
|
||||
virtual int8_t IsOverlayVisible( uint64_t ) = 0;
|
||||
virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0;
|
||||
virtual uint32_t WaitFrameSync( uint32_t ) = 0;
|
||||
virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_1168 *, uint32_t ) = 0;
|
||||
virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_2010 *, uint32_t ) = 0;
|
||||
virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0;
|
||||
virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0;
|
||||
virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0;
|
||||
|
@ -3744,6 +3744,14 @@ C_ASSERT( sizeof(VREvent_Ipd_t) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Ipd_t, ipdMeters) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Ipd_t().ipdMeters) >= 4 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Keyboard_t_2010) >= 24 );
|
||||
C_ASSERT( offsetof(VREvent_Keyboard_t_2010, cNewInput) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Keyboard_t_2010().cNewInput) >= 8 );
|
||||
C_ASSERT( offsetof(VREvent_Keyboard_t_2010, uUserValue) == 8 );
|
||||
C_ASSERT( sizeof(VREvent_Keyboard_t_2010().uUserValue) >= 8 );
|
||||
C_ASSERT( offsetof(VREvent_Keyboard_t_2010, overlayHandle) == 16 );
|
||||
C_ASSERT( sizeof(VREvent_Keyboard_t_2010().overlayHandle) >= 8 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Keyboard_t_0912) >= 16 );
|
||||
C_ASSERT( offsetof(VREvent_Keyboard_t_0912, cNewInput) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Keyboard_t_0912().cNewInput) >= 8 );
|
||||
@ -3760,13 +3768,23 @@ C_ASSERT( sizeof(VREvent_MessageOverlay_t) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_MessageOverlay_t, unVRMessageOverlayResponse) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_MessageOverlay_t().unVRMessageOverlayResponse) >= 4 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t) >= 12 );
|
||||
C_ASSERT( offsetof(VREvent_Mouse_t, x) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t().x) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Mouse_t, y) == 4 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t().y) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Mouse_t, button) == 8 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t().button) >= 4 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t_2010) >= 16 );
|
||||
C_ASSERT( offsetof(VREvent_Mouse_t_2010, x) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t_2010().x) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Mouse_t_2010, y) == 4 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t_2010().y) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Mouse_t_2010, button) == 8 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t_2010().button) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Mouse_t_2010, cursorIndex) == 12 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t_2010().cursorIndex) >= 4 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t_090) >= 12 );
|
||||
C_ASSERT( offsetof(VREvent_Mouse_t_090, x) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t_090().x) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Mouse_t_090, y) == 4 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t_090().y) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Mouse_t_090, button) == 8 );
|
||||
C_ASSERT( sizeof(VREvent_Mouse_t_090().button) >= 4 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Notification_t_093) >= 16 );
|
||||
C_ASSERT( offsetof(VREvent_Notification_t_093, ulUserValue) == 0 );
|
||||
@ -3782,6 +3800,16 @@ C_ASSERT( sizeof(VREvent_Notification_t_092().y) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Notification_t_092, notificationId) == 8 );
|
||||
C_ASSERT( sizeof(VREvent_Notification_t_092().notificationId) >= 4 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Overlay_t_2010) >= 32 );
|
||||
C_ASSERT( offsetof(VREvent_Overlay_t_2010, overlayHandle) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Overlay_t_2010().overlayHandle) >= 8 );
|
||||
C_ASSERT( offsetof(VREvent_Overlay_t_2010, devicePath) == 8 );
|
||||
C_ASSERT( sizeof(VREvent_Overlay_t_2010().devicePath) >= 8 );
|
||||
C_ASSERT( offsetof(VREvent_Overlay_t_2010, memoryBlockId) == 16 );
|
||||
C_ASSERT( sizeof(VREvent_Overlay_t_2010().memoryBlockId) >= 8 );
|
||||
C_ASSERT( offsetof(VREvent_Overlay_t_2010, cursorIndex) == 24 );
|
||||
C_ASSERT( sizeof(VREvent_Overlay_t_2010().cursorIndex) >= 4 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Overlay_t_1168) >= 24 );
|
||||
C_ASSERT( offsetof(VREvent_Overlay_t_1168, overlayHandle) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Overlay_t_1168().overlayHandle) >= 8 );
|
||||
@ -3888,6 +3916,18 @@ C_ASSERT( sizeof(VREvent_Screenshot_t().handle) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Screenshot_t, type) == 4 );
|
||||
C_ASSERT( sizeof(VREvent_Screenshot_t().type) >= 4 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Scroll_t_2010) >= 20 );
|
||||
C_ASSERT( offsetof(VREvent_Scroll_t_2010, xdelta) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Scroll_t_2010().xdelta) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Scroll_t_2010, ydelta) == 4 );
|
||||
C_ASSERT( sizeof(VREvent_Scroll_t_2010().ydelta) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Scroll_t_2010, unused) == 8 );
|
||||
C_ASSERT( sizeof(VREvent_Scroll_t_2010().unused) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Scroll_t_2010, viewportscale) == 12 );
|
||||
C_ASSERT( sizeof(VREvent_Scroll_t_2010().viewportscale) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Scroll_t_2010, cursorIndex) == 16 );
|
||||
C_ASSERT( sizeof(VREvent_Scroll_t_2010().cursorIndex) >= 4 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Scroll_t_1322) >= 16 );
|
||||
C_ASSERT( offsetof(VREvent_Scroll_t_1322, xdelta) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Scroll_t_1322().xdelta) >= 4 );
|
||||
@ -3958,6 +3998,66 @@ C_ASSERT( sizeof(TrackedDevicePose_t().bPoseIsValid) >= 1 );
|
||||
C_ASSERT( offsetof(TrackedDevicePose_t, bDeviceIsConnected) == 77 );
|
||||
C_ASSERT( sizeof(TrackedDevicePose_t().bDeviceIsConnected) >= 1 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010) >= 48 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, reserved) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().reserved) >= 48 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, controller) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().controller) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, mouse) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().mouse) >= 16 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, scroll) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().scroll) >= 20 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, process) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().process) >= 12 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, notification) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().notification) >= 16 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, overlay) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().overlay) >= 32 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, status) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().status) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, keyboard) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().keyboard) >= 24 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, ipd) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().ipd) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, chaperone) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().chaperone) >= 16 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, performanceTest) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().performanceTest) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, touchPadMove) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().touchPadMove) >= 24 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, seatedZeroPoseReset) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().seatedZeroPoseReset) >= 1 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, screenshot) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().screenshot) >= 8 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, screenshotProgress) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().screenshotProgress) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, applicationLaunch) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().applicationLaunch) >= 8 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, cameraSurface) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().cameraSurface) >= 16 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, messageOverlay) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().messageOverlay) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, property) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().property) >= 16 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, hapticVibration) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().hapticVibration) >= 32 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, webConsole) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().webConsole) >= 8 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, inputBinding) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().inputBinding) >= 32 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, actionManifest) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().actionManifest) >= 32 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, spatialAnchor) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().spatialAnchor) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, progressUpdate) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().progressUpdate) >= 48 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, showUi) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().showUi) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, showDevTools) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().showDevTools) >= 4 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_2010, hdcpError) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_2010().hdcpError) >= 4 );
|
||||
|
||||
C_ASSERT( sizeof(VREvent_Data_t_1168) >= 48 );
|
||||
C_ASSERT( offsetof(VREvent_Data_t_1168, reserved) == 0 );
|
||||
C_ASSERT( sizeof(VREvent_Data_t_1168().reserved) >= 48 );
|
||||
@ -10212,6 +10312,46 @@ u32_VRControllerState001_t::operator w32_VRControllerState001_t() const
|
||||
}
|
||||
#endif
|
||||
|
||||
C_ASSERT( sizeof(w64_VREvent_t_2010) >= 64 );
|
||||
C_ASSERT( offsetof(w64_VREvent_t_2010, eventType) == 0 );
|
||||
C_ASSERT( sizeof(w64_VREvent_t_2010().eventType) >= 4 );
|
||||
C_ASSERT( offsetof(w64_VREvent_t_2010, trackedDeviceIndex) == 4 );
|
||||
C_ASSERT( sizeof(w64_VREvent_t_2010().trackedDeviceIndex) >= 4 );
|
||||
C_ASSERT( offsetof(w64_VREvent_t_2010, eventAgeSeconds) == 8 );
|
||||
C_ASSERT( sizeof(w64_VREvent_t_2010().eventAgeSeconds) >= 4 );
|
||||
C_ASSERT( offsetof(w64_VREvent_t_2010, data) == 16 );
|
||||
C_ASSERT( sizeof(w64_VREvent_t_2010().data) >= 48 );
|
||||
|
||||
C_ASSERT( sizeof(u64_VREvent_t_2010) >= 60 );
|
||||
C_ASSERT( offsetof(u64_VREvent_t_2010, eventType) == 0 );
|
||||
C_ASSERT( sizeof(u64_VREvent_t_2010().eventType) >= 4 );
|
||||
C_ASSERT( offsetof(u64_VREvent_t_2010, trackedDeviceIndex) == 4 );
|
||||
C_ASSERT( sizeof(u64_VREvent_t_2010().trackedDeviceIndex) >= 4 );
|
||||
C_ASSERT( offsetof(u64_VREvent_t_2010, eventAgeSeconds) == 8 );
|
||||
C_ASSERT( sizeof(u64_VREvent_t_2010().eventAgeSeconds) >= 4 );
|
||||
C_ASSERT( offsetof(u64_VREvent_t_2010, data) == 12 );
|
||||
C_ASSERT( sizeof(u64_VREvent_t_2010().data) >= 48 );
|
||||
|
||||
C_ASSERT( sizeof(w32_VREvent_t_2010) >= 64 );
|
||||
C_ASSERT( offsetof(w32_VREvent_t_2010, eventType) == 0 );
|
||||
C_ASSERT( sizeof(w32_VREvent_t_2010().eventType) >= 4 );
|
||||
C_ASSERT( offsetof(w32_VREvent_t_2010, trackedDeviceIndex) == 4 );
|
||||
C_ASSERT( sizeof(w32_VREvent_t_2010().trackedDeviceIndex) >= 4 );
|
||||
C_ASSERT( offsetof(w32_VREvent_t_2010, eventAgeSeconds) == 8 );
|
||||
C_ASSERT( sizeof(w32_VREvent_t_2010().eventAgeSeconds) >= 4 );
|
||||
C_ASSERT( offsetof(w32_VREvent_t_2010, data) == 16 );
|
||||
C_ASSERT( sizeof(w32_VREvent_t_2010().data) >= 48 );
|
||||
|
||||
C_ASSERT( sizeof(u32_VREvent_t_2010) >= 60 );
|
||||
C_ASSERT( offsetof(u32_VREvent_t_2010, eventType) == 0 );
|
||||
C_ASSERT( sizeof(u32_VREvent_t_2010().eventType) >= 4 );
|
||||
C_ASSERT( offsetof(u32_VREvent_t_2010, trackedDeviceIndex) == 4 );
|
||||
C_ASSERT( sizeof(u32_VREvent_t_2010().trackedDeviceIndex) >= 4 );
|
||||
C_ASSERT( offsetof(u32_VREvent_t_2010, eventAgeSeconds) == 8 );
|
||||
C_ASSERT( sizeof(u32_VREvent_t_2010().eventAgeSeconds) >= 4 );
|
||||
C_ASSERT( offsetof(u32_VREvent_t_2010, data) == 12 );
|
||||
C_ASSERT( sizeof(u32_VREvent_t_2010().data) >= 48 );
|
||||
|
||||
C_ASSERT( sizeof(w64_VREvent_t_1168) >= 64 );
|
||||
C_ASSERT( offsetof(w64_VREvent_t_1168, eventType) == 0 );
|
||||
C_ASSERT( sizeof(w64_VREvent_t_1168().eventType) >= 4 );
|
||||
@ -11212,6 +11352,50 @@ C_ASSERT( sizeof(u32_VREvent_t_090().data) >= 16 );
|
||||
C_ASSERT( offsetof(u32_VREvent_t_090, eventAgeSeconds) == 24 );
|
||||
C_ASSERT( sizeof(u32_VREvent_t_090().eventAgeSeconds) >= 4 );
|
||||
|
||||
#ifdef __x86_64__
|
||||
w64_VREvent_t_2010::operator u64_VREvent_t_2010() const
|
||||
{
|
||||
u64_VREvent_t_2010 ret;
|
||||
ret.eventType = this->eventType;
|
||||
ret.trackedDeviceIndex = this->trackedDeviceIndex;
|
||||
ret.eventAgeSeconds = this->eventAgeSeconds;
|
||||
ret.data = this->data;
|
||||
return ret;
|
||||
}
|
||||
|
||||
u64_VREvent_t_2010::operator w64_VREvent_t_2010() const
|
||||
{
|
||||
w64_VREvent_t_2010 ret;
|
||||
ret.eventType = this->eventType;
|
||||
ret.trackedDeviceIndex = this->trackedDeviceIndex;
|
||||
ret.eventAgeSeconds = this->eventAgeSeconds;
|
||||
ret.data = this->data;
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __i386__
|
||||
w32_VREvent_t_2010::operator u32_VREvent_t_2010() const
|
||||
{
|
||||
u32_VREvent_t_2010 ret;
|
||||
ret.eventType = this->eventType;
|
||||
ret.trackedDeviceIndex = this->trackedDeviceIndex;
|
||||
ret.eventAgeSeconds = this->eventAgeSeconds;
|
||||
ret.data = this->data;
|
||||
return ret;
|
||||
}
|
||||
|
||||
u32_VREvent_t_2010::operator w32_VREvent_t_2010() const
|
||||
{
|
||||
w32_VREvent_t_2010 ret;
|
||||
ret.eventType = this->eventType;
|
||||
ret.trackedDeviceIndex = this->trackedDeviceIndex;
|
||||
ret.eventAgeSeconds = this->eventAgeSeconds;
|
||||
ret.data = this->data;
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __x86_64__
|
||||
w64_VREvent_t_1168::operator u64_VREvent_t_1168() const
|
||||
{
|
||||
|
@ -8621,7 +8621,7 @@ struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params
|
||||
{
|
||||
void *linux_side;
|
||||
uint64_t ulOverlayHandle;
|
||||
const w_VREvent_t_1168 *pvrEvent;
|
||||
const w_VREvent_t_2010 *pvrEvent;
|
||||
};
|
||||
|
||||
struct IVROverlayView_IVROverlayView_003_IsViewingPermitted_params
|
||||
@ -21584,7 +21584,7 @@ struct IVROverlay_IVROverlay_027_PollNextOverlayEvent_params
|
||||
void *linux_side;
|
||||
int8_t _ret;
|
||||
uint64_t ulOverlayHandle;
|
||||
w_VREvent_t_1168 *pEvent;
|
||||
w_VREvent_t_2010 *pEvent;
|
||||
uint32_t uncbVREvent;
|
||||
};
|
||||
|
||||
@ -28039,7 +28039,7 @@ struct IVRSystem_IVRSystem_022_PollNextEvent_params
|
||||
{
|
||||
void *linux_side;
|
||||
int8_t _ret;
|
||||
w_VREvent_t_1168 *pEvent;
|
||||
w_VREvent_t_2010 *pEvent;
|
||||
uint32_t uncbVREvent;
|
||||
};
|
||||
|
||||
@ -28048,7 +28048,7 @@ struct IVRSystem_IVRSystem_022_PollNextEventWithPose_params
|
||||
void *linux_side;
|
||||
int8_t _ret;
|
||||
uint32_t eOrigin;
|
||||
w_VREvent_t_1168 *pEvent;
|
||||
w_VREvent_t_2010 *pEvent;
|
||||
uint32_t uncbVREvent;
|
||||
TrackedDevicePose_t *pTrackedDevicePose;
|
||||
};
|
||||
|
@ -107,6 +107,16 @@ struct VREvent_Ipd_t
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
typedef struct VREvent_Keyboard_t_2010 VREvent_Keyboard_t_2010;
|
||||
#pragma pack( push, 8 )
|
||||
struct VREvent_Keyboard_t_2010
|
||||
{
|
||||
char (cNewInput)[8];
|
||||
uint64_t uUserValue;
|
||||
uint64_t overlayHandle;
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
typedef struct VREvent_Keyboard_t_0912 VREvent_Keyboard_t_0912;
|
||||
#pragma pack( push, 8 )
|
||||
struct VREvent_Keyboard_t_0912
|
||||
@ -133,9 +143,20 @@ struct VREvent_MessageOverlay_t
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
typedef struct VREvent_Mouse_t VREvent_Mouse_t;
|
||||
typedef struct VREvent_Mouse_t_2010 VREvent_Mouse_t_2010;
|
||||
#pragma pack( push, 4 )
|
||||
struct VREvent_Mouse_t
|
||||
struct VREvent_Mouse_t_2010
|
||||
{
|
||||
float x;
|
||||
float y;
|
||||
uint32_t button;
|
||||
uint32_t cursorIndex;
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
typedef struct VREvent_Mouse_t_090 VREvent_Mouse_t_090;
|
||||
#pragma pack( push, 4 )
|
||||
struct VREvent_Mouse_t_090
|
||||
{
|
||||
float x;
|
||||
float y;
|
||||
@ -163,6 +184,18 @@ struct VREvent_Notification_t_092
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
typedef struct VREvent_Overlay_t_2010 VREvent_Overlay_t_2010;
|
||||
#pragma pack( push, 8 )
|
||||
struct VREvent_Overlay_t_2010
|
||||
{
|
||||
uint64_t overlayHandle;
|
||||
uint64_t devicePath;
|
||||
uint64_t memoryBlockId;
|
||||
uint32_t cursorIndex;
|
||||
uint8_t __pad_28[4];
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
typedef struct VREvent_Overlay_t_1168 VREvent_Overlay_t_1168;
|
||||
#pragma pack( push, 8 )
|
||||
struct VREvent_Overlay_t_1168
|
||||
@ -304,6 +337,18 @@ struct VREvent_Screenshot_t
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
typedef struct VREvent_Scroll_t_2010 VREvent_Scroll_t_2010;
|
||||
#pragma pack( push, 4 )
|
||||
struct VREvent_Scroll_t_2010
|
||||
{
|
||||
float xdelta;
|
||||
float ydelta;
|
||||
uint32_t unused;
|
||||
float viewportscale;
|
||||
uint32_t cursorIndex;
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
typedef struct VREvent_Scroll_t_1322 VREvent_Scroll_t_1322;
|
||||
#pragma pack( push, 4 )
|
||||
struct VREvent_Scroll_t_1322
|
||||
@ -401,13 +446,49 @@ struct TrackedDevicePose_t
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
typedef union VREvent_Data_t_2010 VREvent_Data_t_2010;
|
||||
#pragma pack( push, 8 )
|
||||
union VREvent_Data_t_2010
|
||||
{
|
||||
VREvent_Reserved_t_113b reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t_2010 mouse;
|
||||
VREvent_Scroll_t_2010 scroll;
|
||||
VREvent_Process_t_1210 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
VREvent_Overlay_t_2010 overlay;
|
||||
VREvent_Status_t status;
|
||||
VREvent_Keyboard_t_2010 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_HapticVibration_t hapticVibration;
|
||||
VREvent_WebConsole_t webConsole;
|
||||
VREvent_InputBindingLoad_t_1016 inputBinding;
|
||||
VREvent_InputActionManifestLoad_t actionManifest;
|
||||
VREvent_SpatialAnchor_t spatialAnchor;
|
||||
VREvent_ProgressUpdate_t progressUpdate;
|
||||
VREvent_ShowUI_t showUi;
|
||||
VREvent_ShowDevTools_t showDevTools;
|
||||
VREvent_HDCPError_t hdcpError;
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
typedef union VREvent_Data_t_1168 VREvent_Data_t_1168;
|
||||
#pragma pack( push, 8 )
|
||||
union VREvent_Data_t_1168
|
||||
{
|
||||
VREvent_Reserved_t_113b reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_1322 scroll;
|
||||
VREvent_Process_t_1210 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -443,7 +524,7 @@ union VREvent_Data_t_11030
|
||||
{
|
||||
VREvent_Reserved_t_113b reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_1322 scroll;
|
||||
VREvent_Process_t_1210 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -479,7 +560,7 @@ union VREvent_Data_t_1322
|
||||
{
|
||||
VREvent_Reserved_t_113b reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_1322 scroll;
|
||||
VREvent_Process_t_1210 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -516,7 +597,7 @@ union VREvent_Data_t_1210
|
||||
{
|
||||
VREvent_Reserved_t_113b reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_1210 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -551,7 +632,7 @@ union VREvent_Data_t_113b
|
||||
{
|
||||
VREvent_Reserved_t_113b reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -586,7 +667,7 @@ union VREvent_Data_t_1016
|
||||
{
|
||||
VREvent_Reserved_t_1013 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -619,7 +700,7 @@ union VREvent_Data_t_1015
|
||||
{
|
||||
VREvent_Reserved_t_1013 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -650,7 +731,7 @@ union VREvent_Data_t_1014
|
||||
{
|
||||
VREvent_Reserved_t_1013 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -680,7 +761,7 @@ union VREvent_Data_t_1013
|
||||
{
|
||||
VREvent_Reserved_t_1013 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -709,7 +790,7 @@ union VREvent_Data_t_1012
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -738,7 +819,7 @@ union VREvent_Data_t_1011
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -766,7 +847,7 @@ union VREvent_Data_t_106
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -793,7 +874,7 @@ union VREvent_Data_t_105
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -819,7 +900,7 @@ union VREvent_Data_t_103
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -844,7 +925,7 @@ union VREvent_Data_t_102
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -868,7 +949,7 @@ union VREvent_Data_t_101
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -890,7 +971,7 @@ union VREvent_Data_t_0918
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -911,7 +992,7 @@ union VREvent_Data_t_0915
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Scroll_t_0915 scroll;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
@ -931,7 +1012,7 @@ union VREvent_Data_t_0914
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
VREvent_Overlay_t_092 overlay;
|
||||
@ -949,7 +1030,7 @@ union VREvent_Data_t_0912
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Process_t_0912 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
VREvent_Overlay_t_092 overlay;
|
||||
@ -966,7 +1047,7 @@ union VREvent_Data_t_0910
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Process_t_090 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
VREvent_Overlay_t_092 overlay;
|
||||
@ -981,7 +1062,7 @@ union VREvent_Data_t_097
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Process_t_090 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
VREvent_Overlay_t_092 overlay;
|
||||
@ -995,7 +1076,7 @@ union VREvent_Data_t_093
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Process_t_090 process;
|
||||
VREvent_Notification_t_093 notification;
|
||||
VREvent_Overlay_t_092 overlay;
|
||||
@ -1008,7 +1089,7 @@ union VREvent_Data_t_092
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Process_t_090 process;
|
||||
VREvent_Notification_t_092 notification;
|
||||
VREvent_Overlay_t_092 overlay;
|
||||
@ -1021,7 +1102,7 @@ union VREvent_Data_t_090
|
||||
{
|
||||
VREvent_Reserved_t_090 reserved;
|
||||
VREvent_Controller_t controller;
|
||||
VREvent_Mouse_t mouse;
|
||||
VREvent_Mouse_t_090 mouse;
|
||||
VREvent_Process_t_090 process;
|
||||
};
|
||||
#pragma pack( pop )
|
||||
@ -1561,6 +1642,10 @@ typedef struct u64_VRControllerState001_t u64_VRControllerState001_t;
|
||||
typedef struct w64_VRControllerState001_t w64_VRControllerState001_t;
|
||||
typedef struct u32_VRControllerState001_t u32_VRControllerState001_t;
|
||||
typedef struct w32_VRControllerState001_t w32_VRControllerState001_t;
|
||||
typedef struct u64_VREvent_t_2010 u64_VREvent_t_2010;
|
||||
typedef struct w64_VREvent_t_2010 w64_VREvent_t_2010;
|
||||
typedef struct u32_VREvent_t_2010 u32_VREvent_t_2010;
|
||||
typedef struct w32_VREvent_t_2010 w32_VREvent_t_2010;
|
||||
typedef struct u64_VREvent_t_1168 u64_VREvent_t_1168;
|
||||
typedef struct w64_VREvent_t_1168 w64_VREvent_t_1168;
|
||||
typedef struct u32_VREvent_t_1168 u32_VREvent_t_1168;
|
||||
@ -4302,6 +4387,69 @@ typedef w64_VRControllerState001_t w_VRControllerState001_t;
|
||||
typedef u64_VRControllerState001_t u_VRControllerState001_t;
|
||||
#endif
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct w64_VREvent_t_2010
|
||||
{
|
||||
uint32_t eventType;
|
||||
uint32_t trackedDeviceIndex;
|
||||
float eventAgeSeconds;
|
||||
uint8_t __pad_12[4];
|
||||
VREvent_Data_t_2010 data;
|
||||
#ifdef __cplusplus
|
||||
operator u64_VREvent_t_2010() const;
|
||||
#endif /* __cplusplus */
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
#pragma pack( push, 4 )
|
||||
struct u64_VREvent_t_2010
|
||||
{
|
||||
uint32_t eventType;
|
||||
uint32_t trackedDeviceIndex;
|
||||
float eventAgeSeconds;
|
||||
VREvent_Data_t_2010 data;
|
||||
#ifdef __cplusplus
|
||||
operator w64_VREvent_t_2010() const;
|
||||
#endif /* __cplusplus */
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct w32_VREvent_t_2010
|
||||
{
|
||||
uint32_t eventType;
|
||||
uint32_t trackedDeviceIndex;
|
||||
float eventAgeSeconds;
|
||||
uint8_t __pad_12[4];
|
||||
VREvent_Data_t_2010 data;
|
||||
#ifdef __cplusplus
|
||||
operator u32_VREvent_t_2010() const;
|
||||
#endif /* __cplusplus */
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
#pragma pack( push, 4 )
|
||||
struct u32_VREvent_t_2010
|
||||
{
|
||||
uint32_t eventType;
|
||||
uint32_t trackedDeviceIndex;
|
||||
float eventAgeSeconds;
|
||||
VREvent_Data_t_2010 data;
|
||||
#ifdef __cplusplus
|
||||
operator w32_VREvent_t_2010() const;
|
||||
#endif /* __cplusplus */
|
||||
};
|
||||
#pragma pack( pop )
|
||||
|
||||
#ifdef __i386__
|
||||
typedef w32_VREvent_t_2010 w_VREvent_t_2010;
|
||||
typedef u32_VREvent_t_2010 u_VREvent_t_2010;
|
||||
#endif
|
||||
#ifdef __x86_64__
|
||||
typedef w64_VREvent_t_2010 w_VREvent_t_2010;
|
||||
typedef u64_VREvent_t_2010 u_VREvent_t_2010;
|
||||
#endif
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct w64_VREvent_t_1168
|
||||
{
|
||||
|
@ -26105,9 +26105,9 @@ uint32_t __thiscall winIVROverlay_IVROverlay_027_WaitFrameSync(struct w_steam_if
|
||||
return params._ret;
|
||||
}
|
||||
|
||||
int8_t __thiscall winIVROverlay_IVROverlay_027_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent)
|
||||
int8_t __thiscall winIVROverlay_IVROverlay_027_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_2010 *pEvent, uint32_t uncbVREvent)
|
||||
{
|
||||
w_VREvent_t_1168 w_pEvent;
|
||||
w_VREvent_t_2010 w_pEvent;
|
||||
struct IVROverlay_IVROverlay_027_PollNextOverlayEvent_params params =
|
||||
{
|
||||
.linux_side = _this->u_iface,
|
||||
|
@ -40,7 +40,7 @@ uint32_t __thiscall winIVROverlayView_IVROverlayView_003_ReleaseOverlayView(stru
|
||||
return params._ret;
|
||||
}
|
||||
|
||||
void __thiscall winIVROverlayView_IVROverlayView_003_PostOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_VREvent_t_1168 *pvrEvent)
|
||||
void __thiscall winIVROverlayView_IVROverlayView_003_PostOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_VREvent_t_2010 *pvrEvent)
|
||||
{
|
||||
struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params params =
|
||||
{
|
||||
|
@ -11446,9 +11446,9 @@ const char * __thiscall winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(stru
|
||||
return params._ret;
|
||||
}
|
||||
|
||||
int8_t __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent)
|
||||
int8_t __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_2010 *pEvent, uint32_t uncbVREvent)
|
||||
{
|
||||
w_VREvent_t_1168 w_pEvent;
|
||||
w_VREvent_t_2010 w_pEvent;
|
||||
struct IVRSystem_IVRSystem_022_PollNextEvent_params params =
|
||||
{
|
||||
.linux_side = _this->u_iface,
|
||||
@ -11463,9 +11463,9 @@ int8_t __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(struct w_steam_iface
|
||||
return params._ret;
|
||||
}
|
||||
|
||||
int8_t __thiscall winIVRSystem_IVRSystem_022_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose)
|
||||
int8_t __thiscall winIVRSystem_IVRSystem_022_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_2010 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose)
|
||||
{
|
||||
w_VREvent_t_1168 w_pEvent;
|
||||
w_VREvent_t_2010 w_pEvent;
|
||||
struct IVRSystem_IVRSystem_022_PollNextEventWithPose_params params =
|
||||
{
|
||||
.linux_side = _this->u_iface,
|
||||
|
Loading…
x
Reference in New Issue
Block a user