KeyEvent.wrap(
KeyboardEvent parent
)

Construct a KeyEvent with parent as the event we're emulating.