Kinect for Windows v2 hand cursor outside WPF windows

933 Views Asked by At

I would like to write an application where you can use your hand instead of mouse. I wrote some WPF and use a hand style and it work good. But I want to use this control outside and WPF window, just like normal mouse coursor. Is it possible to write it with Kinect For Windows V2 ?

1

There are 1 best solutions below

3
On

What you need is a service, but not WPF app. So that it still can process input from Kinect in background, not only when your app is active and foreground.

You need to emit mouse move/click events in order to use it globally in the whole Windows OS. Here is one of examples on MSDN: https://social.msdn.microsoft.com/Forums/vstudio/en-US/1ea09f18-94f6-4f4f-bcba-d02da27beaa4/control-mouse-position-and-generate-click-from-program-c-winforms-aim-control-pc-from-serial?forum=csharpgeneral