Wii Mote


Wiimote is the primary controller for Nintendo's Wii console. The main features of the Wiimote are motion sensing capability, accelerometer and optical sensor technology.

Contents



Download and Installation

Pre-requisites

  • Make sure that Visual Studio 2010 Professional or Express is installed.

Library

  • Add the following library to your references:

Link to download the most recent version of WiimoteLib

back to top

Recipes and How-To's

How to Pair the Wiimote with Your PC

  • Go to "Control Panel". Under "Devices and Printers", select "change Bluetooth settings". Make sure to check the option: Allow bluetooth devices to connect to this computer
  • Go to "Control Panel". Under "Devices and Printers", select "add a device".
  • Press and hold 1 & 2 buttons on the wiimote at the same time.
  • A new "Input Device" shows up in your "Add a device" window. Select it, and click on the "Next" button.
  • Wait until the driver is installed by itself. During the time, make sure you still press and hold 1&2 buttons on the wiimote
  • After the pairing is done, the wiimote's LEDs will constantly flashing.
  • Note that you need to pair it again every time you lose the connection (either the computer or the wiimote is off).

Instructions for setting up your first program

  • Generate a new WPF Application project
  • Launch the Add Reference window (Project -> Add Reference).
  • Add WiimoteLib. If it does not appear in this list, then you can Browse to the Wiimote library you have just installed and add the WiimoteLib.dll.
  • In order to have access to the classes that are needed for programming Wiimote, type the following at the top of your source code:
 using WiimoteLib;
back to top