ButtonStateΒΆ

enum ButtonState : System.Enum, System.IComparable, System.IFormattable, System.IConvertible

Defines a button state for buttons of mouse, gamepad or joystick.

ButtonState Released

The button is released.

ButtonState Pressed

The button is pressed.