summaryrefslogtreecommitdiff
path: root/backend/rts8891_low.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2025-06-09 14:27:29 +0200
committerJörg Frings-Fürst <debian@jff.email>2025-06-09 14:27:29 +0200
commit652efae78c00b812033ea162d76cd13bd40dcab6 (patch)
tree7c139f4d2a28061607cd7e2269693df993e5d60a /backend/rts8891_low.h
parentbfa2ae8e43fcbab696f272fffd164d0637e965c5 (diff)
New upstream version 1.4.0upstream/1.4.0upstream
Diffstat (limited to 'backend/rts8891_low.h')
-rw-r--r--backend/rts8891_low.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/backend/rts8891_low.h b/backend/rts8891_low.h
index 453800c..a15b817 100644
--- a/backend/rts8891_low.h
+++ b/backend/rts8891_low.h
@@ -72,7 +72,8 @@
#define SENSOR_TYPE_XPA 1 /* sensor for hp4470 sold with XPA */
#define SENSOR_TYPE_4400 2 /* sensor for hp4400 */
#define SENSOR_TYPE_4400_BARE 3 /* sensor for hp4400 */
-#define SENSOR_TYPE_MAX 3 /* maximum sensor number value */
+#define SENSOR_TYPE_UMAX 4 /* sensor for Umax Astra 4400/4450 */
+#define SENSOR_TYPE_MAX 4 /* maximum sensor number value */
/* Forward typedefs */
typedef struct Rts8891_Device Rts8891_Device;
@@ -130,6 +131,8 @@ typedef struct Rts8891_Model
/* default sensor type */
SANE_Int sensor;
+ SANE_Int calibration_width;
+
/* default gamma table */
SANE_Word gamma[256];
SANE_Int buttons; /* number of buttons for the scanner */
@@ -173,6 +176,7 @@ struct Rts8891_Device
SANE_Bool initialized; /* true if device has been initialized */
SANE_Bool needs_warming; /* true if device needs warming up */
SANE_Bool parking; /* true if device is parking head */
+ SANE_Bool has_uta; /* true if UTA is connected */
/* values detected during find origin */
/* TODO these are currently unused after detection */