We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2cee24 commit 882b4cbCopy full SHA for 882b4cb
README.rst
@@ -105,8 +105,8 @@ Usage Example
105
while True:
106
left_x, left_y = ctrl_pad.joystick_l
107
right_x, right_y = ctrl_pad.joystick_r
108
- left_pressure = ctrl_pad.l_shoulder
109
- right_pressure = ctrl_pad.r_shoulder
+ left_pressure = ctrl_pad.l_shoulder.LEFT_FORCE
+ right_pressure = ctrl_pad.r_shoulder.RIGHT_FORCE
110
print("joystick_l = {},{}".format(left_x, left_y))
111
print("joystick_r = {},{}".format(right_X, left_y))
112
print("left shoulder = {}".format(left_pressure))
@@ -116,7 +116,7 @@ Usage Example
116
if ctrl_pad.buttons.B:
117
print("button B")
118
if ctrl_pad.d_pad.UP:
119
- print("button Up")
+ print("d_pad Up")
120
time.sleep(0.5)
121
122
Documentation
0 commit comments