@@ -5,46 +5,108 @@ Button
55
66.. class :: Button
77
8- Buttons on a hub or remote.
9-
10- .. autoattribute :: pybricks.parameters.Button.LEFT_DOWN
11- :annotation:
8+ .. rubric :: Remote and hub buttons
129
1310 .. autoattribute :: pybricks.parameters.Button.LEFT_MINUS
1411 :annotation:
1512
16- .. autoattribute :: pybricks.parameters.Button.DOWN
17- :annotation:
13+ Powered Up Remote only.
1814
19- .. autoattribute :: pybricks.parameters.Button.RIGHT_DOWN
15+ .. autoattribute :: pybricks.parameters.Button.LEFT_PLUS
2016 :annotation:
2117
18+ Powered Up Remote only.
19+
2220 .. autoattribute :: pybricks.parameters.Button.RIGHT_MINUS
2321 :annotation:
2422
25- .. autoattribute :: pybricks.parameters.Button.LEFT
23+ Powered Up Remote only.
24+
25+ .. autoattribute :: pybricks.parameters.Button.RIGHT_PLUS
2626 :annotation:
2727
28+ Powered Up Remote only.
29+
2830 .. autoattribute :: pybricks.parameters.Button.CENTER
2931 :annotation:
3032
33+ Powered Up Remote (green button) or hub power button.
34+
35+ .. autoattribute :: pybricks.parameters.Button.LEFT
36+ :annotation:
37+
38+ Powered Up Remote (left red button) and Prime/Inventor Hub (left button).
39+
3140 .. autoattribute :: pybricks.parameters.Button.RIGHT
3241 :annotation:
3342
34- .. autoattribute :: pybricks.parameters.Button.LEFT_UP
43+ Powered Up Remote (right red button) and Prime/Inventor Hub (right button).
44+
45+ .. autoattribute :: pybricks.parameters.Button.BLUETOOTH
3546 :annotation:
3647
37- .. autoattribute :: pybricks.parameters.Button.LEFT_PLUS
48+ Prime/Inventor Hub button with Bluetooth icon.
49+
50+ .. rubric :: Xbox controller buttons
51+
52+ .. autoattribute :: pybricks.parameters.Button.A
3853 :annotation:
3954
40- .. autoattribute :: pybricks.parameters.Button.UP
55+ .. autoattribute :: pybricks.parameters.Button.B
4156 :annotation:
4257
43- .. autoattribute :: pybricks.parameters.Button.BEACON
58+ .. autoattribute :: pybricks.parameters.Button.X
4459 :annotation:
4560
46- .. autoattribute :: pybricks.parameters.Button.RIGHT_UP
61+ .. autoattribute :: pybricks.parameters.Button.Y
4762 :annotation:
4863
49- .. autoattribute :: pybricks.parameters.Button.RIGHT_PLUS
64+ .. autoattribute :: pybricks.parameters.Button.LB
65+ :annotation:
66+
67+ The left bumper.
68+
69+ .. autoattribute :: pybricks.parameters.Button.RB
70+ :annotation:
71+
72+ The right bumper.
73+
74+ .. autoattribute :: pybricks.parameters.Button.LJ
75+ :annotation:
76+
77+ Pressing the left joystick.
78+
79+ .. autoattribute :: pybricks.parameters.Button.RJ
80+ :annotation:
81+
82+ Pressing the right joystick.
83+
84+ .. autoattribute :: pybricks.parameters.Button.GUIDE
85+ :annotation:
86+
87+ The Xbox button in the center of the controller.
88+
89+ .. autoattribute :: pybricks.parameters.Button.MENU
90+ :annotation:
91+
92+ .. autoattribute :: pybricks.parameters.Button.UPLOAD
93+ :annotation:
94+
95+ Only available on newer Xbox controllers.
96+
97+ .. autoattribute :: pybricks.parameters.Button.VIEW
98+ :annotation:
99+
100+ .. rubric :: Xbox Elite Series 2 controller paddles
101+
102+ .. autoattribute :: pybricks.parameters.Button.P1
103+ :annotation:
104+
105+ .. autoattribute :: pybricks.parameters.Button.P2
106+ :annotation:
107+
108+ .. autoattribute :: pybricks.parameters.Button.P3
109+ :annotation:
110+
111+ .. autoattribute :: pybricks.parameters.Button.P4
50112 :annotation:
0 commit comments