Windows Dev Center

KeyboardCapabilities class

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

Syntax


Public NotInheritable Class KeyboardCapabilities

Attributes

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

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-onlyGets a value that indicates whether a hardware 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 (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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

See also

Object
Quickstarts
Quickstart: Identifying input devices
Reference
Windows.Devices.Input

 

 

Show:
© 2015 Microsoft