UsingGamepad - Game
Member of: Game Script
Returns true if we're using a gamepad.
SyntaxEdit
bool Function UsingGamepad() native global
ParametersEdit
None
Return ValueEdit
- On PC, True if using a gamepad. False if using keyboard/mouse.
- Always True for consoles
ExamplesEdit
if UsingGamepad()
Debug.Trace("Using gamepad!")
else
Debug.Trace("Using keyboard and mouse!")
endIf