Detect key events

Example

Press keys.

Code