nunchuk_t Struct Reference

Nunchuk expansion device. More...

#include

Collaboration diagram for nunchuk_t:

Collaboration graph
[legend]

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

Detailed Description

Nunchuk expansion device.

Field Documentation

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

byte nunchuk_t::btns_released

what buttons were just released this

float nunchuk_t::orient_threshold

threshold for orient to generate an event

int nunchuk_t::accel_threshold

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


The documentation for this struct was generated from the following file:
Generated on Wed Apr 2 19:30:10 2008 for wiiuse by  doxygen 1.5.4