Enabling Double Tap in Settings > Input activates haptic feedback when you double-tap the pencil.
A long press on available buttons offers a haptic pencil response for supported haptic devices, prompting a secondary menu or option.
See the Long Press Directory section in this guide for more information.