summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-04-17 11:06:19 -0400
committerGitHub <noreply@github.com>2019-04-17 11:06:19 -0400
commitb5e283af68d33dc4693a8d8681a2c5b7a626919e (patch)
treeae4438f8d162f2c29bf6b1b0e374909e275ed842 /shared-bindings
parent6684a3c72370772f0ab503d3410005ab7fd9d450 (diff)
parente46bf7e7c6fc8939ec3a49c9656ca78e843142de (diff)
Merge pull request #1808 from pewpew-game/gamepad-doc
Update GamePad docs to include pull-downs
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/gamepad/GamePad.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-bindings/gamepad/GamePad.c b/shared-bindings/gamepad/GamePad.c
index c342cbbf9..15304d6a2 100644
--- a/shared-bindings/gamepad/GamePad.c
+++ b/shared-bindings/gamepad/GamePad.c
@@ -77,7 +77,8 @@
//| Initializes button scanning routines.
//|
//| The ``b1``-``b8`` parameters are ``DigitalInOut`` objects, which
-//| immediately get switched to input with a pull-up, and then scanned
+//| immediately get switched to input with a pull-up, (unless they already
+//| were set to pull-down, in which case they remain so), and then scanned
//| regularly for button presses. The order is the same as the order of
//| bits returned by the ``get_pressed`` function. You can re-initialize
//| it with different keys, then the new object will replace the previous