I added my user to the "input" group and it's working fine with my kernel patch.
I will check to add support in the Kernel hid-nintendo driver.
As so, I guess Steam is using the Kernel hid-nintendo, which I tough was not the case because of the following issue: https://github.com/ValveSoftware/steam-for-linux/issues/6651
Thanks.
Your system information
Please describe your issue in as much detail as possible:
The PowerA Model:1507453-01 have IMU support, but SteamInput doesn't seems to detect it.
At first, I tough it was a problem with the Linux hid-nintendo driver, as so, I applied the following patch, which allow to expose the controller's IMU: /etc/nixos/kernel-patches/0001-Add-Lic-Pro-Controller-to-hid-nintendo.patch
The following dmesg log show that the device seems to be properly binded and initialized. It also show that the IMU is reported. With jstest-gtk, the input "Lic Pro Controller (IMU)" is available and the values are changing when rotating the controller.
As so, it seems possible to get the IMU info of the controller on Linux, but steam doesn't seems to use it. My understanding is that SteamInput is using his own drivers, instead of the Kernel's hid-nintendo, which bypass the modification I made and doesn't allow me to fix the "Lic Pro Controller" gyro support on steam.
Steps for reproducing this issue:
Steam -> Settings -> Controller -> Nintendo Switch Pro Controller -> Calibration & Advance Settings -> Open.I think there should be some gyro section, which is not the case. Only
JoysticksandOutput Settingsare available.