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
| Type | Name | Description |
|---|---|---|
float | X | Default 0.0f. |
float | Y | Default 0.0f. |
float | Z | Default 0.0f. |
Generated from Input/GamepadInput.h via input.json · Nov 2, 2026Version 1.0.0