1101 // See CamPSI.h. |
1101 // See CamPSI.h. |
1102 TSelfTimerSetting timerPeriod1; |
1102 TSelfTimerSetting timerPeriod1; |
1103 |
1103 |
1104 // First period is at 2-seconds remaining, "always on" |
1104 // First period is at 2-seconds remaining, "always on" |
1105 timerPeriod1.iThreshold [0] = 2*KMicroSecPerSec; |
1105 timerPeriod1.iThreshold [0] = 2*KMicroSecPerSec; |
1106 timerPeriod1.iFlashPeriod[0] = KMaxTInt; |
1106 timerPeriod1.iFlashPeriod[0] = KMicSecInQuartSec;// KMaxTInt; |
1107 timerPeriod1.iBeepPeriod [0] = KMaxTInt; |
1107 timerPeriod1.iBeepPeriod [0] = KMicSecInHalfSec;// KMaxTInt; |
1108 |
1108 |
1109 // There are no other periods |
1109 // There are no other periods |
1110 |
1110 |
1111 // Autofocus triggered on "2-seconds remaining" |
1111 // Autofocus triggered on "2-seconds remaining" |
1112 timerPeriod1.iAutoFocus = 2*KMicroSecPerSec; |
1112 timerPeriod1.iAutoFocus = 2*KMicroSecPerSec; |
1123 timerPeriod2.iThreshold [0] = 10*KMicroSecPerSec; |
1123 timerPeriod2.iThreshold [0] = 10*KMicroSecPerSec; |
1124 timerPeriod2.iFlashPeriod[0] = KMicSecInHalfSec; // 500ms on/500ms off |
1124 timerPeriod2.iFlashPeriod[0] = KMicSecInHalfSec; // 500ms on/500ms off |
1125 timerPeriod2.iBeepPeriod [0] = KMicroSecPerSec; // Beep every second |
1125 timerPeriod2.iBeepPeriod [0] = KMicroSecPerSec; // Beep every second |
1126 |
1126 |
1127 // Second period starts at 3-seconds until capture, flashing twice every second |
1127 // Second period starts at 3-seconds until capture, flashing twice every second |
1128 timerPeriod2.iThreshold [1] = 5*KMicroSecPerSec; |
1128 timerPeriod2.iThreshold [1] = 2*KMicroSecPerSec; |
1129 timerPeriod2.iFlashPeriod[1] = KMicSecInQuartSec; // 250ms on/250ms off |
1129 timerPeriod2.iFlashPeriod[1] = KMicSecInQuartSec; // 250ms on/250ms off |
1130 timerPeriod2.iBeepPeriod [1] = KMicSecInHalfSec; // Beep twice every second |
1130 timerPeriod2.iBeepPeriod [1] = KMicSecInHalfSec; // Beep twice every second |
1131 |
1131 |
1132 // Third period is not supported |
1132 // Third period is not supported |
1133 timerPeriod2.iThreshold [2] = 3*KMicroSecPerSec; |
1133 timerPeriod2.iThreshold [2] = 0*KMicroSecPerSec; |
1134 timerPeriod2.iFlashPeriod[2] = KMaxTInt; |
1134 timerPeriod2.iFlashPeriod[2] = KMaxTInt; |
1135 timerPeriod2.iBeepPeriod [2] = KMaxTInt; |
1135 timerPeriod2.iBeepPeriod [2] = KMaxTInt; |
1136 |
1136 |
1137 // Autofocus triggered on "3-seconds remaining" |
1137 // Autofocus triggered on "3-seconds remaining" |
1138 timerPeriod2.iAutoFocus = 3*KMicroSecPerSec; |
1138 timerPeriod2.iAutoFocus = 3*KMicroSecPerSec; |
1149 timerPeriod3.iThreshold [0] = 20*KMicroSecPerSec; |
1149 timerPeriod3.iThreshold [0] = 20*KMicroSecPerSec; |
1150 timerPeriod3.iFlashPeriod[0] = KMicSecInHalfSec; // 500ms on/500ms off |
1150 timerPeriod3.iFlashPeriod[0] = KMicSecInHalfSec; // 500ms on/500ms off |
1151 timerPeriod3.iBeepPeriod [0] = KMicroSecPerSec; // Beep every second |
1151 timerPeriod3.iBeepPeriod [0] = KMicroSecPerSec; // Beep every second |
1152 |
1152 |
1153 // Second period starts at 3-seconds until capture, flashing twice every second |
1153 // Second period starts at 3-seconds until capture, flashing twice every second |
1154 timerPeriod3.iThreshold [1] = 5*KMicroSecPerSec; |
1154 timerPeriod3.iThreshold [1] = 2*KMicroSecPerSec; |
1155 timerPeriod3.iFlashPeriod[1] = KMicSecInQuartSec; // 250ms on/250ms off |
1155 timerPeriod3.iFlashPeriod[1] = KMicSecInQuartSec; // 250ms on/250ms off |
1156 timerPeriod3.iBeepPeriod [1] = KMicSecInHalfSec; // Beep twice every second |
1156 timerPeriod3.iBeepPeriod [1] = KMicSecInHalfSec; // Beep twice every second |
1157 |
1157 |
1158 // Third period is not supported |
1158 // Third period is not supported |
1159 timerPeriod3.iThreshold [2] = 3*KMicroSecPerSec; |
1159 timerPeriod3.iThreshold [2] = 0*KMicroSecPerSec; |
1160 timerPeriod3.iFlashPeriod[2] = KMaxTInt; |
1160 timerPeriod3.iFlashPeriod[2] = KMaxTInt; |
1161 timerPeriod3.iBeepPeriod [2] = KMaxTInt; |
1161 timerPeriod3.iBeepPeriod [2] = KMaxTInt; |
1162 |
1162 |
1163 // Autofocus triggered on "3-seconds remaining" |
1163 // Autofocus triggered on "3-seconds remaining" |
1164 timerPeriod3.iAutoFocus = 3*KMicroSecPerSec; |
1164 timerPeriod3.iAutoFocus = 3*KMicroSecPerSec; |