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

From Valve Developer Community
Jump to: navigation, search
Note.pngNote: 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.

function CBasePlayer:IsSteamControllerButtonPressed( nControllerNumber, nButton ) end


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


bool - No Description Set