Skip to content

Commit b5e283a

Browse files
authored
Merge pull request #1808 from pewpew-game/gamepad-doc
Update GamePad docs to include pull-downs
2 parents 6684a3c + e46bf7e commit b5e283a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shared-bindings/gamepad/GamePad.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@
7777
//| Initializes button scanning routines.
7878
//|
7979
//| The ``b1``-``b8`` parameters are ``DigitalInOut`` objects, which
80-
//| immediately get switched to input with a pull-up, and then scanned
80+
//| immediately get switched to input with a pull-up, (unless they already
81+
//| were set to pull-down, in which case they remain so), and then scanned
8182
//| regularly for button presses. The order is the same as the order of
8283
//| bits returned by the ``get_pressed`` function. You can re-initialize
8384
//| it with different keys, then the new object will replace the previous

0 commit comments

Comments
 (0)