[sane-devel] Setting backend capabilities
Alexander Pevzner
pzz at apevzner.com
Sat Mar 7 08:34:50 GMT 2020
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.
--
Wishes, Alexander Pevzner (pzz at apevzner.com)
More information about the sane-devel
mailing list