Skip to content

Commit 9b86103

Browse files
committed
add docstring for inverted pressure
1 parent 3926459 commit 9b86103

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_touchscreen.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ class Touchscreen:
9090
readings for the X and Y coordinate planes, respectively.
9191
Defaults to :const:`((0, 65535), (0, 65535))`
9292
:param int,int size: The dimensions of the screen as (x, y).
93+
:param bool invert_pressure: Whether to invert the pressure values. Some touchscreens and
94+
drivers may need this to be changed to `False` in order to properly register touches.
9395
9496
"""
9597

0 commit comments

Comments
 (0)