Stap 3: Uitvoeren van Demo / een ander voorbeeld
stap 5: uitvoeren van Demo
cd kivy/examples/demo/showcase python main.py
Als touch scherm werkt gek (zoals muis omhoog-kant naar beneden) vervolgens proberen:
cd ~ cd kivy nano ~/.kivy/config.ini
of, in kivy/input/providers/mouse.py toe te voegen:
if button in ('left', 'scrollup', 'scrolldown') and cur and not ( - 'ctrl' in modifiers) or self.disable_multitouch:
+ if (button in ('left', 'scrollup', 'scrolldown') or
+ self.disable_multitouch) and cur and not ('ctrl' in modifiers):
stap 6: een ander voorbeeld met LED-verlichting
pi ~ $ git clone https://github.com/mrichardson23/rpi-kivy-screen....
cd rpi-kivy-screen/ sudo python main.py