Share via


KinectGestureSettings Enumeration

Specifies the interactions that are supported by an Kinect for Windows application.

Syntax

typedef enum _KinectGestureSettings
{
    KinectGestureSettings_None = 0,
    KinectGestureSettings_Tap = 0x1,
    KinectGestureSettings_ManipulationTranslateX = 0x40,
    KinectGestureSettings_ManipulationTranslateY = 0x80,
    KinectGestureSettings_ManipulationTranslateRailsX = 0x100,
    KinectGestureSettings_ManipulationTranslateRailsY = 0x200,
    KinectGestureSettings_ManipulationScale = 0x800,
    KinectGestureSettings_ManipulationTranslateInertia = 0x1000,
    KinectGestureSettings_KinectHold = 0x10000
} KinectGestureSettings, KinectGestureSettings_None, KinectGestureSettings_Tap, KinectGestureSettings_ManipulationTranslateX, KinectGestureSettings_ManipulationTranslateY, KinectGestureSettings_ManipulationTranslateRailsX, KinectGestureSettings_ManipulationTranslateRailsY, KinectGestureSettings_ManipulationScale, KinectGestureSettings_ManipulationTranslateInertia, KinectGestureSettings_KinectHold;

Constants

Constant Description
KinectGestureSettings_None Disable support for gestures and manipulations.
KinectGestureSettings_Tap Enable support for the tap gesture.
KinectGestureSettings_ManipulationTranslateX Enable support for the slide gesture through pointer input, on the horizontal axis. The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction. This gesture can be used for rearranging objects.
KinectGestureSettings_ManipulationTranslateY Enable support for the slide gesture through pointer input, on the vertical axis. The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction. This gesture can be used for rearranging objects.
KinectGestureSettings_ManipulationTranslateRailsX Enable support for the slide gesture through pointer input, on the horizontal axis using rails (guides). The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction. This gesture can be used for rearranging objects.
KinectGestureSettings_ManipulationTranslateRailsY Enable support for the slide gesture through pointer input, on the vertical axis using rails (guides). The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction. This gesture can be used for rearranging objects.
KinectGestureSettings_ManipulationScale Enable support for the pinch or stretch gesture through pointer input. These gestures can be used for optical or semantic zoom and resizing an object. The ManipulationStarted, ManipulationUpdated, and ManipulationCompleted events are all raised during the course of this interaction.
KinectGestureSettings_ManipulationTranslateInertia Enable support for scaling inertia after the pinch or stretch gesture (through pointer input) is complete. The ManipulationInertiaStarting event is raised if inertia is enabled.
KinectGestureSettings_KinectHold Enable support for the press and hold gesture through Kinect gestures. The Holding event is raised if a time threshold is crossed before the user moves the hand cursor away from the UI element. This gesture can be used to display a context menu.

Requirements

Header: kinect.h

Library: TBD