diff options
Diffstat (limited to 'src/org/usfirst/frc/team4272/robotlib/Xbox360Controller.java')
-rw-r--r-- | src/org/usfirst/frc/team4272/robotlib/Xbox360Controller.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/usfirst/frc/team4272/robotlib/Xbox360Controller.java b/src/org/usfirst/frc/team4272/robotlib/Xbox360Controller.java index d04fa23..0a4df83 100644 --- a/src/org/usfirst/frc/team4272/robotlib/Xbox360Controller.java +++ b/src/org/usfirst/frc/team4272/robotlib/Xbox360Controller.java @@ -56,7 +56,7 @@ public class Xbox360Controller extends Joystick { } /* Core functions *******************************************/ - + /** * Get the value of an axis base on an enumerated type. * @@ -77,7 +77,7 @@ public class Xbox360Controller extends Joystick { return getRawButton(button.id); } - + /* The actual code is done. The rest is boilerplate. See, * this is why Java is terrible. Just 30% of the file * actually doing useful stuff, the rest just filling @@ -153,7 +153,7 @@ public class Xbox360Controller extends Joystick { return getButton(Button.RB); return false; } - + /** * Get the state of a trigger; whether it is more than * half-way pressed or not. @@ -210,7 +210,7 @@ public class Xbox360Controller extends Joystick { return Math.toDegrees(getDirectionRadians(Hand.kRight)); } - + /* Unused wrappers for GenericHID/Joystick ******************/ /** @@ -230,7 +230,7 @@ public class Xbox360Controller extends Joystick { public double getThrottle() { return 0.0; } - + /** * This method is only here to complete the Joystick interface. * |