i want to make a little program that would record my mouse movements precisely. at the moment i am using WM_MOUSEMOVE message, but it seems to skip quite alot of pixels. i would like to at this stage just record each x,y coord the mouse moves through, and maybe later actually record the speed of the mouses movement too. i use a vector and everytime a mousemove message is recieved i just pushback the current x,y value into 2 vectors.
is it the vectors that are slowing this down? any example programs anyone knows of that i can have a look at?
What i plan to do is save the mouse movements and use them to move some sprites around the screen.