HapticKey icon indicating copy to clipboard operation
HapticKey copied to clipboard

Possible to limit area where haptics activate?

Open knives-repo opened this issue 4 years ago • 1 comments

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?

knives-repo avatar Mar 21 '21 00:03 knives-repo

I didn’t try though, you can probably modify HTKTapGestureEventListener and filter unwanted NSTouch to not callback event listener. See https://github.com/niw/HapticKey/blob/master/HapticKey/Classes/HTKTapGestureEventListener.m#L50-L67.

niw avatar Mar 22 '21 02:03 niw