Typed in enableInputs function

Typed in enableInputs function. We detect keys and mouse events. We also
introduced the possibility to get info from accelerometers. I'll check
in the future if this has been done right.

Contact info: joaquin@isla.io