Z axis?
Options--->map controllers--->choose the rudder pedals from the list--->highlight the Z axis--->click the stick scaling box so you can see the rudder pedal inputs on the bars on the right--->click the "calibrate" box--->follow the instructions.
If this still doesn't work, have you calibrated in windows, if possible, first?
Good luck.
wrongway