ButtonState Enumeration
Identifies the state of a mouse button or Xbox 360 Controller button.
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public enum ButtonState
Members
Member name | Description | |
---|---|---|
Pressed | The button is pressed. | |
Released | The button is released. |
See Also
Reference
Microsoft.Xna.Framework.Input Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista