It was either a tank, car, or aircraft, but basically you drove it like a normal vehicle with your hands, but the “pedals” were actually what activated the guns. In order to shoot you hit the right pedal with your feet and it would fire once with every step on the pedal. I forgot if it was semi-automatic or fully auto. The left pedal I believe was a manual eject if you had a jam.
September 1983. The nuclear-powered missile cruiser USS Virginia, and the destroyer USS John Rodgers, the frigate USS Bowen, and the destroyer USS Arthur W. Radford fired 338 rounds from their five-inch (127 mm) naval guns in support of the Lebanese Army units defending Souk El Gharb. Eventually, the Lebanese Army’s Eighth Brigade bore the brunt of the attacks, but succeeded in retaining control of the town after three days of heavy fighting. However, it remains an open question whether they would have held it without the American naval support
The widely used Bofors 40mm anti-aircraft gun is fired using a foot pedal. The vehicle mounted version was what Ned Beaty was shooting in the movie 1941.