Web Mouse Event Adapter
Adapter that converts DOM MouseEvent to ZMouseEvent.
This class handles the conversion of browser mouse events to the engine's internal mouse event format, including position calculation relative to the canvas and tracking of movement, velocity, and acceleration.