Esempio n. 1
0
long lens_get_target_distance()
{
//    static long v=65535;
//    return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run|| shooting_get_common_focus_mode())?v=_GetCurrentTargetDistance():v;
    if (rec_mode_active())
        return _GetCurrentTargetDistance();
    else
        return 65535;
}
Esempio n. 2
0
long lens_get_target_distance()
{
    return _GetCurrentTargetDistance();
}
Esempio n. 3
0
long lens_get_target_distance()
{
    static long v=CAMERA_MAX_DIST;
    return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run  || shooting_get_common_focus_mode())?v=_GetCurrentTargetDistance():v;
// return _GetCurrentTargetDistance();
}
Esempio n. 4
0
long lens_get_target_distance()
{
    static long v=MAX_DIST;
    return (kbd_is_key_pressed(KEY_SHOOT_HALF) || state_kbd_script_run  || shooting_get_focus_mode())?v=_GetCurrentTargetDistance():v;
}
Esempio n. 5
0
long lens_get_focus_pos_from_lens()
{
	return _GetCurrentTargetDistance(); 
	//return _GetFocusLensSubjectDistanceFromLens(); 
}
Esempio n. 6
0
long lens_get_focus_pos()
{
	//return _GetFocusLensSubjectDistance();    // returns plaintext, calls GetCurrentTargetDistance to get value
	return _GetCurrentTargetDistance(); 
}
Esempio n. 7
0
long lens_get_target_distance()
{
    static long v=65535;
    return (kbd_is_key_pressed(KEY_SHOOT_HALF) || state_kbd_script_run|| shooting_get_common_focus_mode())?v=_GetCurrentTargetDistance():v;
// return _GetCurrentTargetDistance();
}