The Keyboard widget listens to the keyboard, and outputs either the key-code for any key pressed, or listens for a specific key and acts like a switch when the key is pressed.
For example, if the space bar is pressed, a 32 will be output. If the lowercase “a” is pressed, 65 will be output. But if the “Trigger” box is checked and the number is set to 32, then normally the widget will output 0, and only when the space bar is pressed, will it output 1023.
This widget works very well with the Makey Makey board, which outputs key presses in response to touching almost anything physical, like a banana.