construct.net/en/make-games/manuals/construct-3/plugin-reference/keyboard
Key codes
It's possible to detect key presses by numerical key codes with the Keyboard object. A key code is simply a number assigned to every possible key on the keyboard. This can be useful for implementing custom controls, since key codes can be stored in variables.
To set a key variable, set the variable to the pressed key code, which you can get with the LastKeyCode expression.
On any key pressed
Triggered when any keyboard key is pressed. Useful for title screens or cutscenes. The corresponding key code is set in the LastKeyCode expression.
Then just use the On key code pressed condition to run the actions you want for that key binding, pointing to the variable you saved the key code in.