//
// KeyModifiers.cs
//
// Copyright (C) 2019 OpenTK
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
using System;
namespace OpenToolkit.GraphicsLibraryFramework
{
///
/// Key modifiers, such as Shift or CTRL.
///
[Flags]
public enum KeyModifiers : byte
{
///
/// if one or more Shift keys were held down.
///
Shift = 0x0001,
///
/// If one or more Control keys were held down.
///
Control = 0x0002,
///
/// If one or more Alt keys were held down.
///
Alt = 0x0004,
///
/// If one or more Super keys were held down.
///
Super = 0x0008,
///
/// If caps lock is enabled.
///
CapsLock = 0x0010,
///
/// If num lock is enabled.
///
NumLock = 0x0020,
}
}