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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -