do not assume that your scanner uses interrupts to process button presses, even if it has an interrupt endpoint. many scanners use a hardware status bulk transfer/read combination instead. to find out, try using a usb sniffer on windows. you may get lucky.
allan On Mon, 29 Mar 2004, Peter Mark Guevarra wrote: > Hello all, > > Is sanei_usb_read_int function in SANEI related to implementing the handling > of button press event of the scanner? Given that I already have the > parameters, how can I use this function? When should I call this one? Pardon > me 'coz I'm quite new to interrupt handling... > > Thanks a lot for your help, > PMG > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. -- "so don't tell us it can't be done, putting down what you don't know. money isn't our god, integrity will free our souls" - Max Cavalera