[wpilib] PS4Controller: enable usage reporting (#6081)

This commit is contained in:
Tyler Veness
2023-12-22 10:33:03 -08:00
committed by GitHub
parent 0ff7478968
commit df5e439b0c
2 changed files with 4 additions and 4 deletions

View File

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