From 9788701bee3ab683081cd9134731921daa24f654 Mon Sep 17 00:00:00 2001 From: ThatXliner Date: Mon, 30 Sep 2024 12:20:56 -0700 Subject: [PATCH] :fire: Just make the buttonMap visible --- src/main/java/frc/robot/utils/ControllerMapper.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/frc/robot/utils/ControllerMapper.java b/src/main/java/frc/robot/utils/ControllerMapper.java index 9eef886..c128525 100644 --- a/src/main/java/frc/robot/utils/ControllerMapper.java +++ b/src/main/java/frc/robot/utils/ControllerMapper.java @@ -19,7 +19,7 @@ public class ControllerMapper { private CommandXboxController operator; private boolean enabled; - private Map> buttonMap = new HashMap<>(); + public Map> buttonMap = new HashMap<>(); public ControllerMapper( boolean enabled, CommandXboxController driver, CommandXboxController operator) { @@ -86,8 +86,4 @@ public void outputControllerMap() { Gson gson = new Gson(); Logger.recordOutput("controllerMap", gson.toJson(buttonMap)); } - - public void setLeftJoystickDescription(String controller, String description) {} - - public void setRightJoystickDescription(String controller, String description) {} }