Lift with buttons

On robotc we are using 4 motors but want to control it with buttons. With our code now only one button works so we can only go up but we would want it to go in both directions. We have a switch statement but I don’t know how to fix the errors with it.

Please post the relevant code (using the

 tags) as we will need this information in order to help debug what the problem could be.

Thank you in advance!

int LiftCtl == 1;

LiftCtl = (vexRT[Btn8D] << 1) + vexRT[Btn8R];

switch( LiftCtl )
{
case 1: // first button pressed
motor[port3] = (127);
motor[port4] = (127);
motor[port5] = (127);
motor[port6] = (127);
break;
case 2: // second button pressed
motor[port3] = (-127);
motor[port4] = (-127);
motor[port5] = (-127);
motor[port6] = (-127);
break;
default: // either neither or both buttons pressed
motor[port3] = (0);
motor[port4] = (0);
motor[port5] = (0);
motor[port6] = (0);
break;
}