|
wiiuse
|
Main Wiimote device structure. More...
#include <wiiuse.h>

Public Attributes | |
| int | unid |
| user specified id | |
| int | state |
| various state flags | |
| byte | leds |
| currently lit leds | |
| float | battery_level |
| battery level | |
| int | flags |
| options flag | |
| byte | expansion_state |
| the state of the expansion handshake | |
| struct data_req_t * | data_req |
| list of data read requests | |
| struct read_req_t * | read_req |
| list of data read requests | |
| struct accel_t | accel_calib |
| wiimote accelerometer calibration | |
| struct expansion_t | exp |
| wiimote expansion device | |
| struct vec3b_t | accel |
| current raw acceleration data | |
| struct orient_t | orient |
| current orientation on each axis | |
| struct gforce_t | gforce |
| current gravity forces on each axis | |
| struct ir_t | ir |
| IR data. | |
| uint16_t | btns |
| what buttons have just been pressed | |
| uint16_t | btns_held |
| what buttons are being held down | |
| uint16_t | btns_released |
| what buttons were just released this | |
| float | orient_threshold |
| threshold for orient to generate an event | |
| int32_t | accel_threshold |
| threshold for accel to generate an event | |
| struct wiimote_state_t | lstate |
| last saved state | |
| WIIUSE_EVENT_TYPE | event |
| type of event that occurred | |
| byte | motion_plus_id [6] |
| WIIUSE_WIIMOTE_TYPE | type |
Main Wiimote device structure.
You need one of these to do pretty much anything with this library.
1.8.13