Skip to content

Commit

Permalink
Add docs for kivy mtdev input (kivy#7301)
Browse files Browse the repository at this point in the history
Co-authored-by: Yomi Ikuru <abayomi.ikuru@gmail.com>
  • Loading branch information
2 people authored and hamlet4401 committed Jul 3, 2021
1 parent d718c67 commit 4776896
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kivy/input/providers/mtdev.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
* min_touch_minor : width shape minimum
* max_touch_minor : height shape maximum
* rotation : 0,90,180 or 270 to rotate
An inverted display configuration will look like this::
[input]
# example for inverting touch events
display = mtdev,/dev/input/event0,invert_x=1,invert_y=1
'''

__all__ = ('MTDMotionEventProvider', 'MTDMotionEvent')
Expand Down

0 comments on commit 4776896

Please sign in to comment.