moving raw input to XboxControllerRaw [WIP]

This commit is contained in:
Aarav Shah
2022-01-15 13:12:31 -07:00
parent 045a77d08a
commit 2788291c6e
5 changed files with 48 additions and 7 deletions
@@ -85,7 +85,7 @@ public class XboxController implements IHandController
* @param input from an axis on the controller
* @return true if input falls in deadzone, false if input falls outside deadzone
*/
private boolean inDeadZone(double input){
public static boolean inDeadZone(double input){
return (Math.abs(input) < DEADZONE);
}
@@ -0,0 +1,20 @@
// package frc4388.utility.controller;
// public class XboxControllerRaw implements IHandController {
// int buttons;
// public void updateInput() {
// }
// public double getLeftXAxis() {}
// public double getLeftYAxis();
// public double getRightXAxis();
// public double getRightYAxis();
// public double getLeftTriggerAxis();
// public double getRightTriggerAxis();
// public int getDpadAngle();
// }