Function XKeyboard.processKeyDown

void processKeyDown (
  uint keycode,
  void delegate(KeyEvent) handler
);