Wiimote

Sends information about a connected Nintendo Wiimote with support of nunchuck, motion plus and infrared mode.

See the Wiimote specification for more information.

wiimote num

Choose here your wiimote if you have several connected

send buttons

These buttons sends information to the wiimote

  • vibration: turn the vibration ON/OFF
  • led1: turn the led 1 ON/OFF
  • led2: turn the led 2 ON/OFF
  • led3: turn the led 3 ON/OFF
  • led4: turn the led 4 ON/OFF

Wiimote movements and position

Estimation of the orientation according the X,Y,Z axes. Calculated summations of acceleration values.

  • wii acc X: Acceleration value in the X dimension
  • wii acc Y: Acceleration value in the Y dimension
  • wii acc Z: Acceleration value in the Z dimension
  • wii pos X: Position value in the X dimension
  • wii pos Y: Position value in the Y dimension
  • wii pos Z: Position value in the Z dimension
  • wii pitch: value of the pitch movement
  • wii roll: value of the roll movement
  • wii yaw: value of the yaw movement

reset pos

Resets the pos X,Y,Z estimation calculation. Can be used periodically to avoid the accumulation of errors.

Wiimote buttons

  • wii btnA: bouton A
  • wii btnB: bouton B
  • wii btn1: bouton 1
  • wii btn2: bouton 2
  • wii btn+: bouton +
  • wii btn-: bouton -
  • wii btn Home: bouton Home
  • wii btn Up: bouton Up
  • wii btn Down: bouton Down
  • wii btn Left: bouton Left
  • wii btn Right: bouton Right

Motion plus

The Wii MotionPlus is an expansion device that allows the Wii Remote to more accurately capture complex motion.

  • mplus acc X: Acceleration value in the X dimension
  • mplus acc Y: Acceleration value in the Y dimension
  • mplus acc Z: Acceleration value in the Z dimension

Nunchuch

  • nc btn C:nunchuck bouton C
  • nc btn Z:nunchuck bouton Z
  • nc pitch:nunchuck pitch value
  • nc roll:nunchuck roll value
  • nc yaw:nunchuck yaw value
  • nc js ang:nunchuck joystick angle
  • nc js mag:nunchuck joystick magnitude

infra red

  • ir[1] X:infra red X 1
  • ir[1] Y:infra red Y 1
  • ir[1] Size:infra red Size 1
  • ir[2] X:infra red X 2
  • ir[2] Y:infra red Y 2
  • ir[2] Size:infra red Size 2
  • ir[3] X:infra red X 3
  • ir[3] Y:infra red Y 3
  • ir[3] Size:infra red Size 3
  • ir[4] X:infra red X 4
  • ir[4] Y:infra red Y 4
  • ir[4] Size:infra red Size 4