Partager via


GameDefaults.BrakeWithButtons Property

Gets the gamer's preference for using controller buttons to brake in racing games.

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

Syntax

public bool BrakeWithButtons { get; }

Property Value

true if the gamer prefers to use controller buttons to brake in racing games; false otherwise. If false, use the triggers for braking.

Remarks

Bb975198.note(en-us,XNAGameStudio.41).gifWindows Phone Specific Information

On Windows Phone this property is always false.

See Also

Reference

SignedInGamer.GameDefaults Property
GameDefaults Class
GameDefaults Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP