mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01: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.
54 lines
1.1 KiB
C#
54 lines
1.1 KiB
C#
namespace OpenToolkit.GraphicsLibraryFramework
|
|
{
|
|
/// <summary>
|
|
/// Status of a joystick hat.
|
|
/// </summary>
|
|
public enum JoystickHats : byte
|
|
{
|
|
/// <summary>
|
|
/// Hat is centered.
|
|
/// </summary>
|
|
Centered = 0,
|
|
|
|
/// <summary>
|
|
/// Hat is pointing up.
|
|
/// </summary>
|
|
Up = 1,
|
|
|
|
/// <summary>
|
|
/// Hat is pointing right.
|
|
/// </summary>
|
|
Right = 2,
|
|
|
|
/// <summary>
|
|
/// Hat is pointing down.
|
|
/// </summary>
|
|
Down = 4,
|
|
|
|
/// <summary>
|
|
/// Hat is pointing left.
|
|
/// </summary>
|
|
Left = 8,
|
|
|
|
/// <summary>
|
|
/// Hat is pointing up and to the right.
|
|
/// </summary>
|
|
RightUp = Right | Up,
|
|
|
|
/// <summary>
|
|
/// Hat is pointing down and to the right.
|
|
/// </summary>
|
|
RightDown = Right | Down,
|
|
|
|
/// <summary>
|
|
/// Hat is pointing up and to the left.
|
|
/// </summary>
|
|
LeftUp = Left | Up,
|
|
|
|
/// <summary>
|
|
/// Hat is pointing down and to the left.
|
|
/// </summary>
|
|
LeftDown = Left | Down,
|
|
}
|
|
}
|