Dota 2 Workshop Tools/Scripting/API/CBasePlayer.IsSteamControllerButtonPressed

From Valve Developer Community
< Dota 2 Workshop Tools‎ | Scripting‎ | API
Revision as of 23:08, 18 June 2015 by RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Note.png Note:  This page is automatically generated. Any changes may be overwritten

Function Description

bool IsSteamControllerButtonPressed(int nControllerNumber, int nButton)

Returns true if the controller button is pressed.


Example
function CBasePlayer:IsSteamControllerButtonPressed( nControllerNumber, nButton ) end

Parameters

Type Name Description
int nControllerNumber No Description Set
int nButton No Description Set

Returns

bool - No Description Set