OVERVIEW

This sample demonstrates how to use the Kinect skeletal tracking feature to move the mouse cursor with a user's hands.
- By default, the right hand moves the cursor and the left hand controls the left mouse button.
- When the left hand is raised, the mouse button is held down. When the left hand is lowered, the mouse button is released.
- Use the checkbox on the main UI to switch to "left-handed" mode where the hand functions are reversed.

FILES
- App.xaml: declaration of application level resources
- App.xaml.cs/vb: interaction logic behind app.xaml
- MainWindow.xaml: declaration of layout within main application window
- MainWindow.xaml.cs/vb: NUI initialization, processing
- CursorControl.ico: Application icon used in title bar and task bar


BUILDING THE SAMPLE
To build the sample using Visual Studio (preferred method):
  1. In Windows Explorer, navigate to the directory pathname directory.
  2. Double-click the icon for the .sln (solution) file to open the file in Visual Studio.
  3. In the Build menu, select Build Solution. The application will be built in the default \Debug or \Release directory.

RUNNING THE SAMPLE
To run the sample:
  1. Navigate to the directory that contains the new executable, using the command prompt or Windows Explorer.
  2. Type Cursorcontrol at the command line, or double-click the icon for CursorControl to launch it from Windows Explorer.

Last edited Nov 21, 2011 at 4:21 AM by peekb, version 5

Comments

gaozhongpai Apr 6, 2013 at 12:57 PM 
Do anyone have this project used C++???? I just can't find it.

tonatiuhNava Nov 8, 2012 at 1:32 AM 
as I can right click?

TheTennGuy May 22, 2012 at 10:39 PM 
Just a thought, if you aren't including the SLN, then consider have a way to control the mouse speed, I reckon that you could use the control panel.

TheTennGuy May 22, 2012 at 10:37 PM 
Downloaded, unzipped and then followed your instructions (C#), not sure what these instructions are for but they do not map to the unzipped files.
There is no SLN, there is no CursorControl.exe under the KinectMouse folder.
Noticed that you have a bunch of responders that didn't tell you the truth.
Did figure out how to get it running, but seriously shouldn't you just give it a test on a machine that doesn't have your code on it?