Keyboards return KeyEvent structs instead of only key codes.