Browse docscontroller
On this page
API type

controller

Controller-family constants for comparisons: controller.ps5, controller.ps4, controller.xb, controller.xb360, controller.generic, and controller.unknown.

Syntax

Atlas Script
controller

Return value

See the remarks for the returned value and runtime behavior.

Remarks

Controller-family constants for comparisons: controller.ps5, controller.ps4, controller.xb, controller.xb360, controller.generic, and controller.unknown. An XInput (Xbox) controller reports controller.xb. controller.xb360 identifies an Xbox 360 family only; it does not create an xb360.* controller-name or feedback namespace.

Examples

Usage pattern
// controller is available where its documented API returns or accepts this value.
Reference details are generated from the Atlas Script schema in this documentation source snapshot. Confirm release-specific behavior in the Atlas for Windows build you use.