Seperate events into both mouse and touch events, i.e. a click events becomes click and either mouseclick or touchclick.