keyboard-input.md 502 B

Keyboard input

You can find this sample in the tutorial project: Menu -> Keyboard input

Explanation

This C# Beginner tutorial covers how to handle keyboard input. We can check for the existisce of a keyboard and then we can use various methods to check if a key is pressed, held down or released.

Keyboard input

Code

[!code-csharpEntity]