CorePhysicalKeyStatus CorePhysicalKeyStatus CorePhysicalKeyStatus CorePhysicalKeyStatus Struct


Specifies the set of physical key status items that can be obtained.

public : struct CorePhysicalKeyStatus
struct winrt::Windows::UI::Core::CorePhysicalKeyStatus
public struct CorePhysicalKeyStatus
Public Structure CorePhysicalKeyStatus

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


IsExtendedKey IsExtendedKey IsExtendedKey IsExtendedKey

Whether the key that was pressed maps to an extended ASCII character.

IsKeyReleased IsKeyReleased IsKeyReleased IsKeyReleased

Whether a key has moved from a pressed to a released status.

IsMenuKeyDown IsMenuKeyDown IsMenuKeyDown IsMenuKeyDown

Whether the menu key is currently pressed down.

RepeatCount RepeatCount RepeatCount RepeatCount

The number of times a key was pressed.

ScanCode ScanCode ScanCode ScanCode

The scan code for a key that was pressed.

WasKeyDown WasKeyDown WasKeyDown WasKeyDown

Whether a key is currently pressed down.

See also