added mouse events for keys, touch events are untested