I can't map the analog joysticks on my Nintendo Switch Joy-Con controllers except the clicks to anything, but all of the other inputs on my Nintendo Switch Joy-Con controllers work.
Are you using XInput or not? And if XInput is used, do the same buttons work in other XInput tools for you?
XInput won't work with Nintendo Switch controllers, XInput only works with PC controllers based on the Xbox 360/Xbox One spec (which is all modern PC controllers, including the Steam controller).
All non PC controllers will be DirectInput.
One option would be to use an XInput wrapper like x360ce to map any controller to the XInput spec, this would allow any controller to work, even if not XInput compatible so long as x360ce can detect it.
I can reproduce something similar with my switch pro controller - I can't map the control sticks with DirectInput but it works in other programs such as Dolphin just fine. I haven't had any success with using x360ce yet though.
Closing as this mostly a limitation of DirectInput. Once we eventually switch to a more modern controller API, this will be a non-issue. (XInput only works for Xbox-style controllers, but we could migrate to SDL or similar to support others too)
Most helpful comment
Closing as this mostly a limitation of DirectInput. Once we eventually switch to a more modern controller API, this will be a non-issue. (XInput only works for Xbox-style controllers, but we could migrate to SDL or similar to support others too)