Background for Fallout 4
Member of the Game script
boolfunctionUsingGamepad()NativeGlobal

Description

Wiki Description

Returns true if we're using a gamepad.

Documentation Comment

Returns true if we're using a gamepad


Caveats


Examples

if UsingGamepad()
  Debug.Trace("Using gamepad!")
else
  Debug.Trace("Using keyboard and mouse!")
endIf

Auto-Generated Example

bool returnedValue = Game.UsingGamepad()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.