Table of Contents

Enum ButtonState

Namespace
Microsoft.Xna.Framework.Input
Assembly
MonoGame.Framework.dll

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

public enum ButtonState

Fields

Pressed = 1

The button is pressed.

Released = 0

The button is released.