Public Member Functions | Public Attributes

wiimote_state::leds Struct Reference

#include <wiimote_state.h>

List of all members.

Public Member Functions

bool Lit (unsigned index)

Public Attributes

BYTE Bits

Detailed Description

Definition at line 142 of file wiimote_state.h.


Member Function Documentation

bool wiimote_state::leds::Lit ( unsigned  index ) [inline]

Definition at line 148 of file wiimote_state.h.

References _ASSERT, and Bits.

                        { _ASSERT(index < 4);
                          return (index >= 4)? false : ((Bits & (1<<index)) != 0); }

Member Data Documentation

Definition at line 145 of file wiimote_state.h.

Referenced by Lit(), and wiimote::SetLEDs().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines