Hi
On Sat, Mar 7, 2020, 00:35 Alexander Pevzner, <[email protected]> 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 >
