Probably all you need to do is send something like a space or return keypress to convince the camera to take a picture, but even if it needs to send a custom report descriptor that could be done too.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
It should be easy enough to do with http://www.espruino.com/Puck.js+Keyboard
Probably all you need to do is send something like a space or return keypress to convince the camera to take a picture, but even if it needs to send a custom report descriptor that could be done too.