Added Snippet324 for printing all mouse events