What CAN ID is the pneumatics control module on?
It needs to be oset to zero for the constructor you're calling yo work.
http://team2168.org/javadoc/edu/wpi/...enoid-int-int-
If you have it on a different ID, you should use
http://team2168.org/javadoc/edu/wpi/...d-int-int-int-
Do you see the LEDs on the PCM change when you press the joystick buttons?
For more info on the PCM, look here:
http://controls.team2168.org