Enum KeyState NamespaceMicrosoft.Xna.Framework.Input AssemblyMonoGame.Framework.dll Identifies the state of a keyboard key. public enum KeyState Fields Down = 1 Key is pressed. Up = 0 Key is released.