ButtonState Enumeration (Microsoft.Xna.Framework.Input)

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

Namespace: Microsoft.Xna.Framework.Input
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public enum ButtonState

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The ButtonState type exposes the following members.

  Platforms Name Description
Pressed The button is pressed. 
Released The button is released. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web