From: <mar...@us...> - 2010-05-24 15:13:50
|
Revision: 13060 http://gphoto.svn.sourceforge.net/gphoto/?rev=13060&view=rev Author: marcusmeissner Date: 2010-05-24 12:29:09 +0000 (Mon, 24 May 2010) Log Message: ----------- added eos zoom and eos zoomposition commands Modified Paths: -------------- trunk/libgphoto2/camlibs/ptp2/ptp.h Modified: trunk/libgphoto2/camlibs/ptp2/ptp.h =================================================================== --- trunk/libgphoto2/camlibs/ptp2/ptp.h 2010-05-24 12:27:44 UTC (rev 13059) +++ trunk/libgphoto2/camlibs/ptp2/ptp.h 2010-05-24 12:29:09 UTC (rev 13060) @@ -2481,6 +2481,19 @@ **/ #define ptp_canon_eos_afdrive(params) ptp_generic_no_data(params,PTP_OC_CANON_EOS_DoAf,0) /** + * ptp_canon_eos_zoom: + * + * This command runs (drives) the lens autofocus. + * + * params: PTPParams* + * params: arg1 unknown + * + * Return values: Some PTP_RC_* code. + * + **/ +#define ptp_canon_eos_zoom(params,x) ptp_generic_no_data(params,PTP_OC_CANON_EOS_Zoom,1,x) +#define ptp_canon_eos_zoomposition(params,x,y) ptp_generic_no_data(params,PTP_OC_CANON_EOS_ZoomPosition,2,x,y) +/** * ptp_nikon_mfdrive: * * This command runs (drives) the lens focus manually. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |