Show / Hide Table of Contents

Enum KeyModifier

Flags indicating keyboard modifiers.

Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
[Flags]
public enum KeyModifier

Fields

Name Description
Alt

If any of LeftAlt or RightAlt are down.

CapsLock

If CapsLock is toggled on.

Control

If any of LeftControl or RightControl are down.

GUI

If any of LeftGUI or RightGUI are down.

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.

In this article
Back to top Generated by DocFX