pimoroni / hyperpixel

Setup for the Pimoroni Hyper Pixel 800x480 pixel multi-touch display
https://shop.pimoroni.com/products/hyperpixel
MIT License
96 stars 29 forks source link

How to use the multi touch in Python? #13

Closed neoxharsh closed 7 years ago

neoxharsh commented 7 years ago

I want to grab multi touches using python, any suggestions?

Gadgetoid commented 7 years ago

You can use: https://github.com/pimoroni/python-multitouch

If you change this line: https://github.com/pimoroni/python-multitouch/blob/master/library/ft5406.py#L115

To "Touchscreen"

Don't expect much from the second touch point, due to the size of the green it's not terribly accurate. I've been working on a replacement touch driver to make that, and other things, better which you might see better results from: https://gist.github.com/Gadgetoid/64e57db4a22e4cd585ad35c6be2c7682

It's still a W.I.P. though!