CorePhysicalKeyStatus
CorePhysicalKeyStatus
CorePhysicalKeyStatus
CorePhysicalKeyStatus
Struct
Definition
Specifies the set of physical key status items that can be obtained.
public : struct CorePhysicalKeyStatuspublic struct CorePhysicalKeyStatusPublic Structure CorePhysicalKeyStatus// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
IsExtendedKey IsExtendedKey IsExtendedKey IsExtendedKey
Whether the key that was pressed maps to an extended ASCII character.
public : field PlatForm::Boolean IsExtendedKeypublic field bool IsExtendedKeyPublic Field IsExtendedKey// This API is not available in Javascript.
IsKeyReleased IsKeyReleased IsKeyReleased IsKeyReleased
Whether a key has moved from a pressed to a released status.
public : field PlatForm::Boolean IsKeyReleasedpublic field bool IsKeyReleasedPublic Field IsKeyReleased// This API is not available in Javascript.
IsMenuKeyDown IsMenuKeyDown IsMenuKeyDown IsMenuKeyDown
Whether the menu key is currently pressed down.
public : field PlatForm::Boolean IsMenuKeyDownpublic field bool IsMenuKeyDownPublic Field IsMenuKeyDown// This API is not available in Javascript.
RepeatCount RepeatCount RepeatCount RepeatCount
The number of times a key was pressed.
public : field unsigned int RepeatCountpublic field uint RepeatCountPublic Field RepeatCount// This API is not available in Javascript.
ScanCode ScanCode ScanCode ScanCode
The scan code for a key that was pressed.
public : field unsigned int ScanCodepublic field uint ScanCodePublic Field ScanCode// This API is not available in Javascript.