I run Kivy with the pygame backend on the SPI Raspberry Pi display. Everything works, except that the y axis of the touch input is inverted. How can i change this?
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)))
Source: https://habr.com/ru/post/1668925/More articles:Where can I find a .dSYM file for an application built using Xamarin iOS? - xamarin.iosЧисловые компромиссы между 1/sqrt (x) и std:: exp (-0.5 * std:: log (x)) - c++Error in simple floating point calculations - floating-pointCompare enumeration cases with parameters - enumsConfig Kivy> Invert input for y axis - pythonDifferent type restrictions for the same instance - haskellType C + 11 decomposition in rust - macrosUse C # Func as part of IQueryable without making a memory call - c #WebAPI takes a different value for integer - jsonSending GET request parameters in the body - apiAll Articles