Touch gestures: only swiping works

Started by empty__mountain__246

empty__mountain__246

Hi, I'm trying to use the "touch detection" with my Nanoleaf Canvas (squares, if that matters, firmware at version 9.4.0) using the following piece of code:

1def listen_for_touch():
2    messages = SSEClient(f"{BASE_URL}/events?id=4")
3    for msg in messages:
4        print(msg)

and it's detecting only "swipe" events i.e. swipes up/down/left/right (gesture IDs 2, 3, 4 and 5). Events "Tap" and "Double Tap" are not being detected at all. What could be the reason for that? And what could be a possible fix?