[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygame & Official Raspberry Pi 7" touchscreen



That "driver" handles events directly. See function _touch_device here:
https://github.com/pimoroni/python-multitouch/blob/master/library/ft5406.py

Thank you!

On Sat, Feb 2, 2019 at 4:32 PM <mar77i@xxxxxxxxxxxxx> wrote:
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, February 2, 2019 6:50 PM, Go Peppy <peppy.player@xxxxxxxxx> wrote:

> Hi,
>
> Was anybody able to use that 7" touchscreen with Pyagme in console mode (without desktop). For example using Raspbian Stretch Lite. Some people report that touch/mouse events (coordinates) are not tracked properly.
> https://forum-raspberrypi.de/forum/thread/38115-peppy-webradio/?postID=364374#post364374
> This Python driver handles mouse/touch  events properly:
> https://github.com/pimoroni/python-multitouch
> but Pygame not. Just wondering what could be the reason.

Urm, the tutorial.py which your linked python-multitouch ships, is actually using pygame, so that it would appear pygame and python-multitouch work very well together. Seems like the opposite of a problem to me, really.

cheers!
mar77i


Sent with ProtonMail Secure Email.