Partager via


MetaKeyStates Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

public enum MetaKeyStates
type MetaKeyStates = 
Inheritance
MetaKeyStates

Fields

Name Value Description
None 0
ShiftOn 1
AltOn 2
SymOn 4
FunctionOn 8
AltLeftOn 16
AltRightOn 32
AltMask 50

This mask is a combination of AltOn, AltLeftOn and AltRightOn.

ShiftLeftOn 64
ShiftRightOn 128
ShiftMask 193
CtrlOn 4096
CtrlLeftOn 8192
CtrlRightOn 16384
CtrlMask 28672
MetaOn 65536
MetaLeftOn 131072
MetaRightOn 262144
MetaMask 458752
CapsLockOn 1048576
NumLockOn 2097152
ScrollLockOn 4194304

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to