X/GLX: initial keyboard support