Concepts
Keyboard Input
Handling user input from a USB keyboard
You nx.js application can handle input from a connected USB keyboard
by handling the global keydown, keyup, and keypress events.
These events work the same way as in the web browser.