From e46bf7e7c6fc8939ec3a49c9656ca78e843142de Mon Sep 17 00:00:00 2001 From: Radomir Dopieralski Date: Wed, 17 Apr 2019 11:18:30 +0200 Subject: [PATCH] Update GamePad docs to include pull-downs --- shared-bindings/gamepad/GamePad.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared-bindings/gamepad/GamePad.c b/shared-bindings/gamepad/GamePad.c index 4458c972f7..f7506b6bd5 100644 --- a/shared-bindings/gamepad/GamePad.c +++ b/shared-bindings/gamepad/GamePad.c @@ -78,7 +78,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