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

Additional option for when to trigger haptic feedback #18

Open
ribrob opened this issue Apr 24, 2018 · 4 comments
Open

Additional option for when to trigger haptic feedback #18

ribrob opened this issue Apr 24, 2018 · 4 comments

Comments

@ribrob
Copy link

ribrob commented Apr 24, 2018

Currently there are 2 options to trigger haptic feedback;

  1. All Taps on Touch Bar
  2. Esc and F1, F2, etc. keys

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.

@niw
Copy link
Owner

niw commented Apr 24, 2018

Thank you for the feedback!
I understand that the difference, but it’s because of the current implementation limitation.
I think it’s technically possible, however requires some extra reverse engineering of the Touch Bar private APIs, which I didn’t try yet.

@Palisand
Copy link

What about for just the touch bar's "x"?

@goranmoomin
Copy link

@niw May I ask if there is any updates?̊̈ I really would like this feature...

@niw
Copy link
Owner

niw commented Jun 15, 2019

I explored a way to detect these events from touch bar in different approach such as using IOKit, however not really find a way to do so yet. Since this year at WWDC, they announced new APIs, I will take a look at them as well as testing it on Catalina to figure out the better solution.

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

No branches or pull requests

4 participants