keypress
Noun
Meaning
The depression of an input key; a keystroke.
(computing) The buffered electrical signal resulting from such an event, sometimes distinguished from the release.
Source: en.wiktionary.orgExamples
For the first rotor (1), which to the operator is the right-hand rotor, the ratchet (red) is always engaged, and steps with each keypress.
I'll use to try things out and I'll search elisp methods in manuals and with the built-in help: + a keypress to see the function that is called by this keyboard action.
But, to use it, you’ll need to “call” it by adding the new block you created tothe start of the keypress events.
Many of the initial games were programmed to give feedback of the keypress when the key was released instead of when the key was pressed.
Typically one character is printed on each keypress.
Basically, you should do that onkeydown, because, as I said before, keydown fires when any key is depressed, and keypress only fires when character keys are being depressed.