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);
}