Bagikan melalui


ButtonState Enumeration

Identifies the state of a 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 7, Windows Vista, Windows XP, Windows Phone