I cannot access Position of the cursor (move mouse programatically)

前端 未结 3 881
花落未央
花落未央 2021-01-25 16:34

this is my code:

    private void MoveCursor(int x, int y)
    {
        // Set the Current cursor, move the cursor\'s Position,
        // and set its clipping          


        
3条回答
  •  無奈伤痛
    2021-01-25 17:04

    I found out what the issue was, Kinect does not send the parameters of the screen from 0 to display width, and it also has a - in the left part of the body, and + in the right, so I had to make a function to calculate the corect point to move the mouse to.

提交回复
热议问题