omegalib  13.1
wiimote_state::classic_controller::buttons Struct Reference

#include <wiimote_state.h>

Public Types

enum  mask {
  TRIG_R = 0x0002, PLUS = 0x0004, HOME = 0x0008, MINUS = 0x0010,
  TRIG_L = 0x0020, DOWN = 0x0040, RIGHT = 0x0080, UP = 0x0100,
  LEFT = 0x0200, _ZR = 0x0400, _X = 0x0800, _A = 0x1000,
  _Y = 0x2000, _B = 0x4000, _ZL = 0x8000, ALL
}
 

Public Member Functions

bool A () const
 
bool B () const
 
bool Plus () const
 
bool Minus () const
 
bool Home () const
 
bool Up () const
 
bool Down () const
 
bool Left () const
 
bool Right () const
 
bool X () const
 
bool Y () const
 
bool ZL () const
 
bool ZR () const
 
bool TriggerL () const
 
bool TriggerR () const
 

Public Attributes

WORD Bits
 

Member Enumeration Documentation

Enumerator
TRIG_R 
PLUS 
HOME 
MINUS 
TRIG_L 
DOWN 
RIGHT 
UP 
LEFT 
_ZR 
_X 
_A 
_Y 
_B 
_ZL 
ALL 

Member Function Documentation

bool wiimote_state::classic_controller::buttons::A ( ) const
inline
bool wiimote_state::classic_controller::buttons::B ( ) const
inline
bool wiimote_state::classic_controller::buttons::Down ( ) const
inline
bool wiimote_state::classic_controller::buttons::Home ( ) const
inline
bool wiimote_state::classic_controller::buttons::Left ( ) const
inline
bool wiimote_state::classic_controller::buttons::Minus ( ) const
inline
bool wiimote_state::classic_controller::buttons::Plus ( ) const
inline
bool wiimote_state::classic_controller::buttons::Right ( ) const
inline
bool wiimote_state::classic_controller::buttons::TriggerL ( ) const
inline
bool wiimote_state::classic_controller::buttons::TriggerR ( ) const
inline
bool wiimote_state::classic_controller::buttons::Up ( ) const
inline
bool wiimote_state::classic_controller::buttons::X ( ) const
inline
bool wiimote_state::classic_controller::buttons::Y ( ) const
inline
bool wiimote_state::classic_controller::buttons::ZL ( ) const
inline
bool wiimote_state::classic_controller::buttons::ZR ( ) const
inline

Member Data Documentation

WORD wiimote_state::classic_controller::buttons::Bits

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