pimoroni / hyperpixel2r-python

MIT License
23 stars 9 forks source link

Question about the touch driver #5

Closed Sebwap closed 3 years ago

Sebwap commented 3 years ago

Hello,

Does the touch driver manage only "touch" action or also slide ? Does it need a desktop environment or rasbian OS lite is ok ?

Many thanks !

Gadgetoid commented 3 years ago

The touch driver only gets touch events, it doesn't attempt to interpret them at all for gestures. The python library is entirely self-contained, so no desktop environment is required.

Sebwap commented 3 years ago

Ok so i assume to have to try to interpret successives coordinates to detect sliding ...

Quite challenging ! Thanks for your reply !