You never set the speed of the motors once you get the value of the button (true/false)
Not sure how its done in the subsystem programming methods, but in iterative, its:
Code:
if(joystick.getTrigger())
leftMotor.set(1);
rightMotor.set(1);
else
leftMotor.set(0);
rightMotor.set(0);