This gist has been moved to a repo for better maintainability. Please visit sim2kid/UnityStadiaController for package details and installation.
This package adds definition for the Google Stadia Controller to Unity's Input System allowing for the use of a Stadia Controller natively with Unity.
Thanks a lot. Only one thing:
I had to add
using UnityEngine.InputSystem.Controls;
toStadiaController.cs