vrclient: Use standard fixed size integer types.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-14 14:53:26 +02:00 committed by Arkadiusz Hiler
parent 560fc53226
commit 77d381cd1d
24 changed files with 57 additions and 50 deletions

View File

@ -333,16 +333,23 @@ def declspec(decl, name):
real_name = real_name.removeprefix("vr::")
if real_name in SDK_STRUCTS:
typename = f"win{real_name}_{display_sdkver(sdkver)}"
type_name = f"win{real_name}_{display_sdkver(sdkver)}"
elif struct_needs_conversion(decl.get_canonical()) \
and not decl.is_const_qualified(): # FIXME
typename = f"win{real_name}_{display_sdkver(sdkver)}"
type_name = f"win{real_name}_{display_sdkver(sdkver)}"
else:
typename = decl.spelling
typename = typename.removeprefix("const ")
typename = typename.removeprefix("vr::")
type_name = decl.spelling
type_name = type_name.removeprefix("const ")
type_name = type_name.removeprefix("vr::")
return f'{const}{typename}{name}'
if type_name in ('void', 'bool', 'char', 'float', 'double'):
return f'{const}{type_name}{name}'
if type_name.startswith(('int', 'long', 'short', 'signed')):
return f'{const}int{decl.get_size() * 8}_t{name}'
if type_name.startswith(('uint', 'unsigned')):
return f'{const}uint{decl.get_size() * 8}_t{name}'
return f'{const}{type_name}{name}'
def handle_method_hpp(method, cppname, out):

View File

@ -50,7 +50,7 @@ struct cppIVRChaperone_IVRChaperone_002_GetBoundsColor_params
{
void *linux_side;
HmdColor_t *pOutputColorArray;
int nNumOutputColors;
int32_t nNumOutputColors;
};
extern void cppIVRChaperone_IVRChaperone_002_GetBoundsColor( struct cppIVRChaperone_IVRChaperone_002_GetBoundsColor_params *params );

View File

@ -42,7 +42,7 @@ struct cppIVRChaperone_IVRChaperone_003_GetBoundsColor_params
{
void *linux_side;
HmdColor_t *pOutputColorArray;
int nNumOutputColors;
int32_t nNumOutputColors;
float flCollisionBoundsFadeDistance;
HmdColor_t *pOutputCameraColor;
};

View File

@ -42,7 +42,7 @@ struct cppIVRChaperone_IVRChaperone_004_GetBoundsColor_params
{
void *linux_side;
HmdColor_t *pOutputColorArray;
int nNumOutputColors;
int32_t nNumOutputColors;
float flCollisionBoundsFadeDistance;
HmdColor_t *pOutputCameraColor;
};

View File

@ -17,7 +17,7 @@ struct cppIVRScreenshots_IVRScreenshots_001_HookScreenshot_params
void *linux_side;
EVRScreenshotError _ret;
const EVRScreenshotType *pSupportedTypes;
int numTypes;
int32_t numTypes;
};
extern void cppIVRScreenshots_IVRScreenshots_001_HookScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_HookScreenshot_params *params );

View File

@ -286,7 +286,7 @@ struct cppIVRSystem_IVRSystem_003_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_003_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_003_TriggerHapticPulse_params *params );

View File

@ -270,7 +270,7 @@ struct cppIVRSystem_IVRSystem_004_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_004_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_004_TriggerHapticPulse_params *params );

View File

@ -281,7 +281,7 @@ struct cppIVRSystem_IVRSystem_005_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_005_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_005_TriggerHapticPulse_params *params );

View File

@ -296,7 +296,7 @@ struct cppIVRSystem_IVRSystem_006_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_006_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_006_TriggerHapticPulse_params *params );

View File

@ -290,7 +290,7 @@ struct cppIVRSystem_IVRSystem_009_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_009_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_009_TriggerHapticPulse_params *params );

View File

