Rename keycode function