Add optional key-name argument to keydown, keyup, keypress events.