Haptics for custom elements

Hi. I’m not a super developer, I successfully developed a bunch of custom elements (JS - LIT) and I’m able to manage many aspects.
What I can’t do is the haptics management.
The official documentation only links to some custom cards (radial menu etc) but they’re too much difficult to decrypt for my knowledge level.
Bad luck on FB and community too.
Is there someone (or link) who could help me understand how it works ?
Thank you