omegalib  13.1
wiimote_state::buttons Struct Reference

#include <wiimote_state.h>

Public Types

enum  mask {
  LEFT = 0x0001, RIGHT = 0x0002, DOWN = 0x0004, UP = 0x0008,
  PLUS = 0x0010, TWO = 0x0100, ONE = 0x0200, _B = 0x0400,
  _A = 0x0800, MINUS = 0x1000, HOME = 0x8000, ALL = LEFT|RIGHT|DOWN|UP|PLUS|TWO|ONE|_A|_B|MINUS|HOME
}
 

Public Member Functions

bool A () const
 
bool B () const
 
bool Plus () const
 
bool Home () const
 
bool Minus () const
 
bool One () const
 
bool Two () const
 
bool Up () const
 
bool Down () const
 
bool Left () const
 
bool Right () const
 

Public Attributes

WORD Bits
 

Member Enumeration Documentation

Enumerator
LEFT 
RIGHT 
DOWN 
UP 
PLUS 
TWO 
ONE 
_B 
_A 
MINUS 
HOME 
ALL 

Member Function Documentation

bool wiimote_state::buttons::A ( ) const
inline
bool wiimote_state::buttons::B ( ) const
inline
bool wiimote_state::buttons::Down ( ) const
inline
bool wiimote_state::buttons::Home ( ) const
inline
bool wiimote_state::buttons::Left ( ) const
inline
bool wiimote_state::buttons::Minus ( ) const
inline
bool wiimote_state::buttons::One ( ) const
inline
bool wiimote_state::buttons::Plus ( ) const
inline
bool wiimote_state::buttons::Right ( ) const
inline
bool wiimote_state::buttons::Two ( ) const
inline
bool wiimote_state::buttons::Up ( ) const
inline

Member Data Documentation

WORD wiimote_state::buttons::Bits

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