Browse docsoutput.set_gyro
On this page
API method

output.set_gyro

Overrides gyro x/y/z for this packet and marks DualSense motion capability.

Syntax

Atlas Script
output.set_gyro(x, y, z)

Parameters

x
Horizontal component or X coordinate for the requested operation.
y
Vertical component or Y coordinate for the requested operation.
z
Depth or Z component for the requested operation.

Return value

See the remarks for the returned value and runtime behavior.

Remarks

Overrides gyro x/y/z for this packet and marks DualSense motion capability. The selected output path must support motion.

Examples

Usage pattern
// Replace x, y, z with values described above.
output.set_gyro(x, y, z);
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.