https://forum.snapcraft.io/t/joysick-access-for-sdl2-apps/3027
If I’m reading this correctly, this seems to be a snapd bug that is fixed in 2.30, which Ubuntu 16.04 and 17.10 both don’t have yet. Should work fine on 18.04 though I can’t test that at the moment.