Wiimote Whiteboard


Open Sauce Fanatic & AMD Fanboy
May 19, 2009
Over at http://johnnylee.net/projects/wii/ is a really nifty tutorial made by a guy named johnny lee on how to use your wiimote and an infrared LED to create a "touch" surface on virtually anything. The way it works is that the coordinates from the IR camera on the wiimote are mapped to coordinates on the screen by way of a 4-point "touch" calibration. At the moment the software is out including it's sourcecode, which brings me to the reason I'm here. There seems to be a lot of really awesome devs on this forum that know what they're doing, and I was wondering if someone could help me out. I've been thinking of different ways that you could use the combination of a wiimote and the IR pen to control a mouse cursor on the screen, and was wondering if someone could modify the code to track the light when it's on, move the mouse, but not to click. This way you could point your wiimote at yourself, use the light pen to move the mouse, and then possibly click the pen to turn the light OFF which would then trigger a mouse click. I realize this means there would be no dragging, but I'm over that. =P Just wondering if anyone has some free time and could look at the code that does this and possibly make some changes.

Thanks for your time.