KeyEventManager accept a init node for attach