Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs/issues #4

Open
IAmOrion opened this issue May 20, 2023 · 2 comments
Open

Bugs/issues #4

IAmOrion opened this issue May 20, 2023 · 2 comments
Assignees

Comments

@IAmOrion
Copy link

So I've been testing this on an RP2040 and also ESP32....

The Double Tap (click) never triggers, no matter how fast or slow I try tapping the screen, it only ever registers a SINGLE tap

Touch points is always 1 - I'm not entirely sure what this is supposed to do, but it's just always 1

Event - from the library comments I'm assuming this is meant to allow you to differentiate between touching and releasing but it just doesn't really work. when touching, it's 2, when I remove my finger after a swipe for example, 95% of the time it remains 2. Rarely it will show 1 which Is what I would expected when removing my finger / exiting the screen

This is a great start at a library, but it really isn't hugely useful in it's current state because of the inconsistencies etc

How does one deduce when an action has been completed RELIABLY? Again, Double Tap/Click is never recognised either

@KyleJewiss
Copy link

The library example works for me on my ESP32. I assume you have tested with this, but if not you can see a double tap will usually register a single click before than registering the double click.

To make it usable, I just check for the gesture interrupt, if its a single click I wait for a short period before than checking for the second. Idk if this is helpful for you, just thought I'd share my experience.

@georgemclaughlin
Copy link
Contributor

The latest version 1.2.0 has a function to enable double click, it is not enabled by default.

Check out this example https://github.com/fbiego/CST816S/blob/main/examples/double_click/double_click.ino

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants