Q:

How do if invert touch input in Kivy

I'm running Kivy with the pygame backend on a Raspberry Pi SPI display. Everything works, except the y-axis of the touch input is inverted. How can I change this?

A:

I managed to solve the problem as follows:
sudo nano /usr/local/lib/python2.7/dist-packages/kivy/input/providers/hidinput.py
line 417
invert_y = int(bool(drs('invert_y', 1)))

for
invert_y = int(bool(drs('invert_y', 0)))

