-api-id | -api-type |
---|---|
T:Microsoft.UI.Input.PhysicalKeyStatus |
winrt struct |
Specifies the possible states of a physical keyboard key.
The key is an extended key, such as the right-hand ALT and CTRL keys that appear on an Enhanced 101/102-key keyboard. See Extended-Key Flag for more info.
The key moved from a pressed to a released state. See Transition State Flag for more info.
The Alt key (represented by the VirtualKey.Menu value) is currently pressed down.
The number of times a key was pressed. See Repeat Count for more info.
The scan code for a key that was pressed. See Scan Code for more info.
The key is currently pressed down. See Previous Key-State Flag for more info.
The keyboard device driver receives scan codes from the keyboard and interprets and translates (maps) them into virtual-key codes (device-independent values defined by the system to identify the purpose of a key).
CharacterReceivedEventArgs.KeyStatus, KeyEventArgs.KeyStatus