diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2025-06-09 14:27:53 +0200 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2025-06-09 14:27:53 +0200 | 
| commit | 115d2beab18fae48374bb3dc8603a0c48df58ce1 (patch) | |
| tree | 7e1920e7f69782aec0d4813963c3601d62a757c1 /backend/rts8891_low.h | |
| parent | a0fd2a8557d28ec8e7bbf881f78daf7e8e8fbd6b (diff) | |
| parent | 1f3f1e7d112f051f22fe7fc82739b483cef09b2a (diff) | |
Merge branch 'feature/upstream' into develop
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 */ | 
