Updated Android (markdown)

Hajime Hoshi 2016-07-08 02:13:25 +09:00
parent 21d3e27fa8
commit 26b291af78

@ -180,6 +180,7 @@ public class EbitenGLSurfaceView extends GLSurfaceView {
int id = e.getPointerId(i); int id = e.getPointerId(i);
int x = (int)e.getX(i); int x = (int)e.getX(i);
int y = (int)e.getY(i); int y = (int)e.getY(i);
// The position is in dp.
Inovation.UpdateTouchesOnAndroid(e.getActionMasked(), id, (int)pxToDp(x), (int)pxToDp(y)); Inovation.UpdateTouchesOnAndroid(e.getActionMasked(), id, (int)pxToDp(x), (int)pxToDp(y));
} }
return true; return true;