-api-id | -api-type |
---|---|
M:Windows.UI.Core.CoreComponentInputSource.GetCurrentKeyState(Windows.System.VirtualKey) |
winrt method |
Gets the current status of a virtual key press.
The key from which to retrieve status.
The flags indicating the current state of the supplied virtual key when the input event fired.
Note
All keys support the Locked state (not just the standard Caps Lock and Num Lock keys).