Giter Site home page Giter Site logo

Comments (8)

renejeanmercier avatar renejeanmercier commented on June 27, 2024 1

from button2.

LennartHennigs avatar LennartHennigs commented on June 27, 2024

Hey @renejeanmercier,

I had a hard time replicating your issue but I did refactor the main loop() and fixed another bug with the LongPress handling.

Please check out 2.2.0 and let me know if your error still persists.

Cheers
l.

from button2.

renejeanmercier avatar renejeanmercier commented on June 27, 2024

from button2.

LennartHennigs avatar LennartHennigs commented on June 27, 2024

Hey @renejeanmercier,
now I think I understood the problem and was able to reproduce it.
Please try out 2.2.1.

I no longer (wrongly) dectect the second or third click of a multi click event as a long click.
And I always reset the long click detection, after any other click type is reported.

And also all the best to you and your family and very happy holidays.
And: happy tinkering!
Cheers
l.

from button2.

renejeanmercier avatar renejeanmercier commented on June 27, 2024

from button2.

LennartHennigs avatar LennartHennigs commented on June 27, 2024

Hey, I gave it another shot.
Fingers crossed, now, @renejeanmercier!

from button2.

LennartHennigs avatar LennartHennigs commented on June 27, 2024

Hey @renejeanmercier,

thank you!
You are very welcome.
It helped a lot that I refactored the loop code last week.
It was now "merely" a matter of reading the code and looking for the proper place to change things.
And in 2.2.1 I had my counts off – thinking helps in many instances ;-).

And thank you again for pointing out the bug and your persistence as well.
I will gladly close this bug for good.
Have happy holidays and feel free to let me know how your project is going.
All the best!

from button2.

renejeanmercier avatar renejeanmercier commented on June 27, 2024

from button2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.