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.
2 parents dbfabac + a5ff147 commit 836bb98Copy full SHA for 836bb98
adafruit_hid/gamepad.py
@@ -152,7 +152,7 @@ def _send(self, always=False):
152
"""Send a report with all the existing settings.
153
If ``always`` is ``False`` (the default), send only if there have been changes.
154
"""
155
- struct.pack_into('<HBBBB', self._report, 0,
+ struct.pack_into('<Hbbbb', self._report, 0,
156
self._buttons_state,
157
self._joy_x, self._joy_y,
158
self._joy_z, self._joy_r_z)
0 commit comments