text: On the release of the lever or trigger, the spring-loaded serpentine would move in reverse to clear the pan. For obvious safety reasons, the match would be removed before reloading the gun. Both ends of the match were usually kept alight in case one end should be accidentally extinguished.
  Wheellocks
  The wheellock was the next major development in firearms technology after the matchlock and the first self-igniting firearm. Its name comes from the rotating steel wheel which generates the ignition. Developed in Europe around 1500, it was used alongside the matchlock.
  The wheellock works by spinning a spring-loaded steel wheel against a piece of pyrite to generate intense sparks, which ignite gunpowder in a pan, which flashes through a small touchhole to ignite the main charge in the firearm's barrel. The pyrite is clamped in vise jaws on a spring-loaded arm (or "dog"), which rests on the pan cover. When the trigger is pulled, the pan cover is opened, and the wheel is rotated, with the pyrite pressed into contact.
  A close modern analogy of the wheellock mechanism is the operation of a cigarette lighter, where a toothed steel wheel is spun in contact with a piece of sparking material to ignite the liquid or gaseous fuel.