mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +01:00
Updated Android (markdown)
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user