Fix keycode.