xbmc
Public Attributes | List of all members
wiimote_t Struct Reference

Wiimote structure. More...

#include <wiiuse.h>

Collaboration diagram for wiimote_t:
Collaboration graph
[legend]

Public Attributes

WCONST int unid
 user specified id
 
WCONST bdaddr_t bdaddr
 bt address
 
WCONST char bdaddr_str [18]
 readable bt address
 
WCONST int out_sock
 output socket
 
WCONST int in_sock
 input socket
 
WCONST int state
 various state flags
 
WCONST byte leds
 currently lit leds
 
WCONST float battery_level
 battery level
 
WCONST int flags
 options flag
 
WCONST byte handshake_state
 the state of the connection handshake
 
WCONST struct read_req_tread_req
 list of data read requests
 
WCONST struct accel_t accel_calib
 wiimote accelerometer calibration
 
WCONST struct expansion_t exp
 wiimote expansion device
 
WCONST struct vec3b_t accel
 current raw acceleration data
 
WCONST struct orient_t orient
 current orientation on each axis
 
WCONST struct gforce_t gforce
 current gravity forces on each axis
 
WCONST struct ir_t ir
 IR data.
 
WCONST unsigned short btns
 what buttons have just been pressed
 
WCONST unsigned short btns_held
 what buttons are being held down
 
WCONST unsigned short btns_released
 what buttons were just released this
 
WCONST float orient_threshold
 threshold for orient to generate an event
 
WCONST int accel_threshold
 threshold for accel to generate an event
 
WCONST struct wiimote_state_t lstate
 last saved state
 
WCONST WIIUSE_EVENT_TYPE event
 type of event that occurred
 
WCONST byte event_buf [MAX_PAYLOAD]
 event buffer
 

Detailed Description

Wiimote structure.


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