Support for Samsung's finger hover events, which require their own intent to get received

This commit is contained in:
pelya
2014-02-03 00:33:50 +02:00
parent 5425fbac26
commit fb02e91dc7
2 changed files with 2 additions and 0 deletions

View File

@@ -308,6 +308,7 @@ abstract class DifferentTouchInput
touchEvents[0].y = (int)event.getY();
touchEvents[0].pressure = 0;
touchEvents[0].size = 0;
// MotionEvent.AXIS_DISTANCE
DemoGLSurfaceView.nativeMotionEvent( touchEvents[0].x, touchEvents[0].y, action, 0, touchEvents[0].pressure, touchEvents[0].size );
}
}