Fix up keycode mapping.