We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63850cf commit dbd578aCopy full SHA for dbd578a
1 file changed
joystick.py
@@ -59,7 +59,7 @@ def getAction(self):
59
# make sure NO button is down for reset
60
someJoyButtonDown = False
61
for i in range(0, self.myJoystick.get_numbuttons()):
62
- if self.myJoystick.get_button(i) is True:
+ if self.myJoystick.get_button(i) == True:
63
someJoyButtonDown = True
64
self.joyButtonDown = someJoyButtonDown
65
0 commit comments