added mouse and touch support to input system