InjectedInputTouchParameters InjectedInputTouchParameters InjectedInputTouchParameters InjectedInputTouchParameters Enum

Definition

Specifies the touch states used to simulate touch input through InjectedInputTouchInfo.

Note

The APIs in this namespace require the inputInjectionBrokered restricted capability.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class InjectedInputTouchParameterspublic enum InjectedInputTouchParametersPublic Enum InjectedInputTouchParameters// You can use this enum in JavaScript.
Attributes
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Fields

Contact Contact Contact Contact

The screen coordinates of the bounding box that represents the touch contact area.

None None None None

No touch state reported. Default.

Orientation Orientation Orientation Orientation

The counter-clockwise angle of rotation around the major axis of the pointer device (the z-axis, perpendicular to the surface of the digitizer).

Pressure Pressure Pressure Pressure

The force exerted by the pointer device on the surface of the digitizer.

Remarks

Using input injection requires the following be added to the Package.appxmanifest:

  • To <Package>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • To <Capabilities>
    • <rescap:Capability Name="inputInjectionBrokered" />