26 lines
585 B
C#
26 lines
585 B
C#
namespace MoonWorks.Input
|
|
{
|
|
/// <summary>
|
|
/// Represents the current status of a binary input.
|
|
/// </summary>
|
|
public enum ButtonStatus
|
|
{
|
|
/// <summary>
|
|
/// Indicates that the button was not pressed last frame and is still not pressed.
|
|
/// </summary>
|
|
Idle,
|
|
/// <summary>
|
|
/// Indicates that the button was released this frame.
|
|
/// </summary>
|
|
Released,
|
|
/// <summary>
|
|
/// Indicates that the button was pressed this frame.
|
|
/// </summary>
|
|
Pressed,
|
|
/// <summary>
|
|
/// Indicates that the button has been held for multiple frames.
|
|
/// </summary>
|
|
Held
|
|
}
|
|
}
|