Matchlock handgun:

The earliest surviving image of a Matchlock, 1411

The earlier weapons all rely on putting a lighted match into the touch-hole by hand. The matchlock gun represented a real advance. It held the lighted match on a pivoted trigger lever (known as a serpentine). This allowed the gunner to look at his target where aiming. This style of gun was the highest technology of the medieval era, not widespread until after 1450, and continuing until perhaps 1550, when it grew in length and became the familiar musket of the English civil wars in the 1700’s