circuitpython/shared-module
Radomir Dopieralski 280374fa63 Respect pin's pull in gamepad
While it is traditional to have buttons on pins that are pulled up, and
have the button connect them to the ground, some CircuitPython boards
(notably the CPX) have the button pins pulled low and the button
connects them to VCC.

This patch makes the gamepad only change the pin's pull if it wasn't
already set when passed to the constructor, and also makes it consider
a button pressed when its value is the opposite of its pull.
2018-03-31 21:13:02 +02:00
..
_stage _stage: use 16 bit for coordinates to support larger screens 2018-03-11 12:07:23 +01:00
bitbangio replace tabs with spaces 2018-02-05 10:44:29 -05:00
busio Do not allow a *io object to be used after deinit(). 2017-10-03 12:07:17 -07:00
gamepad Respect pin's pull in gamepad 2018-03-31 21:13:02 +02:00
multiterminal Merge tag 'v1.9.3' 2017-11-02 12:41:50 -07:00
os shared-module: Fix os.listdir to correctly return list rather than 2017-06-28 12:51:32 -07:00
random Introduce a random module that is a subset of CPython's random. It 2017-06-27 17:37:24 -07:00
storage Add storage.getmount to retrieve the mount object associated with a path 2018-03-27 21:28:18 -05:00
struct Conditionally compile out nonstandard array/struct typecodes 2018-03-26 18:13:49 -05:00
uheap uheap: Switch to using gc_nbytes to measure allcoation size so we stop undercounting. 2016-11-23 17:32:50 -08:00
ustack Measure and report maximum stack usage. (#175) 2017-07-23 15:32:05 -04:00