The remote shooting function in eos utility in a way emulates button presses and command dials. I wonder if anyone has looked at the commands transmited through usb and what in-camera code they execute?
It doesn't emulate button presses, it calls the appropriate routines in canon code. I didn't see anything extremely interesting (beside a couple of anonymous functions which I couldn't understand).
Have you got something in particular in mind? (I don't use EOSUtilty too much to be honest)
Both pyshical and remote commands execute the same code. Once you know what routine is called upon receiving a remote command, you can trap and redirect physical key presses.
Actually, remote shooting completly controls the camera. If you can map the code executed and set breakpoints you have total control.
Sorry for writting in pieces. To connect with the original subject, here is an example: from remote shooting i can learn how to read and how to set the av and iso. Then breakpoint the av setting routine on the camera side and when the front wheel turns change the iso instead.
Quote from: Ilias on October 18, 2012, 11:47:09 PM
The remote shooting function in eos utility in a way emulates button presses and command dials. I wonder if anyone has looked at the commands transmited through usb and what in-camera code they execute?
IIRC, It doesn't emulate all command dials - you have to be in the "Bulb" setting to do bulb exposure stuff with the EOS utility, don't you? (It can't just send a "bulb mode" command to simulate changing the dial over)