Coffeehouse Thread

4 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

With the Kinet mouse cursor

Back to Forum: Coffeehouse
  • User profile image
    Meil

    Hello!

    I have a question.

    in this cursor program, using the Mouse event absolute to control the X and Y Coordinate.

    How can we use relative to control the Kinect mouse cursor just like we use the mouse?

                                                                                               Please and thanks!

  • User profile image
    BitFlipper

    @Meil:

    Sorry your question does not make a lot of sense. You might need to reword it and also provide more details before I think anyone can provide a meaningful answer.

  • User profile image
    Meil

    sorry , i'll try to.

    in the code, the coordinate is determined by absolute position. so the mouse is contoled by absolute position.

    if i want to move the mouse just like we usually use on the desk , how can i  write in the C#?

    whether move the mouse by relative position?

  • User profile image
    DCMonkey

    I don't know anything about the Kinect SDK capabilities but ...

    Use depth to track whether the mouse is on the "desk" or not. Give  the mouse a default starting position on screen. When the mouse hand moves  forward, start tracking relative changes of the mouse hand location and use those changes to calculate the new position of the mouse. When the mouse hand is pulled back, don't change the mouse position. 

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.