Need Help: Controller Buttons not responding to code written

I have two controllers that have code written to use the buttons (5U and 5D, etc). The buttons worked to operate the motors they were coded for. The next class period when my students went to use the remotes the buttons didn’t work at all. The two controllers channel (1 & 2, etc) code still works on both, but no button codes are responding. How do I fix this problem? We’ve checked to see that the motors are all still working properly. It’s odd that part of the code works but the button commands don’t work. It’s the exact same problem with both controllers. I’ve looked over the code with the students. I’m not seeing any errors, but then again I might be missing something. I would appreciate any help for this problem.

Post your code, so the community can better help you.