wiiuse
Public Attributes | List of all members
vec3w_t Struct Reference

Unsigned x,y,z 16-bit vector. More...

#include <wiiuse.h>

Public Attributes

uint16_t x
 
uint16_t y
 
uint16_t z
 

Detailed Description

Unsigned x,y,z 16-bit vector.

Used for the accel field on wiimote_t, wiimote_callback_data_t, and nunchuk_t. The field is always this width - a fixed uint8-to-uint16 widening that shipped once, unconditionally, regardless of whether WIIUSE_ACCEL_10BIT is defined when the library is built. Whether the field's content is the plain 8-bit reading or the hardware's full extended precision depends on that macro:


The documentation for this struct was generated from the following file: