|
wiiuse
|
Accelerometer struct. More...
#include <wiiuse.h>

Public Attributes | |
| struct vec3b_t | cal_zero |
| zero calibration | |
| struct vec3b_t | cal_g |
| 1g difference around 0cal | |
| struct vec3b_t | cal_zero_lsb |
| Extra low-order calibration bits from the EEPROM, decoded only under WIIUSE_ACCEL_10BIT. More... | |
| struct vec3b_t | cal_g_lsb |
| float | st_roll |
| last smoothed roll value | |
| float | st_pitch |
| last smoothed roll pitch | |
| float | st_alpha |
| alpha value for smoothing [0-1] | |
Accelerometer struct.
For any device with an accelerometer.
| struct vec3b_t accel_t::cal_zero_lsb |
Extra low-order calibration bits from the EEPROM, decoded only under WIIUSE_ACCEL_10BIT.
cal_zero_lsb belongs to cal_zero; cal_g_lsb holds the low bits of the full-precision cal_g delta, so under the flag cal_g is that delta's high part. Zero otherwise, and for calibration not read from the Wii Remote's EEPROM (e.g. the Nunchuk).
1.8.13