3D tracking of 4 IR LEDs using 2 wiimotes and python
...The control is done via tele-manipulation which is done by the tracking of 4 IR LEDs fixed at the joints of the controller arm. This code is the part of the project responsible for the interfacing with the wiimote, stereo-triangulation of the wiimote data and determining the 3D coordinates of the IR LEDs.
WiiC is a C/C++ library that manages Wii devices. It supports Wiimote, Nunchuck, Classic, Guitar Hero 3, Motion Plus, and Balance Board. It runs on Linux and Mac platforms.