This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Constants
Valeri edited this page Aug 28, 2019
·
1 revision
lua-xwiimote export constants for all available interfaces. They are supposed to be used in form of bitmask to form different combination.
All of constants are exported into main module's table. Following table lists all of them:
Lua constant | C constant | Description |
---|---|---|
core |
XWII_IFACE_CORE |
Core interface for buttons and rumbling (in write mode) |
accel |
XWII_IFACE_ACCEL |
Accelerometer interface |
ir |
XWII_IFACE_IR |
IR camera interface |
mplus |
XWII_IFACE_MOTION_PLUS |
MotionPlus interface |
nunchuk |
XWII_IFACE_NUNCHUK |
Nunchuk interface (seem to do nothing) |
classic |
XWII_IFACE_CLASSIC_CONTROLLER |
Classic Controller interface (seem to do nothing) |
balance |
XWII_IFACE_BALANCE_BOARD |
Balance board interface |
pro |
XWII_IFACE_PRO_CONTROLLER |
Pro Controller interface |
all |
XWII_IFACE_ALL |
Special flag that ORs all other interfaces |
writable |
XWII_IFACE_WRITABLE |
Flag to open interfaces in writable mode (use with core to enable rumbling) |