Default [Q] Hack for making camera hardware button work with other apps?

Is there a way to make the hardware shutter button work with 3rd party camera apps?