![]() |
User Button
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. |
Re: User Button
In Java, the method to read it is in the Utility class. I think it's supposed to be the same in C++.
|
Re: User Button
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.) |
Re: User Button
Quote:
|
| All times are GMT -5. The time now is 09:50 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi