Closed zalo closed 5 months ago
@kotsoft PointerEvents are the general abstraction between MouseEvents and TouchEvents, so they'll let mobile devices automagically work.
PointerEvents
MouseEvents
TouchEvents
Since there are no pointermove events before touchdown, the previous frame positions need to be set upon pointerdown to prevent big jumps in velocity.
pointermove
pointerdown
@kotsoft
PointerEvents
are the general abstraction betweenMouseEvents
andTouchEvents
, so they'll let mobile devices automagically work.Since there are no
pointermove
events before touchdown, the previous frame positions need to be set uponpointerdown
to prevent big jumps in velocity.