@ -306,7 +306,7 @@ struct cppIVRSystem_IVRSystem_010_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_010_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_010_TriggerHapticPulse_params *params );
@ -387,7 +387,7 @@ extern void cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture( struct cppI
struct cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params
{
void *linux_side;
int nFidelityLevel;
int32_t nFidelityLevel;
};
extern void cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange( struct cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params *params );

View File

@ -308,7 +308,7 @@ struct cppIVRSystem_IVRSystem_011_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_011_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_011_TriggerHapticPulse_params *params );
@ -389,7 +389,7 @@ extern void cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture( struct cppI
struct cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params
{
void *linux_side;
int nFidelityLevel;
int32_t nFidelityLevel;
};
extern void cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange( struct cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params *params );

View File

@ -308,7 +308,7 @@ struct cppIVRSystem_IVRSystem_012_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_012_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_012_TriggerHapticPulse_params *params );

View File

@ -312,7 +312,7 @@ struct cppIVRSystem_IVRSystem_014_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_014_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_014_TriggerHapticPulse_params *params );

View File

@ -311,7 +311,7 @@ struct cppIVRSystem_IVRSystem_015_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_015_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_015_TriggerHapticPulse_params *params );

View File

@ -319,7 +319,7 @@ struct cppIVRSystem_IVRSystem_016_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_016_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_016_TriggerHapticPulse_params *params );

View File

@ -320,7 +320,7 @@ struct cppIVRSystem_IVRSystem_017_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_017_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_017_TriggerHapticPulse_params *params );

View File

@ -333,7 +333,7 @@ struct cppIVRSystem_IVRSystem_019_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_019_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_019_TriggerHapticPulse_params *params );

View File

@ -333,7 +333,7 @@ struct cppIVRSystem_IVRSystem_020_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_020_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_020_TriggerHapticPulse_params *params );

View File

@ -333,7 +333,7 @@ struct cppIVRSystem_IVRSystem_021_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_021_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_021_TriggerHapticPulse_params *params );

View File

@ -327,7 +327,7 @@ struct cppIVRSystem_IVRSystem_022_TriggerHapticPulse_params
void *linux_side;
TrackedDeviceIndex_t unControllerDeviceIndex;
uint32_t unAxisId;
unsigned short usDurationMicroSec;
uint16_t usDurationMicroSec;
};
extern void cppIVRSystem_IVRSystem_022_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_022_TriggerHapticPulse_params *params );

View File

