mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 23:02:34 +02:00
* Use GLFW instead of OpenTK windows * Seems to work pretty well now. * Fix stackalloc issue on Framework. * Add GLFW project to sln. * Fix package downgrade. * Fix SLN more. * Please work. * Fix C# version error.
34 lines
799 B
C#
34 lines
799 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
|
|
{
|
|
/// <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
|
|
}
|
|
}
|