The second amendment is not just a restriction on the federal government, however.
The first amendment says, for example, that ‘Congress shall make no law...’, but that language is not evident in the second amendment.
In the second amendment, it simply says ‘shall not be infringed.’
This does not merely handcuff the federal government from infringement of this basic human right, it restricts all governments from infringing on this basic human right.
I never bother to read all the comments before posting my own. Perhaps I should.