FGenericPlatformApplicationMisc::SetGamepadsAllowed

Set whether gamepads are allowed at the platform level.