Read HID compliant device input
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Hi, Does that sound plausible from a developer's standpoint? How can I test? Any other suggestions? Marc Opperman _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... I'll preface this by saying I'm not a developer, but more of an IT implementer. That said, I have a need to read all code input by a HID-compliant USB barcode scanner. It uses the standard IOUSBFamily of Mac OS X (not a proprietary driver). I have a barcode scanner that was supposedly pre-programmed by a solutions provider to input job numbers into a point of sale app on the Mac. The keyboard focus of the app can be anywhere (or nowhere, i.e., no application windows or text input fields open) and you can scan a barcode and the application will recognize it and act appropriately. The application does have to be the current foreground application, though. Also, the application does not appear to install any kernel extensions or daemon apps to listen for input. I've ruled out there being special coding in the barcode, i.e., a non- printing control code, by testing a few different "generic" barcode scanners with the same barcodes the "preprogrammed" reader will read. The generic ones will read the codes and pass the data to a regular text editor (as will the preprogrammed one) but they won't pass it to the PoS app. My theory is that the preprogrammed scanner is set to prepend a non- printing control code(s) to anything it passes on. The PoS application is set to respond to those and use the barcode data. I have tried using a keystroke logger (logKext 2.2) but that didn't seem to capture the barcode data. I have replaced IOUSBFamily with the current logging version and tried USB Prober in the Dev apps. But perhaps I have no idea how to use that as I can't figure out if it 1) records inputs) or 2) how to read what it DOES record. This email sent to site_archiver@lists.apple.com
participants (1)
-
Marc Opperman