Here is a pretty good graphic of the inner workings of the swing wing.
In normal operations, it it controlled by an air data computer based on airspeed (Mach number), to provide the optimum L/D ratio. The pilot could switch to manual mode and position the wing as desired. In normal operations, the wing could sweep between 20 and 68 degrees, but when parked, could move to an "oversweep" of 75 degrees (where it would overlap the stabilators) to reduce the footprint for carrier parking. In an emergency, the aircraft could land with the wings swept back at 68 degrees, or with asymmetrical sweep.