asny / three-d

2D/3D renderer - makes it simple to draw stuff across platforms (including web)
MIT License
1.29k stars 109 forks source link

add tap, touch support for mobile or touch screen device #383

Closed adezukZ closed 1 year ago

adezukZ commented 1 year ago

please add tap and touchmethod when interact with the screen

asny commented 1 year ago

Touch input maps to mouse events, eg MousePress. If you need more specific input events use winit events.

adezukZ commented 1 year ago

when i use mouse events it deviated on mobile screen touch

Touch input maps to mouse events, eg MousePress. If you need more specific input events use winit events.

asny commented 1 year ago

You'll have to be more specific than that

adezukZ commented 1 year ago

on mobile i touch at [0,0] it get at [1,1]

adezukZ commented 1 year ago

You'll have to be more specific than that

on mobile if I touch at [0,0] it will touch at [1,1]