I'm creating an app that involves using the Wiimote as a mouse. There's 2 areas I'm having problems with and I'd like suggestions on..
IR Input
What would be the best and most robust way to make use of the 4 infra-red sources on the sensor bar? Should I use the midpoint of 2 sensors or all 4? If 2, then which 2 should I use? Or maybe the midpoint of as many that are visible?
Mouse Output
I've done some tests and I'm having trouble getting the mouse cursor to the edges of the screen. When I try to do so, the Wiimote loses sight of the sensors before getting to the edge and the cursor stops. Firstly, is this expected? Secondly, what's the best way to overcome it? I'm thinking maybe I can perform some calibration to get the user to draw the largest rectangle they can.. then when moving the cursor, I basically stretch that rectangle to the size of the screen. Suggestions?
Midpoint of as many visible is likely the best option since most people only have a sensor bar with 2 IR points.
As for the edges of the screen, put up some targets in the corners of the screen and have the users point and click at each. That would mark the outer bounds of what they can "touch".