I guess my question is why you'd want to have the USB remote code take just one shot when the camera has been set to Canon continuous mode? If that's what you want to do, why is the camera set to continuous mode?
Because I habitually leave my cameras in cont mode
More seriously, my expectation in "normal" mode was that one pulse would be one shot, like script shoot(). This is generally true on older cameras and when raw is enabled.
Also, the Canon cont setting isn't easily controllable by script, so it would be nice to have predictable behavior without changing it.
The (excellent, thank you
doesn't mention taking a 1 second burst. (Edit: actually, it says 'Releasing the switch initiates a "full-press" state for 100 mSec.')
A different option might be updating the USB remote to work usefully with continuous mode? Have not thought much about that code in a few years but I don't recall it trying to actually work with Canon's continuous mode?
In two push mode, it appears to hold the shutter button down for the duration of the second push, which seems like the right thing to me.
For one push + normal, I'd think either a specified duration (1s = current behavior) or shot count.