Joystick not working in "steamforwindows"


I installed Track Mania Nations Forever for Windows with snap, and all is working perfect, joystick too.

snap install tmnationsforever --edge
snap connect tmnationsforever:joystick

I did the same for steamforwindows but joystick is not working:

snap install steamforwindows --edge
snap connect steamforwindows:joystick

Did I miss something?