-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJoystickConstants.java
More file actions
40 lines (28 loc) · 959 Bytes
/
JoystickConstants.java
File metadata and controls
40 lines (28 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package frc.robot.controllers;
public class JoystickConstants {
/* AXIS CONSTANTS */
public static final double deadBand = 0.25;
/* TRIGGER CONSTANTS */
public static final double triggerThreshold = 0.1;
/* ID CONSTANTS */
public static final int A_ID = 1;
public static final int B_ID = 2;
public static final int X_ID = 3;
public static final int Y_ID = 4;
public static final int LB_ID = 5;
public static final int RB_ID = 6;
public static final int BACK_ID = 7;
public static final int START_ID = 8;
public static final int L3_ID = 9;
public static final int R3_ID = 10;
public static final int LEFTX_ID = 0;
public static final int LEFTY_ID = 1;
public static final int RIGHTX_ID = 4;
public static final int RIGHTY_ID = 5;
public static final int DPAD_ID = 0;
public static final int LT_ID = 2;
public static final int RT_ID = 3;
private JoystickConstants(){
//This prevents java from doing funky stuff
}
}