Register last keyboard frame at each event