#region License /* FNA - XNA4 Reimplementation for Desktop Platforms * Copyright 2009-2016 Ethan Lee and the MonoGame Team * * Released under the Microsoft Public License. * See LICENSE for details. */ #endregion #region Using Statements using System; #endregion namespace Microsoft.Xna.Framework.Input { /// /// Defines the buttons on gamepad. /// [Flags] public enum Buttons { /// /// Directional pad down. /// DPadUp = 0x00000001, /// /// Directional pad up. /// DPadDown = 0x00000002, /// /// Directional pad left. /// DPadLeft = 0x00000004, /// /// Directional pad right. /// DPadRight = 0x00000008, /// /// START button. /// Start = 0x00000010, /// /// BACK button. /// Back = 0x00000020, /// /// Left stick button (pressing the left stick). /// LeftStick = 0x00000040, /// /// Right stick button (pressing the right stick). /// RightStick = 0x00000080, /// /// Left bumper (shoulder) button. /// LeftShoulder = 0x00000100, /// /// Right bumper (shoulder) button. /// RightShoulder = 0x00000200, /// /// Big button. /// BigButton = 0x00000800, /// /// A button. /// A = 0x00001000, /// /// B button. /// B = 0x00002000, /// /// X button. /// X = 0x00004000, /// /// Y button. /// Y = 0x00008000, /// /// Left stick is towards the left. /// LeftThumbstickLeft = 0x00200000, /// /// Right trigger. /// RightTrigger = 0x00400000, /// /// Left trigger. /// LeftTrigger = 0x00800000, /// /// Right stick is towards up. /// RightThumbstickUp = 0x01000000, /// /// Right stick is towards down. /// RightThumbstickDown = 0x02000000, /// /// Right stick is towards the right. /// RightThumbstickRight = 0x04000000, /// /// Right stick is towards the left. /// RightThumbstickLeft = 0x08000000, /// /// Left stick is towards up. /// LeftThumbstickUp = 0x10000000, /// /// Left stick is towards down. /// LeftThumbstickDown = 0x20000000, /// /// Left stick is towards the right. /// LeftThumbstickRight = 0x40000000 } }