make mouse and touch registration public