KeyboardState.IsKeyDown

Returns true if the specified key is down (pressed).

class KeyboardState
bool
IsKeyDown
(
Keys key
)

Meta