Dota 2 Workshop Tools/Scripting/API/CBasePlayer.IsSteamControllerButtonPressed
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
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