function getKey import Modelica; extends Modelica.Icons.Function; input Integer keyCode "Key code"; output Integer keyState "Key state"; end getKey;