improve gamepad init