reads data from a single key of the keyboard
function getKey import Modelica; extends Modelica.Icons.Function; input Integer keyCode "Key code"; output Integer keyState "Key state"; end getKey;