Here is a proposed law for you:
1. We support the 2nd Amendment. We do not want to take away the guns from sportsmen and women and hunters (as Senator Klobuchar said, we do not want to take Uncle Dick's rifle from his deer blind.
2. For gun safety and make our streets safe, all long arms must be kept locked up and unloaded. Ammunition needs to be kept in a separate locked location.
3. Handguns can only be used for competitions and hunting. Said guns must be kept locked up at a recognized sporting club to be checked for competition, practice and the range and for a licensed hunt.
4. Of course, there is no role for semi automatic higher capacity long arms in hunting. They are banned and must be turned in. Bolt action rifles will suffice. Semi auto shotguns will be allow but only with unmodifiable two round capacities.
Think these laws exist elsewhere in the world? Yep. Do they allow all the sporting and hunting uses. Yep. Do they make the 2nd Amendment useless for its intended purposes - yes - for the most part. Certainly for self-defense.
Thus varmints, competitions, hunts, etc. are irrelevant. They can be handled and allowed with an almost total abrogation of useful gun rights. How many folks in urban areas want to have a self-defense gun and will never worry about a prairie dog or shoot a duck?