8000 Update GamePad docs to include pull-downs · ATMakersBill/circuitpython@e46bf7e · GitHub
[go: up one dir, main page]

Skip to content

Commit e46bf7e

Browse files
committed
Update GamePad docs to include pull-downs
1 parent 608bf50 commit e46bf7e

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
@@ -78,7 +78,8 @@
7878
//| Initializes button scanning routines.
7979
//|
8080
//| The ``b1``-``b8`` parameters are ``DigitalInOut`` objects, which
81-
//| immediately get switched to input with a pull-up, and then scanned
81+
//| immediately get switched to input with a pull-up, (unless they already
82+
//| were set to pull-down, in which case they remain so), and then scanned
8283
//| regularly for button presses. The order is the same as the order of
8384
//| bits returned by the ``get_pressed`` function. You can re-initialize
8485
//| it with different keys, then the new object will replace the previous

0 commit comments

Comments
 (0)
0