X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=src%2Fvg%2Fvg_steam_utils.h;fp=src%2Fvg%2Fvg_steam_utils.h;h=0000000000000000000000000000000000000000;hb=4c48fe01a5d1983be89b7dce6f08e6b708cfbb05;hp=e20c340cc9f89983a6da3e6e5277a547958fe595;hpb=3dd767bb10e6fee9cbffeb185d1a9685810c17b5;p=vg.git diff --git a/src/vg/vg_steam_utils.h b/src/vg/vg_steam_utils.h deleted file mode 100644 index e20c340..0000000 --- a/src/vg/vg_steam_utils.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef VG_STEAM_UTILS_H -#define VG_STEAM_UTILS_H - -#include "vg_steam.h" - -#if defined( VALVE_CALLBACK_PACK_SMALL ) - #pragma pack( push, 4 ) -#elif defined( VALVE_CALLBACK_PACK_LARGE ) - #pragma pack( push, 8 ) -#endif - -/* ... */ - -#pragma pack(pop) - -typedef void ISteamUtils; -typedef void ISteamInput; - -ISteamUtils *SteamAPI_SteamUtils_v010(void); -ISteamUtils *SteamAPI_SteamUtils(void) -{ - return SteamAPI_SteamUtils_v010(); -} - -int SteamAPI_ISteamUtils_SetWarningMessageHook( - ISteamUtils *self, void( *fn_print )(int, const char *) ); - - -ISteamInput *SteamAPI_SteamInput_v006(void); -ISteamInput *SteamAPI_SteamInput(void) -{ - return SteamAPI_SteamInput_v006(); -} - -typedef u64 InputHandle_t; - -typedef enum ESteamInputType ESteamInputType; -enum ESteamInputType -{ - k_ESteamInputType_Unknown, - k_ESteamInputType_SteamController, - k_ESteamInputType_XBox360Controller, - k_ESteamInputType_XBoxOneController, - k_ESteamInputType_GenericGamepad, - k_ESteamInputType_PS4Controller, - k_ESteamInputType_AppleMFiController, - k_ESteamInputType_AndroidController, - k_ESteamInputType_SwitchJoyConPair, - k_ESteamInputType_SwitchJoyConSingle, - k_ESteamInputType_SwitchProController, - k_ESteamInputType_MobileTouch, - k_ESteamInputType_PS3Controller, - k_ESteamInputType_PS5Controller, - k_ESteamInputType_SteamDeckController, // Added in SDK 153 - k_ESteamInputType_Count, - k_ESteamInputType_MaximumPossibleValue = 255, -}; - -int SteamAPI_ISteamInput_Init( ISteamInput* self, int bExplicitlyCallRunFrame ); -int SteamAPI_ISteamInput_Shutdown( ISteamInput* self ); -InputHandle_t SteamAPI_ISteamInput_GetControllerForGamepadIndex( - ISteamInput* self, int nIndex ); -ESteamInputType SteamAPI_ISteamInput_GetInputTypeForHandle( - ISteamInput* self, InputHandle_t inputHandle ); -void SteamAPI_ISteamInput_RunFrame( ISteamInput* self, int bReservedValue ); - - -#endif /* VG_STEAM_UTILS_H */