Improving the XBOX 360 Gamepad support, factorizing some code about the change of dioc, adding a method to reset the dioc