From 79578ff65c104611ad169a2953bf13019d4551c9 Mon Sep 17 00:00:00 2001 From: Nam Tran Date: Thu, 1 Mar 2018 13:27:52 -0500 Subject: [PATCH] Made comment about dpad... getPOV() returns an integer angle: 0 = up, 90 = right, 180 = down, 270 = left, etc. --- src/org/usfirst/frc/team708/robot/util/Gamepad.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/usfirst/frc/team708/robot/util/Gamepad.java b/src/org/usfirst/frc/team708/robot/util/Gamepad.java index 8bc3d65..e1b1098 100644 --- a/src/org/usfirst/frc/team708/robot/util/Gamepad.java +++ b/src/org/usfirst/frc/team708/robot/util/Gamepad.java @@ -22,7 +22,7 @@ public class Gamepad extends Joystick{ public static final int shoulderAxisRight = 3; //Right trigger public static final int rightStick_X = 4; public static final int rightStick_Y = 5; - public static final int dpadAxis = 6; + public static final int dpadAxis = 6; // Doesn't work, use getPOV() which returns int angle where 0 = up, 90 = right, etc //boolean buttons: public static final int button_A = 1;