The Supreme Court defined what such rights were just before the Civil War.
Dred Scott vs Sanford.
What the SCOTUS thought about gun control in the pre Civil War era.
It would give to persons of the negro race, who were recognised as citizens in any one State of the Union, the right to enter every other State whenever they pleased, singly or in companies, without pass or passport, and without obstruction, to sojourn there as long as they pleased, to go where they pleased at every hour of the day or night without molestation, unless they committed some violation of law for which a white man would be punished;
and it would give them the full liberty of speech in public and in private upon all subjects upon which its own citizens might speak; to hold public meetings upon political affairs,
and to KEEP AND CARRY ARMS wherever they went.
Hah. “Settled law”, right?