First work on generating touch events