niw / haptickey Goto Github PK
View Code? Open in Web Editor NEWA simple utility application to trigger haptic feedback when tapping Touch Bar.
License: MIT License
A simple utility application to trigger haptic feedback when tapping Touch Bar.
License: MIT License
Hi, so when I tap the touch bar, I feel a vibration on the built-in trackpad, but not on the external Magic Trackpad 2, which also has haptic support. Is it possible for this app to use both, or have an option to choose which one vibrates?
No feedback happens when the "esc" on the touchbar is pressed while the Spotlight search field is open.
Attempted with vibrate + screen flash enabled.
Mac High Sierra 10.13.4
Awesome project and works great so far. Nice work!
It would be really great to be able to customize the intensity of the feedback, possibly between low, medium (default), and high?
Steps to replicate:
My settings:
My system:
HapticKey Version 0.5.0 (16, 23. Mar 2020 at 7.53, 0c50474)
macOS Big Sur 11.0.1 (The issue occured with the latest Catalina as well)
2019 16" MacBook Pro
i notice that when sliding the volume/brightness slider theres is no haptic feedback. I think it would be nice if when we slide a slider we get a feedback.
I hope this is possible!
so far I've been enjoying this app
“HapticKey” can’t be opened because Apple cannot check it for malicious software.
This software needs to be updated. Contact the developer for more information.
I get this pop up when I open the app after I downloaded the latest version.
No sound when enable sound effect in 10.5.1 Macbook Pro 2018
I'm curious if you've tried only doing the feedback on touch-down only, and not on touch-up.
If I touch the key fast enough I only seem to get the touch-down feedback, which makes the response feel inconsistent sometimes. Then I started wondering what it felt like if was possible to only send one haptic event instead of two.
Hi! I recently found this and was very impressed at the app's functionality. I'm trying to get this to work in tandem with my fork of a touchbar widget app (EnergyBar). I was wondering where in the code I can edit to recompile such that only certain areas of the touchbar will trigger haptics?
I deleted HaptiKey and reinstalled it but its still not working for me? Also, are you thinking of making a tutorial video because it may be easier to setup if we see you do it?
Hi,
I have been using HapticKey perfectly on my 2020 M1 Macbook Pro running Big Sur, but I just upgraded to Monterey today and the haptics are no longer working. The app installs fine, and the screen flash seems to work, but the haptics no longer do. This seems to be an issue with Monterey, because it stopped working as soon as I upgraded. I am using the latest pre-built binary on the github releases page. Any help would be appreciated, thanks.
Hi and thank for the HapticKey, it is amazing!
With Macbook Pro (2,4 GHz 8-Core Intel Core i9 - Ventura 13.1) HapticKey does not Start on Login (even if I select the option, it could not be selected)
Could you help please?
First things first, superb app. Feels like this is the way Mac should be shipped by default. However, it makes me question why did apple engineers decide against it? Is it due to the concerns of overuse of haptic engine?
Can HapticKey cause any long term damage to the haptic engine? The utilisation of Haptic Engine is doubled than the intended design. Ik sounds silly and dumb but it might be a concern to many people. Once again thank you for the great application.
Hi, I like the app and have been using it for quite some time now (about 2 or 3 weeks) and I just realised that a Volume control for the Sound Feedback option could be a great addition.
Thank you so much for the great app :)
when I installed HapticKey it only worked with sounds and lights but no haptics. This may be because of the new chip but I'm not sure.
The new version 0.4.6 remains disabled in 10.13.6 on a 2018 MBP. Clicking on "ESC…" and "All Taps" doesn't enable. Tried deleting preferences; no change. Note: also have BetterTouchTool installed; maybe that's interfering? (But it didn't with the previous version.)
Hi,
For some reason, there is no haptic feedback on MacBook Pro (tested on the 15" version).
HapticKey correctly detects key strokes, as visual and sound notifications work as expected, but there is no haptic feedback no matter what the intensity is.
Is there anything I could provide in order to diagnose this issue?
You need to use newer binary not released yet for now, but you can use HapticKey.app-cd221bc.zip for testing.
Sorry for inconvenience. See #42 for the details.
Hey, I installed the version from your reply on M1 on Beta 1 Monterey sound effect works but no haptics any updates?
I'm getting no feedback when pressing up / down on the volume and screen brightness. Just wondered if I am missing anything or there is a reason why it was excluded? (keyboard setting "Expanded control strip"
I have attempted to install Haptic Key v0.5 on macOS 11.1 without success. I am greeted by a dialog box that states the developer must update the app for installation to proceed. Is there a workaround for Big Sur compatibility or must we await a new version?
I've got HapticKey running, configured, and enabled. It successfully vibrates the trackpad when I touch the esc
on the trackpad when using, for example, Safari or the Finder.
However, I don't get any sort of response when I hit esc
while using Terminal.
Is there something I need to configure to enable use with certain applications?
case HTKHapticFeedbackTypeWeak:
return 1;
Here:
(Or add more options)
Thank you!
A stronger haptic feedback is always more satisfying, maybe a new haptic option like "powerful". Btw, the "powerful" setting can use the feedback of force-clicking the trackpad. It'll be great if you add it!
As the title, I hope HapticKey can be installed through Homebrew.
Just found this issue after using it for a couple of hours, the app used almost 400MB memory which ... reminds me the SourceKitService (😛 just kidding, it is doing great now)
So I dig into the code and found that the issue occurs only with trackpad events, when using a mouse the usage is around 10MB which seems to be normal.
This project is so cool by the way 🚀, thanks!
Since flashing screen is a little bit aggressive or confusing because it used for alerting in terms of Accessibility feature on macOS.
Possible solution could be
I downloaded Haptic Keys on my M1 MacBook Pro and the app runs, but no haptics. I don't know what could be wrong.
When updating the application using “Check for updates…” menu (by using Sparkle,) after updating the application binary, system asks permission for Accessibility in Privacy settings again, even if it’s previously approved and the application appears in the list with a checkmark.
For short-term solution, to workaround this behavior, toggle the checkmark and enable HapticKey again from the menu item.
I'm trying to build after cloning the repo -- I've got Xcode 11.3.1. However, when I try to make
, I get:
$ make
scripts/pod install
scripts/pod: line 5: /Users/jhf/stuff/HapticKey/scripts
/Users/jhf/stuff/HapticKey/scripts/exec_with_gems: No such file or directory
scripts/pod: line 5: exec: /Users/jhf/stuff/HapticKey/scripts
/Users/jhf/stuff/HapticKey/scripts/exec_with_gems: cannot execute: No such file or directory
make: *** [Pods/Manifest.lock] Error 126
Is there some other dependency that I'm missing?
Or do you take donations? This is a nice app :)
Similar to how the taptic engine on iOS gives you rapid feedback when scrolling through picker values, or jumping through tableview indexes, it would be nice if there was velocity-relative feedback when changing sliders values in the touchbar, for example volume and brightness. I guess just having a set number of clicks per length of slider and triggering events as you pass through them would work pretty well.
This project is great by the way, I had an idea to do this a while ago, so it was a good surprise today to see that it's possible! I'm really confused as to why Apple didn't include some sort of haptic feedback unit in the touchbar from the initial iteration. It probably would have made heavy vim users a little less upset with the removal of the hardware esc key. :)
Can you add option to hide icon?
Report on Twitter
Hey bro, I found a problem with the HapticKey app on mac, my laptop is MacBook Pro 15 2106 (macOS 10.13.3) when the app runs in the background, my mac's notification center cannot open by my trackpad with the gesture . It looks like a bug. @niw
https://twitter.com/806448839/status/973524403509108737
I have a feeling that the vibration would feel really nice if every physical keyboard press triggers a vibration. Also, if we are able to choose the audio sound we can make our physical keys make interesting noises like old school type writer or high precision clickity clack keyboards.
Hi,
I really like HapticKey.
Unfortunately, on my new MB 2019 16", I noticed it is blocking the Notification Gesture.
Only per google search, I found a relation and after switching HapticKey of, it works again.
Seems to be a bug.
BR
Maybe it's a good idea to lower the up event's feedback intensity? Like, actuateActuationID = 1 for the up event?
I can do the PR.
Currently there are 2 options to trigger haptic feedback;
The first Isn't ideal as it means you get fedback when you tap the bar even if there's no button there
The second Is quite limiting, as app-specific Touch Bar buttons do not trigger the haptics
Is it possible to add an option for Taps on any Touch Bar buttons?
This would trigger haptics whenever the user touches a button on the touch bar, but not when they tap an empty area of the bar.
Every mouse event causes the EventTapCallback
to be called, which over time results in a constant 1-2% CPU usage.
I did a basic time profile and found that the main culprit is calling [NSEvent eventWithCGEvent:eventRef]
, which seems extremely slow for something that I assumed would be "toll-free". There are a few things I'm going to try to reduce CPU usage in the callback, but I was wondering if you had a preferred approach.
While debugging the application on MacBook Pro 2018 (#23), there are reports that haptic feedback is weaker on MacBook Pro 2018.
Need to investigate how it’s weak and what solutions can be taken.
In the comment of #4, @chrisballinger brings up that it would be better to have a sound feedback instead of haptic feedback. This is an issue to memo this request.
Hello, It's possible by your app to Boost force feedback on regular click for TouchPad?
1、加入自动更新功能
2、简体中文的本土化表述不够准确。比如⌘0,翻译成停用或者禁用是不是更好?
3、屏幕提示点击的touchbar按键
When attempting to build an error occurs:
Baryon:HapticKey alan$ make bootstrap
scripts/pod install
/Users/alan/src/HapticKey/scripts/exec_with_gems: line 54: /Users/alan/src/HapticKey/.gems/bin/bundle: No such file or directory
Update gems dependencies...
/Users/alan/src/HapticKey/scripts/exec_with_gems: line 58: /Users/alan/src/HapticKey/.gems/bin/bundle: No such file or directory
Fail to bundle install.
make: *** [Pods/Manifest.lock] Error 1
I'm imagining a submenu for Sound, offering different choices for finger up / down, and toggling one or both off independently. The "Add Sound..." item could just open a Finder window to ~/Library/Application Support/HapticKey/Sounds/
and allow the user to drop custom sound files in that folder.
Is this something you'd consider merging? Interested in your feedback.
Since some of words, probably both in simplified and traditional Chinese translations, have direct translations from English words which are not natural as Chinese expressions.
For example, ”没有” for “None” used in a selection of intensity of haptic feedback.
Current, as of 0.4.2 release, translations are here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.