Dota 2 Workshop Tools/Scripting/API/CBasePlayer.IsVRControllerButtonPressed: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 8: | Line 8: | ||
''' bool IsVRControllerButtonPressed(int ''nButton'') ''' | ''' bool IsVRControllerButtonPressed(int ''nButton'') ''' | ||
'' | ''Returns true if the controller button is pressed.'' | ||
Revision as of 23:08, 18 June 2015

Function Description
bool IsVRControllerButtonPressed(int nButton)
Returns true if the controller button is pressed.
- Example
function CBasePlayer:IsVRControllerButtonPressed( nButton ) end
Parameters
Type | Name | Description |
---|---|---|
int | nButton | No Description Set |
Returns
bool - No Description Set