[wpilib] Update Usage Reporting ResourceType from NI Libraries (#5842)

Disable PS4 controller reporting until added by NI
This commit is contained in:
sciencewhiz
2023-10-27 20:21:46 -07:00
committed by GitHub
parent cdf981abba
commit abe1cec90c
3 changed files with 13 additions and 5 deletions

View File

@@ -11,7 +11,8 @@
using namespace frc;
PS4Controller::PS4Controller(int port) : GenericHID(port) {
HAL_Report(HALUsageReporting::kResourceType_PS4Controller, port + 1);
// re-enable when PS4Controller is added to Usage Reporting
// HAL_Report(HALUsageReporting::kResourceType_PS4Controller, port + 1);
}
double PS4Controller::GetLeftX() const {