Class GamePadMonitor
Monitors changes in GamePad button state
Inheritance
System.Object
GamePadMonitor
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Ladybug.UserInput
Assembly: ladybug.dll
Syntax
public class GamePadMonitor : InputMonitor<GamePadState, Buttons>
Methods
| Improve this Doc View SourceGetInputState(Buttons)
Gets the InputState of the given button
Declaration
public override InputState GetInputState(Buttons b)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Xna.Framework.Input.Buttons | b |
Returns
Type | Description |
---|---|
InputState |
Overrides
Ladybug.UserInput.InputMonitor<Microsoft.Xna.Framework.Input.GamePadState, Microsoft.Xna.Framework.Input.Buttons>.GetInputState(Microsoft.Xna.Framework.Input.Buttons)