Auto iterate through configuration inputs

Allows user to map all inputs seamlessly without having to
click on each button.

Also increased button timeout to 5 seconds from 1.5 due to pita.

Motion controls are not included since they will be special cases.
break on the next line.