Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit 1879b6b

Browse files
committed
update controllers.txt with all of the buttons in OI
1 parent 814628a commit 1879b6b

1 file changed

Lines changed: 37 additions & 37 deletions

File tree

docs/controllers.txt

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
11
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
2+
left joystick [0]
283
buttons
294
1
30-
2
5+
2 toggle drive type (arcade/tank) [ShiftDriveType]
316
3
327
4
338
5
349
6
35-
7
36-
8
10+
7 move with PID by inches from SmartDashboard "Move Targ" [PIDMove]
11+
8 turn with PID by degrees from SmartDashboard "Turn Targ" [PIDTurn]
3712
9
38-
10
13+
10 reset left and right drivetrain encoders to 0 [ResetEncoders]
3914
11
4015
axes
4116
0 X axis
4217
1 Y axis (forward is negative)
4318
2 Z axis (knob at base)
44-
right joystick
19+
right joystick [1]
4520
buttons
4621
1
47-
2
48-
3
22+
2 shift drivetrain to low gear [ShiftLowGear]
23+
3 shift drivetrain to high gear [ShiftHighGear]
4924
4
5025
5
5126
6
5227
7
53-
8
54-
9
55-
10
56-
11
28+
8 update the PIDController constants with SmartDashboard values [UpdatePIDConstants]
29+
9 set the left and right encoder distance per pulse with SmartDashboard values [SetDistancePerPulse]
30+
10 run lift motor up [RunLift]
31+
11 run lift motor down [RunLift]
5732
axes
5833
0 X axis
5934
1 Y axis (forward is negative)
6035
2 Z axis (knob at base)
36+
manipulator [3]
37+
buttons
38+
1 A close intake [CloseIntake]
39+
2 B open intake [OpenIntake]
40+
3 X raise intake [RaiseIntake]
41+
4 Y lower intake [LowerIntake]
42+
5 LB take in [IntakeCube]
43+
6 RB take out [OuttakeCube]
44+
7 back
45+
8 start
46+
9 N/a
47+
10 N/a
48+
press mode to toggle mode light
49+
axes
50+
0 left thumbstick X axis (D-pad if mode light on)
51+
1 left thumbstick Y axis (D-pad if mode light on)
52+
2 left trigger
53+
3 right trigger
54+
4 right thumbstick X axis
55+
5 right thumbstick Y axis
56+
mode light off:
57+
POV
58+
D-pad (left joystick if mode light on)
59+
rumble
60+
fake news

0 commit comments

Comments
 (0)