[EMSCRIPTEN] add custom input driver, removes SDL dependency + adds mouse support