implementation of MotorLever class
MotorsWidget
avoid setting an out-of-range value