controlling rc car esc with switched cw ccw

Hi guys, Im new to the arduino code and building game...

My problem is that im trying to make a rc car esc speed controller that will run on potentiometer,
Now i know there is lots of info on this, But my appliction requires me to have cw ccw.
This is where im struggling, i need the cw ccw to be on a switch because im using a single foot pedal, so the potentiometer can only work within a certain range i dont have any code on this only the basic servo.h witch makes it turn one way. Any hlep will be much appreciated.. I know my wiring may not be right but its just for reference.

the esc and motor is is skyrc leopard v2

thanks Scott

That ESC has several different programmed modes which affect how or even if it will go into reverse. Which mode are you using?

Have you got any code that reads the potentiometer and makes the motor run at all? If so post it here.

Steve