mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-30 16:45:36 +03:00
6b21c32d2a
CW-Bug-Id: #22729
290 lines
12 KiB
C
290 lines
12 KiB
C
struct cppISteamController_SteamController007_Init_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
};
|
|
extern void cppISteamController_SteamController007_Init( struct cppISteamController_SteamController007_Init_params *params );
|
|
|
|
struct cppISteamController_SteamController007_Shutdown_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
};
|
|
extern void cppISteamController_SteamController007_Shutdown( struct cppISteamController_SteamController007_Shutdown_params *params );
|
|
|
|
struct cppISteamController_SteamController007_RunFrame_params
|
|
{
|
|
void *linux_side;
|
|
};
|
|
extern void cppISteamController_SteamController007_RunFrame( struct cppISteamController_SteamController007_RunFrame_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetConnectedControllers_params
|
|
{
|
|
void *linux_side;
|
|
int _ret;
|
|
ControllerHandle_t *handlesOut;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetConnectedControllers( struct cppISteamController_SteamController007_GetConnectedControllers_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetActionSetHandle_params
|
|
{
|
|
void *linux_side;
|
|
ControllerActionSetHandle_t _ret;
|
|
const char *pszActionSetName;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetActionSetHandle( struct cppISteamController_SteamController007_GetActionSetHandle_params *params );
|
|
|
|
struct cppISteamController_SteamController007_ActivateActionSet_params
|
|
{
|
|
void *linux_side;
|
|
ControllerHandle_t controllerHandle;
|
|
ControllerActionSetHandle_t actionSetHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_ActivateActionSet( struct cppISteamController_SteamController007_ActivateActionSet_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetCurrentActionSet_params
|
|
{
|
|
void *linux_side;
|
|
ControllerActionSetHandle_t _ret;
|
|
ControllerHandle_t controllerHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetCurrentActionSet( struct cppISteamController_SteamController007_GetCurrentActionSet_params *params );
|
|
|
|
struct cppISteamController_SteamController007_ActivateActionSetLayer_params
|
|
{
|
|
void *linux_side;
|
|
ControllerHandle_t controllerHandle;
|
|
ControllerActionSetHandle_t actionSetLayerHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_ActivateActionSetLayer( struct cppISteamController_SteamController007_ActivateActionSetLayer_params *params );
|
|
|
|
struct cppISteamController_SteamController007_DeactivateActionSetLayer_params
|
|
{
|
|
void *linux_side;
|
|
ControllerHandle_t controllerHandle;
|
|
ControllerActionSetHandle_t actionSetLayerHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_DeactivateActionSetLayer( struct cppISteamController_SteamController007_DeactivateActionSetLayer_params *params );
|
|
|
|
struct cppISteamController_SteamController007_DeactivateAllActionSetLayers_params
|
|
{
|
|
void *linux_side;
|
|
ControllerHandle_t controllerHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_DeactivateAllActionSetLayers( struct cppISteamController_SteamController007_DeactivateAllActionSetLayers_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetActiveActionSetLayers_params
|
|
{
|
|
void *linux_side;
|
|
int _ret;
|
|
ControllerHandle_t controllerHandle;
|
|
ControllerActionSetHandle_t *handlesOut;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetActiveActionSetLayers( struct cppISteamController_SteamController007_GetActiveActionSetLayers_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetDigitalActionHandle_params
|
|
{
|
|
void *linux_side;
|
|
ControllerDigitalActionHandle_t _ret;
|
|
const char *pszActionName;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetDigitalActionHandle( struct cppISteamController_SteamController007_GetDigitalActionHandle_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetDigitalActionData_params
|
|
{
|
|
void *linux_side;
|
|
InputDigitalActionData_t *_ret;
|
|
ControllerHandle_t controllerHandle;
|
|
ControllerDigitalActionHandle_t digitalActionHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetDigitalActionData( struct cppISteamController_SteamController007_GetDigitalActionData_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetDigitalActionOrigins_params
|
|
{
|
|
void *linux_side;
|
|
int _ret;
|
|
ControllerHandle_t controllerHandle;
|
|
ControllerActionSetHandle_t actionSetHandle;
|
|
ControllerDigitalActionHandle_t digitalActionHandle;
|
|
EControllerActionOrigin *originsOut;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetDigitalActionOrigins( struct cppISteamController_SteamController007_GetDigitalActionOrigins_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetAnalogActionHandle_params
|
|
{
|
|
void *linux_side;
|
|
ControllerAnalogActionHandle_t _ret;
|
|
const char *pszActionName;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetAnalogActionHandle( struct cppISteamController_SteamController007_GetAnalogActionHandle_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetAnalogActionData_params
|
|
{
|
|
void *linux_side;
|
|
InputAnalogActionData_t *_ret;
|
|
ControllerHandle_t controllerHandle;
|
|
ControllerAnalogActionHandle_t analogActionHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetAnalogActionData( struct cppISteamController_SteamController007_GetAnalogActionData_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetAnalogActionOrigins_params
|
|
{
|
|
void *linux_side;
|
|
int _ret;
|
|
ControllerHandle_t controllerHandle;
|
|
ControllerActionSetHandle_t actionSetHandle;
|
|
ControllerAnalogActionHandle_t analogActionHandle;
|
|
EControllerActionOrigin *originsOut;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetAnalogActionOrigins( struct cppISteamController_SteamController007_GetAnalogActionOrigins_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetGlyphForActionOrigin_params
|
|
{
|
|
void *linux_side;
|
|
const char *_ret;
|
|
EControllerActionOrigin eOrigin;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetGlyphForActionOrigin( struct cppISteamController_SteamController007_GetGlyphForActionOrigin_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetStringForActionOrigin_params
|
|
{
|
|
void *linux_side;
|
|
const char *_ret;
|
|
EControllerActionOrigin eOrigin;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetStringForActionOrigin( struct cppISteamController_SteamController007_GetStringForActionOrigin_params *params );
|
|
|
|
struct cppISteamController_SteamController007_StopAnalogActionMomentum_params
|
|
{
|
|
void *linux_side;
|
|
ControllerHandle_t controllerHandle;
|
|
ControllerAnalogActionHandle_t eAction;
|
|
};
|
|
extern void cppISteamController_SteamController007_StopAnalogActionMomentum( struct cppISteamController_SteamController007_StopAnalogActionMomentum_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetMotionData_params
|
|
{
|
|
void *linux_side;
|
|
InputMotionData_t *_ret;
|
|
ControllerHandle_t controllerHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetMotionData( struct cppISteamController_SteamController007_GetMotionData_params *params );
|
|
|
|
struct cppISteamController_SteamController007_TriggerHapticPulse_params
|
|
{
|
|
void *linux_side;
|
|
ControllerHandle_t controllerHandle;
|
|
ESteamControllerPad eTargetPad;
|
|
unsigned short usDurationMicroSec;
|
|
};
|
|
extern void cppISteamController_SteamController007_TriggerHapticPulse( struct cppISteamController_SteamController007_TriggerHapticPulse_params *params );
|
|
|
|
struct cppISteamController_SteamController007_TriggerRepeatedHapticPulse_params
|
|
{
|
|
void *linux_side;
|
|
ControllerHandle_t controllerHandle;
|
|
ESteamControllerPad eTargetPad;
|
|
unsigned short usDurationMicroSec;
|
|
unsigned short usOffMicroSec;
|
|
unsigned short unRepeat;
|
|
unsigned int nFlags;
|
|
};
|
|
extern void cppISteamController_SteamController007_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController007_TriggerRepeatedHapticPulse_params *params );
|
|
|
|
struct cppISteamController_SteamController007_TriggerVibration_params
|
|
{
|
|
void *linux_side;
|
|
ControllerHandle_t controllerHandle;
|
|
unsigned short usLeftSpeed;
|
|
unsigned short usRightSpeed;
|
|
};
|
|
extern void cppISteamController_SteamController007_TriggerVibration( struct cppISteamController_SteamController007_TriggerVibration_params *params );
|
|
|
|
struct cppISteamController_SteamController007_SetLEDColor_params
|
|
{
|
|
void *linux_side;
|
|
ControllerHandle_t controllerHandle;
|
|
uint8 nColorR;
|
|
uint8 nColorG;
|
|
uint8 nColorB;
|
|
unsigned int nFlags;
|
|
};
|
|
extern void cppISteamController_SteamController007_SetLEDColor( struct cppISteamController_SteamController007_SetLEDColor_params *params );
|
|
|
|
struct cppISteamController_SteamController007_ShowBindingPanel_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
ControllerHandle_t controllerHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_ShowBindingPanel( struct cppISteamController_SteamController007_ShowBindingPanel_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetInputTypeForHandle_params
|
|
{
|
|
void *linux_side;
|
|
ESteamInputType _ret;
|
|
ControllerHandle_t controllerHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetInputTypeForHandle( struct cppISteamController_SteamController007_GetInputTypeForHandle_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetControllerForGamepadIndex_params
|
|
{
|
|
void *linux_side;
|
|
ControllerHandle_t _ret;
|
|
int nIndex;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetControllerForGamepadIndex( struct cppISteamController_SteamController007_GetControllerForGamepadIndex_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetGamepadIndexForController_params
|
|
{
|
|
void *linux_side;
|
|
int _ret;
|
|
ControllerHandle_t ulControllerHandle;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetGamepadIndexForController( struct cppISteamController_SteamController007_GetGamepadIndexForController_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetStringForXboxOrigin_params
|
|
{
|
|
void *linux_side;
|
|
const char *_ret;
|
|
EXboxOrigin eOrigin;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetStringForXboxOrigin( struct cppISteamController_SteamController007_GetStringForXboxOrigin_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetGlyphForXboxOrigin_params
|
|
{
|
|
void *linux_side;
|
|
const char *_ret;
|
|
EXboxOrigin eOrigin;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetGlyphForXboxOrigin( struct cppISteamController_SteamController007_GetGlyphForXboxOrigin_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetActionOriginFromXboxOrigin_params
|
|
{
|
|
void *linux_side;
|
|
EControllerActionOrigin _ret;
|
|
ControllerHandle_t controllerHandle;
|
|
EXboxOrigin eOrigin;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetActionOriginFromXboxOrigin( struct cppISteamController_SteamController007_GetActionOriginFromXboxOrigin_params *params );
|
|
|
|
struct cppISteamController_SteamController007_TranslateActionOrigin_params
|
|
{
|
|
void *linux_side;
|
|
EControllerActionOrigin _ret;
|
|
ESteamInputType eDestinationInputType;
|
|
EControllerActionOrigin eSourceOrigin;
|
|
};
|
|
extern void cppISteamController_SteamController007_TranslateActionOrigin( struct cppISteamController_SteamController007_TranslateActionOrigin_params *params );
|
|
|
|
struct cppISteamController_SteamController007_GetControllerBindingRevision_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
ControllerHandle_t controllerHandle;
|
|
int *pMajor;
|
|
int *pMinor;
|
|
};
|
|
extern void cppISteamController_SteamController007_GetControllerBindingRevision( struct cppISteamController_SteamController007_GetControllerBindingRevision_params *params );
|
|
|