Class KeyboardMonitor
Monitors changes in Keyboard key state
Inheritance
System.Object
KeyboardMonitor
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 KeyboardMonitor : InputMonitor<KeyboardState, Keys>
Methods
| Improve this Doc View SourceGetInputState(Keys)
Gets the InputState of the given key
Declaration
public override InputState GetInputState(Keys k)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Xna.Framework.Input.Keys | k |
Returns
Type | Description |
---|---|
InputState |
Overrides
Ladybug.UserInput.InputMonitor<Microsoft.Xna.Framework.Input.KeyboardState, Microsoft.Xna.Framework.Input.Keys>.GetInputState(Microsoft.Xna.Framework.Input.Keys)