google / android-emulator-webrtc

Apache License 2.0
121 stars 27 forks source link

Scale touch events properly. #8

Closed pokowaka closed 3 years ago

pokowaka commented 3 years ago

Javascript produces touches events with a value of [0,1], whereas the emulator is expecting linux input codes for scale.

We now properly scale the events and some tests to make sure we scale properly.

We release this as a beta as it includes a logging message for touch events that can be used to validate behavior on iPhone/iPad.