Add GUI keyboard handling