Hi, Attached are two patches to the test backend.
The first patch adds simulated gamma options that are enabled with the test options. It make it possible for frontend developers to develop gamma table support without having a physical scanner attached all the time. The second patch makes the "(4/6) Bool soft detect" option return the same as "(1/6) Bool soft select soft detect". This helps in simulating a HW button option that only can be read. The best would probably be to have some timer to alter the value, but this was a quicker solution. I would appreciate it if they would be applied :) Regards, K?re (PS. I'm the developer of libksane) -------------- next part -------------- A non-text attachment was scrubbed... Name: gamma_test_options.diff Type: text/x-patch Size: 7560 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110727/b3e24295/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: soft_detect_simulation.diff Type: text/x-patch Size: 1115 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110727/b3e24295/attachment-0001.bin>
