This topic has not yet been rated - Rate this topic

GamePadTriggers Structure

Structure that defines the position of the left and right triggers on an Xbox 360 Controller.

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

public struct GamePadTriggers
Bb197019.bp(en-us,XNAGameStudio.40).gifBest Practice
  • If your game allows the player to control acceleration using the Xbox 360 Controller, you may check GameDefaults.AccelerateWithButtons to determine if 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 7
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.