如何区分隐藏条形码扫描仪和键盘没有视频和pid [英] How to distinguish between hid bar code scanner and keyboard without vid and pid
本文介绍了如何区分隐藏条形码扫描仪和键盘没有视频和pid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi all ,
I am trying to read barcode using an hid barcode scanner , i am using hid.dll and wanted to know if there is anyway to distinguish between a hid bar code scanner and keyboard without pid and vid .
is there any way to know this before getting handle to the device ??.
Thanks a lot .
我的尝试:
使用vid和pid我们可以比较设备路径。但我想知道是否有任何方法可以获得设备的一些信息...
What I have tried:
using vid and pid we can compare device path . but i want to know if there is any way i can get some info of the device ...
推荐答案
与制造商交谈:他们知道他们的设备和DLL比我们好。
正如我三天前说的那样如何将字节数组从任何hid扫描程序转换为字符串 [ ^ ]一旦它被转换为人类输入你就可以不知道密钥的来源。
Talk to the manufacturers: they know their device and the DLL better than we do.
As I said three days ago How to convert byte array from any hid scanner to a string[^] once it's been converted to Human Input you can't tell where the keystokes come from.
这篇关于如何区分隐藏条形码扫描仪和键盘没有视频和pid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文