Added InputEvent implemented by mouse and touch