What weapons were used in the Battle of Gettysburg?

The main infantry weapon on both sides was the muzzle loading percussion cap rifle. Artillery was also rifled. The Union cavalry used breech loading Sharps carbines.