adafruit / adafruit-pi-cam

Camera project for Raspberry Pi + camera + Adafruit PiTFT
http://learn.adafruit.com/diy-wifi-raspberry-pi-touch-cam
BSD 2-Clause "Simplified" License
98 stars 46 forks source link

Touch position only recognised #13

Open ScruffR opened 4 years ago

ScruffR commented 4 years ago

Running most recent Raspbian (2019-09-26) with Python 3.7.3 touch events are not correcly recognised. The reported touch position will only ever be registered at the edges of the display.

I found adding pygame.mouse.set_visible(True) just before while True in main loop can solve the problem.