mirror of https://github.com/kivy/kivy.git
RPi: Add instructions for official touch display
This commit is contained in:
parent
1af34a0683
commit
1d8dcf7a42
|
@ -93,6 +93,21 @@ HDMI, use::
|
|||
Check the :doc:`guide/environment` documentation to see all the possible
|
||||
value.
|
||||
|
||||
Using Official RPi touch display
|
||||
--------------------------------
|
||||
|
||||
If you are using the official Raspberry Pi touch display, you need to
|
||||
configure Kivy to use it as an input source. To do this, edit the file
|
||||
``~/.kivy/config.ini`` and go to the ``[input]`` section. Add this:
|
||||
|
||||
::
|
||||
|
||||
mouse = mouse
|
||||
mtdev_%(name)s = probesysfs,provider=mtdev
|
||||
hid_%(name)s = probesysfs,provider=hidinput
|
||||
|
||||
For more information about configuring Kivy, see :ref:`configure kivy`
|
||||
|
||||
Where to go ?
|
||||
-------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue