Module: Wii

Defined in:
ext/wii4r/wii4r.c

Defined Under Namespace

Classes: WiimoteManager

Constant Summary collapse

MAX_WIIMOTES =
INT2NUM(4)
TIMEOUT =
INT2NUM(5)
LED_NONE =

Wiimote led consts

INT2NUM(WIIMOTE_LED_NONE)
LED_1 =
INT2NUM(WIIMOTE_LED_1)
LED_2 =
INT2NUM(WIIMOTE_LED_2)
LED_3 =
INT2NUM(WIIMOTE_LED_3)
LED_4 =
INT2NUM(WIIMOTE_LED_4)
BUTTON_A =

Wiimote button consts

INT2NUM(WIIMOTE_BUTTON_A)
BUTTON_B =
INT2NUM(WIIMOTE_BUTTON_B)
BUTTON_ONE =
INT2NUM(WIIMOTE_BUTTON_ONE)
BUTTON_TWO =
INT2NUM(WIIMOTE_BUTTON_TWO)
BUTTON_PLUS =
INT2NUM(WIIMOTE_BUTTON_PLUS)
BUTTON_MINUS =
INT2NUM(WIIMOTE_BUTTON_MINUS)
BUTTON_HOME =
INT2NUM(WIIMOTE_BUTTON_HOME)
BUTTON_LEFT =
INT2NUM(WIIMOTE_BUTTON_LEFT)
BUTTON_RIGHT =
INT2NUM(WIIMOTE_BUTTON_RIGHT)
BUTTON_DOWN =
INT2NUM(WIIMOTE_BUTTON_DOWN)
BUTTON_UP =
INT2NUM(WIIMOTE_BUTTON_UP)
BUTTON_ALL =
INT2NUM(WIIMOTE_BUTTON_ALL)
N_BUTTON_Z =

Wiimote nunchuk button consts

INT2NUM(NUNCHUK_BUTTON_Z)
N_BUTTON_C =
INT2NUM(NUNCHUK_BUTTON_C)
N_BUTTON_ALL =
INT2NUM(NUNCHUK_BUTTON_ALL)
C_BUTTON_UP =

Wiimote classic controller button codes

INT2NUM(CLASSIC_CTRL_BUTTON_UP)
C_BUTTON_LEFT =
INT2NUM(CLASSIC_CTRL_BUTTON_LEFT)
C_BUTTON_ZR =
INT2NUM(CLASSIC_CTRL_BUTTON_ZR)
C_BUTTON_X =
INT2NUM(CLASSIC_CTRL_BUTTON_X)
C_BUTTON_A =
INT2NUM(CLASSIC_CTRL_BUTTON_A)
C_BUTTON_Y =
INT2NUM(CLASSIC_CTRL_BUTTON_Y)
C_BUTTON_B =
INT2NUM(CLASSIC_CTRL_BUTTON_B)
C_BUTTON_ZL =
INT2NUM(CLASSIC_CTRL_BUTTON_ZL)
C_BUTTON_FULL_R =
INT2NUM(CLASSIC_CTRL_BUTTON_FULL_R)
C_BUTTON_PLUS =
INT2NUM(CLASSIC_CTRL_BUTTON_PLUS)
C_BUTTON_HOME =
INT2NUM(CLASSIC_CTRL_BUTTON_HOME)
C_BUTTON_MINUS =
INT2NUM(CLASSIC_CTRL_BUTTON_MINUS)
C_BUTTON_FULL_L =
INT2NUM(CLASSIC_CTRL_BUTTON_FULL_L)
C_BUTTON_DOWN =
INT2NUM(CLASSIC_CTRL_BUTTON_DOWN)
C_BUTTON_RIGHT =
INT2NUM(CLASSIC_CTRL_BUTTON_RIGHT)
C_BUTTON_ALL =
INT2NUM(CLASSIC_CTRL_BUTTON_ALL)
GUITAR_BUTTON_UP =

Wiimote hero button codes

INT2NUM(GUITAR_HERO_3_BUTTON_STRUM_UP)
GUITAR_BUTTON_YELLOW =
INT2NUM(GUITAR_HERO_3_BUTTON_YELLOW)
GUITAR_BUTTON_GREEN =
INT2NUM(GUITAR_HERO_3_BUTTON_GREEN)
GUITAR_BUTTON_BLUE =
INT2NUM(GUITAR_HERO_3_BUTTON_BLUE)
GUITAR_BUTTON_RED =
INT2NUM(GUITAR_HERO_3_BUTTON_RED)
GUITAR_BUTTON_ORANGE =
INT2NUM(GUITAR_HERO_3_BUTTON_ORANGE)
GUITAR_BUTTON_PLUS =
INT2NUM(GUITAR_HERO_3_BUTTON_PLUS)
GUITAR_BUTTON_MINUS =
INT2NUM(GUITAR_HERO_3_BUTTON_MINUS)
GUITAR_BUTTON_DOWN =
INT2NUM(GUITAR_HERO_3_BUTTON_STRUM_DOWN)
GUITAR_BUTTON_ALL =
INT2NUM(GUITAR_HERO_3_BUTTON_ALL)
EXP_NONE =

Wiimote expansion codes

INT2NUM(EXP_NONE)
EXP_NUNCHUK =
INT2NUM(EXP_NUNCHUK)
EXP_CLASSIC =
INT2NUM(EXP_CLASSIC)
EXP_GUITAR =
INT2NUM(EXP_GUITAR_HERO_3)
ASPECT_4_3 =

Aspect ratio and sensor bar position constants

INT2NUM(WIIUSE_ASPECT_4_3)
ASPECT_16_9 =
INT2NUM(WIIUSE_ASPECT_16_9)
ABOVE =
INT2NUM(WIIUSE_IR_ABOVE)
BELOW =
INT2NUM(WIIUSE_IR_BELOW)