Generated by DocFX

Class GamePadMonitor

Monitors changes in GamePad button state

Inheritance
System.Object
InputMonitor<Microsoft.Xna.Framework.Input.GamePadState, Microsoft.Xna.Framework.Input.Buttons>
GamePadMonitor
Inherited Members
InputMonitor<GamePadState, Buttons>.previousState
InputMonitor<GamePadState, Buttons>.currentState
InputMonitor<GamePadState, Buttons>.UpdateActive
InputMonitor<GamePadState, Buttons>.BeginUpdate(GamePadState)
InputMonitor<GamePadState, Buttons>.EndUpdate()
InputMonitor<GamePadState, Buttons>.GetInputState(Buttons)
InputMonitor<GamePadState, Buttons>.CheckButton(Buttons, InputState)
InputMonitor<GamePadState, Buttons>.CheckAnyButton(Buttons[], InputState)
InputMonitor<GamePadState, Buttons>.CheckAllButtons(Buttons[], InputState)
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 Source

GetInputState(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)