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

Steamworks::GetPadPosition

$
0
0
This function is used to get the directional vector from the left pad or right pad of a controller.

Syntax

  • Vec2 Steamworks::GetPadPosition(const int controllerIndex, const int padindex)

Parameters

  • controllerIndex: the controller to check. Currently controllers range from 0 to 7.
  • padindex: the pad to check. Left pad (padindex 0) or Right pad (padindex 1).

Returns

Returns the directional vector of the selected controller and pad.

Viewing all articles
Browse latest Browse all 9

Trending Articles