set-key-code in key-event%

Sets the virtual key code for the event, either a character or one of the special symbols listed with get-key-code.