control with one or two buttons