Added ability to bind gamepad keys and capture input from gamepad and send events, bug: Can't bind keys because of nullreferenceexception