Git Product home page Git Product logo

Comments (6)

heshiyou avatar heshiyou commented on July 17, 2024 1

I know, its quite good with a longer click, tap-pause-for-a-while-up, but when you do a quick tap, will get a weird ta-ta.
I changed the up event’s feedback intensity to weaker the second ‘ta’, it works ok.

from haptickey.

niw avatar niw commented on July 17, 2024

It triggers two haptic feedbacks when tap down and tap up. These are not exactly same as like how taps on trackpad trigger these. The one triggered for tap up has slightly different pattern.
See unknown3: used at https://github.com/niw/HapticKey/blob/master/HapticKey/Classes/HTKHapticFeedback.m#L52.

from haptickey.

niw avatar niw commented on July 17, 2024

Okay, to me, it works even if it’s quick tap down and up. Probably, identifying each tap or key press and triggering timer to adjust intensity or wave form is the best solution but it may take some amount of work. Note this as enhancement and will work on it.

from haptickey.

heshiyou avatar heshiyou commented on July 17, 2024

Great, looking forward..

from haptickey.

niw avatar niw commented on July 17, 2024

Implemented a timer guard to not trigger haptic feedback too much frequently in a commit b2b4ad2.
Released HapticKey 0.3.1.
This should mitigate double feedbacks in a short period.

from haptickey.

heshiyou avatar heshiyou commented on July 17, 2024

Great job!

from haptickey.

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.