Dela via


FocusInputDeviceKind Enum

Definition

Specifies the input device types from which input events are received.

public enum class FocusInputDeviceKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class FocusInputDeviceKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum FocusInputDeviceKind
Public Enum FocusInputDeviceKind
Inheritance
FocusInputDeviceKind
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
None 0

No input. Used only when the focus is moved programmatically.

Mouse 1

Mouse input device.

Touch 2

Touch input device.

Pen 3

Pen input device.

Keyboard 4

Keyboard input device.

GameController 5

Game controller/remote control input device.

Applies to