mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 00:38:05 -06:00
moving raw input to XboxControllerRaw [WIP]
This commit is contained in:
@@ -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();
|
||||
// }
|
||||
Reference in New Issue
Block a user