added button register must register buttons if you use the enable method, allows you to search for buttons by their use, can be helpful if you want to create a layout in another class
Controls and Usage:
add Devices.enableButtonRegistration() in construction before calling any other button method
use Devices.controller#.registerButton(Button, String use) to register a button, registering twice will throw an error, and failure to register will throw an error
use Devices.controller#.searchButton(String use) to search for the use registered
Changes:
added button register must register buttons if you use the enable method, allows you to search for buttons by their use, can be helpful if you want to create a layout in another class
Controls and Usage:
add Devices.enableButtonRegistration() in construction before calling any other button method use Devices.controller#.registerButton(Button, String use) to register a button, registering twice will throw an error, and failure to register will throw an error use Devices.controller#.searchButton(String use) to search for the use registered
Reviewers:
@XaverianTeamRobotics/senior-programmers