Servo issues

How do I control a servo via joystick button? I need values. Last thing to get my robot to work.