RetroArch
Public Attributes | List of all members
wiimote_t Struct Reference

Wiimote structure. More...

#include <wiiuse.h>

Collaboration diagram for wiimote_t:
[legend]

Public Attributes

WCONST int unid
 
WCONST int state
 
WCONST ubyte leds
 
WCONST float battery_level
 
WCONST int flags
 
WCONST ubyte handshake_state
 
WCONST ubyte expansion_state
 
WCONST struct data_req_tdata_req
 
WCONST struct cmd_blk_tcmd_head
 
WCONST struct cmd_blk_tcmd_tail
 
WCONST struct accel_t accel_calib
 
WCONST struct expansion_t exp
 
WCONST struct vec3w_t accel
 
WCONST struct orient_t orient
 
WCONST struct gforce_t gforce
 
WCONST struct ir_t ir
 
WCONST unsigned short btns
 
WCONST unsigned short btns_last
 
WCONST unsigned short btns_held
 
WCONST unsigned short btns_released
 
WCONST struct wiimote_state_t lstate
 
WCONST WIIUSE_EVENT_TYPE event
 
WCONST ubyte event_buf [MAX_PAYLOAD]
 
WCONST ubyte motion_plus_id [6]
 

Detailed Description

Wiimote structure.

Member Data Documentation

◆ accel

WCONST struct vec3w_t wiimote_t::accel

current raw acceleration data

◆ accel_calib

WCONST struct accel_t wiimote_t::accel_calib

wiimote accelerometer calibration

◆ battery_level

WCONST float wiimote_t::battery_level

battery level

◆ btns

WCONST unsigned short wiimote_t::btns

what buttons are down

◆ btns_held

WCONST unsigned short wiimote_t::btns_held

what buttons are and were held down

◆ btns_last

WCONST unsigned short wiimote_t::btns_last

what buttons were down before

◆ btns_released

WCONST unsigned short wiimote_t::btns_released

what buttons were just released

◆ cmd_head

WCONST struct cmd_blk_t* wiimote_t::cmd_head

◆ cmd_tail

WCONST struct cmd_blk_t* wiimote_t::cmd_tail

◆ data_req

WCONST struct data_req_t* wiimote_t::data_req

list of data read requests

◆ event

WCONST WIIUSE_EVENT_TYPE wiimote_t::event

type of event that occured

◆ event_buf

WCONST ubyte wiimote_t::event_buf[MAX_PAYLOAD]

event buffer

◆ exp

WCONST struct expansion_t wiimote_t::exp

wiimote expansion device

◆ expansion_state

WCONST ubyte wiimote_t::expansion_state

the state of the expansion handshake

◆ flags

WCONST int wiimote_t::flags

options flag

◆ gforce

WCONST struct gforce_t wiimote_t::gforce

current gravity forces on each axis

◆ handshake_state

WCONST ubyte wiimote_t::handshake_state

the state of the connection handshake

◆ ir

WCONST struct ir_t wiimote_t::ir

IR data

◆ leds

WCONST ubyte wiimote_t::leds

currently lit leds

◆ lstate

WCONST struct wiimote_state_t wiimote_t::lstate

last saved state

◆ motion_plus_id

WCONST ubyte wiimote_t::motion_plus_id[6]

◆ orient

WCONST struct orient_t wiimote_t::orient

current orientation on each axis

◆ state

WCONST int wiimote_t::state

various state flags

◆ unid

WCONST int wiimote_t::unid

user specified id


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