@ -97,7 +97,7 @@ void __thiscall winIVRChaperone_IVRChaperone_002_SetSceneColor(struct w_steam_if
cppIVRChaperone_IVRChaperone_002_SetSceneColor( &params );
}
void __thiscall winIVRChaperone_IVRChaperone_002_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors)
void __thiscall winIVRChaperone_IVRChaperone_002_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int32_t nNumOutputColors)
{
struct cppIVRChaperone_IVRChaperone_002_GetBoundsColor_params params =
{
@ -266,7 +266,7 @@ void __thiscall winIVRChaperone_IVRChaperone_003_SetSceneColor(struct w_steam_if
cppIVRChaperone_IVRChaperone_003_SetSceneColor( &params );
}
void __thiscall winIVRChaperone_IVRChaperone_003_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor)
void __thiscall winIVRChaperone_IVRChaperone_003_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int32_t nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor)
{
struct cppIVRChaperone_IVRChaperone_003_GetBoundsColor_params params =
{
@ -436,7 +436,7 @@ void __thiscall winIVRChaperone_IVRChaperone_004_SetSceneColor(struct w_steam_if
cppIVRChaperone_IVRChaperone_004_SetSceneColor( &params );
}
void __thiscall winIVRChaperone_IVRChaperone_004_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor)
void __thiscall winIVRChaperone_IVRChaperone_004_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int32_t nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor)
{
struct cppIVRChaperone_IVRChaperone_004_GetBoundsColor_params params =
{

View File

@ -45,7 +45,7 @@ EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_RequestScreen
return params._ret;
}
EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_HookScreenshot(struct w_steam_iface *_this, const EVRScreenshotType *pSupportedTypes, int numTypes)
EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_HookScreenshot(struct w_steam_iface *_this, const EVRScreenshotType *pSupportedTypes, int32_t numTypes)
{
struct cppIVRScreenshots_IVRScreenshots_001_HookScreenshot_params params =
{

View File

@ -457,7 +457,7 @@ bool __thiscall winIVRSystem_IVRSystem_003_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_003_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_003_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_003_TriggerHapticPulse_params params =
{
@ -1082,7 +1082,7 @@ bool __thiscall winIVRSystem_IVRSystem_004_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_004_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_004_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_004_TriggerHapticPulse_params params =
{
@ -1718,7 +1718,7 @@ bool __thiscall winIVRSystem_IVRSystem_005_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_005_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_005_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_005_TriggerHapticPulse_params params =
{
@ -2385,7 +2385,7 @@ bool __thiscall winIVRSystem_IVRSystem_006_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_006_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_006_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_006_TriggerHapticPulse_params params =
{
@ -3092,7 +3092,7 @@ bool __thiscall winIVRSystem_IVRSystem_009_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_009_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_009_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_009_TriggerHapticPulse_params params =
{
@ -3824,7 +3824,7 @@ bool __thiscall winIVRSystem_IVRSystem_010_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_010_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_010_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_010_TriggerHapticPulse_params params =
{
@ -3951,7 +3951,7 @@ void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(struct w
cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture( &params );
}
void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(struct w_steam_iface *_this, int nFidelityLevel)
void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(struct w_steam_iface *_this, int32_t nFidelityLevel)
{
struct cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params params =
{
@ -4588,7 +4588,7 @@ bool __thiscall winIVRSystem_IVRSystem_011_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_011_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_011_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_011_TriggerHapticPulse_params params =
{
@ -4715,7 +4715,7 @@ void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(struct w
cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture( &params );
}
void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(struct w_steam_iface *_this, int nFidelityLevel)
void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(struct w_steam_iface *_this, int32_t nFidelityLevel)
{
struct cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params params =
{
@ -5350,7 +5350,7 @@ bool __thiscall winIVRSystem_IVRSystem_012_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_012_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_012_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_012_TriggerHapticPulse_params params =
{
@ -6089,7 +6089,7 @@ bool __thiscall winIVRSystem_IVRSystem_014_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_014_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_014_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_014_TriggerHapticPulse_params params =
{
@ -6827,7 +6827,7 @@ bool __thiscall winIVRSystem_IVRSystem_015_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_015_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_015_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_015_TriggerHapticPulse_params params =
{
@ -7578,7 +7578,7 @@ bool __thiscall winIVRSystem_IVRSystem_016_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_016_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_016_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_016_TriggerHapticPulse_params params =
{
@ -8321,7 +8321,7 @@ bool __thiscall winIVRSystem_IVRSystem_017_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_017_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_017_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_017_TriggerHapticPulse_params params =
{
@ -9083,7 +9083,7 @@ bool __thiscall winIVRSystem_IVRSystem_019_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_019_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_019_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_019_TriggerHapticPulse_params params =
{
@ -9862,7 +9862,7 @@ bool __thiscall winIVRSystem_IVRSystem_020_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_020_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_020_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_020_TriggerHapticPulse_params params =
{
@ -10651,7 +10651,7 @@ bool __thiscall winIVRSystem_IVRSystem_021_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_021_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_021_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_021_TriggerHapticPulse_params params =
{
@ -11417,7 +11417,7 @@ bool __thiscall winIVRSystem_IVRSystem_022_GetControllerStateWithPose(struct w_s
return params._ret;
}
void __thiscall winIVRSystem_IVRSystem_022_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec)
void __thiscall winIVRSystem_IVRSystem_022_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec)
{
struct cppIVRSystem_IVRSystem_022_TriggerHapticPulse_params params =
{