Replace usage of key to keycode parameter of KeyboardEvent
Replace usage of key to keycode parameter of KeyboardEvent