Gamepad functions have now a file only for them
Minor changes