is this a right layout for controlling the motor ? and i want to use input 1 and 2 to trigger the on/off and forward/reverse. can it be done? thanks in advance for help.