INTERACTION_ID enumeration

Specifies the interaction states used for configuring an Interaction Context object. Interactions can be static (single contact with no manipulation, such as tap, double tap, right tap, press and hold) or dynamic (one or more contacts with manipulation, such as translation, rotation, or scaling).

Syntax


typedef enum INTERACTION_FLAGS { 
  INTERACTION_ID_NONE           = 0x00000000,
  INTERACTION_ID_MANIPULATION   = 0x00000001,
  INTERACTION_ID_TAP            = 0x00000002,
  INTERACTION_ID_SECONDARY_TAP  = 0x00000003,
  INTERACTION_ID_HOLD           = 0x00000004,
  INTERACTION_ID_DRAG           = 0x00000005,
  INTERACTION_ID_CROSS_SLIDE    = 0x00000006,
  INTERACTION_ID_MAX            = 0xffffffff
} INTERACTION_FLAGS;

Constants

INTERACTION_ID_NONE

Not used.

INTERACTION_ID_MANIPULATION

A compound gesture that supports translation, rotation, and scaling (dynamic).

INTERACTION_ID_TAP

A tap gesture (static).

INTERACTION_ID_SECONDARY_TAP

A right click gesture (static), regardless of input device. Typically used for displaying a context menu.

  • Right mouse button click
  • Pen barrel button click
  • Touch or pen press and hold
INTERACTION_ID_HOLD

Press and hold gesture (static).

INTERACTION_ID_DRAG

Move with mouse or pen (dynamic).

INTERACTION_ID_CROSS_SLIDE

Select or move through slide or swipe gestures (dynamic).

INTERACTION_ID_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:
© 2014 Microsoft