constructor(event: KeyboardEvent)
View sourceCopies key, code, location, and target from the browser event. It
also assigns event.code to the runtime scancode property, even though
scancode is not declared as a class field.
