Table of Contents

Enum KeyLocationCode

Namespace
SharpVectors.Dom.Events
Assembly
SharpVectors.Core.dll
public enum KeyLocationCode : ulong

Fields

Standard = 0

The key activation is not distinguished as the left or right version of the key, and did not originate from the numeric keypad (or did not originate with a virtual key corresponding to the numeric keypad). Example: the 'Q' key on a PC 101 Key US.

Left = 1

The key activated is in the left key location (there is more than one possible location for this key). Example: the left Shift key on a PC 101 Key US.

Right = 2

The key activation is in the right key location (there is more than one possible location for this key). Example: the right Shift key on a PC 101 Key US.

Numpad = 3

The key activation originated on the numeric keypad or with a virtual key corresponding to the numeric keypad. Example: the '1' key on a PC 101 Key US.

Unknown = 4

Implementations can use this constant to indicate that the location of the key cannot be determined.

Remarks

Note: In case a DOM implementation wishes to provide new location information, all values above the value of this constant can be used for that effect and generic DOM applications should consider values above the value of this constant as being equivalent to Unknown.