Cleaning LAM.pitch processing to unify key and mouse interface (ongoing)