Controls::getControlNormal

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Returns the value of CONTROLS::GET_CONTROL_VALUE Normalized (ie a real number value between -1 and 1)

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

Syntax

mp.game.controls.getControlNormal(inputGroup, control);

Required Arguments

  • inputGroup: int
  • control: int

Return value

  • float

Example

// todo

See also

Template:Controls s function c