Added support for game pad and mobile input