The code for this article can now be found at CodePlex.

http://www.codeplex.com/WiimoteLib