MonoGame Key Pressed String
In MonoGame, how can I read which keyboard key is pressed in the form of a String? I have tried String pressedKey = Keyboard.GetState().ToString(); , but it gives me "Microsoft.Xna.Framework.Input.KeyboardState". In games, you typically think of keys as buttons that have state rather than strings because you are usually checking if a button is up or down to move a character around, shoot, jump, etc. As others have said, you said you should use IsKeyDown and IsKeyUp if you already know what keys you want to test. However, sometimes you just want to know what keys are being pressed. For that,