none
Capturing HandPointerEnter/Leave event for a Custom Control using Kinect SDK 2.0 for WPF RRS feed

  • Question

  • Hi All,

    I am trying to develop a custom control for Kinect 2.0 SDK, in which I need to capture an event where I can know if the kinect pointer has entered or left my control. I am using this information to develop a Hover Button, which is triggered by hovering on button instead of push gesture.

    It was possible in Kinect SDK 1.8 version by using KinectRegion.AddHandPointerEnterHandler and KinectRegion.AddHandPointerLeaveHandler methods, but these methods are missing in 2.0 :(  I have already gone through API reference on msdn but couldn't find anything. 

    Any idea how can we achieve the same in version 2.0 ? 

    Any help will be truly appreciated ! 

    Tuesday, January 6, 2015 3:01 PM

Answers

All replies

  • There is no support for hovering as this does not follow the Human Interface Guidelines for Kinect even for v1. For the v1 of interactions, the push action was established as the natural way of interaction with user controls. It was found after many usability testing, hover is too stressful on the users shoulder.

    Are you using the old Xbox 360 style of interactions or are you doing something else?

    http://download.microsoft.com/download/6/7/6/676611B4-1982-47A4-A42E-4CF84E1095A8/KinectHIG.2.0.pdf


    Carmine Sirignano - MSFT

    Tuesday, January 6, 2015 7:19 PM
  • Hi Carmine,

    Thanks for the answer !  I agree that Push action is the most natural way, however we are building a device(www.adzipod.com) which will be used for interactive advertisement in public places and most of the people interacting will not be aware of push/grip gesture, so we have found that hover button works to replace both push and grip gesture and the learning curve is much lower for the person using the device.

    Lets say if we were hell bent on adding a hover button :) how would we go about it using the 2.0 SDK ?

    One more quick question for you, we have a use case where we need to hide the cursor, since we only require the presence of a person to trigger content and they dont need hand pointer to interact with it.  So for some ads we hide the cursor. We tried using kinectRegion.setIsCursorVisible method  but it does not seem to hide the Hand pointer/Cursor. Any recommendations ? 

    Thanks for all the help 

    Gautam


    Saturday, January 10, 2015 7:51 AM
  • For anyone who is facing similar issues, this blog post is quite helpful 

    https://passiondev.wordpress.com/2014/09/11/custom-ikinectcontroller-drag-and-drop/

    Monday, January 12, 2015 9:11 AM
  • For anyone facing this problem, there is a way to achieve this:

    https://social.msdn.microsoft.com/Forums/en-US/08ca6a5e-33b1-4583-90e8-5eb58f40a929/kinectregion-pointer-click-by-hold?forum=kinectv2sdk

    Wednesday, March 30, 2016 7:12 AM