InjectedInputButtonChangeKind InjectedInputButtonChangeKind InjectedInputButtonChangeKind InjectedInputButtonChangeKind Enum

Definition

Specifies the changes in state of a button associated with a pointer.

Note

The APIs in this namespace require the inputInjectionBrokered restricted capability.

public : enum class InjectedInputButtonChangeKindpublic enum InjectedInputButtonChangeKindPublic Enum InjectedInputButtonChangeKind// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Fields

FifthButtonDown FifthButtonDown FifthButtonDown FifthButtonDown

Indicates a fifth action is initiated.

A touch pointer does not use this flag.

A pen pointer does not use this flag.

A mouse pointer has this flag set when the second extended mouse (XBUTTON2) button is down.

FifthButtonUp FifthButtonUp FifthButtonUp FifthButtonUp

Indicates a fifth action is complete.

FirstButtonDown FirstButtonDown FirstButtonDown FirstButtonDown

Indicates a primary action is initiated.

A touch pointer has this flag set when it is in contact with the digitizer surface.

A pen pointer has this flag set when it is in contact with the digitizer surface with no buttons pressed.

A mouse pointer sets this flag when the left mouse button is down.

FirstButtonUp FirstButtonUp FirstButtonUp FirstButtonUp

Indicates a primary action is complete.

FourthButtonDown FourthButtonDown FourthButtonDown FourthButtonDown

Indicates a fourth action is initiated.

A touch pointer does not use this flag.

A pen pointer does not use this flag.

A mouse pointer has this flag set when the first extended mouse (XBUTTON1) button is down.

FourthButtonUp FourthButtonUp FourthButtonUp FourthButtonUp

Indicates a fourth action is complete.

None None None None

No change in button state. Default.

SecondButtonDown SecondButtonDown SecondButtonDown SecondButtonDown

Indicates a secondary action is initiated.

A touch pointer does not use this flag.

A pen pointer has this flag set when it is in contact with the digitizer surface with the pen barrel button pressed.

A mouse pointer sets this flag when the right mouse button is down.

SecondButtonUp SecondButtonUp SecondButtonUp SecondButtonUp

Indicates a secondary action is complete.

ThirdButtonDown ThirdButtonDown ThirdButtonDown ThirdButtonDown

Indicates a third action is initiated.A touch pointer does not use this flag.

A pen pointer does not use this flag.

A mouse pointer sets this flag when the mouse wheel button is down.

ThirdButtonUp ThirdButtonUp ThirdButtonUp ThirdButtonUp

Indicates a third action is complete.

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" />