Provides a common interface to touch and mouse events