Multiple key debouncing and repeat library routines