WiiRemote
SENSOR
|
| |
| |
Connects Nintendo's WiiRemote Device and reports acceleration, orientation and 2D position. |
| |
| |
+ |
device
|
INT
|
1
|
'-1'
|
LOCK
|
device id (first available = -1)
|
| |
+ |
size
|
DOUBLE
|
1
|
'0.10000'
|
LOCK
|
block size in seconds
|
| |
| |
Available channels: |
| |
| |
+ |
acceleration
|
3-axis acceleration (X, Y, and Z) streamed as float values.
|
| |
+ |
orientation
|
Pitch and roll as float values estimated if the controller isn't accelerating.
|
| |
+ |
button
|
State of 11 buttons (LEFT|RIGHT|DOWN|UP|PLUS|TWO|ONE|A|B|MINUS|HOME) stored as bits in a single unsigned short value.
|
| |
+ |
motionplusraw
|
Raw yaw, roll and pitch as short values (requires MotionPlus extension).
|
| |
+ |
motionplusfloat
|
Raw yaw, roll and pitch as float values (requires MotionPlus extension).
|
| |
+ |
infrared
|
X and Y coordinates measured by infrared sensor as float values in range [0.0 1.0], where X = left->right and Y = top->bottom.
|
| |
+ |
infraredraw
|
Raw X and Y coordinates measured by infrared sensor as unsigned int values [1024x768]
|
| |