They did it at Beretta, the Model 93 R.
http://www.youtube.com/watch?v=vS8unoUfhlIhttp://en.wikipedia.org/wiki/Beretta_93RThe Beretta Model 93R is a selective-fire machine pistol produced by the Italian weapons manufacturer Beretta. It is a derivative of the Model 92. The "R" stands for Raffica which translates to "burst" in Italian. The pistol was designed in the 1970s and meant for police and military use.
A selector switch and the foldable foregrip allows the pistol to fire in an automatic mode for a cyclic rate of 1100 rounds per minute. The designers have added a semi automatic mode to allow the user to have more control. The 93R is a Beretta 92 series pistol but the 93R is single action and outfitted with a muzzle brake, an optional detachable shoulder stock and a 20-round magazine that also allowed for a firmer grip. The foldable foregrip works by letting the right hand carry out its normal function of operating the trigger and grasping the butt. For the left hand, a small grip is folded down in front of the longer trigger guard. The operator inserts his left thumb in the front of the trigger guard and the rest of the fingers of the left hand grab the front grip.[1] This kind of grip is much steadier than the usual two-handed grip around the butt as both hands are spaced to provide a longer holding base.
The 93R is currently out of production.
This on the Glock 18 ;
http://en.wikipedia.org/wiki/Glock_pistolThe Glock 18 is a selective fire variant of the Glock 17, developed at the request of the Austrian counter-terrorist unit EKO Cobra. This machine pistol-class firearm has a lever-type fire-control selector switch, installed on the left side of the slide, in the rear, serrated portion (selector lever in the bottom position—continuous fire, top setting—single fire). The firearm is typically used with an extended 33-round capacity magazine, although other magazines from the Glock will also function, with available capacities of 10, 17, or 19 rounds. Early Glock 18s were ported to reduce muzzle rise during automatic fire. Another compensated variant was also produced, known as the Glock 18C. It has a keyhole opening cut into the forward portion of the slide, not unlike the opening on the Glock long-slide models, although the G18 has a standard-length slide. The keyhole opening provides a venting area to allow the four, progressively-larger (from back to front) compensator cuts machined into the barrel to accomplish their job, which is to afford more control over the rapid-firing machine pistol. The compensator cuts, of varying widths start about halfway back on the top. The rear two cuts are narrow, while the front two cuts are wider. The slide is also hollowed, or dished-out in a rectangular pattern between the rear of the ejection port and the rear sight. The pistol’s rate of fire in fully automatic mode is approximately 1100–1200 rounds/min. Most of the other characteristics are equivalent to the Glock 17, although the slide, frame, and certain fire-control parts of the Glock 18 are not interchangeable with other Glock model