Show More
Commit Description:
Add timers for Simulation and various engines...
Commit Description:
Add timers for Simulation and various engines Starting to add additional timers for different stages of the process of updating in order to get more insight into what is slowing it down. The update takes 9ms, which is much longer than it used to. Engine-specific timers are coming later.
File last commit:
Show/Diff file:
Action:
FNA/src/Input/GamePadCapabilities.cs
174 lines | 2.0 KiB | text/x-csharp | CSharpLexer
#region License
/* FNA - XNA4 Reimplementation for Desktop Platforms
* Copyright 2009-2020 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
}
}