Here's an example of a working IR program built on the default code.
http://team358.org/files/programming...or_example.zip
Everything is contained within user_routines.c, Default_Routine().
It expects the four IR digital inputs to be connected to digital inputs 15,16,17,18. If any are not connected properly it will not do anything (for safety reasons).
The user byte display on the OI will show 1, 2, 4, or 8 for the different IR commands received.
If you see anything else, then the digital pins are not connected properly.
P.S.
This code is set to work with a common ground (both the Robot Controller and the IR sensor powered from the same battery). If you are using a separate battery the code will need additional checks in two places for "15"