Hi Andrew,
i dont think that it is possible to determine the source with the input widget. Maybe the Camera Plugin is an alternative. At least it provides two distinct actions. One for choosing from gallery and one for taking a camera picture.
Stefan