c# - Stabilize mouse-pointer on screen kinect? -
i want stabilize mouse-pointer when use kinect. did set of cursor, using smooth , sensitivity, cursor jumps in margins of screen. can me?
the code have set cursor is:
// set cursor position mousecontrol.setcursorpos( // x coordinate (int)(curpos.x + (x * mousesensitivity * screenwidth - curpos.x) * smoothing), // y coordinate (int)(curpos.y + ((y + 0.25f) * mousesensitivity * screenheight - curpos.y) * smoothing) );
Comments
Post a Comment