struct

GamepadInput::SensorSample

Motion sensors (DualShock 4 / DualSense / Switch / Steam Deck). Gyro is angular velocity in rad/s, accelerometer is m/s^2 including gravity, both in SDL's gamepad frame (+X right, +Y up, +Z toward the player). Absent sensors read as zero and HasGyro()/HasAccel() are false.

Module
Input
Header
#include "Input/GamepadInput.h"
Namespace
Mowo

Properties

TypeNameDescription
floatXDefault 0.0f.
floatYDefault 0.0f.
floatZDefault 0.0f.
Generated from Input/GamepadInput.h via input.json · Nov 2, 2026Version 1.0.0