The game could pick up on a recoiled hand to trigger the virtual gun.
Try it really quickly. Hold your hand in front of you like you are holding a gun. recoil your hand. feels pretty cool, right?
Now, just imagine that the software is tracking your hand and the gun shoots whenever you intentionally recoil.