Enum Key
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public enum Key
Fields
Name | Description | ||
---|---|---|---|
A | The A key. |
||
Application | The application key. This usually opens a context menu, in the same way that right click does. |
||
B | The B key. |
||
Backspace | The backspace key. |
||
C | The C key. |
||
CapsLock | The caps lock key. |
||
Comma | The comma key. |
||
D | The D key. |
||
D0 | The 0 key. |
||
D1 | The 1 key. |
||
D2 | The 2 key. |
||
D3 | The 3 key. |
||
D4 | The 4 key. |
||
D5 | The 5 key. |
||
D6 | The 6 key. |
||
D7 | The 7 key. |
||
D8 | The 8 key. |
||
D9 | The 9 key. |
||
Delete | The delete key. |
||
DownArrow | The down arrow key. |
||
E | The E key. |
||
End | End key. |
||
Escape | The escape key. |
||
F | The F key. |
||
F1 | The 1st function key. |
||
F10 | The 10th function key. |
||
F11 | The 11th function key. |
||
F12 | The 12th function key. |
||
F13 | The 13th function key. |
||
F14 | The 14th function key. |
||
F15 | The 15th function key. |
||
F16 | The 16th function key. |
||
F17 | The 17th function key. |
||
F18 | The 18th function key. |
||
F19 | The 19th function key. |
||
F2 | The 2nd function key. |
||
F20 | The 20th function key. |
||
F21 | The 21st function key. |
||
F22 | The 22nd function key. |
||
F23 | The 23rd function key. |
||
F24 | The 24th function key. |
||
F3 | The 3rd function key. |
||
F4 | The 4th function key. |
||
F5 | The 5th function key. |
||
F6 | The 6th function key. |
||
F7 | The 7th function key. |
||
F8 | The 8th function key. |
||
F9 | The 9th function key. |
||
G | The G key. |
||
H | The H key. |
||
Help | The help key. |
||
Home | The home key. |
||
I | The I key. |
||
Insert | The insert key. |
||
J | The J key. |
||
K | The K key. |
||
Keypad0 | The keypad 0 key. |
||
Keypad1 | The keypad 1 key. |
||
Keypad2 | The keypad 2 key. |
||
Keypad3 | The keypad 3 key. |
||
Keypad4 | The keypad 4 key. |
||
Keypad5 | The keypad 5 key. |
||
Keypad6 | The keypad 6 key. |
||
Keypad7 | The keypad 7 key. |
||
Keypad8 | The keypad 8 key. |
||
Keypad9 | The keypad 9 key. |
||
KeypadAdd | The keypad add key. |
||
KeypadDecimal | The keypad decimal point key. |
||
KeypadDivide | The keypad divide key. |
||
KeypadEnter | The keypad enter key. |
||
KeypadEqual | The keypad equals key. |
||
KeypadMultiply | The keypad multiply key. |
||
KeypadSeparator | The keypad separator key. |
||
KeypadSubtract | The keypad subtract key. |
||
L | The L key. |
||
LeftAlt | The left alt key (left Option on mac). |
||
LeftArrow | The left arrow key. |
||
LeftControl | The left control key. |
||
LeftGUI | The left "OS" key. On windows this is the left windows key. On macOS this is the left Command key. |
||
LeftShift | The left shift key. |
||
M | The M key. |
||
Minus | The minus key. |
||
Mute | The mute key. |
||
N | The N key. |
||
NextTrack | The next track key. Used to go to the next media track. |
||
NumLock | The num lock key. |
||
O | The O key. |
||
OEM1 | Used for various characters depending on keyboard layout.
|
||
OEM102 | The <> keys on the US standard keyboard, or the \| key on the non-US 102-key keyboard. |
||
OEM2 | Used for various characters depending on keyboard layout.
|
||
OEM3 | Used for various characters depending on keyboard layout.
|
||
OEM4 | Used for various characters depending on keyboard layout.
|
||
OEM5 | Used for various characters depending on keyboard layout.
|
||
OEM6 | Used for various characters depending on keyboard layout.
|
||
OEM7 | Used for various characters depending on keyboard layout.
|
||
OEM8 | Used for various characters, depends on keyboard. |
||
P | The P key. |
||
PageDown | Page Down key. |
||
PageUp | Page Up key. |
||
PauseBreak | The pause/break key. |
||
Period | The period key. |
||
PlayPause | The media play/pause key. Used for playing and pausing music. |
||
Plus | The plus key. |
||
PreviousTrack | The previous track key. Used to go the previous media track. |
||
PrintScreen | The print screen key. |
||
Q | The Q key. |
||
R | The R key. |
||
Return | The return/enter key. |
||
RightAlt | The right alt (alt-gr) key (right Option on mac). |
||
RightArrow | The right arrow key. |
||
RightControl | The right control key. |
||
RightGUI | The right "OS" key. On windows this is the right windows key. On macOS this is the right Command key. |
||
RightShift | The right shift key. |
||
S | The S key. |
||
ScrollLock | The scroll lock key. |
||
Sleep | The computer sleep key. |
||
Space | The space key. |
||
Stop | The media stop key. Used to stop any playing media. |
||
T | The T key. |
||
Tab | The tab key. |
||
U | The U key. |
||
Unknown | An unknown key. This is likely an error. |
||
UpArrow | The up arrow key. |
||
V | The V key. |
||
VolumeDown | The media volume down key. |
||
VolumeUp | The volume up key. |
||
W | The W key. |
||
X | The X key. |
||
Y | The Y key. |
||
Z | The Z key. |