The 2nd Amendment does say ‘arms’ not ‘firearms.’ What I choose to arm myself with should be my choice.
A stun gun would be soooooo far down on my list of preferred weapons that one would never be considered.