#include <wiimote_state.h>
List of all members.
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 |
Detailed Description
Definition at line 237 of file wiimote_state.h.
Member Enumeration Documentation
- Enumerator:
TRIG_R |
|
PLUS |
|
HOME |
|
MINUS |
|
TRIG_L |
|
DOWN |
|
RIGHT |
|
UP |
|
LEFT |
|
_ZR |
|
_X |
|
_A |
|
_Y |
|
_B |
|
_ZL |
|
ALL |
|
Definition at line 260 of file wiimote_state.h.
{
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 = TRIG_R|PLUS|HOME|MINUS|TRIG_L|DOWN|RIGHT|UP|LEFT|
_ZR|_X|_A|_Y|_B|_ZL,
};
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
Definition at line 257 of file wiimote_state.h.
Referenced by A(), B(), Down(), Home(), Left(), Minus(), Plus(), Right(), TriggerL(), TriggerR(), Up(), X(), Y(), ZL(), and ZR().
The documentation for this struct was generated from the following file: