mapping for touch/mouse events