Git Product home page Git Product logo

Comments (5)

niw avatar niw commented on September 18, 2024 2

It is using both touch down and up and triggers different type of haptic feedbacks, as long as these two events are not happening in a very short period, which is 50ms now.
This is intentional implementation to address #3.

I think it’s reasonable behavior, however this is fixed value so we may want to adjust or make it configurable.

from haptickey.

munsuri avatar munsuri commented on September 18, 2024

For quick taps, personally, I find one key stroke (down) more natural with a better feeling. I have added three more cases to the app such as Down/Up key event (default), Down Key event or Up key event to keep experimenting.

from haptickey.

muescha avatar muescha commented on September 18, 2024

@munsuri can you create also a pull request for your changes?

from haptickey.

JMY1000 avatar JMY1000 commented on September 18, 2024

It'd be nice to have this be configurable, as I'd prefer a much longer time. Asking the user to rebuild seems like kinda a hassle. I'd love to contribute, but Objective-C is unfortunately outside my wheelhouse for now.

from haptickey.

DennisSchiefer avatar DennisSchiefer commented on September 18, 2024

I played around with the kMinimumActuationInterval a bit and found that 200ms gives a pretty good experience for me personally.
Anything longer, I experience as a proper key press that should have down and up feedback.
Anything shorter, I experience as a tap, for which a single feedback is sufficient.

Also, major thumbs up to @niw for making this easy to compile (without any Ruby or XCode experience)!

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.