Quantcast
Channel: Steamworks - Documentation
Browsing all 9 articles
Browse latest View live

Steamworks

This class is used to integrate your game with Steam.  You can call Steamworks::Initialize() to enable the Steam overlay. FunctionsInitializeShutdown Steam ControllerNote: Steamworks must be...

View Article



Image may be NSFW.
Clik here to view.

Steamworks::Initialize

This function initializes the Steamworks library and enables all Steamworks features.  After calling this function, the Steam overlay will be available in your game by pressing the shift+tab keys....

View Article

Steamworks::Shutdown

This function terminates the connection with Steam and completes all running tasks.  If your game initializes Steam, this should be called before the application closes.  (The Lua interpreter will...

View Article

Steamworks::IsControllerEnabled

This function is used to check if a controller is connected and useable. Syntaxbool IsControllerEnabled(const int controllerIndex) ParameterscontrollerIndex: the controller to check. Currently...

View Article

Steamworks::GetMaxSteamControllers

This function is used to get the maximum number of Steam controllers supported. Syntaxint GetMaxSteamControllers() ReturnsReturns the maximum number of Steam controllers supported. Currently the Steam...

View Article


Steamworks::TriggerHapticPulse

This function is used trigger vibration on the left or right pad on one of the controllers. Syntaxvoid TriggerHapticPulse(const int controllerIndex, const int pad, const int duration)...

View Article

Steamworks::ButtonDown

This function is used to tell which button is currently being pressed. Syntaxbool ButtonDown(const int controllerIndex, unsigned int button) ParameterscontrollerIndex: the controller to check....

View Article

Steamworks::ButtonHit

This function is used to tell if the button was pressed since the last call to ButtonHit. Syntaxbool ButtonHit(const int controllerIndex, unsigned int button) ParameterscontrollerIndex: the controller...

View Article


Steamworks::GetPadPosition

This function is used to get the directional vector from the left pad or right pad of a controller. SyntaxVec2 Steamworks::GetPadPosition(const int controllerIndex, const int padindex)...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images