fna-workbench

fna-workbench Git Source Tree


Root/src/Input/GamePadCapabilities.cs

#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
 
namespace Microsoft.Xna.Framework.Input
{
    public struct GamePadCapabilities
    {
        #region Public Properties
 
        public bool IsConnected
        {
            get;
            internal set;
        }
 
        public bool HasAButton
        {
            get;
            internal set;
        }
 
        public bool HasBackButton
        {
            get;
            internal set;
        }
 
        public bool HasBButton
        {
            get;
            internal set;
        }
 
        public bool HasDPadDownButton
        {
            get;
            internal set;
        }
 
        public bool HasDPadLeftButton
        {
            get;
            internal set;
        }
 
        public bool HasDPadRightButton
        {
            get;
            internal set;
        }
 
        public bool HasDPadUpButton
        {
            get;
            internal set;
        }
 
        public bool HasLeftShoulderButton
        {
            get;
            internal set;
        }
 
        public bool HasLeftStickButton
        {
            get;
            internal set;
        }
 
        public bool HasRightShoulderButton
        {
            get;
            internal set;
        }
 
        public bool HasRightStickButton
        {
            get;
            internal set;
        }
 
        public bool HasStartButton
        {
            get;
            internal set;
        }
 
        public bool HasXButton
        {
            get;
            internal set;
        }
 
        public bool HasYButton
        {
            get;
            internal set;
        }
 
        public bool HasBigButton
        {
            get;
            internal set;
        }
 
        public bool HasLeftXThumbStick
        {
            get;
            internal set;
        }
 
        public bool HasLeftYThumbStick
        {
            get;
            internal set;
        }
 
        public bool HasRightXThumbStick
        {
            get;
            internal set;
        }
 
        public bool HasRightYThumbStick
        {
            get;
            internal set;
        }
 
        public bool HasLeftTrigger
        {
            get;
            internal set;
        }
 
        public bool HasRightTrigger
        {
            get;
            internal set;
        }
 
        public bool HasLeftVibrationMotor
        {
            get;
            internal set;
        }
 
        public bool HasRightVibrationMotor
        {
            get;
            internal set;
        }
 
        public bool HasVoiceSupport
        {
            get;
            internal set;
        }
 
        public GamePadType GamePadType
        {
            get;
            internal set;
        }
 
        #endregion
    }
}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.09978s using 11 queries.