mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilib] Update Usage Reporting ResourceType from NI Libraries (#5842)
Disable PS4 controller reporting until added by NI
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
|
||||
import edu.wpi.first.hal.FRCNetComm.tResourceType;
|
||||
import edu.wpi.first.hal.HAL;
|
||||
import edu.wpi.first.wpilibj.event.BooleanEvent;
|
||||
import edu.wpi.first.wpilibj.event.EventLoop;
|
||||
|
||||
@@ -24,7 +22,9 @@ public class PS4Controller extends GenericHID {
|
||||
*/
|
||||
public PS4Controller(int port) {
|
||||
super(port);
|
||||
HAL.report(tResourceType.kResourceType_PS4Controller, port + 1);
|
||||
|
||||
// re-enable when PS4Controller is added to Usage Reporting
|
||||
// HAL.report(tResourceType.kResourceType_PS4Controller, port + 1); /
|
||||
}
|
||||
|
||||
/** Represents a digital button on a PS4Controller. */
|
||||
|
||||
Reference in New Issue
Block a user