I'm writing an assignment description. Users have to push one of two buttons on a robot. They are referred to as "left" and "right". Once the user pushes one of the buttons, the robot will take an action. Here is the current way it's written:
If the left button was pressed, the robot will rotate counter-clockwise. If the right button was pressed, the robot will rotate clockwise.
My issue(s) is that the button pressing is in the past tense, the rotation is in the future tense, and everything is based on conditions that may or may not happen. Is what I wrote grammatically correct? If not, what is?