-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for hid barcode scanner in windows backend #70
base: master
Are you sure you want to change the base?
Conversation
Hi, thanks for the PR. Interesting. So even though the Honeywell barcode scanner is HID it does not use HID driver? What API they expect people to use with it then? |
I'm curious too. Reference: #50 (comment) I actually bought one of these for a client and had to use Usage Page to find out the endpoint, but eventually got it working. @slatequarry are there steps you can offer for me to reproduce or does this problem only occur with a specific model? |
I'm tested with 2 devices.
Second Honeywell 1950 HD has two endpoints with classes "BarcodeScanner" and "HIDClass":
|
Page 21 of the user's manual has a barcode for putting the scanner into HID mode... This barcode is identical between the user guides for the 1900 and 1950 units. It's also provided on a small booklet with the hardware (as well as other functions, like continuous scanning, RS232, keyboard wedge mode, etc). When scanning this barcode, does it change the endpoints at all? |
I already know this configuration code! This does not change anything. Please refer |
@slatequarry this information is very helpful. I assume you're able to communicate with the device as if it's an HID device with this code change? If so, would it make sense to add support for all shared-type devices from Microsoft's page? Note, I'm not a developer of this library, but rather someone with an interest in keeping up with device support like you are.
|
Yes, the communication behaves the same as with generic HID devices. Of course it would make sense to support all other device classes. However, the exact class names are unknown to me. |
I dug around on the UWP docs and found some of them... or at least I think I did. In addition to
Class name guess:
Class name is unknown:
|
some honeywell barcode scanner use "BarcodeScanner" as driver class name