Added comments for button locations TrevorJasonAndresTanguy/JoystickCommands
authorTrevor <tr89on@gmail.com>
Wed, 1 Feb 2017 03:42:05 +0000 (19:42 -0800)
committerTrevor <tr89on@gmail.com>
Wed, 1 Feb 2017 03:42:05 +0000 (19:42 -0800)
src/org/usfirst/frc/team3501/robot/Constants.java

index 31a8e31aaf862fd41cf3c6a105709e4c573943c5..d73497b130fdcc565f458ce79fd8ce5ef09eaf07 100644 (file)
@@ -10,21 +10,22 @@ public class Constants {
   public static class OI {
     public final static int LEFT_STICK_PORT = 0;
     public final static int RIGHT_STICK_PORT = 1;
-    public final static int RIGHT_BUTTON_1 = 1;
-    public final static int RIGHT_BUTTON_2 = 2;
-    public final static int RIGHT_BUTTON_3 = 3;
-    public final static int RIGHT_BUTTON_4 = 4;
-    public final static int RIGHT_BUTTON_5 = 5;
-    public final static int RIGHT_BUTTON_6 = 6;
-    public final static int LEFT_BUTTON_1 = 1;
-    public final static int LEFT_BUTTON_2 = 2;
-    public final static int LEFT_BUTTON_3 = 3;
-    public final static int LEFT_BUTTON_4 = 4;
-    public final static int LEFT_BUTTON_5 = 5;
-    public final static int LEFT_BUTTON_6 = 6;
+    public final static int RIGHT_BUTTON_1 = 1; // Center button
+    public final static int RIGHT_BUTTON_2 = 2; // Side button
+    public final static int RIGHT_BUTTON_3 = 3; // Lower left button
+    public final static int RIGHT_BUTTON_4 = 4; // Lower right button
+    public final static int RIGHT_BUTTON_5 = 5; // Upper left button
+    public final static int RIGHT_BUTTON_6 = 6; // Upper right button
+    public final static int LEFT_BUTTON_1 = 1; // Center button
+    public final static int LEFT_BUTTON_2 = 2; // Lower middle button
+    public final static int LEFT_BUTTON_3 = 3; // Upper left button
+    public final static int LEFT_BUTTON_4 = 4; // Upper right button
+    public final static int LEFT_BUTTON_5 = 5; // Lower left button
+    public final static int LEFT_BUTTON_6 = 6; // Lower right button
     public final static int LEFT_TRIGGER_BUTTON = 0;
     public final static int RIGHT_TRIGGER_BUTTON = 0;
-    public final static int RIGHT_LOWER_TRIGGER = 0;
+    public final static int RIGHT_LOWER_TRIGGER = 0; // Button below back
+                                                     // trigger
   }
 
   public static class Shooter {