use input for quantity to control keyboard pattern