2 ms·
There is an API available for haptic feedback through the touchpad, but I can only recall it being used when the pad is "pressed" (i.e. when you are dragging) -
by g_p 3y ago
There is an API available for haptic feedback through the touchpad, but I can only recall it being used when the pad is "pressed" (i.e. when you are dragging) - many graphics or design tools use it to create a "notch" when items align.
PowerPoint has this for example - dragging something around to move it will give a haptic click when aligned with center or another object.
It would be interesting to see if this API can be used when the user isn't dragging something to move it.
Edit - this seems to be the API - https://developer.apple.com/documentation/appkit/nshapticfeedbackperformer/1441738-perform https://developer.apple.com/documentation/appkit/nshapticfee...