Does anyone know if it’s possible to read the user button on the RoboRio from WPILib on C++? I’ve looked around a bit and can’t find anything, although apparently it is possible to read it in Labview (and, RobotPy!).
We don’t have an actual reason for doing this, our programming team is just fascinated with buttons.
Found it! The Utility.h file doesn’t have any documention, on account of that it doesn’t define any data structures. So I had to look in the .h file to see what the function was (GetUserButton(), for the curious).
Thanks! Now I just have to come up with a convincing reason to use it in our program. (Our programming team really likes buttons.)