Show me a pic and I could probably identify it, but it's hard to guess from your description. The most likely candidate offhand may be the MG C/30L. This was a very big 20mm cannon originally intended for aircraft use, but adapted as a Flak gun. It had the kind of shoulder supports you mention.
Tony Williams: Military gun and ammunition website and discussion forum