[sane-devel] Setting backend capabilities
Ralph Little
skelband at gmail.com
Sat Mar 7 15:06:17 GMT 2020
Hi
On Sat, Mar 7, 2020, 00:35 Alexander Pevzner, <pzz at apevzner.com> wrote:
> Hi,
>
> > SANE_CAP_SOFT_SELECT indicates that the control can be set by a call to
> > sane_control_option().> SANE_CAP_HARD_SELECT indicates that physical
> user intervention (like > setting a switch) can set the value.
> SOFT_SELECT means that option is software-settable. HARD_SELECT means
> that not. From the application perspective, the only important thing, if
> the option is read-write or read-only. Hence, I'd use SOFT_SELECT.
>
> P.S. When in doubt, it's better to look how these options are
> interpreted by popular applications. I've looked to xsane sources, it
> ignores the HARD_SELECT flag at all.
>
Thanks that makes sense to me.
Perhaps the SANE spec could be updated to add some clarity in this regard.
Cheers
Ralph
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20200307/d5cb1bf4/attachment.html>
More information about the sane-devel
mailing list