But, surely, James Madison and the others weren't envisioning people with modern weapons mowing down children in a movie theater or a shopping mall or now a kindergarten.
When the Second Amendment was passed in the First Congress as part of the Bill of Rights, firearms were single-shot mechanisms that took time to load and reload.