Mémo

sudo apt install intel-media-va-driver-non-free libva-glx2 && LIBVA_DRIVER_NAME=iHD

Add Switch pro controller

Download mapping tool on https://generalarcade.com/gamepadtool/

Download appimage tool:

wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage --no-check-certificate -O ./appimagetool.AppImage
chmod +x ./appimagetool.AppImage

extract Apps

Shadow.AppImage --appimage-extract
cat ./switch.conf >> ./squashfs-root/resources/app.asar.unpacked/release/native/gamecontrollerdb.txt

Rebuilds the image

./appimagetool.AppImage ./squashfs-root/

Download Virtual bus on windows: https://github.com/ViGEm/Home + reboot