A Better Wiimote Pointer
This is a higher resolution of the sample Wii Pointer app in action.
You can download the app from
wiimote_pointer.zip
Everything is precompiled and ready to go. All the source code is also included. Just follow the directions at Brian Peek’s blog to get your Wiimote connected to your PC. You must have a sensor bar for this app to work properly.
Hit “+” on the number pad to increase the resolution (not the “+/=” key). You can also drag the corners of the app to change the resolution.
common\input_buffer\wiimote_class.cs contains the logic for figuring out where the Wiimote is pointing.
I updated the code to be able to approximate the location of the pointer when one of the IR sensors goes out of range. It works best when you stand several feet back from your computer monitor.
I’m sure there are some potential improvements that could be made but it is an excellent starting point for using the Wiimote as a pointing device in your own games. The sample app uses software rendering so you don’t need DirectX or OpenGL to try it out.
I’ll have some sample DirectX games created in a week or two that make use of this library.

Leave a comment
You must be logged in to post a comment.