Detect gamepads automatically.