Re: [pointerevents] API to determine difference between trackpad and mouse events (#462)

indeed - suggest filing this aspect (being able to distinguish the source of wheel events) as an issue on UIEvents.

In addition, part of the problem here also seems to be that the two-finger gesture on the trackpad is interpreted by the OS or hardware to be a wheel gesture, so it may be happening even before it gets to any of the JavaScript. I'd maybe try adding `touch-action: none` to your container/page, to see if that circumvents the gesture detection that's turning this into a wheel event. but then, you have to do gesture recognition yourself based on the pointer events you receive.

-- 
GitHub Notification of comment by patrickhlauke
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/462#issuecomment-1331159367 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 29 November 2022 19:05:04 UTC