Let me add some details in my question to elaborate what I am asking for - The idea is to measure the vertical and horizontal distance traveled by the mouse without the screen size limitation. I have a wireless mouse which can move freely in any direction within 10-15 feet range. I want to use this advantage to measure any distance. I know I can map the maximum range of my mouse on my screen and can do that but I don't even want range of the mouse to be the constraint while measuring the distance. Do I need raw mouse data to do this?
Edit: Example - : What I am trying to do is measure the real world circumference using mouse. Let say I have to measure the dimension of a shell then I would just move my mouse on the shell and it will register the dimension.
Few points to conclude the question
Edit: Example - : What I am trying to do is measure the real world circumference using mouse. Let say I have to measure the dimension of a shell then I would just move my mouse on the shell and it will register the dimension.
Few points to conclude the question
- Can we use mouse to measure the distance?
- Can we do it without modifying the mouse?
- Since mouse cursor can't move beyond the screen it is difficult to measure the x,y coordinate, Isn't it?
- Mapping the real world distance to screen is one solution but I don't want to that because it constraints it ability to measure the distance.
- Can we move the mouse beyond the screen?
- If we can, can we get the mouseX or mouseY location ?