The RawMidX/Y & MidX/Y as now done very ugly, that still needs to be modified.. sorry about that.. you could just delete the first 2 if's which does the 3 and 4 point avarage.. doesn't always work correctly when 1 of the ir leds go out of screen..

Thats quite nice, but your IR information is backwards either on x or y axis (I think anyway). When I move left it goes to the right, but when up it goes up. Is that supposed to be that way (seems right if were looking in a mirror I guess). Maybe I'm nuts. ramble ramble ramble.

Do you mean the wiimotelib or my test application wiituio? ( Because the 4 point should work without any problems. However you'll need to use the wiiwhiteboard software or other program which uses the calibration function to switch the points around.

Unless you place the camera behind the IR source instead of in front the axis will be inverted. Thats the great thing about Johnny lee's software, he has a neet little calibration function which doesn't care at what angle/upside down or whatever the points are