tweak to support createEvent routing (no keyCode)