name to keycode