I could've sworn I published this in the past, but I guess I didn't. Oh well, better late than never. BSD-2 licensed Wiimote pointer tracking algorithm. This is what's in libogc. Please use it. It's much better than naive "average the points" approaches.https://gist.github.com/marcan/c7ca900d5191610957c478bbdbb516c0 …
Oh, it is there, just without the constant.https://gist.github.com/marcan/c7ca900d5191610957c478bbdbb516c0#file-wiipointer-c-L265 …