The system function ConsoleLib.getKey waits for a key to be pressed and returns the integer code of the physical key that was pressed. This function reads a key from the input. Results may be interpreted in a portable way by comparing the result with the value returned by getKeyCode(String keyname).
ConsoleLib.getKey( ) returns (result INT)
Related concepts
Syntax diagram for EGL functions
Related reference
EGL library ConsoleLib
getKey()