Controls::isControlPressed

From RAGE Multiplayer Wiki
Revision as of 20:26, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

index always is 2 for xbox 360 controller and razerblade

0, 1 and 2 used in the scripts. 0 is by far the most common of them.

Syntax

controls.isControlPressed(inputGroup, control);

Required Arguments

  • inputGroup: int
  • control: int

Return value

  • Boolean

Example

todo

See also

Template:Controls function c