From d3d7f5ef650d7e80b7c47a1a475764e61e7a8062 Mon Sep 17 00:00:00 2001 From: Luis Leyva Date: Tue, 8 Sep 2026 09:33:13 -0600 Subject: [PATCH 1/2] Remove Default Bindings Methods --- src/main/java/com/overture/lib/robots/OverContainer.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/com/overture/lib/robots/OverContainer.java b/src/main/java/com/overture/lib/robots/OverContainer.java index 1c50f59..6b6fead 100644 --- a/src/main/java/com/overture/lib/robots/OverContainer.java +++ b/src/main/java/com/overture/lib/robots/OverContainer.java @@ -12,9 +12,6 @@ public interface OverContainer { /** Configures the operator's button bindings. */ void configOperatorBindings(); - /** Configures the default commands of every subsystem. */ - void configDefaultCommands(); - /** Configures the bindings used for characterization routines. */ void configCharacterizationBindings(); From a2be5c7a64a087052b66d034c30cc7693f8db038 Mon Sep 17 00:00:00 2001 From: Luis Leyva Date: Tue, 8 Sep 2026 09:38:34 -0600 Subject: [PATCH 2/2] Removed Unused Controller Methods --- .../lib/gamepads/OverXboxController.java | 63 ------------------- 1 file changed, 63 deletions(-) diff --git a/src/main/java/com/overture/lib/gamepads/OverXboxController.java b/src/main/java/com/overture/lib/gamepads/OverXboxController.java index 8df9080..67b6e3b 100644 --- a/src/main/java/com/overture/lib/gamepads/OverXboxController.java +++ b/src/main/java/com/overture/lib/gamepads/OverXboxController.java @@ -143,69 +143,6 @@ public Command getRumbleCommand(double intensity) { return Commands.runOnce(() -> setRumble(GenericHID.RumbleType.kBothRumble, intensity)); } - /** - * Returns a trigger for the left stick being pushed past a threshold on the y axis. - * - * @param triggerThreshold the threshold to exceed - * @return the trigger - */ - public Trigger leftYTrigger(double triggerThreshold) { - return new Trigger(() -> Math.abs(getLeftY()) >= triggerThreshold); - } - - /** - * Returns a trigger for the left stick being pushed past a threshold on the x axis. - * - * @param triggerThreshold the threshold to exceed - * @return the trigger - */ - public Trigger leftXTrigger(double triggerThreshold) { - return new Trigger(() -> Math.abs(getLeftX()) >= triggerThreshold); - } - - /** - * Returns a trigger for the right stick being pushed past a threshold on the y axis. - * - * @param triggerThreshold the threshold to exceed - * @return the trigger - */ - public Trigger rightYTrigger(double triggerThreshold) { - return new Trigger(() -> Math.abs(getRightY()) >= triggerThreshold); - } - - /** - * Returns a trigger for the right stick being pushed past a threshold on the x axis. - * - * @param triggerThreshold the threshold to exceed - * @return the trigger - */ - public Trigger rightXTrigger(double triggerThreshold) { - return new Trigger(() -> Math.abs(getRightX()) >= triggerThreshold); - } - - /** - * Returns a trigger for the right stick being pushed past a threshold on either axis. - * - * @param triggerThreshold the threshold to exceed - * @return the trigger - */ - public Trigger rightStick(double triggerThreshold) { - return new Trigger( - () -> - Math.abs(getRightX()) >= triggerThreshold || Math.abs(getRightY()) >= triggerThreshold); - } - - /** - * Returns a trigger for the left stick being pushed past a threshold on either axis. - * - * @param triggerThreshold the threshold to exceed - * @return the trigger - */ - public Trigger leftStick(double triggerThreshold) { - return new Trigger( - () -> Math.abs(getLeftX()) >= triggerThreshold || Math.abs(getLeftY()) >= triggerThreshold); - } - /** Publishes the connection state of the controller. */ public void updateTelemetry() { isConnectedAlert.set(!isConnected());