Pointer events - Web APIs | MDN
Much of today's web content assumes the user's pointing device will be a mouse. However, since many devices support other types of pointing input devices, such as pen/stylus and touch surfaces, extensions to the existing pointing device event models are needed. Pointer events address that need.
https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events