Added ability to disable/enable mouse/key events via config