If the input event is a touch event, convert touch event to a compatible mouse event
Sets properties such as clientX on a TouchEvent based on touches. The use of the PointerEvent API is recommended instead.
If the input event is a touch event, convert touch event to a compatible mouse event