summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r--src/uca-camera.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/uca-camera.h b/src/uca-camera.h
index 0b6270c..97d3e6e 100644
--- a/src/uca-camera.h
+++ b/src/uca-camera.h
@@ -48,10 +48,15 @@ typedef enum {
} UcaCameraError;
typedef enum {
- UCA_CAMERA_TRIGGER_AUTO,
- UCA_CAMERA_TRIGGER_SOFTWARE,
- UCA_CAMERA_TRIGGER_EXTERNAL
-} UcaCameraTrigger;
+ UCA_CAMERA_TRIGGER_SOURCE_AUTO,
+ UCA_CAMERA_TRIGGER_SOURCE_SOFTWARE,
+ UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL
+} UcaCameraTriggerSource;
+
+typedef enum {
+ UCA_CAMERA_TRIGGER_TYPE_EDGE,
+ UCA_CAMERA_TRIGGER_TYPE_LEVEL
+} UcaCameraTriggerType;
typedef enum {
UCA_UNIT_NA = 0,
@@ -78,7 +83,8 @@ enum {
PROP_SENSOR_HORIZONTAL_BINNINGS,
PROP_SENSOR_VERTICAL_BINNING,
PROP_SENSOR_VERTICAL_BINNINGS,
- PROP_TRIGGER_MODE,
+ PROP_TRIGGER_SOURCE,
+ PROP_TRIGGER_TYPE,
PROP_EXPOSURE_TIME,
PROP_FRAMES_PER_SECOND,
PROP_ROI_X,