The Xbox Series controllers can switch between devices with a button press, making them perfect for gamers who regularly switch between an Xbox and a PC or a smartphone using Game Pass. The feature works on Xbox Series S and Series X controllers.
https://www.notebookcheck.net/The-Xbox-Series-controller-s-ability-to-switch-between-devices-is-ideal-for-PC-and-Game-Pass-subscribers.520029.0.html