xnagui /Gui/Input/Buttons.cs

Language C# Lines 131
MD5 Hash 40023b3ca42f5b181fa5c90d694a323c Estimated Cost $680 (why?)
Repository https://git01.codeplex.com/xnagui View Raw File
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
namespace Microsoft.Xna.Framework.Input
{
    /// <summary>
    /// An enumeration of all of the buttons that are available on a game pad. This is more broad than
    /// the Microsoft.Xna.Input.Buttons enumeration; this adds in buttons for trigger presses and thumbstick
    /// presses in each of the four directions.
    /// </summary>
    public enum Buttons
    {
        /// <summary>
        /// Represents the A button.
        /// </summary>
        A,

        /// <summary>
        /// Represents the B button.
        /// </summary>
        B,

        /// <summary>
        /// Represents the X button.
        /// </summary>
        X,

        /// <summary>
        /// Represents the Y button.
        /// </summary>
        Y,

        /// <summary>
        /// Represents the Start button.
        /// </summary>
        Start,

        /// <summary>
        /// Represents the Back button.
        /// </summary>
        Back,

        /// <summary>
        /// Represents the left shoulder button on the top of the controller.
        /// </summary>
        LeftShoulder,

        /// <summary>
        /// Represents the right shoulder button on the top of the controller.
        /// </summary>
        RightShoulder,

        /// <summary>
        /// Reperesents the up button on the D-pad (directional pad).
        /// </summary>
        DPadUp,

        /// <summary>
        /// Represents the down button on the D-pad (directional pad).
        /// </summary>
        DPadDown,

        /// <summary>
        /// Represents the left button on the D-pad (directional pad).
        /// </summary>
        DPadLeft,

        /// <summary>
        /// Represents the right button on the D-pad (directional pad).
        /// </summary>
        DPadRight,

        /// <summary>
        /// Represents the left trigger being pressed in.
        /// </summary>
        LeftTrigger,

        /// <summary>
        /// Represents the right trigger being pressed in.
        /// </summary>
        RightTrigger,

        /// <summary>
        /// Represents the left thumbstick being moved to the left.
        /// </summary>
        LeftThumbstickLeft,

        /// <summary>
        /// Represents the left thumbstick being moved to the right.
        /// </summary>
        LeftThumbstickRight,

        /// <summary>
        /// Represents the left thumbstick being moved up.
        /// </summary>
        LeftThumbstickUp,

        /// <summary>
        /// Represents the left thumbstick being moved down.
        /// </summary>
        LeftThumbstickDown,

        /// <summary>
        /// Represents the left thumbstick as a button.
        /// </summary>
        LeftThumbstick,

        /// <summary>
        /// Represents the right thumbstick being moved left.
        /// </summary>
        RightThumbstickLeft,

        /// <summary>
        /// Represents the right thumbstick being moved right.
        /// </summary>
        RightThumbstickRight,

        /// <summary>
        /// Represents the right thumbstick being moved up.
        /// </summary>
        RightThumbstickUp,

        /// <summary>
        /// Represents the right thumbstick being moved down.
        /// </summary>
        RightThumbstickDown,

        /// <summary>
        /// Represents the right thumbstick as a button.
        /// </summary>
        RightThumbstick
    }
}
Back to Top