Export (0) Print
Expand All

GamePadButtons Structure

Identifies whether buttons on an Xbox 360 Controller are pressed or released.

Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public struct GamePadButtons

Bb196996.bp(en-us,XNAGameStudio.41).gifBest Practice
  • If your game allows the player to control acceleration using the Xbox 360 Controller, you may check GameDefaults.AccelerateWithButtons to determine whether the player prefers using gamepad buttons or triggers to control acceleration.
  • If your game allows the player to control braking using the Xbox 360 Controller, you may check GameDefaults.BrakeWithButtons to determine if the player prefers using gamepad buttons or triggers to control braking.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2014 Microsoft