touch/mouse management