Julian Elischer writes: | David Scheidt wrote: | > Julian Elischer wrote: | >> Bram Van Steenlandt wrote: | >>> For a pos system I am working on I need support for two keyboards | >>> (actually one keyboard(ps/2) and one scanner(usb)). | >> | >> you can already do this.. | >> what makes you call the scanner a keyboard? | > | > Proabably, because it acts like one? I don't know about the USB ones, | > but PS/2 scanners generated keysym data, just like a real keyboard. The | > idea of the hardware people is "They've already got a keyboard, they | > take input from it, so let's make the scanner a keyboard!" It makes it | > easy to use a barcode reader with an application that doesn't know | > anything about barcodes, barcode scanners or the like. | | the barcode scanners we use just produce a 9600 baud serial stream.
The PS/2 and USB versions I've used appear as a keyboard and just "key in" the data like a keyboard. To get data from the USB I just did a "cat /dev/ukbd0" for scans. They've had built-in wdges. Makes it really easy to integrate into systems. Doug A. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"