INTERACTION_CONFIGURATION_FLAGS enumeration

Specifies the interactions to enable when configuring an Interaction Context object.

Syntax


typedef enum INTERACTION_CONFIGURATION_FLAGS { 
  INTERACTION_CONFIGURATION_FLAG_NONE                              = 0x00000000,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION                      = 0x00000001,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_X        = 0x00000002,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_Y        = 0x00000004,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION_ROTATION             = 0x00000008,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION_SCALING              = 0x00000010,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_INERTIA  = 0x00000020,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION_ROTATION_INERTIA     = 0x00000040,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION_SCALING_INERTIA      = 0x00000080,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION_RAILS_X              = 0x00000100,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION_RAILS_Y              = 0x00000200,
  INTERACTION_CONFIGURATION_FLAG_MANIPULATION_EXACT                = 0x00000400,
  INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE                       = 0x00000001,
  INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_HORIZONTAL            = 0x00000002,
  INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_SELECT                = 0x00000004,
  INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_SPEED_BUMP            = 0x00000008,
  INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_REARRANGE             = 0x00000010,
  INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_EXACT                 = 0x00000020,
  INTERACTION_CONFIGURATION_FLAG_TAP                               = 0x00000001,
  INTERACTION_CONFIGURATION_FLAG_TAP_DOUBLE                        = 0x00000002,
  INTERACTION_CONFIGURATION_FLAG_SECONDARY_TAP                     = 0x00000001,
  INTERACTION_CONFIGURATION_FLAG_HOLD                              = 0x00000001,
  INTERACTION_CONFIGURATION_FLAG_HOLD_MOUSE                        = 0x00000002,
  INTERACTION_CONFIGURATION_FLAG_DRAG                              = 0x00000001,
  INTERACTION_CONFIGURATION_FLAG_MAX                               = 0xffffffff
} INTERACTION_CONFIGURATION_FLAGS;

Constants

INTERACTION_CONFIGURATION_FLAG_NONE

No interactions enabled.

INTERACTION_CONFIGURATION_FLAG_MANIPULATION

All manipulations enabled (move, rotate, and scale).

INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_X

Translate (move) along the x-axis.

INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_Y

Translate (move) along the y-axis.

INTERACTION_CONFIGURATION_FLAG_MANIPULATION_ROTATION

Rotation.

INTERACTION_CONFIGURATION_FLAG_MANIPULATION_SCALING

Scaling.

INTERACTION_CONFIGURATION_FLAG_MANIPULATION_TRANSLATION_INERTIA

Translation inertia (in direction of move) after contact lifted.

INTERACTION_CONFIGURATION_FLAG_MANIPULATION_ROTATION_INERTIA

Rotation inertia after contact lifted.

INTERACTION_CONFIGURATION_FLAG_MANIPULATION_SCALING_INERTIA

Scaling inertia after contact lifted.

INTERACTION_CONFIGURATION_FLAG_MANIPULATION_RAILS_X

Interactions are constrained along the x-axis.

Rails indicate that slight motions off the primary axis of motion are ignored. This makes for a tighter experience for users; when they attempt to pan along a single axis, they are constrained to the axis.

INTERACTION_CONFIGURATION_FLAG_MANIPULATION_RAILS_Y

Interactions are constrained along the y-axis.

Rails indicate that slight motions off the primary axis of motion are ignored. This makes for a tighter experience for users; when they attempt to pan along a single axis, they are constrained to the axis.

INTERACTION_CONFIGURATION_FLAG_MANIPULATION_EXACT

Report exact distance from initial contact to end of the interaction.

By default, a small distance threshold is subtracted from the first manipulation delta reported by the system. This distance threshold is intended to account for slight movements of the contact when processing a tap gesture. If this flag is set, the distance threshold is not subtracted from the first delta.

INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE

All cross-slide interactions enabled.

INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_HORIZONTAL

Cross-slide along the x-axis.

INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_SELECT

Selection using cross-slide.

INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_SPEED_BUMP

Speed bump effect.

A speed bump is a region in which the user experiences a slight drag (or friction) during the swipe or slide gesture.

INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_REARRANGE

Rearrange using cross-slide.

INTERACTION_CONFIGURATION_FLAG_CROSS_SLIDE_EXACT

Report exact distance from initial contact to end of the interaction.

By default, a small distance threshold is subtracted from the first cross-slide delta reported by the system. This distance threshold is intended to account for slight movements of the contact when processing a tap gesture. If this flag is set, the distance threshold is not subtracted from the first delta.

INTERACTION_CONFIGURATION_FLAG_TAP

Tap.

INTERACTION_CONFIGURATION_FLAG_TAP_DOUBLE

Double tap.

INTERACTION_CONFIGURATION_FLAG_SECONDARY_TAP

Secondary tap.

INTERACTION_CONFIGURATION_FLAG_HOLD

Hold.

INTERACTION_CONFIGURATION_FLAG_HOLD_MOUSE

Hold with mouse.

INTERACTION_CONFIGURATION_FLAG_DRAG

Drag with mouse.

INTERACTION_CONFIGURATION_FLAG_MAX

Maximum number of interactions exceeded.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Interactioncontext.h

See also

Interaction Context Enumerations
INTERACTION_CONTEXT_CONFIGURATION
SetInteractionConfigurationInteractionContext

 

 

Community Additions

ADD
Show: