remove old keycode event fn generator