KeyboardCapabilities class

KeyboardCapabilities class

Supports the ability to determine the capabilities of any connected hardware keyboards.

Syntax


Public NotInheritable Class KeyboardCapabilities

Members

The KeyboardCapabilities class has these types of members:

Constructors

The KeyboardCapabilities class has these constructors.

ConstructorDescription
KeyboardCapabilities Initializes a new instance of the KeyboardCapabilities class.

 

Properties

The KeyboardCapabilities class has these properties.

PropertyAccess typeDescription

KeyboardPresent

Read-only

Gets a value that indicates whether a device identifying itself as a keyboard is detected.

 

Remarks

The Device Capabilities Sample demonstrates how to detect the presence of input devices and retrieve the capabilities and attributes of each device.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Input
Windows::Devices::Input [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Input
Windows::Devices::Input [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

See also

Object
Quickstarts
Quickstart: Identifying input devices
Reference
Windows.Devices.Input
Basic input sample (Windows 10)

 

 

Show:
© 2016 Microsoft