diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-09-15 09:27:16 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-09-15 09:27:16 +0200 |
commit | a00358f07e4474d0cbc8817d7b2f2d2c5cbdac0c (patch) | |
tree | 506c2deebcad7684c125e894a7eee29598ed2ecd /backend/rts8891_low.h | |
parent | 7a3814ff46a11da098906af8621571b1a323226e (diff) | |
parent | 0b8a357c867854848e6987edcf4433a9a6534ba7 (diff) |
Merge branch 'release/debian/1.4.0-1'HEADdebian/1.4.0-1master
Diffstat (limited to 'backend/rts8891_low.h')
-rw-r--r-- | backend/rts8891_low.h | 6 |
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 */ |