nn::hid::CTR::AccelerationFloat

nn::hid::CTR::AccelerationFloat Structure

Syntax

struct AccelerationFloat
{
f32 x;
f32 y;
f32 z;
};

Description

Structure used to store the acceleration (in g's) from the accelerometers.

Member Variables

x f32 X-coordinate (-1.81 ≤ x ≤ 1.81).
Note: This range may change in the future.
y f32 Y-coordinate (-1.81 ≤ y ≤ 1.81).
Note: This range may change in the future.
z f32 Z-coordinate (-1.81 ≤ z ≤ 1.81).
Note: This range may change in the future.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL