Just in case anyone might find this useful, I've put together the instructions I found whilst trying to do this.
Finally I can take photos without accidentally bringing up the Menu or closing the Camera App!
First time I've ever posted here, so be kind!
This works in CM11 M6 on Samsung Galaxy...