remove keycode dependency