Share via


KeyboardInput Class

Definition

Enables handling of keyboard input for the current thread.

public ref class KeyboardInput abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class KeyboardInput final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class KeyboardInput
Public Class KeyboardInput
Inheritance
Object Platform::Object IInspectable KeyboardInput
Attributes

Methods

GetKeyStateForCurrentThread(VirtualKey)

Retrieves the state of a virtual-key.

Applies to