refine the relationship between virtual keys and piano keys