This repository was archived by the owner on Sep 14, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Robot2018/src/org/usfirst/frc/team199/Robot2018 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 * interface to the commands and command groups that allow control of the robot.
2727 */
2828public class OI {
29+ /*
30+ * WHENEVER YOU ADD OR CHANGE WHAT A BUTTON OR JOYSTICK DOES, indicate in
31+ * /docs/controllers.txt to keep that reference up to date.
32+ */
2933
3034 public Joystick leftJoy ;
3135 private JoystickButton shiftLowGearButton ;
Original file line number Diff line number Diff line change 1+ controller indices
2+ manipulator
3+ buttons
4+ 1 A
5+ 2 B
6+ 3 X
7+ 4 Y
8+ 5 LB
9+ 6 RB
10+ 7 back
11+ 8 start
12+ 9 N/a
13+ 10 N/a
14+ press mode to toggle mode light
15+ axes
16+ 0 left thumbstick X axis (D-pad if mode light on)
17+ 1 left thumbstick Y axis (D-pad if mode light on)
18+ 2 left trigger
19+ 3 right trigger
20+ 4 right thumbstick X axis
21+ 5 right thumbstick Y axis
22+ mode light off:
23+ POV
24+ D-pad (left joystick if mode light on)
25+ rumble
26+ fake news
27+ left joystick
28+ buttons
29+ 1
30+ 2
31+ 3
32+ 4
33+ 5
34+ 6
35+ 7
36+ 8
37+ 9
38+ 10
39+ 11
40+ axes
41+ 0 X axis
42+ 1 Y axis (forward is negative)
43+ 2 Z axis (knob at base)
44+ right joystick
45+ buttons
46+ 1
47+ 2
48+ 3
49+ 4
50+ 5
51+ 6
52+ 7
53+ 8
54+ 9
55+ 10
56+ 11
57+ axes
58+ 0 X axis
59+ 1 Y axis (forward is negative)
60+ 2 Z axis (knob at base)
You can’t perform that action at this time.
0 commit comments