bubble up auto repeat key event state to scripts