Make sure the device has been calibrated and has axes assigned. There is a default configuration for the Pro Flight Rudder Pedals provided with X-Plane, but if your device registers with a different name or ID, this config file will not work for it and you will need to set up all assignments manually.
For additional help, attach a copy of the log.txt and possibly screenshots of the joystick settings screen.