Quantcast
Channel: Steamworks - Documentation
Viewing all articles
Browse latest Browse all 9

Steamworks::ButtonDown

$
0
0
This function is used to tell which button is currently being pressed.

Syntax

  • bool ButtonDown(const int controllerIndex, unsigned int button)

Parameters

  • controllerIndex: the controller to check. Currently controllers range from 0 to 7.
  • button: the button to check. Currently buttons range from 0 to 20.

Returns

Returns true if the specified button is pressed, otherwise false is returned.

Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images