Support touch/mouse events on hybrid devices