Hi,

if you press and hold the button on the scanner until it starts blinking
it will send a different signal.
This can be used to trigger a different action.
With the help of usbmon I figured adding the following to int
scanbtnd_get_button(scanner_t* scanner) would do the trick and so it did:

if (bytes[4] == 0x20) {
    button = 2;
}

“bytes[4] == 0x21” should work as well as it is sent after the 0x20.
I hope one of you can add turn it into a proper patch.

Regards,
Christoph Schloen

P. S: Thanks for the work so far, I really appreciate it.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to