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 X-coordinate (-1.81 ≤ x ≤ 1.81).
Note: This range may change in the future.
y Y-coordinate (-1.81 ≤ y ≤ 1.81).
Note: This range may change in the future.
z Z-coordinate (-1.81 ≤ z ≤ 1.81).
Note: This range may change in the future.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL