The only real way all these so called gun control laws are legal is if the second amendment was written ike this:
"A well regulated Militia, being necessary to the security of a free state, the right of the people to keep and bear certain arms, shall not be infringed, once various changing permissions to be enumerated by Congress have been granted"
And the guys who wrote the Bill of Rights certainly had a good enough command of the language to do so.
What they didn't have the grasp of was the coming of technology at the rate that it did come. Some of them saw it come late in their lifetimes and I can bet they dreaded every writing it the way they did when the first Artillery Piece or the Walker Colt hit the streets. I don't know if any of the founding fathers was still alive in 1859 but that's when the weapons of war got stood on it's head. There were three inventors that ushered in the revolution, Mr Gatlin, Captain Walker and Mr. Colt. There were many others before them but those were just evolutionary dead ends so our founding Fathers really didn't have anything to base their decision on the direction that the weapons were going to go. They had no idea that the weapons were going to get so deadly that war would become a complete slaughter. Not in the thousands or even the tens of thousands but in the millions.
If they were concerned about advances in technology, they would have written that into the amendment. Do you REALLY think that they thought technology would stay put? Remember, the rifled barrel was just coming into use. There were already repeating arms in the works, though not very practical, so your argument fails. Badly.
The Barreled rifle wasn't much of a leap forward. As for the others, let's take a look at a couple.
One had a rotating barrel with multiple barrels. You loaded each barrel like any other musket of the day. You had one central "Rope" to fire each barrel as they came around. You had a lever that pulled the barrels forward, another lever that you rotated the barrels with and a central trigger. It's malfunction rate was high to say the least. You got about 6 rounds a minute. When you got finished and if the battle was still going on, you abandoned it since there was no way you could rearm it in the middle of a battle and live to tell about it. Meanwhile, the other side is using a 54 caliber black powder getting 5 shots per minute and reloading each time and will continue as long as he has the powder and shot. Pickle tried to sell it to the Navy but it was found that the little canon was much more effective, did more damage per shot and could do 3 rounds per minute with a good gunner as long as he had powder and shot.
There were other ones like the ones that you manually rotated the barrel. It worked until one of the cylinders would detonate and blow the whole thing up along with your fingers. later versions of that became the revolver shotguns and revolver rifles. They didn't last too long either.
These were what was available for future technology of the day. Evolutionary dead ends that stayed that way for at least a hundred years. We are now entering into something similar with the 3d printers where anyone with one can make a functional firearm from a plan. Luckily, the materials required haven't caught up with the process. But it's going to happen. When that happens, it will set a new idea of gun manufacture on it's ear. And we have no laws to cover that either. But today, we adjust out laws as we need to. You call it "Gun Regulation". But it there is gun regulation everywhere except for Yemen and you see how well that is working out for them.
You shouldn't be screaming "No Gun Regulations". Instead, you need to accept there is already some gun regulations everywhere. You should be working on how much is required. If you keep screaming your fight song, no one in power will bother to listen to you since it just will never happen.