#include
Data Fields |
|
| struct accel_t | accel_calib |
| struct joystick_t | js |
| int * | flags |
| byte | btns |
| byte | btns_held |
| byte | btns_released |
| float | orient_threshold |
| int | accel_threshold |
| struct vec3b_t | accel |
| struct orient_t | orient |
| struct gforce_t | gforce |
struct accel_t nunchuk_t::accel_calib [read]
|
nunchuk accelerometer calibration
struct joystick_t nunchuk_t::js [read]
|
joystick calibration
| int* nunchuk_t::flags |
options flag (points to wiimote_t.flags)
| byte nunchuk_t::btns |
what buttons have just been pressed
| byte nunchuk_t::btns_held |
what buttons are being held down
what buttons were just released this
threshold for orient to generate an event
threshold for accel to generate an event
struct vec3b_t nunchuk_t::accel [read]
|
current raw acceleration data
struct orient_t nunchuk_t::orient [read]
|
current orientation on each axis
struct gforce_t nunchuk_t::gforce [read]
|
current gravity forces on each axis
1.5.4