Make sure windows can see em first. Then calibrate in windows.
The start aces high, open clipboard, Options -> Controls -> Map Controllers.
Now select your pedal in the top drop-down box, and map the Z rotation by clicking "modify" now select the Yaw (rudder) and ok.
When you move your rudder pedals the number next to the Z rotation item should move up and down.
Now calibrate.
Enjoy.