omegalib  13.1
wiimote_state Struct Reference

#include <wiimote_state.h>

Classes

struct  acceleration
 
struct  balance_board
 
struct  buttons
 
struct  calibration_info
 
struct  classic_controller
 
struct  ir
 
struct  joystick
 
struct  leds
 
struct  motion_plus
 
struct  nunchuk
 
struct  speaker
 

Public Types

enum  extension_type {
  NONE = 0, NUNCHUK, CLASSIC, GH3_GHWT_GUITAR,
  GHWT_DRUMS, BALANCE_BOARD, MOTION_PLUS, PARTIALLY_INSERTED
}
 

Public Attributes

struct wiimote_state::calibration_info CalibrationInfo
 
struct wiimote_state::buttons Button
 
struct wiimote_state::acceleration Acceleration
 
struct wiimote_state::ir IR
 
struct wiimote_state::leds LED
 
BYTE BatteryRaw
 
BYTE BatteryPercent
 
bool bBatteryDrained
 
bool bRumble
 
bool bExtension
 
struct wiimote_state::speaker Speaker
 
extension_type ExtensionType
 
struct wiimote_state::nunchuk Nunchuk
 
struct wiimote_state::classic_controller ClassicController
 
struct wiimote_state::balance_board BalanceBoard
 
struct wiimote_state::motion_plus MotionPlus
 

Protected Member Functions

void Clear (bool including_deadzones)
 

Protected Attributes

unsigned WiimoteNearGUpdates
 
unsigned NunchukNearGUpdates
 

Friends

class wiimote
 
+ Inheritance diagram for wiimote_state:

Member Enumeration Documentation

Enumerator
NONE 
NUNCHUK 
CLASSIC 
GH3_GHWT_GUITAR 
GHWT_DRUMS 
BALANCE_BOARD 
MOTION_PLUS 
PARTIALLY_INSERTED 

Member Function Documentation

void wiimote_state::Clear ( bool  including_deadzones)
inlineprotected

Friends And Related Function Documentation

friend class wiimote
friend

Member Data Documentation

struct wiimote_state::acceleration wiimote_state::Acceleration
struct wiimote_state::balance_board wiimote_state::BalanceBoard
BYTE wiimote_state::BatteryPercent
BYTE wiimote_state::BatteryRaw
bool wiimote_state::bBatteryDrained
bool wiimote_state::bExtension
bool wiimote_state::bRumble
struct wiimote_state::buttons wiimote_state::Button
struct wiimote_state::calibration_info wiimote_state::CalibrationInfo
struct wiimote_state::classic_controller wiimote_state::ClassicController
extension_type wiimote_state::ExtensionType
struct wiimote_state::ir wiimote_state::IR
struct wiimote_state::leds wiimote_state::LED
struct wiimote_state::motion_plus wiimote_state::MotionPlus
struct wiimote_state::nunchuk wiimote_state::Nunchuk
unsigned wiimote_state::NunchukNearGUpdates
protected
struct wiimote_state::speaker wiimote_state::Speaker
unsigned wiimote_state::WiimoteNearGUpdates
protected

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