Does this speed controller alter resistance or capacitance?
Here (from this source) is a fan speed switch that uses a capacitor and the wiring diagram: 



Often the capacitors are all in one package, and there may be bleeder resistors across the capacitors. 

This type of motor is called a permanent-split capacitor motor - permanent because the capacitor remains connected after starting.