109 int *x,
int *y,
int *z);
upm_result_t nunchuck_update(const nunchuck_context dev)
Definition: nunchuck.c:129
Definition: nunchuck.h:47
nunchuck_context nunchuck_init(int bus)
Definition: nunchuck.c:71
struct _nunchuck_context * nunchuck_context
void nunchuck_get_stick(const nunchuck_context dev, int *x, int *y)
Definition: nunchuck.c:176
void nunchuck_close(nunchuck_context dev)
Definition: nunchuck.c:119
void nunchuck_get_acceleration(const nunchuck_context dev, int *x, int *y, int *z)
Definition: nunchuck.c:186
void nunchuck_get_buttons(const nunchuck_context dev, bool *c, bool *z)
Definition: nunchuck.c:199