Michael Chase’s Weblog

April 13, 2008

Wiimote Mouse

Filed under: Uncategorized — mbrazell @ 9:35 pm
Tags: , , , , , ,

I have just completed an executable that allows the user to control the cursor (mouse) with a Wiimote. They only need support for Bluetooth, a Wii sensor bar (or an infrared light source), and a Wiimote.

I came up with an effective (and possibly novel) way of reducing jitter (the Wiimote is very sensitive) using the accelerometer within the Wiimote. If the user is pointing at a specific location, the Wiimote will be relatively still, and the accelerometer’s acceleration vector will also be relatively stable. Hence, if the accelerometer isn’t changing (much), I don’t send mouse move messages to the OS.

Here’s a screen-shot of the interface:

Wiimote Mouse Interface

Pretty spiffy, eh?

What’s also cool is this is my first C# program. I love C# and Visual Studio 2005 so far!

Blog at WordPress.com.