mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
34 lines
806 B
C#
34 lines
806 B
C#
//
|
|
// InputAction.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.
|
|
//
|
|
|
|
namespace OpenToolkit.GraphicsLibraryFramework
|
|
{
|
|
/// <summary>
|
|
/// Defines event information for <see cref="GLFWCallbacks.KeyCallback"/>
|
|
/// or <see cref="GLFWCallbacks.MouseButtonCallback"/>.
|
|
/// </summary>
|
|
public enum InputAction : byte
|
|
{
|
|
/// <summary>
|
|
/// The key or mouse button was released.
|
|
/// </summary>
|
|
Release = 0,
|
|
|
|
/// <summary>
|
|
/// The key or mouse button was pressed.
|
|
/// </summary>
|
|
Press = 1,
|
|
|
|
/// <summary>
|
|
/// The key was held down until it repeated.
|
|
/// </summary>
|
|
Repeat = 2
|
|
}
|
|
}
|