JoyCon Gyro Controls on Linux

I had an idea to make a game on Linux that uses JoyCon motion controls. I can connect the JoyCons and use them as regular controllers, however, I cannot get SDL to report any sensors on them. Any help in this regard would be appreciated.

Which version of sdl and how you are using the sensors API?

I’m using SDL 2.28.2 and querying for sensors using SDL_NumSensors() and it reports 0 when joycons are connected.