Enum KeyModifier
Flags indicating keyboard modifiers.
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
[Flags]
public enum KeyModifier
Fields
Name | Description |
---|---|
Alt | |
CapsLock | If CapsLock is toggled on. |
Control | If any of LeftControl or RightControl are down. |
GUI | |
LeftAlt | If LeftAlt is down. |
LeftControl | If LeftControl is down. |
LeftGUI | If LeftGUI is down. |
LeftShift | If LeftShift is down. |
None | If no modifiers or locks are active. |
NumLock | If NumLock is toggled on. |
RightAlt | If RightAlt is down. |
RightControl | If RightControl is down. |
RightGUI | If RightGUI is down. |
RightShift | If RightShift is down. |
ScrollLock | Is ScrollLock is toggled on. |
Shift | If any of LeftShift or RightShift are down. |