I am currently working on a tool that will allow Wiimote to be used as computer mouse and am stuck in a problem. The wiimote returns x and y co-ordinates which are very small as compared to screen resolution of my pc and I am looking for a way to map these small values to my large resolution values.
For example, pc least x value is 0 and most x value is 1300 and I also know wiimote least x value is 0 but don't know most value.
I just want the wiimote to move mouse pointer on screen without crossing the screen co-ordinates.