Specifies constants that represent keyboard codes.
This enumeration is useful when handling keyDown events.
Name | Value | Description |
---|---|---|
Back | 8 |
The backspace key. |
Tab | 9 |
The tab key. |
Enter | 13 |
The enter key. |
Escape | 27 |
The escape key. |
Space | 32 |
The space key. |
PageUp | 33 |
The page up key. |
PageDown | 34 |
The page down key. |
End | 35 |
The end key. |
Home | 36 |
The home key. |
Left | 37 |
The left arrow key. |
Up | 38 |
The up arrow key. |
Right | 39 |
The right arrow key. |
Down | 40 |
The down arrow key. |
Delete | 46 |
The delete key. |
X | 88 |
The 'X' key |
F1 | 112 |
The F1 key. |
F2 | 113 |
The F2 key. |
F3 | 114 |
The F3 key. |
F4 | 115 |
The F4 key. |
F5 | 116 |
The F5 key. |
F6 | 117 |
The F6 key. |
F7 | 118 |
The F7 key. |
F8 | 119 |
The F8 key. |
F9 | 120 |
The F9 key. |
F10 | 121 |
The F10 key. |
F11 | 122 |
The F11 key. |
F12 | 123 |
The F12 key. |